wbemprox: Add stub implementations of IEnumWbemClassObject and IWbemClassObject.
[wine] / dlls / vbscript / vbsglobal.idl
1 /*
2  * Copyright 2011 Jacek Caban for CodeWeavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 import "oaidl.idl";
20
21 #include "vbscript_defs.h"
22
23 [
24     helpstring("Microsoft VBScript Globals"),
25     uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b185),
26     version(1.0)
27 ]
28 library VBScript_Global
29 {
30     importlib("stdole2.tlb");
31
32     [
33         uuid(3eef9758-35fc-11d1-8ce4-00c04fc2B186)
34     ]
35     dispinterface GlobalObj {
36     properties:
37         [id(DISPID_GLOBAL_VBUSESYSTEM), readonly]
38         VARIANT vbUseSystem;
39
40         [id(DISPID_GLOBAL_USESYSTEMDAYOFWEEK), readonly]
41         VARIANT vbUseSystemDayOfWeek;
42
43         [id(DISPID_GLOBAL_VBSUNDAY), readonly]
44         VARIANT vbSunday;
45
46         [id(DISPID_GLOBAL_VBMONDAY), readonly]
47         VARIANT vbMonday;
48
49         [id(DISPID_GLOBAL_VBTUESDAY), readonly]
50         VARIANT vbTuesday;
51
52         [id(DISPID_GLOBAL_VBWEDNESDAY), readonly]
53         VARIANT vbWednesday;
54
55         [id(DISPID_GLOBAL_VBTHURSDAY), readonly]
56         VARIANT vbThursday;
57
58         [id(DISPID_GLOBAL_VBFRIDAY), readonly]
59         VARIANT vbFriday;
60
61         [id(DISPID_GLOBAL_VBSATURDAY), readonly]
62         VARIANT vbSaturday;
63
64         [id(DISPID_GLOBAL_VBFIRSTJAN1), readonly]
65         VARIANT vbFirstJan1;
66
67         [id(DISPID_GLOBAL_VBFIRSTFOURDAYS), readonly]
68         VARIANT vbFirstFourDays;
69
70         [id(DISPID_GLOBAL_VBFIRSTFULLWEEK), readonly]
71         VARIANT vbFirstFullWeek;
72
73         [id(DISPID_GLOBAL_VBOKONLY), readonly]
74         VARIANT vbOKOnly;
75
76         [id(DISPID_GLOBAL_VBOKCANCEL), readonly]
77         VARIANT vbOKCancel;
78
79         [id(DISPID_GLOBAL_VBABORTRETRYIGNORE), readonly]
80         VARIANT vbAbortRetryIgnore;
81
82         [id(DISPID_GLOBAL_VBYESNOCANCEL), readonly]
83         VARIANT vbYesNoCancel;
84
85         [id(DISPID_GLOBAL_VBYESNO), readonly]
86         VARIANT vbYesNo;
87
88         [id(DISPID_GLOBAL_VBYESNOCANCEL), readonly]
89         VARIANT vbRetryCancel;
90
91         [id(DISPID_GLOBAL_VBCRITICAL), readonly]
92         VARIANT vbCritical;
93
94         [id(DISPID_GLOBAL_VBQUESTION), readonly]
95         VARIANT vbQuestion;
96
97         [id(DISPID_GLOBAL_VBEXCLAMATION), readonly]
98         VARIANT vbExclamation;
99
100         [id(DISPID_GLOBAL_VBINFORMATION), readonly]
101         VARIANT vbInformation;
102
103         [id(DISPID_GLOBAL_VBDEFAULTBUTTON1), readonly]
104         VARIANT vbDefaultButton1;
105
106         [id(DISPID_GLOBAL_VBDEFAULTBUTTON2), readonly]
107         VARIANT vbDefaultButton2;
108
109         [id(DISPID_GLOBAL_VBDEFAULTBUTTON3), readonly]
110         VARIANT vbDefaultButton3;
111
112         [id(DISPID_GLOBAL_VBDEFAULTBUTTON4), readonly]
113         VARIANT vbDefaultButton4;
114
115         [id(DISPID_GLOBAL_VBAPPLICATIONMODAL), readonly]
116         VARIANT vbApplicationModal;
117
118         [id(DISPID_GLOBAL_VBSYSTEMMODAL), readonly]
119         VARIANT vbSystemModal;
120
121         [id(DISPID_GLOBAL_VBOK), readonly]
122         VARIANT vbOK;
123
124         [id(DISPID_GLOBAL_VBCANCEL), readonly]
125         VARIANT vbCancel;
126
127         [id(DISPID_GLOBAL_VBABORT), readonly]
128         VARIANT vbAbort;
129
130         [id(DISPID_GLOBAL_VBRETRY), readonly]
131         VARIANT vbRetry;
132
133         [id(DISPID_GLOBAL_VBIGNORE), readonly]
134         VARIANT vbIgnore;
135
136         [id(DISPID_GLOBAL_VBYES), readonly]
137         VARIANT vbYes;
138
139         [id(DISPID_GLOBAL_VBNO), readonly]
140         VARIANT vbNo;
141
142         [id(DISPID_GLOBAL_VBEMPTY), readonly]
143         VARIANT vbEmpty;
144
145         [id(DISPID_GLOBAL_VBNULL), readonly]
146         VARIANT vbNull;
147
148         [id(DISPID_GLOBAL_VBINTEGER), readonly]
149         VARIANT vbInteger;
150
151         [id(DISPID_GLOBAL_VBLONG), readonly]
152         VARIANT vbLong;
153
154         [id(DISPID_GLOBAL_VBSINGLE), readonly]
155         VARIANT vbSingle;
156
157         [id(DISPID_GLOBAL_VBDOUBLE), readonly]
158         VARIANT vbDouble;
159
160         [id(DISPID_GLOBAL_VBCURRENCY), readonly]
161         VARIANT vbCurrency;
162
163         [id(DISPID_GLOBAL_VBDATE), readonly]
164         VARIANT vbDate;
165
166         [id(DISPID_GLOBAL_VBSTRING), readonly]
167         VARIANT vbString;
168
169         [id(DISPID_GLOBAL_VBOBJECT), readonly]
170         VARIANT vbObject;
171
172         [id(DISPID_GLOBAL_VBERROR), readonly]
173         VARIANT vbError;
174
175         [id(DISPID_GLOBAL_VBBOOLEAN), readonly]
176         VARIANT vbBoolean;
177
178         [id(DISPID_GLOBAL_VBVARIANT), readonly]
179         VARIANT vbVariant;
180
181         [id(DISPID_GLOBAL_VBDATAOBJECT), readonly]
182         VARIANT vbDataObject;
183
184         [id(DISPID_GLOBAL_VBDECIMAL), readonly]
185         VARIANT vbDecimal;
186
187         [id(DISPID_GLOBAL_VBBYTE), readonly]
188         VARIANT vbByte;
189
190         [id(DISPID_GLOBAL_VBARRAY), readonly]
191         VARIANT vbArray;
192
193         [id(DISPID_GLOBAL_VBTRUE), readonly]
194         VARIANT vbTrue;
195
196         [id(DISPID_GLOBAL_VBFALSE), readonly]
197         VARIANT vbFalse;
198
199         [id(DISPID_GLOBAL_VBUSEDEFAULT), readonly]
200         VARIANT vbUseDefault;
201
202         [id(DISPID_GLOBAL_VBBINARYCOMPARE), readonly]
203         VARIANT vbBinaryCompare;
204
205         [id(DISPID_GLOBAL_VBTEXTCOMPARE), readonly]
206         VARIANT vbTextCompare;
207
208         [id(DISPID_GLOBAL_VBDATABASECOMPARE), readonly]
209         VARIANT vbDatabaseCompare;
210
211         [id(DISPID_GLOBAL_VBGENERALDATE), readonly]
212         VARIANT vbGeneralDate;
213
214         [id(DISPID_GLOBAL_VBLONGDATE), readonly]
215         VARIANT vbLongDate;
216
217         [id(DISPID_GLOBAL_VBSHORTDATE), readonly]
218         VARIANT vbShortDate;
219
220         [id(DISPID_GLOBAL_VBLONGTIME), readonly]
221         VARIANT vbLongTime;
222
223         [id(DISPID_GLOBAL_VBSHORTTIME), readonly]
224         VARIANT vbShortTime;
225
226         [id(DISPID_GLOBAL_VBOBJECTERROR), readonly]
227         VARIANT vbObjectError;
228
229         [id(DISPID_GLOBAL_VBBLACK), readonly]
230         VARIANT vbBlack;
231
232         [id(DISPID_GLOBAL_VBBLUE), readonly]
233         VARIANT vbBlue;
234
235         [id(DISPID_GLOBAL_VBCYAN), readonly]
236         VARIANT vbCyan;
237
238         [id(DISPID_GLOBAL_VBGREEN), readonly]
239         VARIANT vbGreen;
240
241         [id(DISPID_GLOBAL_VBMAGENTA), readonly]
242         VARIANT vbMagenta;
243
244         [id(DISPID_GLOBAL_VBRED), readonly]
245         VARIANT vbRed;
246
247         [id(DISPID_GLOBAL_VBWHITE), readonly]
248         VARIANT vbWhite;
249
250         [id(DISPID_GLOBAL_VBYELLOW), readonly]
251         VARIANT vbYellow;
252
253         [id(DISPID_GLOBAL_VBCR), readonly]
254         VARIANT vbCr;
255
256         [id(DISPID_GLOBAL_VBCRLF), readonly]
257         VARIANT vbCrLf;
258
259         [id(DISPID_GLOBAL_VBNEWLINE), readonly]
260         VARIANT vbNewLine;
261
262         [id(DISPID_GLOBAL_VBFORMFEED), readonly]
263         VARIANT vbFormFeed;
264
265         [id(DISPID_GLOBAL_VBLF), readonly]
266         VARIANT vbLf;
267
268         [id(DISPID_GLOBAL_VBNULLCHAR), readonly]
269         VARIANT vbNullChar;
270
271         [id(DISPID_GLOBAL_VBNULLSTRING), readonly]
272         VARIANT vbNullString;
273
274         [id(DISPID_GLOBAL_VBTAB), readonly]
275         VARIANT vbTab;
276
277         [id(DISPID_GLOBAL_VBVERTICALTAB), readonly]
278         VARIANT vbVerticalTab;
279
280         [id(DISPID_GLOBAL_VBMSGBOXHELPBUTTON), readonly]
281         VARIANT vbMsgBoxHelpButton;
282
283         [id(DISPID_GLOBAL_VBMSGBOXSETFOREGROUND), readonly]
284         VARIANT vbMsgBoxSetForeground;
285
286         [id(DISPID_GLOBAL_VBMSGBOXRIGHT), readonly]
287         VARIANT vbMsgBoxRight;
288
289         [id(DISPID_GLOBAL_VBMSGBOXRTLREADING), readonly]
290         VARIANT vbMsgBoxRtlReading;
291
292     methods:
293         [id(DISPID_GLOBAL_CCUR)]
294         VARIANT CCur(VARIANT expression);
295
296         [id(DISPID_GLOBAL_CINT)]
297         VARIANT CInt(VARIANT expression);
298
299         [id(DISPID_GLOBAL_CLNG)]
300         VARIANT CLng(VARIANT expression);
301
302         [id(DISPID_GLOBAL_CBOOL)]
303         VARIANT CBool(VARIANT expression);
304
305         [id(DISPID_GLOBAL_CBYTE)]
306         VARIANT CByte(VARIANT expression);
307
308         [id(DISPID_GLOBAL_CDATE)]
309         VARIANT CDate(VARIANT expression);
310
311         [id(DISPID_GLOBAL_CDBL)]
312         VARIANT CDbl(VARIANT expression);
313
314         [id(DISPID_GLOBAL_CSNG)]
315         VARIANT CSng(VARIANT expression);
316
317         [id(DISPID_GLOBAL_CSTR)]
318         VARIANT CStr(VARIANT expression);
319
320         [id(DISPID_GLOBAL_HEX)]
321         VARIANT Hex(VARIANT number);
322
323         [id(DISPID_GLOBAL_OCT)]
324         VARIANT Oct(VARIANT number);
325
326         [id(DISPID_GLOBAL_VARTYPE)]
327         VARIANT VarType(VARIANT varname);
328
329         [id(DISPID_GLOBAL_ISDATE)]
330         VARIANT IsDate(VARIANT expression);
331
332         [id(DISPID_GLOBAL_ISEMPTY)]
333         VARIANT IsEmpty(VARIANT expression);
334
335         [id(DISPID_GLOBAL_ISNULL)]
336         VARIANT IsNull(VARIANT expression);
337
338         [id(DISPID_GLOBAL_ISNUMERIC)]
339         VARIANT IsNumeric(VARIANT expression);
340
341         [id(DISPID_GLOBAL_ISARRAY)]
342         VARIANT IsArray(VARIANT expression);
343
344         [id(DISPID_GLOBAL_ISOBJECT)]
345         VARIANT IsObject(VARIANT identifier);
346
347         [id(DISPID_GLOBAL_ATN)]
348         VARIANT Atn(VARIANT number);
349
350         [id(DISPID_GLOBAL_COS)]
351         VARIANT Cos(VARIANT number);
352
353         [id(DISPID_GLOBAL_SIN)]
354         VARIANT Sin(VARIANT number);
355
356         [id(DISPID_GLOBAL_TAN)]
357         VARIANT Tan(VARIANT number);
358
359         [id(DISPID_GLOBAL_EXP)]
360         VARIANT Exp(VARIANT number);
361
362         [id(DISPID_GLOBAL_LOG)]
363         VARIANT Log(VARIANT number);
364
365         [id(DISPID_GLOBAL_SQR)]
366         VARIANT Sqr(VARIANT number);
367
368         [id(DISPID_GLOBAL_RANDOMIZE)]
369         VARIANT Randomize(VARIANT number);
370
371         [id(DISPID_GLOBAL_RND)]
372         VARIANT Rnd(VARIANT number);
373
374         [id(DISPID_GLOBAL_TIMER)]
375         VARIANT Timer();
376
377         [id(DISPID_GLOBAL_LBOUND)]
378         VARIANT LBound(VARIANT arrayname);
379
380         [id(DISPID_GLOBAL_UBOUND)]
381         VARIANT UBound(VARIANT arrayname);
382
383         [id(DISPID_GLOBAL_RGB)]
384         VARIANT RGB(
385                 VARIANT red,
386                 VARIANT green,
387                 VARIANT blue);
388
389         [id(DISPID_GLOBAL_LEN)]
390         VARIANT Len(VARIANT string);
391
392         [id(DISPID_GLOBAL_LENB)]
393         VARIANT LenB(VARIANT string);
394
395         [id(DISPID_GLOBAL_LEFT)]
396         VARIANT Left(
397                 VARIANT string,
398                 VARIANT length);
399
400         [id(DISPID_GLOBAL_LEFTB)]
401         VARIANT LeftB(
402                 VARIANT string,
403                 VARIANT length);
404
405         [id(DISPID_GLOBAL_RIGHT)]
406         VARIANT Right(
407                 VARIANT string,
408                 VARIANT length);
409
410         [id(DISPID_GLOBAL_RIGHTB)]
411         VARIANT RightB(
412                 VARIANT string,
413                 VARIANT length);
414
415         [id(DISPID_GLOBAL_MID)]
416         VARIANT Mid(
417                 VARIANT string,
418                 VARIANT start,
419                 [optional] VARIANT length);
420
421         [id(DISPID_GLOBAL_MIDB)]
422         VARIANT MidB(
423                 VARIANT string,
424                 VARIANT start,
425                 [optional] VARIANT length);
426
427         [id(DISPID_GLOBAL_STRCOMP)]
428         VARIANT StrComp(
429                 VARIANT string1,
430                 VARIANT string2,
431                 [optional] VARIANT compare);
432
433         [id(DISPID_GLOBAL_LCASE)]
434         VARIANT LCase(VARIANT string);
435
436         [id(DISPID_GLOBAL_UCASE)]
437         VARIANT UCase(VARIANT string);
438
439         [id(DISPID_GLOBAL_LTRIM)]
440         VARIANT LTrim(VARIANT string);
441
442         [id(DISPID_GLOBAL_RTRIM)]
443         VARIANT RTrim(VARIANT string);
444
445         [id(DISPID_GLOBAL_TRIM)]
446         VARIANT Trim(VARIANT string);
447
448         [id(DISPID_GLOBAL_SPACE)]
449         VARIANT Space(VARIANT number);
450
451         [id(DISPID_GLOBAL_STRING)]
452         VARIANT string(
453                 [optional] VARIANT number,
454                 [optional] VARIANT character);
455
456         [id(DISPID_GLOBAL_INSTR)]
457         VARIANT InStr(
458                 VARIANT start,
459                 VARIANT string,
460                 VARIANT string2,
461                 [optional] VARIANT compare);
462
463         [id(DISPID_GLOBAL_INSTRB)]
464         VARIANT InStrB(
465                 VARIANT start,
466                 VARIANT string,
467                 VARIANT string2,
468                 [optional] VARIANT compare);
469
470         [id(DISPID_GLOBAL_ASCB)]
471         VARIANT AscB(VARIANT string);
472
473         [id(DISPID_GLOBAL_CHRB)]
474         VARIANT ChrB(VARIANT charcode);
475
476         [id(DISPID_GLOBAL_ASC)]
477         VARIANT Asc(VARIANT string);
478
479         [id(DISPID_GLOBAL_CHR)]
480         VARIANT Chr(VARIANT charcode);
481
482         [id(DISPID_GLOBAL_ASCW)]
483         VARIANT AscW(VARIANT string);
484
485         [id(DISPID_GLOBAL_CHRW)]
486         VARIANT ChrW(VARIANT charcode);
487
488         [id(DISPID_GLOBAL_ABS)]
489         VARIANT Abs(VARIANT number);
490
491         [id(DISPID_GLOBAL_FIX)]
492         VARIANT Fix(VARIANT number);
493
494         [id(DISPID_GLOBAL_INT)]
495         VARIANT Int(VARIANT number);
496
497         [id(DISPID_GLOBAL_SGN)]
498         VARIANT Sgn(VARIANT number);
499
500         [id(DISPID_GLOBAL_NOW)]
501         VARIANT Now();
502
503         [id(DISPID_GLOBAL_DATE)]
504         VARIANT Date();
505
506         [id(DISPID_GLOBAL_TIME)]
507         VARIANT Time();
508
509         [id(DISPID_GLOBAL_DAY)]
510         VARIANT Day(VARIANT Date);
511
512         [id(DISPID_GLOBAL_MONTH)]
513         VARIANT Month(VARIANT Date);
514
515         [id(DISPID_GLOBAL_WEEKDAY)]
516         VARIANT Weekday(
517                 VARIANT Date,
518                 [optional] VARIANT firstdayofweek);
519
520         [id(DISPID_GLOBAL_YEAR)]
521         VARIANT Year(VARIANT Date);
522
523         [id(DISPID_GLOBAL_HOUR)]
524         VARIANT Hour(VARIANT Time);
525
526         [id(DISPID_GLOBAL_MINUTE)]
527         VARIANT Minute(VARIANT Time);
528
529         [id(DISPID_GLOBAL_SECOND)]
530         VARIANT Second(VARIANT Time);
531
532         [id(DISPID_GLOBAL_DATEVALUE)]
533         VARIANT DateValue(VARIANT Date);
534
535         [id(DISPID_GLOBAL_TIMEVALUE)]
536         VARIANT TimeValue(VARIANT Time);
537
538         [id(DISPID_GLOBAL_DATESERIAL)]
539         VARIANT DateSerial(
540                 VARIANT Year,
541                 VARIANT Month,
542                 VARIANT Date);
543
544         [id(DISPID_GLOBAL_TIMESERIAL)]
545         VARIANT TimeSerial(
546                 VARIANT Hour,
547                 VARIANT Minute,
548                 VARIANT Second);
549
550         [id(DISPID_GLOBAL_INPUTBOX)]
551         VARIANT InputBox(
552                 VARIANT prompt,
553                 [optional] VARIANT title,
554                 [optional] VARIANT defaultValue,
555                 [optional] VARIANT xpos,
556                 [optional] VARIANT ypos,
557                 [optional] VARIANT helpfile,
558                 [optional] VARIANT context);
559
560         [id(DISPID_GLOBAL_MSGBOX)]
561         VARIANT MsgBox(
562                 VARIANT prompt,
563                 [optional] VARIANT buttons,
564                 [optional] VARIANT title,
565                 [optional] VARIANT helpfile,
566                 [optional] VARIANT context);
567
568         [id(DISPID_GLOBAL_CREATEOBJECT)]
569         VARIANT CreateObject(VARIANT classValue);
570
571         [id(DISPID_GLOBAL_GETOBJECT)]
572         VARIANT GetObject(
573                 [optional] VARIANT pathname,
574                 [optional] VARIANT classValue);
575
576         [id(DISPID_GLOBAL_DATEADD)]
577         VARIANT DateAdd(
578                 VARIANT interval,
579                 VARIANT number,
580                 VARIANT Date);
581
582         [id(DISPID_GLOBAL_DATEDIFF)]
583         VARIANT DateDiff(
584                 VARIANT interval,
585                 VARIANT date1,
586                 VARIANT date2,
587                 [optional] VARIANT firstdayofweek,
588                 [optional] VARIANT firstdayofyear);
589
590         [id(DISPID_GLOBAL_DATEPART)]
591         VARIANT DatePart(
592                 VARIANT interval,
593                 VARIANT Date,
594                 [optional] VARIANT firstdayofweek,
595                 [optional] VARIANT firstdayofyear);
596
597         [id(DISPID_GLOBAL_TYPENAME)]
598         VARIANT TypeName(VARIANT varname);
599
600         [id(DISPID_GLOBAL_ARRAY)]
601         VARIANT Array(VARIANT arglist);
602
603         [id(DISPID_GLOBAL_ERASE)]
604         VARIANT Erase(VARIANT arraylist);
605
606         [id(DISPID_GLOBAL_FILTER)]
607         VARIANT Filter(
608                 VARIANT InputStrings,
609                 VARIANT Value,
610                 [optional] VARIANT Include,
611                 [optional] VARIANT compare);
612
613         [id(DISPID_GLOBAL_JOIN)]
614         VARIANT Join(
615                 VARIANT list,
616                 [optional] VARIANT delimiter);
617
618         [id(DISPID_GLOBAL_SPLIT)]
619         VARIANT Split(
620                 VARIANT expression,
621                 [optional] VARIANT delimiter,
622                 [optional] VARIANT count,
623                 [optional] VARIANT compare);
624
625         [id(DISPID_GLOBAL_REPLACE)]
626         VARIANT Replace(
627                 VARIANT expression,
628                 VARIANT find,
629                 VARIANT replacement,
630                 [optional] VARIANT start,
631                 [optional] VARIANT count,
632                 [optional] VARIANT compare);
633
634         [id(DISPID_GLOBAL_STRREVERSE)]
635         VARIANT StrReverse(VARIANT string1);
636
637         [id(DISPID_GLOBAL_INSTRREV)]
638         VARIANT InStrRev(
639                 VARIANT string1,
640                 VARIANT string2,
641                 [optional] VARIANT start,
642                 [optional] VARIANT compare);
643
644         [id(DISPID_GLOBAL_LOADPICTURE)]
645         VARIANT LoadPicture([optional] VARIANT stringexpression);
646
647         [id(DISPID_GLOBAL_SCRIPTENGINE)]
648         VARIANT ScriptEngine();
649
650         [id(DISPID_GLOBAL_SCRIPTENGINEMAJORVERSION)]
651         VARIANT ScriptEngineMajorVersion();
652
653         [id(DISPID_GLOBAL_SCRIPTENGINEMINORVERSION)]
654         VARIANT ScriptEngineMinorVersion();
655
656         [id(DISPID_GLOBAL_SCRIPTENGINEBUILDVERSION)]
657         VARIANT ScriptEngineBuildVersion();
658
659         [id(DISPID_GLOBAL_FORMATNUMBER)]
660         VARIANT FormatNumber(
661                 VARIANT expression,
662                 [optional] VARIANT NumDigitsAfterDecimal,
663                 [optional] VARIANT IncludeLeadingDigit,
664                 [optional] VARIANT UseParensForNegativeNumbers,
665                 [optional] VARIANT GroupDigits);
666
667         [id(DISPID_GLOBAL_FORMATCURRENCY)]
668         VARIANT FormatCurrency(
669                 VARIANT expression,
670                 [optional] VARIANT NumDigitsAfterDecimal,
671                 [optional] VARIANT IncludeLeadingDigit,
672                 [optional] VARIANT UseParensForNegativeNumbers,
673                 [optional] VARIANT GroupDigits);
674
675         [id(DISPID_GLOBAL_FORMATPERCENT)]
676         VARIANT FormatPercent(
677                 VARIANT expression,
678                 [optional] VARIANT NumDigitsAfterDecimal,
679                 [optional] VARIANT IncludeLeadingDigit,
680                 [optional] VARIANT UseParensForNegativeNumbers,
681                 [optional] VARIANT GroupDigits);
682
683         [id(DISPID_GLOBAL_FORMATDATETIME)]
684         VARIANT FormatDateTime(
685                 VARIANT Date,
686                 [optional] VARIANT NamedFormat);
687
688         [id(DISPID_GLOBAL_WEEKDAYNAME)]
689         VARIANT WeekdayName(
690                 VARIANT Weekday,
691                 VARIANT abbreviate,
692                 VARIANT firstdayofweek);
693
694         [id(DISPID_GLOBAL_MONTHNAME)]
695         VARIANT MonthName(
696                 VARIANT Month,
697                 [optional] VARIANT abbreviate);
698
699         [id(DISPID_GLOBAL_ROUND)]
700         VARIANT Round(
701                 VARIANT expression,
702                 [optional] VARIANT numdecimalplaces);
703
704         [id(DISPID_GLOBAL_ESCAPE)]
705         VARIANT Escape(VARIANT string);
706
707         [id(DISPID_GLOBAL_UNESCAPE)]
708         VARIANT Unescape(VARIANT string);
709
710         [id(DISPID_GLOBAL_EVAL)]
711         VARIANT Eval(VARIANT string);
712
713         [id(DISPID_GLOBAL_EXECUTE)]
714         VARIANT Execute(VARIANT string);
715
716         [id(DISPID_GLOBAL_EXECUTEGLOBAL)]
717         VARIANT ExecuteGlobal(VARIANT string);
718
719         [id(DISPID_GLOBAL_GETREF)]
720         VARIANT GetRef(VARIANT string);
721     }
722
723     [
724         uuid(3eef9758-35fc-11d1-8ce4-00c04fc2b187)
725     ]
726     dispinterface ErrObj {
727     properties:
728         [id(DISPID_ERR_DESCRIPTION)]
729         VARIANT Description;
730
731         [id(DISPID_ERR_HELPCONTEXT)]
732         VARIANT HelpContext;
733
734         [id(DISPID_ERR_HELPFILE)]
735         VARIANT helpfile;
736
737         [id(DISPID_ERR_NUMBER)]
738         VARIANT number;
739
740         [id(DISPID_ERR_SOURCE)]
741         VARIANT Source;
742
743     methods:
744         [id(DISPID_ERR_CLEAR)]
745         VARIANT Clear();
746
747         [id(DISPID_ERR_RAISE)]
748         VARIANT Raise(
749                 VARIANT number,
750                 VARIANT Source,
751                 VARIANT Description,
752                 VARIANT helpfile,
753                 VARIANT HelpContext);
754     }
755 }