2 * Copyright 2008 Jacek Caban for CodeWeavers
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.
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.
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
19 #include
"jsglobal_dispid.h"
24 uuid(3eef9759
-35fc
-11d1
-8ce4
-00c04fc2b085
),
29 importlib
("stdole2.tlb");
31 interface StringInstance
;
34 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b086
)
36 dispinterface GlobalObj
{
38 [id(DISPID_GLOBAL_NAN
), readonly]
41 [id(DISPID_GLOBAL_INFINITY
), readonly]
45 [id(DISPID_GLOBAL_ARRAY
)]
48 [id(DISPID_GLOBAL_BOOLEAN
)]
51 [id(DISPID_GLOBAL_DATE
)]
54 [id(DISPID_GLOBAL_FUNCTION
)]
57 [id(DISPID_GLOBAL_NUMBER
)]
60 [id(DISPID_GLOBAL_OBJECT
)]
63 [id(DISPID_GLOBAL_STRING
)]
66 [id(DISPID_GLOBAL_REGEXP
)]
69 [id(DISPID_GLOBAL_ACTIVEXOBJ
)]
70 VARIANT ActiveXObject
();
72 [id(DISPID_GLOBAL_VBARRAY
)]
75 [id(DISPID_GLOBAL_ENUMERATOR
)]
78 [id(DISPID_GLOBAL_ESCAPE
)]
79 VARIANT escape
(VARIANT String);
81 [id(DISPID_GLOBAL_EVAL
)]
82 VARIANT eval
(VARIANT x
);
84 [id(DISPID_GLOBAL_ISNAN
)]
85 VARIANT isNaN
(VARIANT Number
);
87 [id(DISPID_GLOBAL_ISFINITE
)]
88 VARIANT isFinite
(VARIANT Number
);
90 [id(DISPID_GLOBAL_PARSEINT
)]
95 [id(DISPID_GLOBAL_PARSEFLOAT
)]
96 VARIANT parseFloat
(VARIANT String);
98 [id(DISPID_GLOBAL_UNESCAPE
)]
99 VARIANT unescape
(VARIANT String);
101 [id(DISPID_GLOBAL_GETOBJECT
)]
103 [optional] VARIANT path
,
104 [optional] VARIANT classname
);
106 [id(DISPID_GLOBAL_SCRIPTENGINE
)]
107 VARIANT ScriptEngine
();
109 [id(DISPID_GLOBAL_MAJORVER
)]
110 VARIANT ScriptEngineMajorVersion
();
112 [id(DISPID_GLOBAL_MINORVER
)]
113 VARIANT ScriptEngineMinorVersion
();
115 [id(DISPID_GLOBAL_BUILDVER
)]
116 VARIANT ScriptEngineBuildVersion
();
118 [id(DISPID_GLOBAL_COLLECT
)]
119 VARIANT CollectGarbage
();
121 [id(DISPID_GLOBAL_MATH
)]
126 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b087
)
128 dispinterface DateObj
{
131 [id(DISPID_DATEOBJ_PARSE
)]
132 VARIANT parse
(VARIANT String);
134 [id(DISPID_DATEOBJ_UTC
)]
137 [optional] VARIANT month
,
138 [optional] VARIANT Date
,
139 [optional] VARIANT hours
,
140 [optional] VARIANT minutes
,
141 [optional] VARIANT seconds
,
142 [optional] VARIANT ms
);
146 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b088
)
148 dispinterface MathObj
{
150 [id(DISPID_MATHOBJ_E
), readonly]
153 [id(DISPID_MATHOBJ_LOG2E
), readonly]
156 [id(DISPID_MATHOBJ_LOG10E
), readonly]
159 [id(DISPID_MATHOBJ_LN2
), readonly]
162 [id(DISPID_MATHOBJ_LN10
), readonly]
165 [id(DISPID_MATHOBJ_PI
), readonly]
168 [id(DISPID_MATHOBJ_SQRT2
), readonly]
171 [id(DISPID_MATHOBJ_SQRT1_2
), readonly]
175 [id(DISPID_MATHOBJ_ABS
)]
176 VARIANT abs
(VARIANT x
);
178 [id(DISPID_MATHOBJ_ACOS
)]
179 VARIANT acos
(VARIANT x
);
181 [id(DISPID_MATHOBJ_ASIN
)]
182 VARIANT asin
(VARIANT x
);
184 [id(DISPID_MATHOBJ_ATAN
)]
185 VARIANT atan
(VARIANT x
);
187 [id(DISPID_MATHOBJ_ATAN2
)]
188 VARIANT atan2
(VARIANT x
, VARIANT y
);
190 [id(DISPID_MATHOBJ_CEIL
)]
191 VARIANT ceil
(VARIANT x
);
193 [id(DISPID_MATHOBJ_COS
)]
194 VARIANT cos
(VARIANT x
);
196 [id(DISPID_MATHOBJ_EXP
)]
197 VARIANT exp
(VARIANT x
);
199 [id(DISPID_MATHOBJ_FLOOR
)]
200 VARIANT floor
(VARIANT x
);
202 [id(DISPID_MATHOBJ_LOG
)]
203 VARIANT log
(VARIANT x
);
205 [id(DISPID_MATHOBJ_MAX
)]
206 VARIANT max
(VARIANT x
, VARIANT y
);
208 [id(DISPID_MATHOBJ_MIN
)]
209 VARIANT min
(VARIANT x
, VARIANT y
);
211 [id(DISPID_MATHOBJ_POW
)]
212 VARIANT pow
(VARIANT x
, VARIANT y
);
214 [id(DISPID_MATHOBJ_RANDOM
)]
217 [id(DISPID_MATHOBJ_ROUND
)]
218 VARIANT round
(VARIANT x
);
220 [id(DISPID_MATHOBJ_SIN
)]
221 VARIANT sin
(VARIANT x
);
223 [id(DISPID_MATHOBJ_SQRT
)]
224 VARIANT sqrt
(VARIANT x
);
226 [id(DISPID_MATHOBJ_TAN
)]
227 VARIANT tan
(VARIANT x
);
231 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b089
)
233 dispinterface NumberObj
{
235 [id(DISPID_NUMBEROBJ_MAX_VALUE
), readonly]
238 [id(DISPID_NUMBEROBJ_MIN_VALUE
), readonly]
241 [id(DISPID_NUMBEROBJ_NAN
), readonly]
244 [id(DISPID_NUMBEROBJ_NEGATIVE_INFINITY
), readonly]
245 VARIANT NEGATIVE_INFINITY
;
247 [id(DISPID_NUMBEROBJ_POSITIVE_INFINITY
), readonly]
248 VARIANT POSITIVE_INFINITY
;
254 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b090
)
256 dispinterface RegExpObj
{
258 [id(DISPID_REGEXPOBJ_INDEX
), readonly]
261 [id(DISPID_REGEXPOBJ_INPUT
), readonly]
264 [id(DISPID_REGEXPOBJ_LASTINDEX
), readonly]
271 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b091
)
273 dispinterface StringObj
{
276 [id(DISPID_STRINGOBJ_FROMCHARCODE
)]
277 VARIANT fromCharCode
(VARIANT char0
);
281 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b092
)
283 dispinterface ArrayInstance
{
285 [id(DISPID_ARRAY_LENGTH
)]
289 [id(DISPID_ARRAY_CONCAT
)]
290 ArrayInstance
*concat
(VARIANT Array
);
292 [id(DISPID_ARRAY_JOIN
)]
293 StringInstance
*join
(VARIANT separator
);
295 [id(DISPID_ARRAY_POP
)]
298 [id(DISPID_ARRAY_PUSH
)]
299 VARIANT push
(VARIANT value
);
301 [id(DISPID_ARRAY_REVERSE
)]
302 ArrayInstance
*reverse
();
304 [id(DISPID_ARRAY_SHIFT
)]
307 [id(DISPID_ARRAY_SLICE
)]
308 ArrayInstance
*slice
(
312 [id(DISPID_ARRAY_SORT
)]
313 ArrayInstance
*sort
(VARIANT sortfunction
);
315 [id(DISPID_ARRAY_SPLICE
)]
316 ArrayInstance
*splice
(
318 VARIANT deletecount
);
320 [id(DISPID_ARRAY_TOSTRING
)]
321 StringInstance
*toString
();
323 [id(DISPID_ARRAY_TOLOCSTRING
)]
324 StringInstance
*toLocaleString
();
326 [id(DISPID_ARRAY_VALUEOF
)]
327 ArrayInstance
*valueOf
();
329 [id(DISPID_ARRAY_UNSHIFT
)]
330 VARIANT unshift
(VARIANT value
);
332 [id(DISPID_ARRAY_HASOWNPROP
)]
333 VARIANT hasOwnProperty
(VARIANT propertyName
);
335 [id(DISPID_ARRAY_PROPISENUM
)]
336 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
338 [id(DISPID_ARRAY_ISPROTOF
)]
339 VARIANT isPrototypeOf
(VARIANT obj
);
343 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b093
)
345 dispinterface FunctionInstance
{
347 [id(DISPID_FUNCTION_LENGTH
)]
350 [id(DISPID_FUNCTION_TOSTRING
)]
351 StringInstance
*toString
();
353 [id(DISPID_FUNCTION_TOLOCSTRING
)]
354 StringInstance
*toLocaleString
();
356 [id(DISPID_FUNCTION_VALUEOF
)]
357 FunctionInstance
*valueOf
();
359 [id(DISPID_FUNCTION_APPLY
)]
364 [id(DISPID_FUNCTION_CALL
)]
365 VARIANT call
(VARIANT thisValue
);
367 [id(DISPID_FUNCTION_HASOWNPROP
)]
368 VARIANT hasOwnProperty
(VARIANT propertyName
);
370 [id(DISPID_FUNCTION_PROPISENUM
)]
371 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
373 [id(DISPID_FUNCTION_ISPROTOF
)]
374 VARIANT isPrototypeOf
(VARIANT obj
);
378 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b094
)
380 dispinterface StringInstance
{
382 [id(DISPID_STRING_LENGTH
)]
385 [id(DISPID_STRING_TOSTRING
)]
386 StringInstance
*toString
();
388 [id(DISPID_STRING_VALUEOF
)]
389 StringInstance
*valueOf
();
391 [id(DISPID_STRING_ANCHOR
)]
392 StringInstance
*anchor
(VARIANT anchorString
);
394 [id(DISPID_STRING_BIG
)]
395 StringInstance
*big
();
397 [id(DISPID_STRING_BLINK
)]
398 StringInstance
*blink
();
400 [id(DISPID_STRING_BOLD
)]
401 StringInstance
*bold
();
403 [id(DISPID_STRING_CHARAT
)]
404 StringInstance
*charAt
(VARIANT index
);
406 [id(DISPID_STRING_CHARCODEAT
)]
407 VARIANT charCodeAt
(VARIANT index
);
409 [id(DISPID_STRING_CONCAT
)]
410 StringInstance
*concat
(VARIANT String);
412 [id(DISPID_STRING_FIXED
)]
413 StringInstance
*fixed
();
415 [id(DISPID_STRING_FONTCOLOR
)]
416 StringInstance
*fontcolor
(VARIANT colorval
);
418 [id(DISPID_STRING_FONTSIZE
)]
419 StringInstance
*fontsize
(VARIANT size
);
421 [id(DISPID_STRING_INDEXOF
)]
426 [id(DISPID_STRING_ITALICS
)]
427 StringInstance
*italics
();
429 [id(DISPID_STRING_LASTINDEXOF
)]
434 [id(DISPID_STRING_LINK
)]
435 StringInstance
*link
(VARIANT linkstring
);
437 [id(DISPID_STRING_MATCH
)]
438 VARIANT match
(VARIANT RegExp
);
440 [id(DISPID_STRING_REPLACE
)]
441 StringInstance
*replace
(
443 VARIANT replacetext
);
445 [id(DISPID_STRING_SEARCH
)]
446 VARIANT search
(VARIANT RegExp
);
448 [id(DISPID_STRING_SLICE
)]
449 StringInstance
*slice
(
453 [id(DISPID_STRING_SMALL
)]
454 StringInstance
*_small
(); /* FIXME */
456 [id(DISPID_STRING_SPLIT
)]
457 ArrayInstance
*split
(VARIANT RegExp
);
459 [id(DISPID_STRING_STRIKE
)]
460 StringInstance
*strike
();
462 [id(DISPID_STRING_SUB
)]
463 StringInstance
*sub
();
465 [id(DISPID_STRING_SUBSTRING
)]
466 StringInstance
*substring
(
470 [id(DISPID_STRING_SUBSTR
)]
471 StringInstance
*substr
(
475 [id(DISPID_STRING_SUP
)]
476 StringInstance
*sup
();
478 [id(DISPID_STRING_TOLOWERCASE
)]
479 StringInstance
*toLowerCase
();
481 [id(DISPID_STRING_TOUPPERCASE
)]
482 StringInstance
*toUpperCase
();
484 [id(DISPID_STRING_TOLOCLOWERCASE
)]
485 StringInstance
*toLocaleLowerCase
();
487 [id(DISPID_STRING_TOLOCUPPERCASE
)]
488 StringInstance
*toLocaleUpperCase
();
490 [id(DISPID_STRING_LOCCOMPARE
)]
491 VARIANT localeCompare
(VARIANT that
);
493 [id(DISPID_STRING_HASOWNPROP
)]
494 VARIANT hasOwnProperty
(VARIANT propertyName
);
496 [id(DISPID_STRING_PROPISENUM
)]
497 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
499 [id(DISPID_STRING_ISPROTOF
)]
500 VARIANT isPrototypeOf
(VARIANT obj
);
504 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b095
)
506 dispinterface BoolInstance
{
509 [id(DISPID_BOOL_TOSTRING
)]
510 StringInstance
*toString
();
512 [id(DISPID_BOOL_TOLOCSTRING
)]
513 StringInstance
*toLocaleString
();
515 [id(DISPID_BOOL_VALUEOF
)]
518 [id(DISPID_BOOL_HASOWNPROP
)]
519 VARIANT hasOwnProperty
(VARIANT propertyName
);
521 [id(DISPID_BOOL_PROPISENUM
)]
522 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
524 [id(DISPID_BOOL_ISPROTOF
)]
525 VARIANT isPrototypeOf
(VARIANT obj
);
529 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b096
)
531 dispinterface NumberInstance
{
534 [id(DISPID_NUMBER_TOSTRING
)]
535 StringInstance
*toString
(VARIANT radix
);
537 [id(DISPID_NUMBER_TOLOCSTRING
)]
538 StringInstance
*toLocaleString
();
540 [id(DISPID_NUMBER_TOFIXED
)]
541 StringInstance
*toFixed
(VARIANT fractionDigits
);
543 [id(DISPID_NUMBER_TOEXPONENTIAL
)]
544 StringInstance
*toExponential
(VARIANT fractionDigits
);
546 [id(DISPID_NUMBER_TOPRECISION
)]
547 StringInstance
*toPrecision
(VARIANT precision
);
549 [id(DISPID_NUMBER_VALUEOF
)]
552 [id(DISPID_NUMBER_HASOWNPROP
)]
553 VARIANT hasOwnProperty
(VARIANT propertyName
);
555 [id(DISPID_NUMBER_PROPISENUM
)]
556 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
558 [id(DISPID_NUMBER_ISPROTOF
)]
559 VARIANT isPrototypeOf
(VARIANT obj
);
563 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b097
)
565 dispinterface ObjectInstance
{
568 [id(DISPID_OBJECT_TOSTRING
)]
569 StringInstance
*toString
();
571 [id(DISPID_OBJECT_TOLOCSTRING
)]
572 StringInstance
*toLocaleString
();
574 [id(DISPID_OBJECT_HASOWNPROP
)]
575 VARIANT hasOwnProperty
(VARIANT propertyName
);
577 [id(DISPID_OBJECT_PROPISENUM
)]
578 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
580 [id(DISPID_OBJECT_ISPROTOF
)]
581 VARIANT isPrototypeOf
(VARIANT obj
);
583 [id(DISPID_OBJECT_VALUEOF
)]
584 ObjectInstance
*valueOf
();
588 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b098
)
590 dispinterface DateInstance
{
593 [id(DISPID_DATE_TOSTRING
)]
594 StringInstance
*toString
();
596 [id(DISPID_DATE_TOLOCSTRING
)]
597 StringInstance
*toLocaleString
();
599 [id(DISPID_DATE_HASOWNPROP
)]
600 VARIANT hasOwnProperty
(VARIANT propertyName
);
602 [id(DISPID_DATE_PROPISENUM
)]
603 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
605 [id(DISPID_DATE_ISPROTOF
)]
606 VARIANT isPrototypeOf
(VARIANT obj
);
608 [id(DISPID_DATE_VALUEOF
)]
609 DateInstance
*valueOf
();
611 [id(DISPID_DATE_TOUTCSTRING
)]
612 StringInstance
*toUTCString
();
614 [id(DISPID_DATE_TODATESTRING
)]
615 StringInstance
*toDateString
();
617 [id(DISPID_DATE_TOTIMESTRING
)]
618 StringInstance
*toTimeString
();
620 [id(DISPID_DATE_TOLOCDATESTRING
)]
621 StringInstance
*toLocaleDateString
();
623 [id(DISPID_DATE_TOLOCTIMESTRING
)]
624 StringInstance
*toLocaleTimeString
();
626 [id(DISPID_DATE_GETTIME
)]
629 [id(DISPID_DATE_GETFULLYEAR
)]
630 VARIANT getFullYear
();
632 [id(DISPID_DATE_GETUTCFULLYEAR
)]
633 VARIANT getUTCFullYear
();
635 [id(DISPID_DATE_GETMONTH
)]
638 [id(DISPID_DATE_GETUTCMONTH
)]
639 VARIANT getUTCMonth
();
641 [id(DISPID_DATE_GETDATE
)]
644 [id(DISPID_DATE_GETUTCDATE
)]
645 VARIANT getUTCDate
();
647 [id(DISPID_DATE_GETDAY
)]
650 [id(DISPID_DATE_GETUTCDAY
)]
653 [id(DISPID_DATE_GETHOURS
)]
656 [id(DISPID_DATE_GETUTCHOURS
)]
657 VARIANT getUTCHours
();
659 [id(DISPID_DATE_GETMINUTES
)]
660 VARIANT getMinutes
();
662 [id(DISPID_DATE_GETUTCMINUTES
)]
663 VARIANT getUTCMinutes
();
665 [id(DISPID_DATE_GETSECONDS
)]
666 VARIANT getSeconds
();
668 [id(DISPID_DATE_GETUTCSECONDS
)]
669 VARIANT getUTCSeconds
();
671 [id(DISPID_DATE_GETMILLISECONDS
)]
672 VARIANT getMilliseconds
();
674 [id(DISPID_DATE_GETUTCMILLISECONDS
)]
675 VARIANT getUTCMilliseconds
();
677 [id(DISPID_DATE_GETTIMEZONEOFFSET
)]
678 VARIANT getTimezoneOffset
();
680 [id(DISPID_DATE_SETTIME
)]
681 DateInstance
*setTime
(VARIANT time
);
683 [id(DISPID_DATE_SETMILLISECONDS
)]
684 DateInstance
*setMilliseconds
(VARIANT milliseconds
);
686 [id(DISPID_DATE_SETUTCMILLISECONDS
)]
687 DateInstance
*setUTCMilliseconds
(VARIANT milliseconds
);
689 [id(DISPID_DATE_SETSECONDS
)]
690 DateInstance
*setSeconds
(
692 [optional] VARIANT milliseconds
);
694 [id(DISPID_DATE_SETUTCSECONDS
)]
695 DateInstance
*setUTCSeconds
(
697 [optional] VARIANT milliseconds
);
699 [id(DISPID_DATE_SETMINUTES
)]
700 DateInstance
*setMinutes
(
702 [optional] VARIANT seconds
,
703 [optional] VARIANT milliseconds
);
705 [id(DISPID_DATE_SETUTCMINUTES
)]
706 DateInstance
*setUTCMinutes
(
708 [optional] VARIANT seconds
,
709 [optional] VARIANT milliseconds
);
711 [id(DISPID_DATE_SETHOURS
)]
712 DateInstance
*setHours
(
714 [optional] VARIANT minutes
,
715 [optional] VARIANT seconds
,
716 [optional] VARIANT milliseconds
);
718 [id(DISPID_DATE_SETUTCHOURS
)]
719 DateInstance
*setUTCHours
(
721 [optional] VARIANT minutes
,
722 [optional] VARIANT seconds
,
723 [optional] VARIANT milliseconds
);
725 [id(DISPID_DATE_SETDATE
)]
726 DateInstance
*setDate
(VARIANT Date
);
728 [id(DISPID_DATE_SETUTCDATE
)]
729 DateInstance
*setUTCDate
(VARIANT Date
);
731 [id(DISPID_DATE_SETMONTH
)]
732 DateInstance
*setMonth
(
734 [optional] VARIANT Date
);
736 [id(DISPID_DATE_SETUTCMONTH
)]
737 DateInstance
*setUTCMonth
(
739 [optional] VARIANT Date
);
741 [id(DISPID_DATE_SETFULLYEAR
)]
742 DateInstance
*setFullYear
(
744 [optional] VARIANT month
,
745 [optional] VARIANT Date
);
747 [id(DISPID_DATE_SETUTCFULLYEAR
)]
748 DateInstance
*setUTCFullYear
(
750 [optional] VARIANT month
,
751 [optional] VARIANT Date
);
755 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04Fc2b099
)
757 dispinterface RegExpInstance
{
759 [id(DISPID_REGEXP_SOURCE
)]
760 StringInstance
*source;
762 [id(DISPID_REGEXP_GLOBAL
)]
765 [id(DISPID_REGEXP_IGNORECASE
)]
768 [id(DISPID_REGEXP_MULTILINE
)]
771 [id(DISPID_REGEXP_LASTINDEX
)]
774 [id(DISPID_REGEXP_TOSTRING
)]
775 StringInstance
*toString
();
777 [id(DISPID_REGEXP_TOLOCSTRING
)]
778 StringInstance
*toLocaleString
();
780 [id(DISPID_REGEXP_HASOWNPROP
)]
781 VARIANT hasOwnProperty
(VARIANT propertyName
);
783 [id(DISPID_REGEXP_PROPISENUM
)]
784 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
786 [id(DISPID_REGEXP_ISPROTOF
)]
787 VARIANT isPrototypeOf
(VARIANT obj
);
789 [id(DISPID_REGEXP_EXEC
)]
790 ArrayInstance
*exec
(VARIANT String);
794 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09a
)
796 dispinterface ErrorInstance
{
798 [id(DISPID_ERROR_NAME
)]
799 StringInstance
*name
;
801 [id(DISPID_ERROR_MESSAGE
)]
802 StringInstance
*message;
804 [id(DISPID_ERROR_IGNORECASE
)]
807 [id(DISPID_ERROR_MULTILINE
)]
810 [id(DISPID_ERROR_LASTINDEX
)]
814 [id(DISPID_ERROR_TOSTRING
)]
815 StringInstance
*toString
();
817 [id(DISPID_ERROR_TOLOCSTRING
)]
818 StringInstance
*toLocaleString
();
820 [id(DISPID_ERROR_HASOWNPROP
)]
821 VARIANT hasOwnProperty
(VARIANT propertyName
);
823 [id(DISPID_ERROR_PROPISENUM
)]
824 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
826 [id(DISPID_ERROR_ISPROTOF
)]
827 VARIANT isPrototypeOf
(VARIANT obj
);
831 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09b
)
833 dispinterface EvalErrorInstance
{
835 [id(DISPID_ERROR_NAME
)]
836 StringInstance
*name
;
838 [id(DISPID_ERROR_MESSAGE
)]
839 StringInstance
*message;
841 [id(DISPID_ERROR_IGNORECASE
)]
844 [id(DISPID_ERROR_MULTILINE
)]
847 [id(DISPID_ERROR_LASTINDEX
)]
851 [id(DISPID_ERROR_TOSTRING
)]
852 StringInstance
*toString
();
854 [id(DISPID_ERROR_TOLOCSTRING
)]
855 StringInstance
*toLocaleString
();
857 [id(DISPID_ERROR_HASOWNPROP
)]
858 VARIANT hasOwnProperty
(VARIANT propertyName
);
860 [id(DISPID_ERROR_PROPISENUM
)]
861 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
863 [id(DISPID_ERROR_ISPROTOF
)]
864 VARIANT isPrototypeOf
(VARIANT obj
);
868 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09c
)
870 dispinterface RangeErrorInstance
{
872 [id(DISPID_ERROR_NAME
)]
873 StringInstance
*name
;
875 [id(DISPID_ERROR_MESSAGE
)]
876 StringInstance
*message;
878 [id(DISPID_ERROR_IGNORECASE
)]
881 [id(DISPID_ERROR_MULTILINE
)]
884 [id(DISPID_ERROR_LASTINDEX
)]
888 [id(DISPID_ERROR_TOSTRING
)]
889 StringInstance
*toString
();
891 [id(DISPID_ERROR_TOLOCSTRING
)]
892 StringInstance
*toLocaleString
();
894 [id(DISPID_ERROR_HASOWNPROP
)]
895 VARIANT hasOwnProperty
(VARIANT propertyName
);
897 [id(DISPID_ERROR_PROPISENUM
)]
898 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
900 [id(DISPID_ERROR_ISPROTOF
)]
901 VARIANT isPrototypeOf
(VARIANT obj
);
905 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09d
)
907 dispinterface ReferenceErrorInstance
{
909 [id(DISPID_ERROR_NAME
)]
910 StringInstance
*name
;
912 [id(DISPID_ERROR_MESSAGE
)]
913 StringInstance
*message;
915 [id(DISPID_ERROR_IGNORECASE
)]
918 [id(DISPID_ERROR_MULTILINE
)]
921 [id(DISPID_ERROR_LASTINDEX
)]
925 [id(DISPID_ERROR_TOSTRING
)]
926 StringInstance
*toString
();
928 [id(DISPID_ERROR_TOLOCSTRING
)]
929 StringInstance
*toLocaleString
();
931 [id(DISPID_ERROR_HASOWNPROP
)]
932 VARIANT hasOwnProperty
(VARIANT propertyName
);
934 [id(DISPID_ERROR_PROPISENUM
)]
935 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
937 [id(DISPID_ERROR_ISPROTOF
)]
938 VARIANT isPrototypeOf
(VARIANT obj
);
942 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09e
)
944 dispinterface SyntaxErrorInstance
{
946 [id(DISPID_ERROR_NAME
)]
947 StringInstance
*name
;
949 [id(DISPID_ERROR_MESSAGE
)]
950 StringInstance
*message;
952 [id(DISPID_ERROR_IGNORECASE
)]
955 [id(DISPID_ERROR_MULTILINE
)]
958 [id(DISPID_ERROR_LASTINDEX
)]
962 [id(DISPID_ERROR_TOSTRING
)]
963 StringInstance
*toString
();
965 [id(DISPID_ERROR_TOLOCSTRING
)]
966 StringInstance
*toLocaleString
();
968 [id(DISPID_ERROR_HASOWNPROP
)]
969 VARIANT hasOwnProperty
(VARIANT propertyName
);
971 [id(DISPID_ERROR_PROPISENUM
)]
972 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
974 [id(DISPID_ERROR_ISPROTOF
)]
975 VARIANT isPrototypeOf
(VARIANT obj
);
979 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09f
)
981 dispinterface TypeErrorInstance
{
983 [id(DISPID_ERROR_NAME
)]
984 StringInstance
*name
;
986 [id(DISPID_ERROR_MESSAGE
)]
987 StringInstance
*message;
989 [id(DISPID_ERROR_IGNORECASE
)]
992 [id(DISPID_ERROR_MULTILINE
)]
995 [id(DISPID_ERROR_LASTINDEX
)]
999 [id(DISPID_ERROR_TOSTRING
)]
1000 StringInstance
*toString
();
1002 [id(DISPID_ERROR_TOLOCSTRING
)]
1003 StringInstance
*toLocaleString
();
1005 [id(DISPID_ERROR_HASOWNPROP
)]
1006 VARIANT hasOwnProperty
(VARIANT propertyName
);
1008 [id(DISPID_ERROR_PROPISENUM
)]
1009 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
1011 [id(DISPID_ERROR_ISPROTOF
)]
1012 VARIANT isPrototypeOf
(VARIANT obj
);
1016 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b0a0
)
1018 dispinterface URIErrorInstance
{
1020 [id(DISPID_ERROR_NAME
)]
1021 StringInstance
*name
;
1023 [id(DISPID_ERROR_MESSAGE
)]
1024 StringInstance
*message;
1026 [id(DISPID_ERROR_IGNORECASE
)]
1029 [id(DISPID_ERROR_MULTILINE
)]
1032 [id(DISPID_ERROR_LASTINDEX
)]
1036 [id(DISPID_ERROR_TOSTRING
)]
1037 StringInstance
*toString
();
1039 [id(DISPID_ERROR_TOLOCSTRING
)]
1040 StringInstance
*toLocaleString
();
1042 [id(DISPID_ERROR_HASOWNPROP
)]
1043 VARIANT hasOwnProperty
(VARIANT propertyName
);
1045 [id(DISPID_ERROR_PROPISENUM
)]
1046 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
1048 [id(DISPID_ERROR_ISPROTOF
)]
1049 VARIANT isPrototypeOf
(VARIANT obj
);