reference/com/constants.xml
6585fbfcd7e4bcc2d2b24cfd78388b091803bac3
...
...
@@ -3,603 +3,664 @@
3
3
<chapter xml:id="com.constants" xmlns="http://docbook.org/ns/docbook">
4
4
&reftitle.constants;
5
5
&extension.constants;
6
-
<table>
7
-
<title>COM constants</title>
8
-
<tgroup cols="3">
9
-
<thead>
10
-
<row>
11
-
<entry>Constant</entry>
12
-
<entry>Value</entry>
13
-
<entry>Description</entry>
14
-
<entry>Notes</entry>
15
-
</row>
16
-
</thead>
17
-
<tbody>
18
-
<row xml:id="constant.clsctx-inproc-server">
19
-
<entry>
20
-
<constant>CLSCTX_INPROC_SERVER</constant>
21
-
(<type>integer</type>)
22
-
</entry>
23
-
<entry>1</entry>
24
-
<entry>
25
-
The code that creates and manages objects of this class is
26
-
a DLL that runs in the same process as the caller of the
27
-
function specifying the class context.
28
-
</entry>
29
-
<entry></entry>
30
-
</row>
31
-
<row xml:id="constant.clsctx-inproc-handler">
32
-
<entry>
33
-
<constant>CLSCTX_INPROC_HANDLER</constant>
34
-
(<type>integer</type>)
35
-
</entry>
36
-
<entry>2</entry>
37
-
<entry>
38
-
The code that manages objects of this class is an in-process
39
-
handler. This is a DLL that runs in the client process and
40
-
implements client-side structures of this class when instances
41
-
of the class are accessed remotely.
42
-
</entry>
43
-
<entry></entry>
44
-
</row>
45
-
<row xml:id="constant.clsctx-local-server">
46
-
<entry>
47
-
<constant>CLSCTX_LOCAL_SERVER</constant>
48
-
(<type>integer</type>)
49
-
</entry>
50
-
<entry>4</entry>
51
-
<entry>
52
-
The EXE code that creates and manages objects of this class runs on
53
-
same machine but is loaded in a separate process space.
54
-
</entry>
55
-
<entry></entry>
56
-
</row>
57
-
<row xml:id="constant.clsctx-remote-server">
58
-
<entry>
59
-
<constant>CLSCTX_REMOTE_SERVER</constant>
60
-
(<type>integer</type>)
61
-
</entry>
62
-
<entry>16</entry>
63
-
<entry>
64
-
A remote context. The code that creates and manages objects of this
65
-
class is run on a different computer.
66
-
</entry>
67
-
<entry></entry>
68
-
</row>
69
-
<row xml:id="constant.clsctx-server">
70
-
<entry>
71
-
<constant>CLSCTX_SERVER</constant>
72
-
(<type>integer</type>)
73
-
</entry>
74
-
<entry>21</entry>
75
-
<entry>
76
-
Indicates server code, whether in-process, local, or remote. This
77
-
definition ORs <constant>CLSCTX_INPROC_SERVER</constant>,
78
-
<constant>CLSCTX_LOCAL_SERVER</constant>, and
79
-
<constant>CLSCTX_REMOTE_SERVER</constant>.
80
-
</entry>
81
-
<entry></entry>
82
-
</row>
83
-
<row xml:id="constant.clsctx-all">
84
-
<entry>
85
-
<constant>CLSCTX_ALL</constant>
86
-
(<type>integer</type>)
87
-
</entry>
88
-
<entry>23</entry>
89
-
<entry>
90
-
Indicates all class contexts. This definition ORs
91
-
<constant>CLSCTX_INPROC_HANDLER</constant> and
92
-
<constant>CLSCTX_SERVER</constant>.
93
-
</entry>
94
-
<entry></entry>
95
-
</row>
96
-
<row xml:id="constant.vt-null">
97
-
<entry>
98
-
<constant>VT_NULL</constant>
99
-
(<type>integer</type>)
100
-
</entry>
101
-
<entry>1</entry>
102
-
<entry>
103
-
NULL pointer reference.
104
-
</entry>
105
-
<entry></entry>
106
-
</row>
107
-
<row xml:id="constant.vt-empty">
108
-
<entry>
109
-
<constant>VT_EMPTY</constant>
110
-
(<type>integer</type>)
111
-
</entry>
112
-
<entry>0</entry>
113
-
<entry>
114
-
A property with a type indicator of <constant>VT_EMPTY</constant> has
115
-
no data associated with it; that is, the size of the value is zero.
116
-
</entry>
117
-
<entry></entry>
118
-
</row>
119
-
<row xml:id="constant.vt-ui1">
120
-
<entry>
121
-
<constant>VT_UI1</constant>
122
-
(<type>integer</type>)
123
-
</entry>
124
-
<entry>17</entry>
125
-
<entry>
126
-
1-byte unsigned integer.
127
-
</entry>
128
-
<entry></entry>
129
-
</row>
130
-
<row xml:id="constant.vt-i2">
131
-
<entry>
132
-
<constant>VT_I2</constant>
133
-
(<type>integer</type>)
134
-
</entry>
135
-
<entry>2</entry>
136
-
<entry>
137
-
Two bytes representing a 2-byte signed integer value.
138
-
</entry>
139
-
<entry></entry>
140
-
</row>
141
-
<row xml:id="constant.vt-i4">
142
-
<entry>
143
-
<constant>VT_I4</constant>
144
-
(<type>integer</type>)
145
-
</entry>
146
-
<entry>3</entry>
147
-
<entry>
148
-
4-byte signed integer value.
149
-
</entry>
150
-
<entry></entry>
151
-
</row>
152
-
<row xml:id="constant.vt-r4">
153
-
<entry>
154
-
<constant>VT_R4</constant>
155
-
(<type>integer</type>)
156
-
</entry>
157
-
<entry>4</entry>
158
-
<entry>
159
-
32-bit IEEE floating point value.
160
-
</entry>
161
-
<entry></entry>
162
-
</row>
163
-
<row xml:id="constant.vt-r8">
164
-
<entry>
165
-
<constant>VT_R8</constant>
166
-
(<type>integer</type>)
167
-
</entry>
168
-
<entry>5</entry>
169
-
<entry>
170
-
64-bit IEEE floating point value.
171
-
</entry>
172
-
<entry></entry>
173
-
</row>
174
-
<row xml:id="constant.vt-bool">
175
-
<entry>
176
-
<constant>VT_BOOL</constant>
177
-
(<type>integer</type>)
178
-
</entry>
179
-
<entry>11</entry>
180
-
<entry>
181
-
Boolean value.
182
-
</entry>
183
-
<entry></entry>
184
-
</row>
185
-
<row xml:id="constant.vt-error">
186
-
<entry>
187
-
<constant>VT_ERROR</constant>
188
-
(<type>integer</type>)
189
-
</entry>
190
-
<entry>10</entry>
191
-
<entry>
192
-
Error code; containing the status code associated with the
193
-
error.
194
-
</entry>
195
-
<entry></entry>
196
-
</row>
197
-
<row xml:id="constant.vt-cy">
198
-
<entry>
199
-
<constant>VT_CY</constant>
200
-
(<type>integer</type>)
201
-
</entry>
202
-
<entry>6</entry>
203
-
<entry>
204
-
8-byte two's complement integer (scaled by 10,000).
205
-
</entry>
206
-
<entry></entry>
207
-
</row>
208
-
<row xml:id="constant.vt-date">
209
-
<entry>
210
-
<constant>VT_DATE</constant>
211
-
(<type>integer</type>)
212
-
</entry>
213
-
<entry>7</entry>
214
-
<entry>
215
-
A 64-bit floating point number representing the number of days
216
-
(not seconds) since December 31, 1899. For example,
217
-
<literal>January 1, 1900</literal>, is 2.0, <literal>January 2, 1900</literal>,
218
-
is 3.0, and so on). This is stored in the same representation as
219
-
<constant>VT_R8</constant>.
220
-
</entry>
221
-
<entry></entry>
222
-
</row>
223
-
<row xml:id="constant.vt-bstr">
224
-
<entry>
225
-
<constant>VT_BSTR</constant>
226
-
(<type>integer</type>)
227
-
</entry>
228
-
<entry>8</entry>
229
-
<entry>
230
-
Pointer to a null-terminated Unicode string.
231
-
</entry>
232
-
<entry></entry>
233
-
</row>
234
-
<row xml:id="constant.vt-decimal">
235
-
<entry>
236
-
<constant>VT_DECIMAL</constant>
237
-
(<type>integer</type>)
238
-
</entry>
239
-
<entry>14</entry>
240
-
<entry>
241
-
A decimal structure.
242
-
</entry>
243
-
<entry></entry>
244
-
</row>
245
-
<row xml:id="constant.vt-unknown">
246
-
<entry>
247
-
<constant>VT_UNKNOWN</constant>
248
-
(<type>integer</type>)
249
-
</entry>
250
-
<entry>13</entry>
251
-
<entry>
252
-
A pointer to an object that implements the IUnknown interface.
253
-
</entry>
254
-
<entry></entry>
255
-
</row>
256
-
<row xml:id="constant.vt-dispatch">
257
-
<entry>
258
-
<constant>VT_DISPATCH</constant>
259
-
(<type>integer</type>)
260
-
</entry>
261
-
<entry>9</entry>
262
-
<entry>
263
-
A pointer to a pointer to an object was specified.
264
-
</entry>
265
-
<entry></entry>
266
-
</row>
267
-
<row xml:id="constant.vt-variant">
268
-
<entry>
269
-
<constant>VT_VARIANT</constant>
270
-
(<type>integer</type>)
271
-
</entry>
272
-
<entry>12</entry>
273
-
<entry>
274
-
A type indicator followed by the corresponding value.
275
-
<constant>VT_VARIANT</constant> can be used only with
276
-
<constant>VT_BYREF</constant>.
277
-
</entry>
278
-
<entry></entry>
279
-
</row>
280
-
<row xml:id="constant.vt-i1">
281
-
<entry>
282
-
<constant>VT_I1</constant>
283
-
(<type>integer</type>)
284
-
</entry>
285
-
<entry>16</entry>
286
-
<entry>
287
-
1-byte signed integer.
288
-
</entry>
289
-
<entry></entry>
290
-
</row>
291
-
<row xml:id="constant.vt-ui2">
292
-
<entry>
293
-
<constant>VT_UI2</constant>
294
-
(<type>integer</type>)
295
-
</entry>
296
-
<entry>18</entry>
297
-
<entry>
298
-
2-byte unsigned integer.
299
-
</entry>
300
-
<entry></entry>
301
-
</row>
302
-
<row xml:id="constant.vt-ui4">
303
-
<entry>
304
-
<constant>VT_UI4</constant>
305
-
(<type>integer</type>)
306
-
</entry>
307
-
<entry>19</entry>
308
-
<entry>
309
-
4-byte unsigned integer.
310
-
</entry>
311
-
<entry></entry>
312
-
</row>
313
-
<row xml:id="constant.vt-int">
314
-
<entry>
315
-
<constant>VT_INT</constant>
316
-
(<type>integer</type>)
317
-
</entry>
318
-
<entry>22</entry>
319
-
<entry>
320
-
4-byte signed integer value (equivalent to
321
-
<constant>VT_I4</constant>).
322
-
</entry>
323
-
<entry></entry>
324
-
</row>
325
-
<row xml:id="constant.vt-uint">
326
-
<entry>
327
-
<constant>VT_UINT</constant>
328
-
(<type>integer</type>)
329
-
</entry>
330
-
<entry>23</entry>
331
-
<entry>
332
-
4-byte unsigned integer (equivalent to
333
-
<constant>VT_UI4</constant>).
334
-
</entry>
335
-
<entry></entry>
336
-
</row>
337
-
<row xml:id="constant.vt-array">
338
-
<entry>
339
-
<constant>VT_ARRAY</constant>
340
-
(<type>integer</type>)
341
-
</entry>
342
-
<entry>8192</entry>
343
-
<entry>
344
-
If the type indicator is combined with
345
-
<constant>VT_ARRAY</constant> by an OR operator, the value is a pointer to a
346
-
<literal>SAFEARRAY</literal>. <constant>VT_ARRAY</constant>
347
-
can use the OR with the following data types: <constant>VT_I1</constant>,
348
-
<constant>VT_UI1</constant>, <constant>VT_I2</constant>, <constant>VT_UI2</constant>,
349
-
<constant>VT_I4</constant>, <constant>VT_UI4</constant>, <constant>VT_INT</constant>,
350
-
<constant>VT_UINT</constant>, <constant>VT_R4</constant>, <constant>VT_R8</constant>,
351
-
<constant>VT_BOOL</constant>, <constant>VT_DECIMAL</constant>, <constant>VT_ERROR</constant>,
352
-
<constant>VT_CY</constant>, <constant>VT_DATE</constant>, <constant>VT_BSTR</constant>,
353
-
<constant>VT_DISPATCH</constant>, <constant>VT_UNKNOWN</constant> and
354
-
<constant>VT_VARIANT</constant>.
355
-
</entry>
356
-
<entry></entry>
357
-
</row>
358
-
<row xml:id="constant.vt-byref">
359
-
<entry>
360
-
<constant>VT_BYREF</constant>
361
-
(<type>integer</type>)
362
-
</entry>
363
-
<entry>16384</entry>
364
-
<entry>
365
-
If the type indicator is combined with <constant>VT_BYREF</constant>
366
-
by an OR operator, the value is a reference. Reference types are
367
-
interpreted as a reference to data, similar to the reference type in
368
-
C++.
369
-
</entry>
370
-
<entry></entry>
371
-
</row>
372
-
<row xml:id="constant.cp-acp">
373
-
<entry>
374
-
<constant>CP_ACP</constant>
375
-
(<type>integer</type>)
376
-
</entry>
377
-
<entry>0</entry>
378
-
<entry>
379
-
Default to ANSI code page.
380
-
</entry>
381
-
<entry></entry>
382
-
</row>
383
-
<row xml:id="constant.cp-maccp">
384
-
<entry>
385
-
<constant>CP_MACCP</constant>
386
-
(<type>integer</type>)
387
-
</entry>
388
-
<entry>2</entry>
389
-
<entry>
390
-
Macintosh code page.
391
-
</entry>
392
-
<entry></entry>
393
-
</row>
394
-
<row xml:id="constant.cp-oemcp">
395
-
<entry>
396
-
<constant>CP_OEMCP</constant>
397
-
(<type>integer</type>)
398
-
</entry>
399
-
<entry>1</entry>
400
-
<entry>
401
-
Default to OEM code page.
402
-
</entry>
403
-
<entry></entry>
404
-
</row>
405
-
<row xml:id="constant.cp-utf7">
406
-
<entry>
407
-
<constant>CP_UTF7</constant>
408
-
(<type>integer</type>)
409
-
</entry>
410
-
<entry>65000</entry>
411
-
<entry>
412
-
Unicode (UTF-7).
413
-
</entry>
414
-
<entry></entry>
415
-
</row>
416
-
<row xml:id="constant.cp-utf8">
417
-
<entry>
418
-
<constant>CP_UTF8</constant>
419
-
(<type>integer</type>)
420
-
</entry>
421
-
<entry>65001</entry>
422
-
<entry>
423
-
Unicode (UTF-8).
424
-
</entry>
425
-
<entry></entry>
426
-
</row>
427
-
<row xml:id="constant.cp-symbol">
428
-
<entry>
429
-
<constant>CP_SYMBOL</constant>
430
-
(<type>integer</type>)
431
-
</entry>
432
-
<entry>42</entry>
433
-
<entry>
434
-
<literal>SYMBOL</literal> translations.
435
-
</entry>
436
-
<entry></entry>
437
-
</row>
438
-
<row xml:id="constant.cp-thread-acp">
439
-
<entry>
440
-
<constant>CP_THREAD_ACP</constant>
441
-
(<type>integer</type>)
442
-
</entry>
443
-
<entry>3</entry>
444
-
<entry>
445
-
Current thread's ANSI code page
446
-
</entry>
447
-
<entry></entry>
448
-
</row>
449
-
<row xml:id="constant.varcmp-lt">
450
-
<entry>
451
-
<constant>VARCMP_LT</constant>
452
-
(<type>integer</type>)
453
-
</entry>
454
-
<entry>0</entry>
455
-
<entry>
456
-
The left <literal>bstr</literal> is less than right
457
-
<literal>bstr</literal>.
458
-
</entry>
459
-
<entry></entry>
460
-
</row>
461
-
<row xml:id="constant.varcmp-eq">
462
-
<entry>
463
-
<constant>VARCMP_EQ</constant>
464
-
(<type>integer</type>)
465
-
</entry>
466
-
<entry>1</entry>
467
-
<entry>
468
-
The two parameters are equal.
469
-
</entry>
470
-
<entry></entry>
471
-
</row>
472
-
<row xml:id="constant.varcmp-gt">
473
-
<entry>
474
-
<constant>VARCMP_GT</constant>
475
-
(<type>integer</type>)
476
-
</entry>
477
-
<entry>2</entry>
478
-
<entry>
479
-
The left <literal>bstr</literal> is greater than right
480
-
<literal>bstr</literal>.
481
-
</entry>
482
-
<entry></entry>
483
-
</row>
484
-
<row xml:id="constant.varcmp-null">
485
-
<entry>
486
-
<constant>VARCMP_NULL</constant>
487
-
(<type>integer</type>)
488
-
</entry>
489
-
<entry>3</entry>
490
-
<entry>
491
-
Either expression is NULL.
492
-
</entry>
493
-
<entry></entry>
494
-
</row>
495
-
<row xml:id="constant.norm-ignorecase">
496
-
<entry>
497
-
<constant>NORM_IGNORECASE</constant>
498
-
(<type>integer</type>)
499
-
</entry>
500
-
<entry>1</entry>
501
-
<entry>
502
-
Ignore case sensitivity.
503
-
</entry>
504
-
<entry></entry>
505
-
</row>
506
-
<row xml:id="constant.norm-ignorenonspace">
507
-
<entry>
508
-
<constant>NORM_IGNORENONSPACE</constant>
509
-
(<type>integer</type>)
510
-
</entry>
511
-
<entry>2</entry>
512
-
<entry>
513
-
Ignore nonspacing characters.
514
-
</entry>
515
-
<entry></entry>
516
-
</row>
517
-
<row xml:id="constant.norm-ignoresymbols">
518
-
<entry>
519
-
<constant>NORM_IGNORESYMBOLS</constant>
520
-
(<type>integer</type>)
521
-
</entry>
522
-
<entry>4</entry>
523
-
<entry>
524
-
Ignore symbols.
525
-
</entry>
526
-
<entry></entry>
527
-
</row>
528
-
<row xml:id="constant.norm-ignorewidth">
529
-
<entry>
530
-
<constant>NORM_IGNOREWIDTH</constant>
531
-
(<type>integer</type>)
532
-
</entry>
533
-
<entry>131072</entry>
534
-
<entry>
535
-
Ignore string width.
536
-
</entry>
537
-
<entry></entry>
538
-
</row>
539
-
<row xml:id="constant.norm-ignorekanatype">
540
-
<entry>
541
-
<constant>NORM_IGNOREKANATYPE</constant>
542
-
(<type>integer</type>)
543
-
</entry>
544
-
<entry>65536</entry>
545
-
<entry>
546
-
Ignore Kana type.
547
-
</entry>
548
-
<entry></entry>
549
-
</row>
550
-
<row xml:id="constant.norm-ignorekashida">
551
-
<entry>
552
-
<constant>NORM_IGNOREKASHIDA</constant>
553
-
(<type>integer</type>)
554
-
</entry>
555
-
<entry>262144</entry>
556
-
<entry>
557
-
Ignore Arabic kashida characters.
558
-
</entry>
559
-
<entry>
560
-
Availability is dependent upon under lying library.
561
-
</entry>
562
-
</row>
563
-
<row xml:id="constant.disp-e-divbyzero">
564
-
<entry>
565
-
<constant>DISP_E_DIVBYZERO</constant>
566
-
(<type>integer</type>)
567
-
</entry>
568
-
<entry>-2147352558</entry>
569
-
<entry>
570
-
A return error that indicates a divide by zero error.
571
-
</entry>
572
-
<entry></entry>
573
-
</row>
574
-
<row xml:id="constant.disp-e-overflow">
575
-
<entry>
576
-
<constant>DISP_E_OVERFLOW</constant>
577
-
(<type>integer</type>)
578
-
</entry>
579
-
<entry>-2147352566</entry>
580
-
<entry>
581
-
An error that indicates that a value could not be coerced to
582
-
its expected representation.
583
-
</entry>
584
-
<entry></entry>
585
-
</row>
586
-
<row xml:id="constant.mk-e-unavailable">
587
-
<entry>
588
-
<constant>MK_E_UNAVAILABLE</constant>
589
-
(<type>integer</type>)
590
-
</entry>
591
-
<entry>-2147221021</entry>
592
-
<entry>
593
-
iMoniker COM status code, return on errors where the function call
594
-
failed due to unavailability.
595
-
</entry>
596
-
<entry></entry>
597
-
</row>
598
-
</tbody>
599
-
</tgroup>
600
-
</table>
6
+
<variablelist>
7
+
<varlistentry xml:id="constant.clsctx-inproc-server">
8
+
<term>
9
+
<constant>CLSCTX_INPROC_SERVER</constant>
10
+
(<type>int</type>)
11
+
</term>
12
+
<listitem>
13
+
<simpara>
14
+
The code that creates and manages objects of this class is
15
+
a DLL that runs in the same process as the caller of the
16
+
function specifying the class context.
17
+
</simpara>
18
+
</listitem>
19
+
</varlistentry>
20
+
<varlistentry xml:id="constant.clsctx-inproc-handler">
21
+
<term>
22
+
<constant>CLSCTX_INPROC_HANDLER</constant>
23
+
(<type>int</type>)
24
+
</term>
25
+
<listitem>
26
+
<simpara>
27
+
The code that manages objects of this class is an in-process
28
+
handler. This is a DLL that runs in the client process and
29
+
implements client-side structures of this class when instances
30
+
of the class are accessed remotely.
31
+
</simpara>
32
+
</listitem>
33
+
</varlistentry>
34
+
<varlistentry xml:id="constant.clsctx-local-server">
35
+
<term>
36
+
<constant>CLSCTX_LOCAL_SERVER</constant>
37
+
(<type>int</type>)
38
+
</term>
39
+
<listitem>
40
+
<simpara>
41
+
The EXE code that creates and manages objects of this class runs on
42
+
same machine but is loaded in a separate process space.
43
+
</simpara>
44
+
</listitem>
45
+
</varlistentry>
46
+
<varlistentry xml:id="constant.clsctx-remote-server">
47
+
<term>
48
+
<constant>CLSCTX_REMOTE_SERVER</constant>
49
+
(<type>int</type>)
50
+
</term>
51
+
<listitem>
52
+
<simpara>
53
+
A remote context. The code that creates and manages objects of this
54
+
class is run on a different computer.
55
+
</simpara>
56
+
</listitem>
57
+
</varlistentry>
58
+
<varlistentry xml:id="constant.clsctx-server">
59
+
<term>
60
+
<constant>CLSCTX_SERVER</constant>
61
+
(<type>int</type>)
62
+
</term>
63
+
<listitem>
64
+
<simpara>
65
+
Indicates server code, whether in-process, local, or remote. This
66
+
definition ORs <constant>CLSCTX_INPROC_SERVER</constant>,
67
+
<constant>CLSCTX_LOCAL_SERVER</constant>, and
68
+
<constant>CLSCTX_REMOTE_SERVER</constant>.
69
+
</simpara>
70
+
</listitem>
71
+
</varlistentry>
72
+
<varlistentry xml:id="constant.clsctx-all">
73
+
<term>
74
+
<constant>CLSCTX_ALL</constant>
75
+
(<type>int</type>)
76
+
</term>
77
+
<listitem>
78
+
<simpara>
79
+
Indicates all class contexts. This definition ORs
80
+
<constant>CLSCTX_INPROC_HANDLER</constant> and
81
+
<constant>CLSCTX_SERVER</constant>.
82
+
</simpara>
83
+
</listitem>
84
+
</varlistentry>
85
+
<varlistentry xml:id="constant.vt-null">
86
+
<term>
87
+
<constant>VT_NULL</constant>
88
+
(<type>int</type>)
89
+
</term>
90
+
<listitem>
91
+
<simpara>
92
+
NULL pointer reference.
93
+
</simpara>
94
+
</listitem>
95
+
</varlistentry>
96
+
<varlistentry xml:id="constant.vt-empty">
97
+
<term>
98
+
<constant>VT_EMPTY</constant>
99
+
(<type>int</type>)
100
+
</term>
101
+
<listitem>
102
+
<simpara>
103
+
A property with a type indicator of <constant>VT_EMPTY</constant> has
104
+
no data associated with it; that is, the size of the value is zero.
105
+
</simpara>
106
+
</listitem>
107
+
</varlistentry>
108
+
<varlistentry xml:id="constant.vt-int">
109
+
<term>
110
+
<constant>VT_INT</constant>
111
+
(<type>int</type>)
112
+
</term>
113
+
<listitem>
114
+
<simpara>
115
+
4-byte signed integer value (equivalent to
116
+
<constant>VT_I4</constant>).
117
+
</simpara>
118
+
</listitem>
119
+
</varlistentry>
120
+
<varlistentry xml:id="constant.vt-i1">
121
+
<term>
122
+
<constant>VT_I1</constant>
123
+
(<type>int</type>)
124
+
</term>
125
+
<listitem>
126
+
<simpara>
127
+
1-byte signed integer.
128
+
</simpara>
129
+
</listitem>
130
+
</varlistentry>
131
+
<varlistentry xml:id="constant.vt-i2">
132
+
<term>
133
+
<constant>VT_I2</constant>
134
+
(<type>int</type>)
135
+
</term>
136
+
<listitem>
137
+
<simpara>
138
+
Two bytes representing a 2-byte signed integer value.
139
+
</simpara>
140
+
</listitem>
141
+
</varlistentry>
142
+
<varlistentry xml:id="constant.vt-i4">
143
+
<term>
144
+
<constant>VT_I4</constant>
145
+
(<type>int</type>)
146
+
</term>
147
+
<listitem>
148
+
<simpara>
149
+
4-byte signed integer value.
150
+
</simpara>
151
+
</listitem>
152
+
</varlistentry>
153
+
<varlistentry xml:id="constant.vt-i8">
154
+
<term>
155
+
<constant>VT_I8</constant>
156
+
(<type>int</type>)
157
+
</term>
158
+
<listitem>
159
+
<simpara>
160
+
8-byte signed integer value.
161
+
</simpara>
162
+
<simpara>
163
+
Only on x64.
164
+
</simpara>
165
+
</listitem>
166
+
</varlistentry>
167
+
<varlistentry xml:id="constant.vt-uint">
168
+
<term>
169
+
<constant>VT_UINT</constant>
170
+
(<type>int</type>)
171
+
</term>
172
+
<listitem>
173
+
<simpara>
174
+
4-byte unsigned integer (equivalent to
175
+
<constant>VT_UI4</constant>).
176
+
</simpara>
177
+
</listitem>
178
+
</varlistentry>
179
+
<varlistentry xml:id="constant.vt-ui1">
180
+
<term>
181
+
<constant>VT_UI1</constant>
182
+
(<type>int</type>)
183
+
</term>
184
+
<listitem>
185
+
<simpara>
186
+
1-byte unsigned integer.
187
+
</simpara>
188
+
</listitem>
189
+
</varlistentry>
190
+
<varlistentry xml:id="constant.vt-ui2">
191
+
<term>
192
+
<constant>VT_UI2</constant>
193
+
(<type>int</type>)
194
+
</term>
195
+
<listitem>
196
+
<simpara>
197
+
2-byte unsigned integer.
198
+
</simpara>
199
+
</listitem>
200
+
</varlistentry>
201
+
<varlistentry xml:id="constant.vt-ui4">
202
+
<term>
203
+
<constant>VT_UI4</constant>
204
+
(<type>int</type>)
205
+
</term>
206
+
<listitem>
207
+
<simpara>
208
+
4-byte unsigned integer.
209
+
</simpara>
210
+
</listitem>
211
+
</varlistentry>
212
+
<varlistentry xml:id="constant.vt-ui8">
213
+
<term>
214
+
<constant>VT_UI8</constant>
215
+
(<type>int</type>)
216
+
</term>
217
+
<listitem>
218
+
<simpara>
219
+
8-byte unsigned integer.
220
+
</simpara>
221
+
<simpara>
222
+
x64 only
223
+
</simpara>
224
+
</listitem>
225
+
</varlistentry>
226
+
<varlistentry xml:id="constant.vt-r4">
227
+
<term>
228
+
<constant>VT_R4</constant>
229
+
(<type>int</type>)
230
+
</term>
231
+
<listitem>
232
+
<simpara>
233
+
32-bit IEEE floating point value.
234
+
</simpara>
235
+
</listitem>
236
+
</varlistentry>
237
+
<varlistentry xml:id="constant.vt-r8">
238
+
<term>
239
+
<constant>VT_R8</constant>
240
+
(<type>int</type>)
241
+
</term>
242
+
<listitem>
243
+
<simpara>
244
+
64-bit IEEE floating point value.
245
+
</simpara>
246
+
</listitem>
247
+
</varlistentry>
248
+
<varlistentry xml:id="constant.vt-bool">
249
+
<term>
250
+
<constant>VT_BOOL</constant>
251
+
(<type>int</type>)
252
+
</term>
253
+
<listitem>
254
+
<simpara>
255
+
Boolean value.
256
+
</simpara>
257
+
</listitem>
258
+
</varlistentry>
259
+
<varlistentry xml:id="constant.vt-error">
260
+
<term>
261
+
<constant>VT_ERROR</constant>
262
+
(<type>int</type>)
263
+
</term>
264
+
<listitem>
265
+
<simpara>
266
+
Error code; containing the status code associated with the
267
+
error.
268
+
</simpara>
269
+
</listitem>
270
+
</varlistentry>
271
+
<varlistentry xml:id="constant.vt-cy">
272
+
<term>
273
+
<constant>VT_CY</constant>
274
+
(<type>int</type>)
275
+
</term>
276
+
<listitem>
277
+
<simpara>
278
+
8-byte two's complement integer (scaled by 10,000).
279
+
</simpara>
280
+
</listitem>
281
+
</varlistentry>
282
+
<varlistentry xml:id="constant.vt-date">
283
+
<term>
284
+
<constant>VT_DATE</constant>
285
+
(<type>int</type>)
286
+
</term>
287
+
<listitem>
288
+
<simpara>
289
+
A 64-bit floating point number representing the number of days
290
+
(not seconds) since <literal>December 31, 1899</literal>.
291
+
For example, <literal>January 1, 1900</literal> is <literal>2.0</literal>,
292
+
<literal>January 2, 1900</literal> is <literal>3.0</literal>, etc.
293
+
This is stored in the same representation as <constant>VT_R8</constant>.
294
+
</simpara>
295
+
</listitem>
296
+
</varlistentry>
297
+
<varlistentry xml:id="constant.vt-bstr">
298
+
<term>
299
+
<constant>VT_BSTR</constant>
300
+
(<type>int</type>)
301
+
</term>
302
+
<listitem>
303
+
<simpara>
304
+
Pointer to a null-terminated Unicode string.
305
+
</simpara>
306
+
</listitem>
307
+
</varlistentry>
308
+
<varlistentry xml:id="constant.vt-decimal">
309
+
<term>
310
+
<constant>VT_DECIMAL</constant>
311
+
(<type>int</type>)
312
+
</term>
313
+
<listitem>
314
+
<simpara>
315
+
A decimal structure.
316
+
</simpara>
317
+
</listitem>
318
+
</varlistentry>
319
+
<varlistentry xml:id="constant.vt-unknown">
320
+
<term>
321
+
<constant>VT_UNKNOWN</constant>
322
+
(<type>int</type>)
323
+
</term>
324
+
<listitem>
325
+
<simpara>
326
+
A pointer to an object that implements the IUnknown interface.
327
+
</simpara>
328
+
</listitem>
329
+
</varlistentry>
330
+
<varlistentry xml:id="constant.vt-dispatch">
331
+
<term>
332
+
<constant>VT_DISPATCH</constant>
333
+
(<type>int</type>)
334
+
</term>
335
+
<listitem>
336
+
<simpara>
337
+
A pointer to a pointer to an object was specified.
338
+
</simpara>
339
+
</listitem>
340
+
</varlistentry>
341
+
<varlistentry xml:id="constant.vt-variant">
342
+
<term>
343
+
<constant>VT_VARIANT</constant>
344
+
(<type>int</type>)
345
+
</term>
346
+
<listitem>
347
+
<simpara>
348
+
A type indicator followed by the corresponding value.
349
+
<constant>VT_VARIANT</constant> can be used only with
350
+
<constant>VT_BYREF</constant>.
351
+
</simpara>
352
+
</listitem>
353
+
</varlistentry>
354
+
<varlistentry xml:id="constant.vt-array">
355
+
<term>
356
+
<constant>VT_ARRAY</constant>
357
+
(<type>int</type>)
358
+
</term>
359
+
<listitem>
360
+
<simpara>
361
+
If the type indicator is combined with
362
+
<constant>VT_ARRAY</constant> by an OR operator, the value is a pointer to a
363
+
<literal>SAFEARRAY</literal>. <constant>VT_ARRAY</constant>
364
+
can use the OR with the following data types: <constant>VT_I1</constant>,
365
+
<constant>VT_UI1</constant>, <constant>VT_I2</constant>, <constant>VT_UI2</constant>,
366
+
<constant>VT_I4</constant>, <constant>VT_UI4</constant>, <constant>VT_INT</constant>,
367
+
<constant>VT_UINT</constant>, <constant>VT_R4</constant>, <constant>VT_R8</constant>,
368
+
<constant>VT_BOOL</constant>, <constant>VT_DECIMAL</constant>, <constant>VT_ERROR</constant>,
369
+
<constant>VT_CY</constant>, <constant>VT_DATE</constant>, <constant>VT_BSTR</constant>,
370
+
<constant>VT_DISPATCH</constant>, <constant>VT_UNKNOWN</constant> and
371
+
<constant>VT_VARIANT</constant>.
372
+
</simpara>
373
+
</listitem>
374
+
</varlistentry>
375
+
<varlistentry xml:id="constant.vt-byref">
376
+
<term>
377
+
<constant>VT_BYREF</constant>
378
+
(<type>int</type>)
379
+
</term>
380
+
<listitem>
381
+
<simpara>
382
+
If the type indicator is combined with <constant>VT_BYREF</constant>
383
+
by an OR operator, the value is a reference. Reference types are
384
+
interpreted as a reference to data, similar to the reference type in
385
+
C++.
386
+
</simpara>
387
+
</listitem>
388
+
</varlistentry>
389
+
<varlistentry xml:id="constant.cp-acp">
390
+
<term>
391
+
<constant>CP_ACP</constant>
392
+
(<type>int</type>)
393
+
</term>
394
+
<listitem>
395
+
<simpara>
396
+
Default to ANSI code page.
397
+
</simpara>
398
+
</listitem>
399
+
</varlistentry>
400
+
<varlistentry xml:id="constant.cp-maccp">
401
+
<term>
402
+
<constant>CP_MACCP</constant>
403
+
(<type>int</type>)
404
+
</term>
405
+
<listitem>
406
+
<simpara>
407
+
Macintosh code page.
408
+
</simpara>
409
+
</listitem>
410
+
</varlistentry>
411
+
<varlistentry xml:id="constant.cp-oemcp">
412
+
<term>
413
+
<constant>CP_OEMCP</constant>
414
+
(<type>int</type>)
415
+
</term>
416
+
<listitem>
417
+
<simpara>
418
+
Default to OEM code page.
419
+
</simpara>
420
+
</listitem>
421
+
</varlistentry>
422
+
<varlistentry xml:id="constant.cp-utf7">
423
+
<term>
424
+
<constant>CP_UTF7</constant>
425
+
(<type>int</type>)
426
+
</term>
427
+
<listitem>
428
+
<simpara>
429
+
Unicode (UTF-7).
430
+
</simpara>
431
+
</listitem>
432
+
</varlistentry>
433
+
<varlistentry xml:id="constant.cp-utf8">
434
+
<term>
435
+
<constant>CP_UTF8</constant>
436
+
(<type>int</type>)
437
+
</term>
438
+
<listitem>
439
+
<simpara>
440
+
Unicode (UTF-8).
441
+
</simpara>
442
+
</listitem>
443
+
</varlistentry>
444
+
<varlistentry xml:id="constant.cp-symbol">
445
+
<term>
446
+
<constant>CP_SYMBOL</constant>
447
+
(<type>int</type>)
448
+
</term>
449
+
<listitem>
450
+
<simpara>
451
+
<literal>SYMBOL</literal> translations.
452
+
</simpara>
453
+
</listitem>
454
+
</varlistentry>
455
+
<varlistentry xml:id="constant.cp-thread-acp">
456
+
<term>
457
+
<constant>CP_THREAD_ACP</constant>
458
+
(<type>int</type>)
459
+
</term>
460
+
<listitem>
461
+
<simpara>
462
+
Current thread's ANSI code page
463
+
</simpara>
464
+
</listitem>
465
+
</varlistentry>
466
+
<varlistentry xml:id="constant.varcmp-lt">
467
+
<term>
468
+
<constant>VARCMP_LT</constant>
469
+
(<type>int</type>)
470
+
</term>
471
+
<listitem>
472
+
<simpara>
473
+
The left <literal>bstr</literal> is less than right
474
+
<literal>bstr</literal>.
475
+
</simpara>
476
+
</listitem>
477
+
</varlistentry>
478
+
<varlistentry xml:id="constant.varcmp-eq">
479
+
<term>
480
+
<constant>VARCMP_EQ</constant>
481
+
(<type>int</type>)
482
+
</term>
483
+
<listitem>
484
+
<simpara>
485
+
The two parameters are equal.
486
+
</simpara>
487
+
</listitem>
488
+
</varlistentry>
489
+
<varlistentry xml:id="constant.varcmp-gt">
490
+
<term>
491
+
<constant>VARCMP_GT</constant>
492
+
(<type>int</type>)
493
+
</term>
494
+
<listitem>
495
+
<simpara>
496
+
The left <literal>bstr</literal> is greater than right
497
+
<literal>bstr</literal>.
498
+
</simpara>
499
+
</listitem>
500
+
</varlistentry>
501
+
<varlistentry xml:id="constant.varcmp-null">
502
+
<term>
503
+
<constant>VARCMP_NULL</constant>
504
+
(<type>int</type>)
505
+
</term>
506
+
<listitem>
507
+
<simpara>
508
+
Either expression is NULL.
509
+
</simpara>
510
+
</listitem>
511
+
</varlistentry>
512
+
<varlistentry xml:id="constant.norm-ignorecase">
513
+
<term>
514
+
<constant>NORM_IGNORECASE</constant>
515
+
(<type>int</type>)
516
+
</term>
517
+
<listitem>
518
+
<simpara>
519
+
Ignore case sensitivity.
520
+
</simpara>
521
+
</listitem>
522
+
</varlistentry>
523
+
<varlistentry xml:id="constant.norm-ignorenonspace">
524
+
<term>
525
+
<constant>NORM_IGNORENONSPACE</constant>
526
+
(<type>int</type>)
527
+
</term>
528
+
<listitem>
529
+
<simpara>
530
+
Ignore nonspacing characters.
531
+
</simpara>
532
+
</listitem>
533
+
</varlistentry>
534
+
<varlistentry xml:id="constant.norm-ignoresymbols">
535
+
<term>
536
+
<constant>NORM_IGNORESYMBOLS</constant>
537
+
(<type>int</type>)
538
+
</term>
539
+
<listitem>
540
+
<simpara>
541
+
Ignore symbols.
542
+
</simpara>
543
+
</listitem>
544
+
</varlistentry>
545
+
<varlistentry xml:id="constant.norm-ignorewidth">
546
+
<term>
547
+
<constant>NORM_IGNOREWIDTH</constant>
548
+
(<type>int</type>)
549
+
</term>
550
+
<listitem>
551
+
<simpara>
552
+
Ignore string width.
553
+
</simpara>
554
+
</listitem>
555
+
</varlistentry>
556
+
<varlistentry xml:id="constant.norm-ignorekanatype">
557
+
<term>
558
+
<constant>NORM_IGNOREKANATYPE</constant>
559
+
(<type>int</type>)
560
+
</term>
561
+
<listitem>
562
+
<simpara>
563
+
Ignore Kana type.
564
+
</simpara>
565
+
</listitem>
566
+
</varlistentry>
567
+
<varlistentry xml:id="constant.norm-ignorekashida">
568
+
<term>
569
+
<constant>NORM_IGNOREKASHIDA</constant>
570
+
(<type>int</type>)
571
+
</term>
572
+
<listitem>
573
+
<simpara>
574
+
Ignore Arabic kashida characters.
575
+
</simpara>
576
+
<simpara>
577
+
Availability is dependent upon under lying library.
578
+
</simpara>
579
+
</listitem>
580
+
</varlistentry>
581
+
<varlistentry xml:id="constant.disp-e-divbyzero">
582
+
<term>
583
+
<constant>DISP_E_DIVBYZERO</constant>
584
+
(<type>int</type>)
585
+
</term>
586
+
<listitem>
587
+
<simpara>
588
+
A return error that indicates a divide by zero error.
589
+
</simpara>
590
+
</listitem>
591
+
</varlistentry>
592
+
<varlistentry xml:id="constant.disp-e-overflow">
593
+
<term>
594
+
<constant>DISP_E_OVERFLOW</constant>
595
+
(<type>int</type>)
596
+
</term>
597
+
<listitem>
598
+
<simpara>
599
+
An error that indicates that a value could not be coerced to
600
+
its expected representation.
601
+
</simpara>
602
+
</listitem>
603
+
</varlistentry>
604
+
<varlistentry xml:id="constant.disp-e-badindex">
605
+
<term>
606
+
<constant>DISP_E_BADINDEX</constant>
607
+
(<type>int</type>)
608
+
</term>
609
+
<listitem>
610
+
<simpara>
611
+
An error that indicates that an array index does not exist.
612
+
</simpara>
613
+
</listitem>
614
+
</varlistentry>
615
+
<varlistentry xml:id="constant.disp-e-paramnotfound">
616
+
<term>
617
+
<constant>DISP_E_PARAMNOTFOUND</constant>
618
+
(<type>int</type>)
619
+
</term>
620
+
<listitem>
621
+
<simpara>
622
+
A return value that indicates that one of the parameter IDs
623
+
does not correspond to a parameter on the method.
624
+
</simpara>
625
+
</listitem>
626
+
</varlistentry>
627
+
<varlistentry xml:id="constant.mk-e-unavailable">
628
+
<term>
629
+
<constant>MK_E_UNAVAILABLE</constant>
630
+
(<type>int</type>)
631
+
</term>
632
+
<listitem>
633
+
<simpara>
634
+
iMoniker COM status code, return on errors where the function call
635
+
failed due to unavailability.
636
+
</simpara>
637
+
</listitem>
638
+
</varlistentry>
639
+
<varlistentry xml:id="constant.locale-neutral">
640
+
<term>
641
+
<constant>LOCALE_NEUTRAL</constant>
642
+
(<type>int</type>)
643
+
</term>
644
+
<listitem>
645
+
<simpara>
646
+
The neutral locale. This constant is generally not used when calling NLS APIs.
647
+
Instead, use LOCALE_SYSTEM_DEFAULT.
648
+
</simpara>
649
+
</listitem>
650
+
</varlistentry>
651
+
<varlistentry xml:id="constant.locale-system-default">
652
+
<term>
653
+
<constant>LOCALE_SYSTEM_DEFAULT</constant>
654
+
(<type>int</type>)
655
+
</term>
656
+
<listitem>
657
+
<simpara>
658
+
The default locale for the operating system.
659
+
</simpara>
660
+
</listitem>
661
+
</varlistentry>
662
+
</variablelist>
601
663
</chapter>
602
-

603
664
<!-- Keep this comment at the end of the file
604
665
Local variables:
605
666
mode: sgml
606
667