jscript: Added Date_getUTCMinutes and Date_getMinutes implementation.
[wine.git] / dlls / jscript / jsglobal_dispid.h
blob392262258f4a5932383f4b9306e6cf3ff4efaeab
1 /*
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 /* GlobalObj */
20 #define DISPID_GLOBAL_NAN 0x0000
21 #define DISPID_GLOBAL_INFINITY 0x0001
22 #define DISPID_GLOBAL_ARRAY 0x0002
23 #define DISPID_GLOBAL_BOOLEAN 0x0003
24 #define DISPID_GLOBAL_DATE 0x0004
25 #define DISPID_GLOBAL_FUNCTION 0x0005
26 #define DISPID_GLOBAL_NUMBER 0x0006
27 #define DISPID_GLOBAL_OBJECT 0x0007
28 #define DISPID_GLOBAL_STRING 0x0008
29 #define DISPID_GLOBAL_REGEXP 0x0009
30 #define DISPID_GLOBAL_ACTIVEXOBJ 0x000a
31 #define DISPID_GLOBAL_VBARRAY 0x000b
32 #define DISPID_GLOBAL_ENUMERATOR 0x000c
33 #define DISPID_GLOBAL_ESCAPE 0x000d
34 #define DISPID_GLOBAL_EVAL 0x000e
35 #define DISPID_GLOBAL_ISNAN 0x000f
36 #define DISPID_GLOBAL_ISFINITE 0x0010
37 #define DISPID_GLOBAL_PARSEINT 0x0011
38 #define DISPID_GLOBAL_PARSEFLOAT 0x0012
39 #define DISPID_GLOBAL_UNESCAPE 0x0013
40 #define DISPID_GLOBAL_GETOBJECT 0x0014
41 #define DISPID_GLOBAL_SCRIPTENGINE 0x0015
42 #define DISPID_GLOBAL_MAJORVER 0x0016
43 #define DISPID_GLOBAL_MINORVER 0x0017
44 #define DISPID_GLOBAL_BUILDVER 0x0018
45 #define DISPID_GLOBAL_COLLECT 0x0019
46 #define DISPID_GLOBAL_MATH 0x001a
49 /* DateObj */
50 #define DISPID_DATEOBJ_PARSE 0x0064
51 #define DISPID_DATEOBJ_UTC 0x0065
54 /* MathObj */
55 #define DISPID_MATHOBJ_E 0x00c8
56 #define DISPID_MATHOBJ_LOG2E 0x00c9
57 #define DISPID_MATHOBJ_LOG10E 0x00ca
58 #define DISPID_MATHOBJ_LN2 0x00cb
59 #define DISPID_MATHOBJ_LN10 0x00cc
60 #define DISPID_MATHOBJ_PI 0x00cd
61 #define DISPID_MATHOBJ_SQRT2 0x00ce
62 #define DISPID_MATHOBJ_SQRT1_2 0x00cf
63 #define DISPID_MATHOBJ_ABS 0x00d0
64 #define DISPID_MATHOBJ_ACOS 0x00d1
65 #define DISPID_MATHOBJ_ASIN 0x00d2
66 #define DISPID_MATHOBJ_ATAN 0x00d3
67 #define DISPID_MATHOBJ_ATAN2 0x00d4
68 #define DISPID_MATHOBJ_CEIL 0x00d5
69 #define DISPID_MATHOBJ_COS 0x00d6
70 #define DISPID_MATHOBJ_EXP 0x00d7
71 #define DISPID_MATHOBJ_FLOOR 0x00d8
72 #define DISPID_MATHOBJ_LOG 0x00d9
73 #define DISPID_MATHOBJ_MAX 0x00da
74 #define DISPID_MATHOBJ_MIN 0x00db
75 #define DISPID_MATHOBJ_POW 0x00dc
76 #define DISPID_MATHOBJ_RANDOM 0x00dd
77 #define DISPID_MATHOBJ_ROUND 0x00de
78 #define DISPID_MATHOBJ_SIN 0x00df
79 #define DISPID_MATHOBJ_SQRT 0x00e0
80 #define DISPID_MATHOBJ_TAN 0x00e1
83 /* NumberObj */
84 #define DISPID_NUMBEROBJ_MAX_VALUE 0x012c
85 #define DISPID_NUMBEROBJ_MIN_VALUE 0x012d
86 #define DISPID_NUMBEROBJ_NAN 0x012e
87 #define DISPID_NUMBEROBJ_NEGATIVE_INFINITY 0x012f
88 #define DISPID_NUMBEROBJ_POSITIVE_INFINITY 0x0130
91 /* RegExpObj */
92 #define DISPID_REGEXPOBJ_INDEX 0x0190
93 #define DISPID_REGEXPOBJ_INPUT 0x0191
94 #define DISPID_REGEXPOBJ_LASTINDEX 0x0192
97 /* StringObj */
98 #define DISPID_STRINGOBJ_FROMCHARCODE 0x01f4
101 /* ArrayInstance */
102 #define DISPID_ARRAY_LENGTH 0x0258
103 #define DISPID_ARRAY_CONCAT 0x0259
104 #define DISPID_ARRAY_JOIN 0x025a
105 #define DISPID_ARRAY_POP 0x025b
106 #define DISPID_ARRAY_PUSH 0x025c
107 #define DISPID_ARRAY_REVERSE 0x025d
108 #define DISPID_ARRAY_SHIFT 0x025e
109 #define DISPID_ARRAY_SLICE 0x025f
110 #define DISPID_ARRAY_SORT 0x0260
111 #define DISPID_ARRAY_SPLICE 0x0261
112 #define DISPID_ARRAY_TOSTRING 0x0262
113 #define DISPID_ARRAY_TOLOCSTRING 0x0263
114 #define DISPID_ARRAY_VALUEOF 0x0264
115 #define DISPID_ARRAY_UNSHIFT 0x0265
116 #define DISPID_ARRAY_HASOWNPROP 0x0266
117 #define DISPID_ARRAY_PROPISENUM 0x0267
118 #define DISPID_ARRAY_ISPROTOF 0x0268
121 /* FunctionInstance */
122 #define DISPID_FUNCTION_LENGTH 0x02bc
123 #define DISPID_FUNCTION_TOSTRING 0x02bd
124 #define DISPID_FUNCTION_TOLOCSTRING 0x02be
125 #define DISPID_FUNCTION_VALUEOF 0x02bf
126 #define DISPID_FUNCTION_APPLY 0x02c0
127 #define DISPID_FUNCTION_CALL 0x02c1
128 #define DISPID_FUNCTION_HASOWNPROP 0x02c2
129 #define DISPID_FUNCTION_PROPISENUM 0x02c3
130 #define DISPID_FUNCTION_ISPROTOF 0x02c4
133 /* StringInstance */
134 #define DISPID_STRING_LENGTH 0x0320
135 #define DISPID_STRING_TOSTRING 0x0321
136 #define DISPID_STRING_VALUEOF 0x0322
137 #define DISPID_STRING_ANCHOR 0x0323
138 #define DISPID_STRING_BIG 0x0324
139 #define DISPID_STRING_BLINK 0x0325
140 #define DISPID_STRING_BOLD 0x0326
141 #define DISPID_STRING_CHARAT 0x0327
142 #define DISPID_STRING_CHARCODEAT 0x0328
143 #define DISPID_STRING_CONCAT 0x0329
144 #define DISPID_STRING_FIXED 0x032a
145 #define DISPID_STRING_FONTCOLOR 0x032b
146 #define DISPID_STRING_FONTSIZE 0x032c
147 #define DISPID_STRING_INDEXOF 0x032d
148 #define DISPID_STRING_ITALICS 0x032e
149 #define DISPID_STRING_LASTINDEXOF 0x032f
150 #define DISPID_STRING_LINK 0x0330
151 #define DISPID_STRING_MATCH 0x0331
152 #define DISPID_STRING_REPLACE 0x0332
153 #define DISPID_STRING_SEARCH 0x0333
154 #define DISPID_STRING_SLICE 0x0334
155 #define DISPID_STRING_SMALL 0x0335
156 #define DISPID_STRING_SPLIT 0x0336
157 #define DISPID_STRING_STRIKE 0x0337
158 #define DISPID_STRING_SUB 0x0338
159 #define DISPID_STRING_SUBSTRING 0x0339
160 #define DISPID_STRING_SUBSTR 0x033a
161 #define DISPID_STRING_SUP 0x033b
162 #define DISPID_STRING_TOLOWERCASE 0x033c
163 #define DISPID_STRING_TOUPPERCASE 0x033d
164 #define DISPID_STRING_TOLOCLOWERCASE 0x033e
165 #define DISPID_STRING_TOLOCUPPERCASE 0x033f
166 #define DISPID_STRING_LOCCOMPARE 0x0340
167 #define DISPID_STRING_HASOWNPROP 0x0341
168 #define DISPID_STRING_PROPISENUM 0x0342
169 #define DISPID_STRING_ISPROTOF 0x0343
172 /* BoolInstance */
173 #define DISPID_BOOL_TOSTRING 0x0384
174 #define DISPID_BOOL_TOLOCSTRING 0x0385
175 #define DISPID_BOOL_VALUEOF 0x0386
176 #define DISPID_BOOL_HASOWNPROP 0x0387
177 #define DISPID_BOOL_PROPISENUM 0x0388
178 #define DISPID_BOOL_ISPROTOF 0x0389
181 /* NumberInstance */
182 #define DISPID_NUMBER_TOSTRING 0x03e8
183 #define DISPID_NUMBER_TOLOCSTRING 0x03e9
184 #define DISPID_NUMBER_TOFIXED 0x03ea
185 #define DISPID_NUMBER_TOEXPONENTIAL 0x03eb
186 #define DISPID_NUMBER_TOPRECISION 0x03ec
187 #define DISPID_NUMBER_VALUEOF 0x03ed
188 #define DISPID_NUMBER_HASOWNPROP 0x03ee
189 #define DISPID_NUMBER_PROPISENUM 0x03ef
190 #define DISPID_NUMBER_ISPROTOF 0x03f0
193 /* ObjectInstance */
194 #define DISPID_OBJECT_TOSTRING 0x044c
195 #define DISPID_OBJECT_TOLOCSTRING 0x044d
196 #define DISPID_OBJECT_HASOWNPROP 0x044e
197 #define DISPID_OBJECT_PROPISENUM 0x044f
198 #define DISPID_OBJECT_ISPROTOF 0x0450
199 #define DISPID_OBJECT_VALUEOF 0x0451
202 /* DateInstance */
203 #define DISPID_DATE_TOSTRING 0x04b0
204 #define DISPID_DATE_TOLOCSTRING 0x04b1
205 #define DISPID_DATE_HASOWNPROP 0x04b2
206 #define DISPID_DATE_PROPISENUM 0x04b3
207 #define DISPID_DATE_ISPROTOF 0x04b4
208 #define DISPID_DATE_VALUEOF 0x04b5
209 #define DISPID_DATE_TOUTCSTRING 0x04b6
210 #define DISPID_DATE_TODATESTRING 0x04b7
211 #define DISPID_DATE_TOTIMESTRING 0x04b8
212 #define DISPID_DATE_TOLOCDATESTRING 0x04b9
213 #define DISPID_DATE_TOLOCTIMESTRING 0x04ba
214 #define DISPID_DATE_GETTIME 0x04bb
215 #define DISPID_DATE_GETFULLYEAR 0x04bc
216 #define DISPID_DATE_GETUTCFULLYEAR 0x04bd
217 #define DISPID_DATE_GETMONTH 0x04be
218 #define DISPID_DATE_GETUTCMONTH 0x04bf
219 #define DISPID_DATE_GETDATE 0x04c0
220 #define DISPID_DATE_GETUTCDATE 0x04c1
221 #define DISPID_DATE_GETDAY 0x04c2
222 #define DISPID_DATE_GETUTCDAY 0x04c3
223 #define DISPID_DATE_GETHOURS 0x04c4
224 #define DISPID_DATE_GETUTCHOURS 0x04c5
225 #define DISPID_DATE_GETMINUTES 0x04c6
226 #define DISPID_DATE_GETUTCMINUTES 0x04c7
227 #define DISPID_DATE_GETSECONDS 0x04c8
228 #define DISPID_DATE_GETUTCSECONDS 0x04c9
229 #define DISPID_DATE_GETMILLISECONDS 0x04ca
230 #define DISPID_DATE_GETUTCMILLISECONDS 0x04cb
231 #define DISPID_DATE_GETTIMEZONEOFFSET 0x04cc
232 #define DISPID_DATE_SETTIME 0x04cd
233 #define DISPID_DATE_SETMILLISECONDS 0x04ce
234 #define DISPID_DATE_SETUTCMILLISECONDS 0x04cf
235 #define DISPID_DATE_SETSECONDS 0x04d0
236 #define DISPID_DATE_SETUTCSECONDS 0x04d1
237 #define DISPID_DATE_SETMINUTES 0x04d2
238 #define DISPID_DATE_SETUTCMINUTES 0x04d3
239 #define DISPID_DATE_SETHOURS 0x04d4
240 #define DISPID_DATE_SETUTCHOURS 0x04d5
241 #define DISPID_DATE_SETDATE 0x04d6
242 #define DISPID_DATE_SETUTCDATE 0x04d7
243 #define DISPID_DATE_SETMONTH 0x04d8
244 #define DISPID_DATE_SETUTCMONTH 0x04d9
245 #define DISPID_DATE_SETFULLYEAR 0x04da
246 #define DISPID_DATE_SETUTCFULLYEAR 0x04db
249 /* RegExpInstance */
250 #define DISPID_REGEXP_SOURCE 0x0514
251 #define DISPID_REGEXP_GLOBAL 0x0515
252 #define DISPID_REGEXP_IGNORECASE 0x0516
253 #define DISPID_REGEXP_MULTILINE 0x0517
254 #define DISPID_REGEXP_LASTINDEX 0x0518
255 #define DISPID_REGEXP_TOSTRING 0x0519
256 #define DISPID_REGEXP_TOLOCSTRING 0x051a
257 #define DISPID_REGEXP_HASOWNPROP 0x051b
258 #define DISPID_REGEXP_PROPISENUM 0x051c
259 #define DISPID_REGEXP_ISPROTOF 0x051d
260 #define DISPID_REGEXP_EXEC 0x051e
263 /* ErrorInstance */
264 #define DISPID_ERROR_NAME 0x0578
265 #define DISPID_ERROR_MESSAGE 0x0579
266 #define DISPID_ERROR_IGNORECASE 0x057a
267 #define DISPID_ERROR_MULTILINE 0x057b
268 #define DISPID_ERROR_LASTINDEX 0x057c
269 #define DISPID_ERROR_TOSTRING 0x057d
270 #define DISPID_ERROR_TOLOCSTRING 0x057e
271 #define DISPID_ERROR_HASOWNPROP 0x057f
272 #define DISPID_ERROR_PROPISENUM 0x0580
273 #define DISPID_ERROR_ISPROTOF 0x0581