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 #pragma makedep regtypelib
21 #include
"jsglobal_dispid.h"
26 uuid(3eef9759
-35fc
-11d1
-8ce4
-00c04fc2b085
),
31 importlib
("stdole2.tlb");
33 interface StringInstance
;
36 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b086
)
38 dispinterface GlobalObj
{
40 [id(DISPID_GLOBAL_NAN
), readonly]
43 [id(DISPID_GLOBAL_INFINITY
), readonly]
47 [id(DISPID_GLOBAL_ARRAY
)]
50 [id(DISPID_GLOBAL_BOOLEAN
)]
53 [id(DISPID_GLOBAL_DATE
)]
56 [id(DISPID_GLOBAL_FUNCTION
)]
59 [id(DISPID_GLOBAL_NUMBER
)]
62 [id(DISPID_GLOBAL_OBJECT
)]
65 [id(DISPID_GLOBAL_STRING
)]
68 [id(DISPID_GLOBAL_REGEXP
)]
71 [id(DISPID_GLOBAL_ACTIVEXOBJ
)]
72 VARIANT ActiveXObject
();
74 [id(DISPID_GLOBAL_VBARRAY
)]
77 [id(DISPID_GLOBAL_ENUMERATOR
)]
80 [id(DISPID_GLOBAL_ESCAPE
)]
81 VARIANT escape
(VARIANT String);
83 [id(DISPID_GLOBAL_EVAL
)]
84 VARIANT eval
(VARIANT x
);
86 [id(DISPID_GLOBAL_ISNAN
)]
87 VARIANT isNaN
(VARIANT Number
);
89 [id(DISPID_GLOBAL_ISFINITE
)]
90 VARIANT isFinite
(VARIANT Number
);
92 [id(DISPID_GLOBAL_PARSEINT
)]
97 [id(DISPID_GLOBAL_PARSEFLOAT
)]
98 VARIANT parseFloat
(VARIANT String);
100 [id(DISPID_GLOBAL_UNESCAPE
)]
101 VARIANT unescape
(VARIANT String);
103 [id(DISPID_GLOBAL_GETOBJECT
)]
105 [optional] VARIANT path
,
106 [optional] VARIANT classname
);
108 [id(DISPID_GLOBAL_SCRIPTENGINE
)]
109 VARIANT ScriptEngine
();
111 [id(DISPID_GLOBAL_MAJORVER
)]
112 VARIANT ScriptEngineMajorVersion
();
114 [id(DISPID_GLOBAL_MINORVER
)]
115 VARIANT ScriptEngineMinorVersion
();
117 [id(DISPID_GLOBAL_BUILDVER
)]
118 VARIANT ScriptEngineBuildVersion
();
120 [id(DISPID_GLOBAL_COLLECT
)]
121 VARIANT CollectGarbage
();
123 [id(DISPID_GLOBAL_MATH
)]
128 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b087
)
130 dispinterface DateObj
{
133 [id(DISPID_DATEOBJ_PARSE
)]
134 VARIANT parse
(VARIANT String);
136 [id(DISPID_DATEOBJ_UTC
)]
139 [optional] VARIANT month
,
140 [optional] VARIANT Date
,
141 [optional] VARIANT hours
,
142 [optional] VARIANT minutes
,
143 [optional] VARIANT seconds
,
144 [optional] VARIANT ms
);
148 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b088
)
150 dispinterface MathObj
{
152 [id(DISPID_MATHOBJ_E
), readonly]
155 [id(DISPID_MATHOBJ_LOG2E
), readonly]
158 [id(DISPID_MATHOBJ_LOG10E
), readonly]
161 [id(DISPID_MATHOBJ_LN2
), readonly]
164 [id(DISPID_MATHOBJ_LN10
), readonly]
167 [id(DISPID_MATHOBJ_PI
), readonly]
170 [id(DISPID_MATHOBJ_SQRT2
), readonly]
173 [id(DISPID_MATHOBJ_SQRT1_2
), readonly]
177 [id(DISPID_MATHOBJ_ABS
)]
178 VARIANT abs
(VARIANT x
);
180 [id(DISPID_MATHOBJ_ACOS
)]
181 VARIANT acos
(VARIANT x
);
183 [id(DISPID_MATHOBJ_ASIN
)]
184 VARIANT asin
(VARIANT x
);
186 [id(DISPID_MATHOBJ_ATAN
)]
187 VARIANT atan
(VARIANT x
);
189 [id(DISPID_MATHOBJ_ATAN2
)]
190 VARIANT atan2
(VARIANT x
, VARIANT y
);
192 [id(DISPID_MATHOBJ_CEIL
)]
193 VARIANT ceil
(VARIANT x
);
195 [id(DISPID_MATHOBJ_COS
)]
196 VARIANT cos
(VARIANT x
);
198 [id(DISPID_MATHOBJ_EXP
)]
199 VARIANT exp
(VARIANT x
);
201 [id(DISPID_MATHOBJ_FLOOR
)]
202 VARIANT floor
(VARIANT x
);
204 [id(DISPID_MATHOBJ_LOG
)]
205 VARIANT log
(VARIANT x
);
207 [id(DISPID_MATHOBJ_MAX
)]
208 VARIANT max
(VARIANT x
, VARIANT y
);
210 [id(DISPID_MATHOBJ_MIN
)]
211 VARIANT min
(VARIANT x
, VARIANT y
);
213 [id(DISPID_MATHOBJ_POW
)]
214 VARIANT pow
(VARIANT x
, VARIANT y
);
216 [id(DISPID_MATHOBJ_RANDOM
)]
219 [id(DISPID_MATHOBJ_ROUND
)]
220 VARIANT round
(VARIANT x
);
222 [id(DISPID_MATHOBJ_SIN
)]
223 VARIANT sin
(VARIANT x
);
225 [id(DISPID_MATHOBJ_SQRT
)]
226 VARIANT sqrt
(VARIANT x
);
228 [id(DISPID_MATHOBJ_TAN
)]
229 VARIANT tan
(VARIANT x
);
233 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b089
)
235 dispinterface NumberObj
{
237 [id(DISPID_NUMBEROBJ_MAX_VALUE
), readonly]
240 [id(DISPID_NUMBEROBJ_MIN_VALUE
), readonly]
243 [id(DISPID_NUMBEROBJ_NAN
), readonly]
246 [id(DISPID_NUMBEROBJ_NEGATIVE_INFINITY
), readonly]
247 VARIANT NEGATIVE_INFINITY
;
249 [id(DISPID_NUMBEROBJ_POSITIVE_INFINITY
), readonly]
250 VARIANT POSITIVE_INFINITY
;
256 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b090
)
258 dispinterface RegExpObj
{
260 [id(DISPID_REGEXPOBJ_INDEX
), readonly]
263 [id(DISPID_REGEXPOBJ_INPUT
), readonly]
266 [id(DISPID_REGEXPOBJ_LASTINDEX
), readonly]
273 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b091
)
275 dispinterface StringObj
{
278 [id(DISPID_STRINGOBJ_FROMCHARCODE
)]
279 VARIANT fromCharCode
(VARIANT char0
);
283 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b092
)
285 dispinterface ArrayInstance
{
287 [id(DISPID_ARRAY_LENGTH
)]
291 [id(DISPID_ARRAY_CONCAT
)]
292 ArrayInstance
*concat
(VARIANT Array
);
294 [id(DISPID_ARRAY_JOIN
)]
295 StringInstance
*join
(VARIANT separator
);
297 [id(DISPID_ARRAY_POP
)]
300 [id(DISPID_ARRAY_PUSH
)]
301 VARIANT push
(VARIANT value
);
303 [id(DISPID_ARRAY_REVERSE
)]
304 ArrayInstance
*reverse
();
306 [id(DISPID_ARRAY_SHIFT
)]
309 [id(DISPID_ARRAY_SLICE
)]
310 ArrayInstance
*slice
(
314 [id(DISPID_ARRAY_SORT
)]
315 ArrayInstance
*sort
(VARIANT sortfunction
);
317 [id(DISPID_ARRAY_SPLICE
)]
318 ArrayInstance
*splice
(
320 VARIANT deletecount
);
322 [id(DISPID_ARRAY_TOSTRING
)]
323 StringInstance
*toString
();
325 [id(DISPID_ARRAY_TOLOCSTRING
)]
326 StringInstance
*toLocaleString
();
328 [id(DISPID_ARRAY_VALUEOF
)]
329 ArrayInstance
*valueOf
();
331 [id(DISPID_ARRAY_UNSHIFT
)]
332 VARIANT unshift
(VARIANT value
);
334 [id(DISPID_ARRAY_HASOWNPROP
)]
335 VARIANT hasOwnProperty
(VARIANT propertyName
);
337 [id(DISPID_ARRAY_PROPISENUM
)]
338 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
340 [id(DISPID_ARRAY_ISPROTOF
)]
341 VARIANT isPrototypeOf
(VARIANT obj
);
345 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b093
)
347 dispinterface FunctionInstance
{
349 [id(DISPID_FUNCTION_LENGTH
)]
352 [id(DISPID_FUNCTION_TOSTRING
)]
353 StringInstance
*toString
();
355 [id(DISPID_FUNCTION_TOLOCSTRING
)]
356 StringInstance
*toLocaleString
();
358 [id(DISPID_FUNCTION_VALUEOF
)]
359 FunctionInstance
*valueOf
();
361 [id(DISPID_FUNCTION_APPLY
)]
366 [id(DISPID_FUNCTION_CALL
)]
367 VARIANT call
(VARIANT thisValue
);
369 [id(DISPID_FUNCTION_HASOWNPROP
)]
370 VARIANT hasOwnProperty
(VARIANT propertyName
);
372 [id(DISPID_FUNCTION_PROPISENUM
)]
373 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
375 [id(DISPID_FUNCTION_ISPROTOF
)]
376 VARIANT isPrototypeOf
(VARIANT obj
);
380 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b094
)
382 dispinterface StringInstance
{
384 [id(DISPID_STRING_LENGTH
)]
387 [id(DISPID_STRING_TOSTRING
)]
388 StringInstance
*toString
();
390 [id(DISPID_STRING_VALUEOF
)]
391 StringInstance
*valueOf
();
393 [id(DISPID_STRING_ANCHOR
)]
394 StringInstance
*anchor
(VARIANT anchorString
);
396 [id(DISPID_STRING_BIG
)]
397 StringInstance
*big
();
399 [id(DISPID_STRING_BLINK
)]
400 StringInstance
*blink
();
402 [id(DISPID_STRING_BOLD
)]
403 StringInstance
*bold
();
405 [id(DISPID_STRING_CHARAT
)]
406 StringInstance
*charAt
(VARIANT index
);
408 [id(DISPID_STRING_CHARCODEAT
)]
409 VARIANT charCodeAt
(VARIANT index
);
411 [id(DISPID_STRING_CONCAT
)]
412 StringInstance
*concat
(VARIANT String);
414 [id(DISPID_STRING_FIXED
)]
415 StringInstance
*fixed
();
417 [id(DISPID_STRING_FONTCOLOR
)]
418 StringInstance
*fontcolor
(VARIANT colorval
);
420 [id(DISPID_STRING_FONTSIZE
)]
421 StringInstance
*fontsize
(VARIANT size
);
423 [id(DISPID_STRING_INDEXOF
)]
428 [id(DISPID_STRING_ITALICS
)]
429 StringInstance
*italics
();
431 [id(DISPID_STRING_LASTINDEXOF
)]
436 [id(DISPID_STRING_LINK
)]
437 StringInstance
*link
(VARIANT linkstring
);
439 [id(DISPID_STRING_MATCH
)]
440 VARIANT match
(VARIANT RegExp
);
442 [id(DISPID_STRING_REPLACE
)]
443 StringInstance
*replace
(
445 VARIANT replacetext
);
447 [id(DISPID_STRING_SEARCH
)]
448 VARIANT search
(VARIANT RegExp
);
450 [id(DISPID_STRING_SLICE
)]
451 StringInstance
*slice
(
455 [id(DISPID_STRING_SMALL
)]
456 StringInstance
*_small
(); /* FIXME */
458 [id(DISPID_STRING_SPLIT
)]
459 ArrayInstance
*split
(VARIANT RegExp
);
461 [id(DISPID_STRING_STRIKE
)]
462 StringInstance
*strike
();
464 [id(DISPID_STRING_SUB
)]
465 StringInstance
*sub
();
467 [id(DISPID_STRING_SUBSTRING
)]
468 StringInstance
*substring
(
472 [id(DISPID_STRING_SUBSTR
)]
473 StringInstance
*substr
(
477 [id(DISPID_STRING_SUP
)]
478 StringInstance
*sup
();
480 [id(DISPID_STRING_TOLOWERCASE
)]
481 StringInstance
*toLowerCase
();
483 [id(DISPID_STRING_TOUPPERCASE
)]
484 StringInstance
*toUpperCase
();
486 [id(DISPID_STRING_TOLOCLOWERCASE
)]
487 StringInstance
*toLocaleLowerCase
();
489 [id(DISPID_STRING_TOLOCUPPERCASE
)]
490 StringInstance
*toLocaleUpperCase
();
492 [id(DISPID_STRING_LOCCOMPARE
)]
493 VARIANT localeCompare
(VARIANT that
);
495 [id(DISPID_STRING_HASOWNPROP
)]
496 VARIANT hasOwnProperty
(VARIANT propertyName
);
498 [id(DISPID_STRING_PROPISENUM
)]
499 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
501 [id(DISPID_STRING_ISPROTOF
)]
502 VARIANT isPrototypeOf
(VARIANT obj
);
506 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b095
)
508 dispinterface BoolInstance
{
511 [id(DISPID_BOOL_TOSTRING
)]
512 StringInstance
*toString
();
514 [id(DISPID_BOOL_TOLOCSTRING
)]
515 StringInstance
*toLocaleString
();
517 [id(DISPID_BOOL_VALUEOF
)]
520 [id(DISPID_BOOL_HASOWNPROP
)]
521 VARIANT hasOwnProperty
(VARIANT propertyName
);
523 [id(DISPID_BOOL_PROPISENUM
)]
524 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
526 [id(DISPID_BOOL_ISPROTOF
)]
527 VARIANT isPrototypeOf
(VARIANT obj
);
531 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b096
)
533 dispinterface NumberInstance
{
536 [id(DISPID_NUMBER_TOSTRING
)]
537 StringInstance
*toString
(VARIANT radix
);
539 [id(DISPID_NUMBER_TOLOCSTRING
)]
540 StringInstance
*toLocaleString
();
542 [id(DISPID_NUMBER_TOFIXED
)]
543 StringInstance
*toFixed
(VARIANT fractionDigits
);
545 [id(DISPID_NUMBER_TOEXPONENTIAL
)]
546 StringInstance
*toExponential
(VARIANT fractionDigits
);
548 [id(DISPID_NUMBER_TOPRECISION
)]
549 StringInstance
*toPrecision
(VARIANT precision
);
551 [id(DISPID_NUMBER_VALUEOF
)]
554 [id(DISPID_NUMBER_HASOWNPROP
)]
555 VARIANT hasOwnProperty
(VARIANT propertyName
);
557 [id(DISPID_NUMBER_PROPISENUM
)]
558 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
560 [id(DISPID_NUMBER_ISPROTOF
)]
561 VARIANT isPrototypeOf
(VARIANT obj
);
565 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b097
)
567 dispinterface ObjectInstance
{
570 [id(DISPID_OBJECT_TOSTRING
)]
571 StringInstance
*toString
();
573 [id(DISPID_OBJECT_TOLOCSTRING
)]
574 StringInstance
*toLocaleString
();
576 [id(DISPID_OBJECT_HASOWNPROP
)]
577 VARIANT hasOwnProperty
(VARIANT propertyName
);
579 [id(DISPID_OBJECT_PROPISENUM
)]
580 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
582 [id(DISPID_OBJECT_ISPROTOF
)]
583 VARIANT isPrototypeOf
(VARIANT obj
);
585 [id(DISPID_OBJECT_VALUEOF
)]
586 ObjectInstance
*valueOf
();
590 uuid(3eef9758
-35fc
-11d1
-8ce4
-00C04fc2b098
)
592 dispinterface DateInstance
{
595 [id(DISPID_DATE_TOSTRING
)]
596 StringInstance
*toString
();
598 [id(DISPID_DATE_TOLOCSTRING
)]
599 StringInstance
*toLocaleString
();
601 [id(DISPID_DATE_HASOWNPROP
)]
602 VARIANT hasOwnProperty
(VARIANT propertyName
);
604 [id(DISPID_DATE_PROPISENUM
)]
605 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
607 [id(DISPID_DATE_ISPROTOF
)]
608 VARIANT isPrototypeOf
(VARIANT obj
);
610 [id(DISPID_DATE_VALUEOF
)]
611 DateInstance
*valueOf
();
613 [id(DISPID_DATE_TOUTCSTRING
)]
614 StringInstance
*toUTCString
();
616 [id(DISPID_DATE_TODATESTRING
)]
617 StringInstance
*toDateString
();
619 [id(DISPID_DATE_TOTIMESTRING
)]
620 StringInstance
*toTimeString
();
622 [id(DISPID_DATE_TOLOCDATESTRING
)]
623 StringInstance
*toLocaleDateString
();
625 [id(DISPID_DATE_TOLOCTIMESTRING
)]
626 StringInstance
*toLocaleTimeString
();
628 [id(DISPID_DATE_GETTIME
)]
631 [id(DISPID_DATE_GETFULLYEAR
)]
632 VARIANT getFullYear
();
634 [id(DISPID_DATE_GETUTCFULLYEAR
)]
635 VARIANT getUTCFullYear
();
637 [id(DISPID_DATE_GETMONTH
)]
640 [id(DISPID_DATE_GETUTCMONTH
)]
641 VARIANT getUTCMonth
();
643 [id(DISPID_DATE_GETDATE
)]
646 [id(DISPID_DATE_GETUTCDATE
)]
647 VARIANT getUTCDate
();
649 [id(DISPID_DATE_GETDAY
)]
652 [id(DISPID_DATE_GETUTCDAY
)]
655 [id(DISPID_DATE_GETHOURS
)]
658 [id(DISPID_DATE_GETUTCHOURS
)]
659 VARIANT getUTCHours
();
661 [id(DISPID_DATE_GETMINUTES
)]
662 VARIANT getMinutes
();
664 [id(DISPID_DATE_GETUTCMINUTES
)]
665 VARIANT getUTCMinutes
();
667 [id(DISPID_DATE_GETSECONDS
)]
668 VARIANT getSeconds
();
670 [id(DISPID_DATE_GETUTCSECONDS
)]
671 VARIANT getUTCSeconds
();
673 [id(DISPID_DATE_GETMILLISECONDS
)]
674 VARIANT getMilliseconds
();
676 [id(DISPID_DATE_GETUTCMILLISECONDS
)]
677 VARIANT getUTCMilliseconds
();
679 [id(DISPID_DATE_GETTIMEZONEOFFSET
)]
680 VARIANT getTimezoneOffset
();
682 [id(DISPID_DATE_SETTIME
)]
683 DateInstance
*setTime
(VARIANT time
);
685 [id(DISPID_DATE_SETMILLISECONDS
)]
686 DateInstance
*setMilliseconds
(VARIANT milliseconds
);
688 [id(DISPID_DATE_SETUTCMILLISECONDS
)]
689 DateInstance
*setUTCMilliseconds
(VARIANT milliseconds
);
691 [id(DISPID_DATE_SETSECONDS
)]
692 DateInstance
*setSeconds
(
694 [optional] VARIANT milliseconds
);
696 [id(DISPID_DATE_SETUTCSECONDS
)]
697 DateInstance
*setUTCSeconds
(
699 [optional] VARIANT milliseconds
);
701 [id(DISPID_DATE_SETMINUTES
)]
702 DateInstance
*setMinutes
(
704 [optional] VARIANT seconds
,
705 [optional] VARIANT milliseconds
);
707 [id(DISPID_DATE_SETUTCMINUTES
)]
708 DateInstance
*setUTCMinutes
(
710 [optional] VARIANT seconds
,
711 [optional] VARIANT milliseconds
);
713 [id(DISPID_DATE_SETHOURS
)]
714 DateInstance
*setHours
(
716 [optional] VARIANT minutes
,
717 [optional] VARIANT seconds
,
718 [optional] VARIANT milliseconds
);
720 [id(DISPID_DATE_SETUTCHOURS
)]
721 DateInstance
*setUTCHours
(
723 [optional] VARIANT minutes
,
724 [optional] VARIANT seconds
,
725 [optional] VARIANT milliseconds
);
727 [id(DISPID_DATE_SETDATE
)]
728 DateInstance
*setDate
(VARIANT Date
);
730 [id(DISPID_DATE_SETUTCDATE
)]
731 DateInstance
*setUTCDate
(VARIANT Date
);
733 [id(DISPID_DATE_SETMONTH
)]
734 DateInstance
*setMonth
(
736 [optional] VARIANT Date
);
738 [id(DISPID_DATE_SETUTCMONTH
)]
739 DateInstance
*setUTCMonth
(
741 [optional] VARIANT Date
);
743 [id(DISPID_DATE_SETFULLYEAR
)]
744 DateInstance
*setFullYear
(
746 [optional] VARIANT month
,
747 [optional] VARIANT Date
);
749 [id(DISPID_DATE_SETUTCFULLYEAR
)]
750 DateInstance
*setUTCFullYear
(
752 [optional] VARIANT month
,
753 [optional] VARIANT Date
);
757 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04Fc2b099
)
759 dispinterface RegExpInstance
{
761 [id(DISPID_REGEXP_SOURCE
)]
762 StringInstance
*source;
764 [id(DISPID_REGEXP_GLOBAL
)]
767 [id(DISPID_REGEXP_IGNORECASE
)]
770 [id(DISPID_REGEXP_MULTILINE
)]
773 [id(DISPID_REGEXP_LASTINDEX
)]
776 [id(DISPID_REGEXP_TOSTRING
)]
777 StringInstance
*toString
();
779 [id(DISPID_REGEXP_TOLOCSTRING
)]
780 StringInstance
*toLocaleString
();
782 [id(DISPID_REGEXP_HASOWNPROP
)]
783 VARIANT hasOwnProperty
(VARIANT propertyName
);
785 [id(DISPID_REGEXP_PROPISENUM
)]
786 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
788 [id(DISPID_REGEXP_ISPROTOF
)]
789 VARIANT isPrototypeOf
(VARIANT obj
);
791 [id(DISPID_REGEXP_EXEC
)]
792 ArrayInstance
*exec
(VARIANT String);
796 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09a
)
798 dispinterface ErrorInstance
{
800 [id(DISPID_ERROR_NAME
)]
801 StringInstance
*name
;
803 [id(DISPID_ERROR_MESSAGE
)]
804 StringInstance
*message;
806 [id(DISPID_ERROR_IGNORECASE
)]
809 [id(DISPID_ERROR_MULTILINE
)]
812 [id(DISPID_ERROR_LASTINDEX
)]
816 [id(DISPID_ERROR_TOSTRING
)]
817 StringInstance
*toString
();
819 [id(DISPID_ERROR_TOLOCSTRING
)]
820 StringInstance
*toLocaleString
();
822 [id(DISPID_ERROR_HASOWNPROP
)]
823 VARIANT hasOwnProperty
(VARIANT propertyName
);
825 [id(DISPID_ERROR_PROPISENUM
)]
826 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
828 [id(DISPID_ERROR_ISPROTOF
)]
829 VARIANT isPrototypeOf
(VARIANT obj
);
833 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09b
)
835 dispinterface EvalErrorInstance
{
837 [id(DISPID_ERROR_NAME
)]
838 StringInstance
*name
;
840 [id(DISPID_ERROR_MESSAGE
)]
841 StringInstance
*message;
843 [id(DISPID_ERROR_IGNORECASE
)]
846 [id(DISPID_ERROR_MULTILINE
)]
849 [id(DISPID_ERROR_LASTINDEX
)]
853 [id(DISPID_ERROR_TOSTRING
)]
854 StringInstance
*toString
();
856 [id(DISPID_ERROR_TOLOCSTRING
)]
857 StringInstance
*toLocaleString
();
859 [id(DISPID_ERROR_HASOWNPROP
)]
860 VARIANT hasOwnProperty
(VARIANT propertyName
);
862 [id(DISPID_ERROR_PROPISENUM
)]
863 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
865 [id(DISPID_ERROR_ISPROTOF
)]
866 VARIANT isPrototypeOf
(VARIANT obj
);
870 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09c
)
872 dispinterface RangeErrorInstance
{
874 [id(DISPID_ERROR_NAME
)]
875 StringInstance
*name
;
877 [id(DISPID_ERROR_MESSAGE
)]
878 StringInstance
*message;
880 [id(DISPID_ERROR_IGNORECASE
)]
883 [id(DISPID_ERROR_MULTILINE
)]
886 [id(DISPID_ERROR_LASTINDEX
)]
890 [id(DISPID_ERROR_TOSTRING
)]
891 StringInstance
*toString
();
893 [id(DISPID_ERROR_TOLOCSTRING
)]
894 StringInstance
*toLocaleString
();
896 [id(DISPID_ERROR_HASOWNPROP
)]
897 VARIANT hasOwnProperty
(VARIANT propertyName
);
899 [id(DISPID_ERROR_PROPISENUM
)]
900 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
902 [id(DISPID_ERROR_ISPROTOF
)]
903 VARIANT isPrototypeOf
(VARIANT obj
);
907 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09d
)
909 dispinterface ReferenceErrorInstance
{
911 [id(DISPID_ERROR_NAME
)]
912 StringInstance
*name
;
914 [id(DISPID_ERROR_MESSAGE
)]
915 StringInstance
*message;
917 [id(DISPID_ERROR_IGNORECASE
)]
920 [id(DISPID_ERROR_MULTILINE
)]
923 [id(DISPID_ERROR_LASTINDEX
)]
927 [id(DISPID_ERROR_TOSTRING
)]
928 StringInstance
*toString
();
930 [id(DISPID_ERROR_TOLOCSTRING
)]
931 StringInstance
*toLocaleString
();
933 [id(DISPID_ERROR_HASOWNPROP
)]
934 VARIANT hasOwnProperty
(VARIANT propertyName
);
936 [id(DISPID_ERROR_PROPISENUM
)]
937 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
939 [id(DISPID_ERROR_ISPROTOF
)]
940 VARIANT isPrototypeOf
(VARIANT obj
);
944 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09e
)
946 dispinterface SyntaxErrorInstance
{
948 [id(DISPID_ERROR_NAME
)]
949 StringInstance
*name
;
951 [id(DISPID_ERROR_MESSAGE
)]
952 StringInstance
*message;
954 [id(DISPID_ERROR_IGNORECASE
)]
957 [id(DISPID_ERROR_MULTILINE
)]
960 [id(DISPID_ERROR_LASTINDEX
)]
964 [id(DISPID_ERROR_TOSTRING
)]
965 StringInstance
*toString
();
967 [id(DISPID_ERROR_TOLOCSTRING
)]
968 StringInstance
*toLocaleString
();
970 [id(DISPID_ERROR_HASOWNPROP
)]
971 VARIANT hasOwnProperty
(VARIANT propertyName
);
973 [id(DISPID_ERROR_PROPISENUM
)]
974 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
976 [id(DISPID_ERROR_ISPROTOF
)]
977 VARIANT isPrototypeOf
(VARIANT obj
);
981 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b09f
)
983 dispinterface TypeErrorInstance
{
985 [id(DISPID_ERROR_NAME
)]
986 StringInstance
*name
;
988 [id(DISPID_ERROR_MESSAGE
)]
989 StringInstance
*message;
991 [id(DISPID_ERROR_IGNORECASE
)]
994 [id(DISPID_ERROR_MULTILINE
)]
997 [id(DISPID_ERROR_LASTINDEX
)]
1001 [id(DISPID_ERROR_TOSTRING
)]
1002 StringInstance
*toString
();
1004 [id(DISPID_ERROR_TOLOCSTRING
)]
1005 StringInstance
*toLocaleString
();
1007 [id(DISPID_ERROR_HASOWNPROP
)]
1008 VARIANT hasOwnProperty
(VARIANT propertyName
);
1010 [id(DISPID_ERROR_PROPISENUM
)]
1011 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
1013 [id(DISPID_ERROR_ISPROTOF
)]
1014 VARIANT isPrototypeOf
(VARIANT obj
);
1018 uuid(3eef9758
-35fc
-11d1
-8ce4
-00c04fc2b0a0
)
1020 dispinterface URIErrorInstance
{
1022 [id(DISPID_ERROR_NAME
)]
1023 StringInstance
*name
;
1025 [id(DISPID_ERROR_MESSAGE
)]
1026 StringInstance
*message;
1028 [id(DISPID_ERROR_IGNORECASE
)]
1031 [id(DISPID_ERROR_MULTILINE
)]
1034 [id(DISPID_ERROR_LASTINDEX
)]
1038 [id(DISPID_ERROR_TOSTRING
)]
1039 StringInstance
*toString
();
1041 [id(DISPID_ERROR_TOLOCSTRING
)]
1042 StringInstance
*toLocaleString
();
1044 [id(DISPID_ERROR_HASOWNPROP
)]
1045 VARIANT hasOwnProperty
(VARIANT propertyName
);
1047 [id(DISPID_ERROR_PROPISENUM
)]
1048 VARIANT propertyIsEnumerable
(VARIANT propertyName
);
1050 [id(DISPID_ERROR_ISPROTOF
)]
1051 VARIANT isPrototypeOf
(VARIANT obj
);