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