home *** CD-ROM | disk | FTP | other *** search
/ Solo Programadores 22 / SOLO_22.iso / packages / win32ada / data.z / win32-winerror.ads < prev    next >
Encoding:
Text File  |  1996-03-15  |  100.4 KB  |  1,380 lines

  1. -- $Source: /home/harp/1/proto/monoBANK/winnt/win32-winerror.ads,v $ 
  2. -- $Revision: 1.8 $ $Date: 96/03/15 12:57:11 $ $Author: stm $ 
  3. -- See end of file for Copyright (c) information.
  4.  
  5. package Win32.Winerror is
  6.  
  7.     FACILITY_WINDOWS                  : constant := 8;      -- winerror.h:59
  8.     FACILITY_STORAGE                  : constant := 3;      -- winerror.h:60
  9.     FACILITY_RPC                      : constant := 1;      -- winerror.h:61
  10.     FACILITY_WIN32                    : constant := 7;      -- winerror.h:62
  11.     FACILITY_CONTROL                  : constant := 10;     -- winerror.h:63
  12.     FACILITY_NULL                     : constant := 0;      -- winerror.h:64
  13.     FACILITY_ITF                      : constant := 4;      -- winerror.h:65
  14.     FACILITY_DISPATCH                 : constant := 2;      -- winerror.h:66
  15.     ERROR_SUCCESS                     : constant := 0;      -- winerror.h:81
  16.     NO_ERROR                          : constant := 0;      -- winerror.h:83
  17.     ERROR_INVALID_FUNCTION            : constant := 1;      -- winerror.h:92
  18.     ERROR_FILE_NOT_FOUND              : constant := 2;      -- winerror.h:101
  19.     ERROR_PATH_NOT_FOUND              : constant := 3;      -- winerror.h:110
  20.     ERROR_TOO_MANY_OPEN_FILES         : constant := 4;      -- winerror.h:119
  21.     ERROR_ACCESS_DENIED               : constant := 5;      -- winerror.h:128
  22.     ERROR_INVALID_HANDLE              : constant := 6;      -- winerror.h:137
  23.     ERROR_ARENA_TRASHED               : constant := 7;      -- winerror.h:146
  24.     ERROR_NOT_ENOUGH_MEMORY           : constant := 8;      -- winerror.h:155
  25.     ERROR_INVALID_BLOCK               : constant := 9;      -- winerror.h:164
  26.     ERROR_BAD_ENVIRONMENT             : constant := 10;     -- winerror.h:173
  27.     ERROR_BAD_FORMAT                  : constant := 11;     -- winerror.h:183
  28.     ERROR_INVALID_ACCESS              : constant := 12;     -- winerror.h:192
  29.     ERROR_INVALID_DATA                : constant := 13;     -- winerror.h:201
  30.     ERROR_OUTOFMEMORY                 : constant := 14;     -- winerror.h:210
  31.     ERROR_INVALID_DRIVE               : constant := 15;     -- winerror.h:219
  32.     ERROR_CURRENT_DIRECTORY           : constant := 16;     -- winerror.h:228
  33.     ERROR_NOT_SAME_DEVICE             : constant := 17;     -- winerror.h:238
  34.     ERROR_NO_MORE_FILES               : constant := 18;     -- winerror.h:247
  35.     ERROR_WRITE_PROTECT               : constant := 19;     -- winerror.h:256
  36.     ERROR_BAD_UNIT                    : constant := 20;     -- winerror.h:265
  37.     ERROR_NOT_READY                   : constant := 21;     -- winerror.h:274
  38.     ERROR_BAD_COMMAND                 : constant := 22;     -- winerror.h:283
  39.     ERROR_CRC                         : constant := 23;     -- winerror.h:292
  40.     ERROR_BAD_LENGTH                  : constant := 24;     -- winerror.h:302
  41.     ERROR_SEEK                        : constant := 25;     -- winerror.h:312
  42.     ERROR_NOT_DOS_DISK                : constant := 26;     -- winerror.h:321
  43.     ERROR_SECTOR_NOT_FOUND            : constant := 27;     -- winerror.h:330
  44.     ERROR_OUT_OF_PAPER                : constant := 28;     -- winerror.h:339
  45.     ERROR_WRITE_FAULT                 : constant := 29;     -- winerror.h:348
  46.     ERROR_READ_FAULT                  : constant := 30;     -- winerror.h:357
  47.     ERROR_GEN_FAILURE                 : constant := 31;     -- winerror.h:366
  48.     ERROR_SHARING_VIOLATION           : constant := 32;     -- winerror.h:376
  49.     ERROR_LOCK_VIOLATION              : constant := 33;     -- winerror.h:386
  50.     ERROR_WRONG_DISK                  : constant := 34;     -- winerror.h:397
  51.     ERROR_SHARING_BUFFER_EXCEEDED     : constant := 36;     -- winerror.h:406
  52.     ERROR_HANDLE_EOF                  : constant := 38;     -- winerror.h:415
  53.     ERROR_HANDLE_DISK_FULL            : constant := 39;     -- winerror.h:424
  54.     ERROR_NOT_SUPPORTED               : constant := 50;     -- winerror.h:433
  55.     ERROR_REM_NOT_LIST                : constant := 51;     -- winerror.h:442
  56.     ERROR_DUP_NAME                    : constant := 52;     -- winerror.h:451
  57.     ERROR_BAD_NETPATH                 : constant := 53;     -- winerror.h:460
  58.     ERROR_NETWORK_BUSY                : constant := 54;     -- winerror.h:469
  59.     ERROR_DEV_NOT_EXIST               : constant := 55;     -- winerror.h:479
  60.     ERROR_TOO_MANY_CMDS               : constant := 56;     -- winerror.h:488
  61.     ERROR_ADAP_HDW_ERR                : constant := 57;     -- winerror.h:497
  62.     ERROR_BAD_NET_RESP                : constant := 58;     -- winerror.h:507
  63.     ERROR_UNEXP_NET_ERR               : constant := 59;     -- winerror.h:516
  64.     ERROR_BAD_REM_ADAP                : constant := 60;     -- winerror.h:525
  65.     ERROR_PRINTQ_FULL                 : constant := 61;     -- winerror.h:534
  66.     ERROR_NO_SPOOL_SPACE              : constant := 62;     -- winerror.h:544
  67.     ERROR_PRINT_CANCELLED             : constant := 63;     -- winerror.h:553
  68.     ERROR_NETNAME_DELETED             : constant := 64;     -- winerror.h:562
  69.     ERROR_NETWORK_ACCESS_DENIED       : constant := 65;     -- winerror.h:571
  70.     ERROR_BAD_DEV_TYPE                : constant := 66;     -- winerror.h:580
  71.     ERROR_BAD_NET_NAME                : constant := 67;     -- winerror.h:589
  72.     ERROR_TOO_MANY_NAMES              : constant := 68;     -- winerror.h:599
  73.     ERROR_TOO_MANY_SESS               : constant := 69;     -- winerror.h:608
  74.     ERROR_SHARING_PAUSED              : constant := 70;     -- winerror.h:618
  75.     ERROR_REQ_NOT_ACCEP               : constant := 71;     -- winerror.h:628
  76.     ERROR_REDIR_PAUSED                : constant := 72;     -- winerror.h:637
  77.     ERROR_FILE_EXISTS                 : constant := 80;     -- winerror.h:646
  78.     ERROR_CANNOT_MAKE                 : constant := 82;     -- winerror.h:655
  79.     ERROR_FAIL_I24                    : constant := 83;     -- winerror.h:664
  80.     ERROR_OUT_OF_STRUCTURES           : constant := 84;     -- winerror.h:673
  81.     ERROR_ALREADY_ASSIGNED            : constant := 85;     -- winerror.h:682
  82.     ERROR_INVALID_PASSWORD            : constant := 86;     -- winerror.h:691
  83.     ERROR_INVALID_PARAMETER           : constant := 87;     -- winerror.h:700
  84.     ERROR_NET_WRITE_FAULT             : constant := 88;     -- winerror.h:709
  85.     ERROR_NO_PROC_SLOTS               : constant := 89;     -- winerror.h:719
  86.     ERROR_TOO_MANY_SEMAPHORES         : constant := 100;    -- winerror.h:728
  87.     ERROR_EXCL_SEM_ALREADY_OWNED      : constant := 101;    -- winerror.h:737
  88.     ERROR_SEM_IS_SET                  : constant := 102;    -- winerror.h:746
  89.     ERROR_TOO_MANY_SEM_REQUESTS       : constant := 103;    -- winerror.h:755
  90.     ERROR_INVALID_AT_INTERRUPT_TIME   : constant := 104;    -- winerror.h:764
  91.     ERROR_SEM_OWNER_DIED              : constant := 105;    -- winerror.h:773
  92.     ERROR_SEM_USER_LIMIT              : constant := 106;    -- winerror.h:782
  93.     ERROR_DISK_CHANGE                 : constant := 107;    -- winerror.h:791
  94.     ERROR_DRIVE_LOCKED                : constant := 108;    -- winerror.h:801
  95.     ERROR_BROKEN_PIPE                 : constant := 109;    -- winerror.h:810
  96.     ERROR_OPEN_FAILED                 : constant := 110;    -- winerror.h:820
  97.     ERROR_BUFFER_OVERFLOW             : constant := 111;    -- winerror.h:829
  98.     ERROR_DISK_FULL                   : constant := 112;    -- winerror.h:838
  99.     ERROR_NO_MORE_SEARCH_HANDLES      : constant := 113;    -- winerror.h:847
  100.     ERROR_INVALID_TARGET_HANDLE       : constant := 114;    -- winerror.h:856
  101.     ERROR_INVALID_CATEGORY            : constant := 117;    -- winerror.h:866
  102.     ERROR_INVALID_VERIFY_SWITCH       : constant := 118;    -- winerror.h:876
  103.     ERROR_BAD_DRIVER_LEVEL            : constant := 119;    -- winerror.h:885
  104.     ERROR_CALL_NOT_IMPLEMENTED        : constant := 120;    -- winerror.h:894
  105.     ERROR_SEM_TIMEOUT                 : constant := 121;    -- winerror.h:903
  106.     ERROR_INSUFFICIENT_BUFFER         : constant := 122;    -- winerror.h:913
  107.     ERROR_INVALID_NAME                : constant := 123;    -- winerror.h:922
  108.     ERROR_INVALID_LEVEL               : constant := 124;    -- winerror.h:931
  109.     ERROR_NO_VOLUME_LABEL             : constant := 125;    -- winerror.h:940
  110.     ERROR_MOD_NOT_FOUND               : constant := 126;    -- winerror.h:949
  111.     ERROR_PROC_NOT_FOUND              : constant := 127;    -- winerror.h:958
  112.     ERROR_WAIT_NO_CHILDREN            : constant := 128;    -- winerror.h:967
  113.     ERROR_CHILD_NOT_COMPLETE          : constant := 129;    -- winerror.h:976
  114.     ERROR_DIRECT_ACCESS_HANDLE        : constant := 130;    -- winerror.h:986
  115.     ERROR_NEGATIVE_SEEK               : constant := 131;    -- winerror.h:995
  116.     ERROR_SEEK_ON_DEVICE              : constant := 132;    -- winerror.h:1004
  117.     ERROR_IS_JOIN_TARGET              : constant := 133;    -- winerror.h:1015
  118.     ERROR_IS_JOINED                   : constant := 134;    -- winerror.h:1026
  119.     ERROR_IS_SUBSTED                  : constant := 135;    -- winerror.h:1037
  120.     ERROR_NOT_JOINED                  : constant := 136;    -- winerror.h:1047
  121.     ERROR_NOT_SUBSTED                 : constant := 137;    -- winerror.h:1057
  122.     ERROR_JOIN_TO_JOIN                : constant := 138;    -- winerror.h:1067
  123.     ERROR_SUBST_TO_SUBST              : constant := 139;    -- winerror.h:1077
  124.     ERROR_JOIN_TO_SUBST               : constant := 140;    -- winerror.h:1087
  125.     ERROR_SUBST_TO_JOIN               : constant := 141;    -- winerror.h:1097
  126.     ERROR_BUSY_DRIVE                  : constant := 142;    -- winerror.h:1106
  127.     ERROR_SAME_DRIVE                  : constant := 143;    -- winerror.h:1116
  128.     ERROR_DIR_NOT_ROOT                : constant := 144;    -- winerror.h:1125
  129.     ERROR_DIR_NOT_EMPTY               : constant := 145;    -- winerror.h:1134
  130.     ERROR_IS_SUBST_PATH               : constant := 146;    -- winerror.h:1144
  131.     ERROR_IS_JOIN_PATH                : constant := 147;    -- winerror.h:1154
  132.     ERROR_PATH_BUSY                   : constant := 148;    -- winerror.h:1163
  133.     ERROR_IS_SUBST_TARGET             : constant := 149;    -- winerror.h:1175
  134.     ERROR_SYSTEM_TRACE                : constant := 150;    -- winerror.h:1185
  135.     ERROR_INVALID_EVENT_COUNT         : constant := 151;    -- winerror.h:1195
  136.     ERROR_TOO_MANY_MUXWAITERS         : constant := 152;    -- winerror.h:1205
  137.     ERROR_INVALID_LIST_FORMAT         : constant := 153;    -- winerror.h:1214
  138.     ERROR_LABEL_TOO_LONG              : constant := 154;    -- winerror.h:1226
  139.     ERROR_TOO_MANY_TCBS               : constant := 155;    -- winerror.h:1235
  140.     ERROR_SIGNAL_REFUSED              : constant := 156;    -- winerror.h:1244
  141.     ERROR_DISCARDED                   : constant := 157;    -- winerror.h:1253
  142.     ERROR_NOT_LOCKED                  : constant := 158;    -- winerror.h:1262
  143.     ERROR_BAD_THREADID_ADDR           : constant := 159;    -- winerror.h:1271
  144.     ERROR_BAD_ARGUMENTS               : constant := 160;    -- winerror.h:1280
  145.     ERROR_BAD_PATHNAME                : constant := 161;    -- winerror.h:1289
  146.     ERROR_SIGNAL_PENDING              : constant := 162;    -- winerror.h:1298
  147.     ERROR_MAX_THRDS_REACHED           : constant := 164;    -- winerror.h:1307
  148.     ERROR_LOCK_FAILED                 : constant := 167;    -- winerror.h:1316
  149.     ERROR_BUSY                        : constant := 170;    -- winerror.h:1325
  150.     ERROR_CANCEL_VIOLATION            : constant := 173;    -- winerror.h:1334
  151.     ERROR_ATOMIC_LOCKS_NOT_SUPPORTED  : constant := 174;    -- winerror.h:1343
  152.     ERROR_INVALID_SEGMENT_NUMBER      : constant := 180;    -- winerror.h:1352
  153.     ERROR_INVALID_ORDINAL             : constant := 182;    -- winerror.h:1361
  154.     ERROR_ALREADY_EXISTS              : constant := 183;    -- winerror.h:1370
  155.     ERROR_INVALID_FLAG_NUMBER         : constant := 186;    -- winerror.h:1379
  156.     ERROR_SEM_NOT_FOUND               : constant := 187;    -- winerror.h:1388
  157.     ERROR_INVALID_STARTING_CODESEG    : constant := 188;    -- winerror.h:1397
  158.     ERROR_INVALID_STACKSEG            : constant := 189;    -- winerror.h:1406
  159.     ERROR_INVALID_MODULETYPE          : constant := 190;    -- winerror.h:1415
  160.     ERROR_INVALID_EXE_SIGNATURE       : constant := 191;    -- winerror.h:1424
  161.     ERROR_EXE_MARKED_INVALID          : constant := 192;    -- winerror.h:1433
  162.     ERROR_BAD_EXE_FORMAT              : constant := 193;    -- winerror.h:1442
  163.     ERROR_ITERATED_DATA_EXCEEDS_64K   : constant := 194;    -- winerror.h:1451
  164.     ERROR_INVALID_MINALLOCSIZE        : constant := 195;    -- winerror.h:1460
  165.     ERROR_DYNLINK_FROM_INVALID_RING   : constant := 196;    -- winerror.h:1470
  166.     ERROR_IOPL_NOT_ENABLED            : constant := 197;    -- winerror.h:1480
  167.     ERROR_INVALID_SEGDPL              : constant := 198;    -- winerror.h:1489
  168.     ERROR_AUTODATASEG_EXCEEDS_64K     : constant := 199;    -- winerror.h:1499
  169.     ERROR_RING2SEG_MUST_BE_MOVABLE    : constant := 200;    -- winerror.h:1508
  170.     ERROR_RELOC_CHAIN_XEEDS_SEGLIM    : constant := 201;    -- winerror.h:1517
  171.     ERROR_INFLOOP_IN_RELOC_CHAIN      : constant := 202;    -- winerror.h:1526
  172.     ERROR_ENVVAR_NOT_FOUND            : constant := 203;    -- winerror.h:1536
  173.     ERROR_NO_SIGNAL_SENT              : constant := 205;    -- winerror.h:1546
  174.     ERROR_FILENAME_EXCED_RANGE        : constant := 206;    -- winerror.h:1555
  175.     ERROR_RING2_STACK_IN_USE          : constant := 207;    -- winerror.h:1564
  176.     ERROR_META_EXPANSION_TOO_LONG     : constant := 208;    -- winerror.h:1574
  177.     ERROR_INVALID_SIGNAL_NUMBER       : constant := 209;    -- winerror.h:1583
  178.     ERROR_THREAD_1_INACTIVE           : constant := 210;    -- winerror.h:1592
  179.     ERROR_LOCKED                      : constant := 212;    -- winerror.h:1601
  180.     ERROR_TOO_MANY_MODULES            : constant := 214;    -- winerror.h:1611
  181.     ERROR_NESTING_NOT_ALLOWED         : constant := 215;    -- winerror.h:1620
  182.     ERROR_BAD_PIPE                    : constant := 230;    -- winerror.h:1629
  183.     ERROR_PIPE_BUSY                   : constant := 231;    -- winerror.h:1638
  184.     ERROR_NO_DATA                     : constant := 232;    -- winerror.h:1647
  185.     ERROR_PIPE_NOT_CONNECTED          : constant := 233;    -- winerror.h:1656
  186.     ERROR_MORE_DATA                   : constant := 234;    -- winerror.h:1665
  187.     ERROR_VC_DISCONNECTED             : constant := 240;    -- winerror.h:1674
  188.     ERROR_INVALID_EA_NAME             : constant := 254;    -- winerror.h:1683
  189.     ERROR_EA_LIST_INCONSISTENT        : constant := 255;    -- winerror.h:1692
  190.     ERROR_NO_MORE_ITEMS               : constant := 259;    -- winerror.h:1701
  191.     ERROR_CANNOT_COPY                 : constant := 266;    -- winerror.h:1710
  192.     ERROR_DIRECTORY                   : constant := 267;    -- winerror.h:1719
  193.     ERROR_EAS_DIDNT_FIT               : constant := 275;    -- winerror.h:1728
  194.     ERROR_EA_FILE_CORRUPT             : constant := 276;    -- winerror.h:1737
  195.     ERROR_EA_TABLE_FULL               : constant := 277;    -- winerror.h:1746
  196.     ERROR_INVALID_EA_HANDLE           : constant := 278;    -- winerror.h:1755
  197.     ERROR_EAS_NOT_SUPPORTED           : constant := 282;    -- winerror.h:1764
  198.     ERROR_NOT_OWNER                   : constant := 288;    -- winerror.h:1773
  199.     ERROR_TOO_MANY_POSTS              : constant := 298;    -- winerror.h:1782
  200.     ERROR_PARTIAL_COPY                : constant := 299;    -- winerror.h:1791
  201.     ERROR_MR_MID_NOT_FOUND            : constant := 317;    -- winerror.h:1801
  202.     ERROR_INVALID_ADDRESS             : constant := 487;    -- winerror.h:1810
  203.     ERROR_ARITHMETIC_OVERFLOW         : constant := 534;    -- winerror.h:1819
  204.     ERROR_PIPE_CONNECTED              : constant := 535;    -- winerror.h:1828
  205.     ERROR_PIPE_LISTENING              : constant := 536;    -- winerror.h:1837
  206.     ERROR_EA_ACCESS_DENIED            : constant := 994;    -- winerror.h:1846
  207.     ERROR_OPERATION_ABORTED           : constant := 995;    -- winerror.h:1856
  208.     ERROR_IO_INCOMPLETE               : constant := 996;    -- winerror.h:1865
  209.     ERROR_IO_PENDING                  : constant := 997;    -- winerror.h:1874
  210.     ERROR_NOACCESS                    : constant := 998;    -- winerror.h:1883
  211.     ERROR_SWAPERROR                   : constant := 999;    -- winerror.h:1892
  212.     ERROR_STACK_OVERFLOW              : constant := 1001;   -- winerror.h:1901
  213.     ERROR_INVALID_MESSAGE             : constant := 1002;   -- winerror.h:1910
  214.     ERROR_CAN_NOT_COMPLETE            : constant := 1003;   -- winerror.h:1919
  215.     ERROR_INVALID_FLAGS               : constant := 1004;   -- winerror.h:1928
  216.     ERROR_UNRECOGNIZED_VOLUME         : constant := 1005;   -- winerror.h:1939
  217.     ERROR_FILE_INVALID                : constant := 1006;   -- winerror.h:1949
  218.     ERROR_FULLSCREEN_MODE             : constant := 1007;   -- winerror.h:1958
  219.     ERROR_NO_TOKEN                    : constant := 1008;   -- winerror.h:1967
  220.     ERROR_BADDB                       : constant := 1009;   -- winerror.h:1976
  221.     ERROR_BADKEY                      : constant := 1010;   -- winerror.h:1985
  222.     ERROR_CANTOPEN                    : constant := 1011;   -- winerror.h:1994
  223.     ERROR_CANTREAD                    : constant := 1012;   -- winerror.h:2003
  224.     ERROR_CANTWRITE                   : constant := 1013;   -- winerror.h:2012
  225.     ERROR_REGISTRY_RECOVERED          : constant := 1014;   -- winerror.h:2022
  226.     ERROR_REGISTRY_CORRUPT            : constant := 1015;   -- winerror.h:2034
  227.     ERROR_REGISTRY_IO_FAILED          : constant := 1016;   -- winerror.h:2045
  228.     ERROR_NOT_REGISTRY_FILE           : constant := 1017;   -- winerror.h:2055
  229.     ERROR_KEY_DELETED                 : constant := 1018;   -- winerror.h:2064
  230.     ERROR_NO_LOG_SPACE                : constant := 1019;   -- winerror.h:2073
  231.     ERROR_KEY_HAS_CHILDREN            : constant := 1020;   -- winerror.h:2083
  232.     ERROR_CHILD_MUST_BE_VOLATILE      : constant := 1021;   -- winerror.h:2092
  233.     ERROR_NOTIFY_ENUM_DIR             : constant := 1022;   -- winerror.h:2103
  234.     ERROR_DEPENDENT_SERVICES_RUNNING  : constant := 1051;   -- winerror.h:2113
  235.     ERROR_INVALID_SERVICE_CONTROL     : constant := 1052;   -- winerror.h:2122
  236.     ERROR_SERVICE_REQUEST_TIMEOUT     : constant := 1053;   -- winerror.h:2132
  237.     ERROR_SERVICE_NO_THREAD           : constant := 1054;   -- winerror.h:2141
  238.     ERROR_SERVICE_DATABASE_LOCKED     : constant := 1055;   -- winerror.h:2150
  239.     ERROR_SERVICE_ALREADY_RUNNING     : constant := 1056;   -- winerror.h:2159
  240.     ERROR_INVALID_SERVICE_ACCOUNT     : constant := 1057;   -- winerror.h:2168
  241.     ERROR_SERVICE_DISABLED            : constant := 1058;   -- winerror.h:2177
  242.     ERROR_CIRCULAR_DEPENDENCY         : constant := 1059;   -- winerror.h:2186
  243.     ERROR_SERVICE_DOES_NOT_EXIST      : constant := 1060;   -- winerror.h:2195
  244.     ERROR_SERVICE_CANNOT_ACCEPT_CTRL  : constant := 1061;   -- winerror.h:2204
  245.     ERROR_SERVICE_NOT_ACTIVE          : constant := 1062;   -- winerror.h:2213
  246.     ERROR_FAILED_SERVICE_CONTROLLER_CONNECT: constant := 1063;
  247.                                                             -- winerror.h:2222
  248.     ERROR_EXCEPTION_IN_SERVICE         : constant := 1064;  -- winerror.h:2231
  249.     ERROR_DATABASE_DOES_NOT_EXIST      : constant := 1065;  -- winerror.h:2240
  250.     ERROR_SERVICE_SPECIFIC_ERROR       : constant := 1066;  -- winerror.h:2249
  251.     ERROR_PROCESS_ABORTED              : constant := 1067;  -- winerror.h:2258
  252.     ERROR_SERVICE_DEPENDENCY_FAIL      : constant := 1068;  -- winerror.h:2267
  253.     ERROR_SERVICE_LOGON_FAILED         : constant := 1069;  -- winerror.h:2276
  254.     ERROR_SERVICE_START_HANG           : constant := 1070;  -- winerror.h:2285
  255.     ERROR_INVALID_SERVICE_LOCK         : constant := 1071;  -- winerror.h:2294
  256.     ERROR_SERVICE_MARKED_FOR_DELETE    : constant := 1072;  -- winerror.h:2303
  257.     ERROR_SERVICE_EXISTS               : constant := 1073;  -- winerror.h:2312
  258.     ERROR_ALREADY_RUNNING_LKG          : constant := 1074;  -- winerror.h:2321
  259.     ERROR_SERVICE_DEPENDENCY_DELETED   : constant := 1075;  -- winerror.h:2331
  260.     ERROR_BOOT_ALREADY_ACCEPTED        : constant := 1076;  -- winerror.h:2341
  261.     ERROR_SERVICE_NEVER_STARTED        : constant := 1077;  -- winerror.h:2350
  262.     ERROR_DUPLICATE_SERVICE_NAME       : constant := 1078;  -- winerror.h:2360
  263.     ERROR_END_OF_MEDIA                 : constant := 1100;  -- winerror.h:2369
  264.     ERROR_FILEMARK_DETECTED            : constant := 1101;  -- winerror.h:2378
  265.     ERROR_BEGINNING_OF_MEDIA           : constant := 1102;  -- winerror.h:2387
  266.     ERROR_SETMARK_DETECTED             : constant := 1103;  -- winerror.h:2396
  267.     ERROR_NO_DATA_DETECTED             : constant := 1104;  -- winerror.h:2405
  268.     ERROR_PARTITION_FAILURE            : constant := 1105;  -- winerror.h:2414
  269.     ERROR_INVALID_BLOCK_LENGTH         : constant := 1106;  -- winerror.h:2424
  270.     ERROR_DEVICE_NOT_PARTITIONED       : constant := 1107;  -- winerror.h:2433
  271.     ERROR_UNABLE_TO_LOCK_MEDIA         : constant := 1108;  -- winerror.h:2442
  272.     ERROR_UNABLE_TO_UNLOAD_MEDIA       : constant := 1109;  -- winerror.h:2451
  273.     ERROR_MEDIA_CHANGED                : constant := 1110;  -- winerror.h:2460
  274.     ERROR_BUS_RESET                    : constant := 1111;  -- winerror.h:2469
  275.     ERROR_NO_MEDIA_IN_DRIVE            : constant := 1112;  -- winerror.h:2478
  276.     ERROR_NO_UNICODE_TRANSLATION       : constant := 1113;  -- winerror.h:2487
  277.     ERROR_DLL_INIT_FAILED              : constant := 1114;  -- winerror.h:2496
  278.     ERROR_SHUTDOWN_IN_PROGRESS         : constant := 1115;  -- winerror.h:2505
  279.     ERROR_NO_SHUTDOWN_IN_PROGRESS      : constant := 1116;  -- winerror.h:2514
  280.     ERROR_IO_DEVICE                    : constant := 1117;  -- winerror.h:2523
  281.     ERROR_SERIAL_NO_DEVICE             : constant := 1118;  -- winerror.h:2532
  282.     ERROR_IRQ_BUSY                     : constant := 1119;  -- winerror.h:2543
  283.     ERROR_MORE_WRITES                  : constant := 1120;  -- winerror.h:2553
  284.     ERROR_COUNTER_TIMEOUT              : constant := 1121;  -- winerror.h:2563
  285.     ERROR_FLOPPY_ID_MARK_NOT_FOUND     : constant := 1122;  -- winerror.h:2572
  286.     ERROR_FLOPPY_WRONG_CYLINDER        : constant := 1123;  -- winerror.h:2582
  287.     ERROR_FLOPPY_UNKNOWN_ERROR         : constant := 1124;  -- winerror.h:2592
  288.     ERROR_FLOPPY_BAD_REGISTERS         : constant := 1125;  -- winerror.h:2601
  289.     ERROR_DISK_RECALIBRATE_FAILED      : constant := 1126;  -- winerror.h:2610
  290.     ERROR_DISK_OPERATION_FAILED        : constant := 1127;  -- winerror.h:2619
  291.     ERROR_DISK_RESET_FAILED            : constant := 1128;  -- winerror.h:2629
  292.     ERROR_EOM_OVERFLOW                 : constant := 1129;  -- winerror.h:2638
  293.     ERROR_NOT_ENOUGH_SERVER_MEMORY     : constant := 1130;  -- winerror.h:2647
  294.     ERROR_POSSIBLE_DEADLOCK            : constant := 1131;  -- winerror.h:2656
  295.     ERROR_MAPPED_ALIGNMENT             : constant := 1132;  -- winerror.h:2666
  296.     ERROR_BAD_USERNAME                 : constant := 2202;  -- winerror.h:2685
  297.     ERROR_NOT_CONNECTED                : constant := 2250;  -- winerror.h:2694
  298.     ERROR_OPEN_FILES                   : constant := 2401;  -- winerror.h:2703
  299.     ERROR_ACTIVE_CONNECTIONS           : constant := 2402;  -- winerror.h:2712
  300.     ERROR_DEVICE_IN_USE                : constant := 2404;  -- winerror.h:2721
  301.     ERROR_BAD_DEVICE                   : constant := 1200;  -- winerror.h:2730
  302.     ERROR_CONNECTION_UNAVAIL           : constant := 1201;  -- winerror.h:2739
  303.     ERROR_DEVICE_ALREADY_REMEMBERED    : constant := 1202;  -- winerror.h:2748
  304.     ERROR_NO_NET_OR_BAD_PATH           : constant := 1203;  -- winerror.h:2757
  305.     ERROR_BAD_PROVIDER                 : constant := 1204;  -- winerror.h:2766
  306.     ERROR_CANNOT_OPEN_PROFILE          : constant := 1205;  -- winerror.h:2775
  307.     ERROR_BAD_PROFILE                  : constant := 1206;  -- winerror.h:2784
  308.     ERROR_NOT_CONTAINER                : constant := 1207;  -- winerror.h:2793
  309.     ERROR_EXTENDED_ERROR               : constant := 1208;  -- winerror.h:2802
  310.     ERROR_INVALID_GROUPNAME            : constant := 1209;  -- winerror.h:2811
  311.     ERROR_INVALID_COMPUTERNAME         : constant := 1210;  -- winerror.h:2820
  312.     ERROR_INVALID_EVENTNAME            : constant := 1211;  -- winerror.h:2829
  313.     ERROR_INVALID_DOMAINNAME           : constant := 1212;  -- winerror.h:2838
  314.     ERROR_INVALID_SERVICENAME          : constant := 1213;  -- winerror.h:2847
  315.     ERROR_INVALID_NETNAME              : constant := 1214;  -- winerror.h:2856
  316.     ERROR_INVALID_SHARENAME            : constant := 1215;  -- winerror.h:2865
  317.     ERROR_INVALID_PASSWORDNAME         : constant := 1216;  -- winerror.h:2874
  318.     ERROR_INVALID_MESSAGENAME          : constant := 1217;  -- winerror.h:2883
  319.     ERROR_INVALID_MESSAGEDEST          : constant := 1218;  -- winerror.h:2892
  320.     ERROR_SESSION_CREDENTIAL_CONFLICT  : constant := 1219;  -- winerror.h:2901
  321.     ERROR_REMOTE_SESSION_LIMIT_EXCEEDED: constant := 1220;  -- winerror.h:2911
  322.     ERROR_DUP_DOMAINNAME               : constant := 1221;  -- winerror.h:2921
  323.     ERROR_NO_NETWORK                   : constant := 1222;  -- winerror.h:2930
  324.     ERROR_CANCELLED                    : constant := 1223;  -- winerror.h:2939
  325.     ERROR_USER_MAPPED_FILE             : constant := 1224;  -- winerror.h:2948
  326.     ERROR_CONNECTION_REFUSED           : constant := 1225;  -- winerror.h:2957
  327.     ERROR_GRACEFUL_DISCONNECT          : constant := 1226;  -- winerror.h:2966
  328.     ERROR_ADDRESS_ALREADY_ASSOCIATED   : constant := 1227;  -- winerror.h:2975
  329.     ERROR_ADDRESS_NOT_ASSOCIATED       : constant := 1228;  -- winerror.h:2984
  330.     ERROR_CONNECTION_INVALID           : constant := 1229;  -- winerror.h:2993
  331.     ERROR_CONNECTION_ACTIVE            : constant := 1230;  -- winerror.h:3002
  332.     ERROR_NETWORK_UNREACHABLE          : constant := 1231;  -- winerror.h:3011
  333.     ERROR_HOST_UNREACHABLE             : constant := 1232;  -- winerror.h:3020
  334.     ERROR_PROTOCOL_UNREACHABLE         : constant := 1233;  -- winerror.h:3029
  335.     ERROR_PORT_UNREACHABLE             : constant := 1234;  -- winerror.h:3039
  336.     ERROR_REQUEST_ABORTED              : constant := 1235;  -- winerror.h:3048
  337.     ERROR_CONNECTION_ABORTED           : constant := 1236;  -- winerror.h:3057
  338.     ERROR_RETRY                        : constant := 1237;  -- winerror.h:3066
  339.     ERROR_CONNECTION_COUNT_LIMIT       : constant := 1238;  -- winerror.h:3076
  340.     ERROR_LOGIN_TIME_RESTRICTION       : constant := 1239;  -- winerror.h:3085
  341.     ERROR_LOGIN_WKSTA_RESTRICTION      : constant := 1240;  -- winerror.h:3094
  342.     ERROR_INCORRECT_ADDRESS            : constant := 1241;  -- winerror.h:3103
  343.     ERROR_ALREADY_REGISTERED           : constant := 1242;  -- winerror.h:3112
  344.     ERROR_SERVICE_NOT_FOUND            : constant := 1243;  -- winerror.h:3121
  345.     ERROR_NOT_ALL_ASSIGNED             : constant := 1300;  -- winerror.h:3140
  346.     ERROR_SOME_NOT_MAPPED              : constant := 1301;  -- winerror.h:3149
  347.     ERROR_NO_QUOTAS_FOR_ACCOUNT        : constant := 1302;  -- winerror.h:3158
  348.     ERROR_LOCAL_USER_SESSION_KEY       : constant := 1303;  -- winerror.h:3167
  349.     ERROR_NULL_LM_PASSWORD             : constant := 1304;  -- winerror.h:3177
  350.     ERROR_UNKNOWN_REVISION             : constant := 1305;  -- winerror.h:3186
  351.     ERROR_REVISION_MISMATCH            : constant := 1306;  -- winerror.h:3195
  352.     ERROR_INVALID_OWNER                : constant := 1307;  -- winerror.h:3204
  353.     ERROR_INVALID_PRIMARY_GROUP        : constant := 1308;  -- winerror.h:3213
  354.     ERROR_NO_IMPERSONATION_TOKEN       : constant := 1309;  -- winerror.h:3223
  355.     ERROR_CANT_DISABLE_MANDATORY       : constant := 1310;  -- winerror.h:3232
  356.     ERROR_NO_LOGON_SERVERS             : constant := 1311;  -- winerror.h:3242
  357.     ERROR_NO_SUCH_LOGON_SESSION        : constant := 1312;  -- winerror.h:3252
  358.     ERROR_NO_SUCH_PRIVILEGE            : constant := 1313;  -- winerror.h:3261
  359.     ERROR_PRIVILEGE_NOT_HELD           : constant := 1314;  -- winerror.h:3270
  360.     ERROR_INVALID_ACCOUNT_NAME         : constant := 1315;  -- winerror.h:3279
  361.     ERROR_USER_EXISTS                  : constant := 1316;  -- winerror.h:3288
  362.     ERROR_NO_SUCH_USER                 : constant := 1317;  -- winerror.h:3297
  363.     ERROR_GROUP_EXISTS                 : constant := 1318;  -- winerror.h:3306
  364.     ERROR_NO_SUCH_GROUP                : constant := 1319;  -- winerror.h:3315
  365.     ERROR_MEMBER_IN_GROUP              : constant := 1320;  -- winerror.h:3326
  366.     ERROR_MEMBER_NOT_IN_GROUP          : constant := 1321;  -- winerror.h:3335
  367.     ERROR_LAST_ADMIN                   : constant := 1322;  -- winerror.h:3345
  368.     ERROR_WRONG_PASSWORD               : constant := 1323;  -- winerror.h:3355
  369.     ERROR_ILL_FORMED_PASSWORD          : constant := 1324;  -- winerror.h:3365
  370.     ERROR_PASSWORD_RESTRICTION         : constant := 1325;  -- winerror.h:3375
  371.     ERROR_LOGON_FAILURE                : constant := 1326;  -- winerror.h:3384
  372.     ERROR_ACCOUNT_RESTRICTION          : constant := 1327;  -- winerror.h:3393
  373.     ERROR_INVALID_LOGON_HOURS          : constant := 1328;  -- winerror.h:3402
  374.     ERROR_INVALID_WORKSTATION          : constant := 1329;  -- winerror.h:3411
  375.     ERROR_PASSWORD_EXPIRED             : constant := 1330;  -- winerror.h:3420
  376.     ERROR_ACCOUNT_DISABLED             : constant := 1331;  -- winerror.h:3429
  377.     ERROR_NONE_MAPPED                  : constant := 1332;  -- winerror.h:3438
  378.     ERROR_TOO_MANY_LUIDS_REQUESTED     : constant := 1333;  -- winerror.h:3447
  379.     ERROR_LUIDS_EXHAUSTED              : constant := 1334;  -- winerror.h:3456
  380.     ERROR_INVALID_SUB_AUTHORITY        : constant := 1335;  -- winerror.h:3465
  381.     ERROR_INVALID_ACL                  : constant := 1336;  -- winerror.h:3474
  382.     ERROR_INVALID_SID                  : constant := 1337;  -- winerror.h:3483
  383.     ERROR_INVALID_SECURITY_DESCR       : constant := 1338;  -- winerror.h:3492
  384.     ERROR_BAD_INHERITANCE_ACL          : constant := 1340;  -- winerror.h:3502
  385.     ERROR_SERVER_DISABLED              : constant := 1341;  -- winerror.h:3511
  386.     ERROR_SERVER_NOT_DISABLED          : constant := 1342;  -- winerror.h:3520
  387.     ERROR_INVALID_ID_AUTHORITY         : constant := 1343;  -- winerror.h:3529
  388.     ERROR_ALLOTTED_SPACE_EXCEEDED      : constant := 1344;  -- winerror.h:3538
  389.     ERROR_INVALID_GROUP_ATTRIBUTES     : constant := 1345;  -- winerror.h:3548
  390.     ERROR_BAD_IMPERSONATION_LEVEL      : constant := 1346;  -- winerror.h:3558
  391.     ERROR_CANT_OPEN_ANONYMOUS          : constant := 1347;  -- winerror.h:3567
  392.     ERROR_BAD_VALIDATION_CLASS         : constant := 1348;  -- winerror.h:3576
  393.     ERROR_BAD_TOKEN_TYPE               : constant := 1349;  -- winerror.h:3585
  394.     ERROR_NO_SECURITY_ON_OBJECT        : constant := 1350;  -- winerror.h:3595
  395.     ERROR_CANT_ACCESS_DOMAIN_INFO      : constant := 1351;  -- winerror.h:3606
  396.     ERROR_INVALID_SERVER_STATE         : constant := 1352;  -- winerror.h:3617
  397.     ERROR_INVALID_DOMAIN_STATE         : constant := 1353;  -- winerror.h:3626
  398.     ERROR_INVALID_DOMAIN_ROLE          : constant := 1354;  -- winerror.h:3635
  399.     ERROR_NO_SUCH_DOMAIN               : constant := 1355;  -- winerror.h:3644
  400.     ERROR_DOMAIN_EXISTS                : constant := 1356;  -- winerror.h:3653
  401.     ERROR_DOMAIN_LIMIT_EXCEEDED        : constant := 1357;  -- winerror.h:3662
  402.     ERROR_INTERNAL_DB_CORRUPTION       : constant := 1358;  -- winerror.h:3672
  403.     ERROR_INTERNAL_ERROR               : constant := 1359;  -- winerror.h:3681
  404.     ERROR_GENERIC_NOT_MAPPED           : constant := 1360;  -- winerror.h:3691
  405.     ERROR_BAD_DESCRIPTOR_FORMAT        : constant := 1361;  -- winerror.h:3700
  406.     ERROR_NOT_LOGON_PROCESS            : constant := 1362;  -- winerror.h:3710
  407.     ERROR_LOGON_SESSION_EXISTS         : constant := 1363;  -- winerror.h:3719
  408.     ERROR_NO_SUCH_PACKAGE              : constant := 1364;  -- winerror.h:3728
  409.     ERROR_BAD_LOGON_SESSION_STATE      : constant := 1365;  -- winerror.h:3738
  410.     ERROR_LOGON_SESSION_COLLISION      : constant := 1366;  -- winerror.h:3747
  411.     ERROR_INVALID_LOGON_TYPE           : constant := 1367;  -- winerror.h:3756
  412.     ERROR_CANNOT_IMPERSONATE           : constant := 1368;  -- winerror.h:3766
  413.     ERROR_RXACT_INVALID_STATE          : constant := 1369;  -- winerror.h:3776
  414.     ERROR_RXACT_COMMIT_FAILURE         : constant := 1370;  -- winerror.h:3785
  415.     ERROR_SPECIAL_ACCOUNT              : constant := 1371;  -- winerror.h:3794
  416.     ERROR_SPECIAL_GROUP                : constant := 1372;  -- winerror.h:3803
  417.     ERROR_SPECIAL_USER                 : constant := 1373;  -- winerror.h:3812
  418.     ERROR_MEMBERS_PRIMARY_GROUP        : constant := 1374;  -- winerror.h:3822
  419.     ERROR_TOKEN_ALREADY_IN_USE         : constant := 1375;  -- winerror.h:3831
  420.     ERROR_NO_SUCH_ALIAS                : constant := 1376;  -- winerror.h:3840
  421.     ERROR_MEMBER_NOT_IN_ALIAS          : constant := 1377;  -- winerror.h:3849
  422.     ERROR_MEMBER_IN_ALIAS              : constant := 1378;  -- winerror.h:3858
  423.     ERROR_ALIAS_EXISTS                 : constant := 1379;  -- winerror.h:3867
  424.     ERROR_LOGON_NOT_GRANTED            : constant := 1380;  -- winerror.h:3877
  425.     ERROR_TOO_MANY_SECRETS             : constant := 1381;  -- winerror.h:3887
  426.     ERROR_SECRET_TOO_LONG              : constant := 1382;  -- winerror.h:3896
  427.     ERROR_INTERNAL_DB_ERROR            : constant := 1383;  -- winerror.h:3905
  428.     ERROR_TOO_MANY_CONTEXT_IDS         : constant := 1384;  -- winerror.h:3915
  429.     ERROR_LOGON_TYPE_NOT_GRANTED       : constant := 1385;  -- winerror.h:3925
  430.     ERROR_NT_CROSS_ENCRYPTION_REQUIRED : constant := 1386;  -- winerror.h:3934
  431.     ERROR_NO_SUCH_MEMBER               : constant := 1387;  -- winerror.h:3944
  432.     ERROR_INVALID_MEMBER               : constant := 1388;  -- winerror.h:3954
  433.     ERROR_TOO_MANY_SIDS                : constant := 1389;  -- winerror.h:3963
  434.     ERROR_LM_CROSS_ENCRYPTION_REQUIRED : constant := 1390;  -- winerror.h:3972
  435.     ERROR_NO_INHERITANCE               : constant := 1391;  -- winerror.h:3981
  436.     ERROR_FILE_CORRUPT                 : constant := 1392;  -- winerror.h:3990
  437.     ERROR_DISK_CORRUPT                 : constant := 1393;  -- winerror.h:3999
  438.     ERROR_NO_USER_SESSION_KEY          : constant := 1394;  -- winerror.h:4008
  439.     ERROR_INVALID_WINDOW_HANDLE        : constant := 1400;  -- winerror.h:4028
  440.     ERROR_INVALID_MENU_HANDLE          : constant := 1401;  -- winerror.h:4037
  441.     ERROR_INVALID_CURSOR_HANDLE        : constant := 1402;  -- winerror.h:4046
  442.     ERROR_INVALID_ACCEL_HANDLE         : constant := 1403;  -- winerror.h:4055
  443.     ERROR_INVALID_HOOK_HANDLE          : constant := 1404;  -- winerror.h:4064
  444.     ERROR_INVALID_DWP_HANDLE           : constant := 1405;  -- winerror.h:4073
  445.     ERROR_TLW_WITH_WSCHILD             : constant := 1406;  -- winerror.h:4082
  446.     ERROR_CANNOT_FIND_WND_CLASS        : constant := 1407;  -- winerror.h:4091
  447.     ERROR_WINDOW_OF_OTHER_THREAD       : constant := 1408;  -- winerror.h:4100
  448.     ERROR_HOTKEY_ALREADY_REGISTERED    : constant := 1409;  -- winerror.h:4109
  449.     ERROR_CLASS_ALREADY_EXISTS         : constant := 1410;  -- winerror.h:4118
  450.     ERROR_CLASS_DOES_NOT_EXIST         : constant := 1411;  -- winerror.h:4127
  451.     ERROR_CLASS_HAS_WINDOWS            : constant := 1412;  -- winerror.h:4136
  452.     ERROR_INVALID_INDEX                : constant := 1413;  -- winerror.h:4145
  453.     ERROR_INVALID_ICON_HANDLE          : constant := 1414;  -- winerror.h:4154
  454.     ERROR_PRIVATE_DIALOG_INDEX         : constant := 1415;  -- winerror.h:4163
  455.     ERROR_LISTBOX_ID_NOT_FOUND         : constant := 1416;  -- winerror.h:4172
  456.     ERROR_NO_WILDCARD_CHARACTERS       : constant := 1417;  -- winerror.h:4181
  457.     ERROR_CLIPBOARD_NOT_OPEN           : constant := 1418;  -- winerror.h:4190
  458.     ERROR_HOTKEY_NOT_REGISTERED        : constant := 1419;  -- winerror.h:4199
  459.     ERROR_WINDOW_NOT_DIALOG            : constant := 1420;  -- winerror.h:4208
  460.     ERROR_CONTROL_ID_NOT_FOUND         : constant := 1421;  -- winerror.h:4217
  461.     ERROR_INVALID_COMBOBOX_MESSAGE     : constant := 1422;  -- winerror.h:4226
  462.     ERROR_WINDOW_NOT_COMBOBOX          : constant := 1423;  -- winerror.h:4235
  463.     ERROR_INVALID_EDIT_HEIGHT          : constant := 1424;  -- winerror.h:4244
  464.     ERROR_DC_NOT_FOUND                 : constant := 1425;  -- winerror.h:4253
  465.     ERROR_INVALID_HOOK_FILTER          : constant := 1426;  -- winerror.h:4262
  466.     ERROR_INVALID_FILTER_PROC          : constant := 1427;  -- winerror.h:4271
  467.     ERROR_HOOK_NEEDS_HMOD              : constant := 1428;  -- winerror.h:4280
  468.     ERROR_GLOBAL_ONLY_HOOK             : constant := 1429;  -- winerror.h:4289
  469.     ERROR_JOURNAL_HOOK_SET             : constant := 1430;  -- winerror.h:4298
  470.     ERROR_HOOK_NOT_INSTALLED           : constant := 1431;  -- winerror.h:4307
  471.     ERROR_INVALID_LB_MESSAGE           : constant := 1432;  -- winerror.h:4316
  472.     ERROR_SETCOUNT_ON_BAD_LB           : constant := 1433;  -- winerror.h:4325
  473.     ERROR_LB_WITHOUT_TABSTOPS          : constant := 1434;  -- winerror.h:4334
  474.     ERROR_DESTROY_OBJECT_OF_OTHER_THREAD   : constant := 1435;
  475.                                                             -- winerror.h:4343
  476.     ERROR_CHILD_WINDOW_MENU            : constant := 1436;  -- winerror.h:4352
  477.     ERROR_NO_SYSTEM_MENU               : constant := 1437;  -- winerror.h:4361
  478.     ERROR_INVALID_MSGBOX_STYLE         : constant := 1438;  -- winerror.h:4370
  479.     ERROR_INVALID_SPI_VALUE            : constant := 1439;  -- winerror.h:4379
  480.     ERROR_SCREEN_ALREADY_LOCKED        : constant := 1440;  -- winerror.h:4388
  481.     ERROR_HWNDS_HAVE_DIFF_PARENT       : constant := 1441;  -- winerror.h:4398
  482.     ERROR_NOT_CHILD_WINDOW             : constant := 1442;  -- winerror.h:4407
  483.     ERROR_INVALID_GW_COMMAND           : constant := 1443;  -- winerror.h:4416
  484.     ERROR_INVALID_THREAD_ID            : constant := 1444;  -- winerror.h:4425
  485.     ERROR_NON_MDICHILD_WINDOW          : constant := 1445;  -- winerror.h:4435
  486.     ERROR_POPUP_ALREADY_ACTIVE         : constant := 1446;  -- winerror.h:4444
  487.     ERROR_NO_SCROLLBARS                : constant := 1447;  -- winerror.h:4453
  488.     ERROR_INVALID_SCROLLBAR_RANGE      : constant := 1448;  -- winerror.h:4462
  489.     ERROR_INVALID_SHOWWIN_COMMAND      : constant := 1449;  -- winerror.h:4471
  490.     ERROR_EVENTLOG_FILE_CORRUPT        : constant := 1500;  -- winerror.h:4491
  491.     ERROR_EVENTLOG_CANT_START          : constant := 1501;  -- winerror.h:4500
  492.     ERROR_LOG_FILE_FULL                : constant := 1502;  -- winerror.h:4509
  493.     ERROR_EVENTLOG_FILE_CHANGED        : constant := 1503;  -- winerror.h:4518
  494.     RPC_S_INVALID_STRING_BINDING       : constant := 1700;  -- winerror.h:4538
  495.     RPC_S_WRONG_KIND_OF_BINDING        : constant := 1701;  -- winerror.h:4547
  496.     RPC_S_INVALID_BINDING              : constant := 1702;  -- winerror.h:4556
  497.     RPC_S_PROTSEQ_NOT_SUPPORTED        : constant := 1703;  -- winerror.h:4565
  498.     RPC_S_INVALID_RPC_PROTSEQ          : constant := 1704;  -- winerror.h:4574
  499.     RPC_S_INVALID_STRING_UUID          : constant := 1705;  -- winerror.h:4583
  500.     RPC_S_INVALID_ENDPOINT_FORMAT      : constant := 1706;  -- winerror.h:4592
  501.     RPC_S_INVALID_NET_ADDR             : constant := 1707;  -- winerror.h:4601
  502.     RPC_S_NO_ENDPOINT_FOUND            : constant := 1708;  -- winerror.h:4610
  503.     RPC_S_INVALID_TIMEOUT              : constant := 1709;  -- winerror.h:4619
  504.     RPC_S_OBJECT_NOT_FOUND             : constant := 1710;  -- winerror.h:4628
  505.     RPC_S_ALREADY_REGISTERED           : constant := 1711;  -- winerror.h:4637
  506.     RPC_S_TYPE_ALREADY_REGISTERED      : constant := 1712;  -- winerror.h:4646
  507.     RPC_S_ALREADY_LISTENING            : constant := 1713;  -- winerror.h:4655
  508.     RPC_S_NO_PROTSEQS_REGISTERED       : constant := 1714;  -- winerror.h:4664
  509.     RPC_S_NOT_LISTENING                : constant := 1715;  -- winerror.h:4673
  510.     RPC_S_UNKNOWN_MGR_TYPE             : constant := 1716;  -- winerror.h:4682
  511.     RPC_S_UNKNOWN_IF                   : constant := 1717;  -- winerror.h:4691
  512.     RPC_S_NO_BINDINGS                  : constant := 1718;  -- winerror.h:4700
  513.     RPC_S_NO_PROTSEQS                  : constant := 1719;  -- winerror.h:4709
  514.     RPC_S_CANT_CREATE_ENDPOINT         : constant := 1720;  -- winerror.h:4718
  515.     RPC_S_OUT_OF_RESOURCES             : constant := 1721;  -- winerror.h:4727
  516.     RPC_S_SERVER_UNAVAILABLE           : constant := 1722;  -- winerror.h:4736
  517.     RPC_S_SERVER_TOO_BUSY              : constant := 1723;  -- winerror.h:4745
  518.     RPC_S_INVALID_NETWORK_OPTIONS      : constant := 1724;  -- winerror.h:4754
  519.     RPC_S_NO_CALL_ACTIVE               : constant := 1725;  -- winerror.h:4763
  520.     RPC_S_CALL_FAILED                  : constant := 1726;  -- winerror.h:4772
  521.     RPC_S_CALL_FAILED_DNE              : constant := 1727;  -- winerror.h:4781
  522.     RPC_S_PROTOCOL_ERROR               : constant := 1728;  -- winerror.h:4790
  523.     RPC_S_UNSUPPORTED_TRANS_SYN        : constant := 1730;  -- winerror.h:4799
  524.     RPC_S_UNSUPPORTED_TYPE             : constant := 1732;  -- winerror.h:4808
  525.     RPC_S_INVALID_TAG                  : constant := 1733;  -- winerror.h:4817
  526.     RPC_S_INVALID_BOUND                : constant := 1734;  -- winerror.h:4826
  527.     RPC_S_NO_ENTRY_NAME                : constant := 1735;  -- winerror.h:4835
  528.     RPC_S_INVALID_NAME_SYNTAX          : constant := 1736;  -- winerror.h:4844
  529.     RPC_S_UNSUPPORTED_NAME_SYNTAX      : constant := 1737;  -- winerror.h:4853
  530.     RPC_S_UUID_NO_ADDRESS              : constant := 1739;  -- winerror.h:4863
  531.     RPC_S_DUPLICATE_ENDPOINT           : constant := 1740;  -- winerror.h:4872
  532.     RPC_S_UNKNOWN_AUTHN_TYPE           : constant := 1741;  -- winerror.h:4881
  533.     RPC_S_MAX_CALLS_TOO_SMALL          : constant := 1742;  -- winerror.h:4890
  534.     RPC_S_STRING_TOO_LONG              : constant := 1743;  -- winerror.h:4899
  535.     RPC_S_PROTSEQ_NOT_FOUND            : constant := 1744;  -- winerror.h:4908
  536.     RPC_S_PROCNUM_OUT_OF_RANGE         : constant := 1745;  -- winerror.h:4917
  537.     RPC_S_BINDING_HAS_NO_AUTH          : constant := 1746;  -- winerror.h:4926
  538.     RPC_S_UNKNOWN_AUTHN_SERVICE        : constant := 1747;  -- winerror.h:4935
  539.     RPC_S_UNKNOWN_AUTHN_LEVEL          : constant := 1748;  -- winerror.h:4944
  540.     RPC_S_INVALID_AUTH_IDENTITY        : constant := 1749;  -- winerror.h:4953
  541.     RPC_S_UNKNOWN_AUTHZ_SERVICE        : constant := 1750;  -- winerror.h:4962
  542.     EPT_S_INVALID_ENTRY                : constant := 1751;  -- winerror.h:4971
  543.     EPT_S_CANT_PERFORM_OP              : constant := 1752;  -- winerror.h:4980
  544.     EPT_S_NOT_REGISTERED               : constant := 1753;  -- winerror.h:4989
  545.     RPC_S_NOTHING_TO_EXPORT            : constant := 1754;  -- winerror.h:4998
  546.     RPC_S_INCOMPLETE_NAME              : constant := 1755;  -- winerror.h:5007
  547.     RPC_S_INVALID_VERS_OPTION          : constant := 1756;  -- winerror.h:5016
  548.     RPC_S_NO_MORE_MEMBERS              : constant := 1757;  -- winerror.h:5025
  549.     RPC_S_NOT_ALL_OBJS_UNEXPORTED      : constant := 1758;  -- winerror.h:5034
  550.     RPC_S_INTERFACE_NOT_FOUND          : constant := 1759;  -- winerror.h:5043
  551.     RPC_S_ENTRY_ALREADY_EXISTS         : constant := 1760;  -- winerror.h:5052
  552.     RPC_S_ENTRY_NOT_FOUND              : constant := 1761;  -- winerror.h:5061
  553.     RPC_S_NAME_SERVICE_UNAVAILABLE     : constant := 1762;  -- winerror.h:5070
  554.     RPC_S_INVALID_NAF_ID               : constant := 1763;  -- winerror.h:5079
  555.     RPC_S_CANNOT_SUPPORT               : constant := 1764;  -- winerror.h:5088
  556.     RPC_S_NO_CONTEXT_AVAILABLE         : constant := 1765;  -- winerror.h:5097
  557.     RPC_S_INTERNAL_ERROR               : constant := 1766;  -- winerror.h:5106
  558.     RPC_S_ZERO_DIVIDE                  : constant := 1767;  -- winerror.h:5115
  559.     RPC_S_ADDRESS_ERROR                : constant := 1768;  -- winerror.h:5124
  560.     RPC_S_FP_DIV_ZERO                  : constant := 1769;  -- winerror.h:5133
  561.     RPC_S_FP_UNDERFLOW                 : constant := 1770;  -- winerror.h:5142
  562.     RPC_S_FP_OVERFLOW                  : constant := 1771;  -- winerror.h:5151
  563.     RPC_X_NO_MORE_ENTRIES              : constant := 1772;  -- winerror.h:5161
  564.     RPC_X_SS_CHAR_TRANS_OPEN_FAIL      : constant := 1773;  -- winerror.h:5170
  565.     RPC_X_SS_CHAR_TRANS_SHORT_FILE     : constant := 1774;  -- winerror.h:5180
  566.     RPC_X_SS_IN_NULL_CONTEXT           : constant := 1775;  -- winerror.h:5190
  567.     RPC_X_SS_CONTEXT_DAMAGED           : constant := 1777;  -- winerror.h:5199
  568.     RPC_X_SS_HANDLES_MISMATCH          : constant := 1778;  -- winerror.h:5208
  569.     RPC_X_SS_CANNOT_GET_CALL_HANDLE    : constant := 1779;  -- winerror.h:5217
  570.     RPC_X_NULL_REF_POINTER             : constant := 1780;  -- winerror.h:5226
  571.     RPC_X_ENUM_VALUE_OUT_OF_RANGE      : constant := 1781;  -- winerror.h:5235
  572.     RPC_X_BYTE_COUNT_TOO_SMALL         : constant := 1782;  -- winerror.h:5244
  573.     RPC_X_BAD_STUB_DATA                : constant := 1783;  -- winerror.h:5253
  574.     ERROR_INVALID_USER_BUFFER          : constant := 1784;  -- winerror.h:5262
  575.     ERROR_UNRECOGNIZED_MEDIA           : constant := 1785;  -- winerror.h:5271
  576.     ERROR_NO_TRUST_LSA_SECRET          : constant := 1786;  -- winerror.h:5280
  577.     ERROR_NO_TRUST_SAM_ACCOUNT         : constant := 1787;  -- winerror.h:5290
  578.     ERROR_TRUSTED_DOMAIN_FAILURE       : constant := 1788;  -- winerror.h:5300
  579.     ERROR_TRUSTED_RELATIONSHIP_FAILURE : constant := 1789;  -- winerror.h:5310
  580.     ERROR_TRUST_FAILURE                : constant := 1790;  -- winerror.h:5319
  581.     RPC_S_CALL_IN_PROGRESS             : constant := 1791;  -- winerror.h:5328
  582.     ERROR_NETLOGON_NOT_STARTED         : constant := 1792;  -- winerror.h:5337
  583.     ERROR_ACCOUNT_EXPIRED              : constant := 1793;  -- winerror.h:5346
  584.     ERROR_REDIRECTOR_HAS_OPEN_HANDLES  : constant := 1794;  -- winerror.h:5355
  585.     ERROR_PRINTER_DRIVER_ALREADY_INSTALLED : constant := 1795;
  586.                                                             -- winerror.h:5364
  587.     ERROR_UNKNOWN_PORT                 : constant := 1796;  -- winerror.h:5373
  588.     ERROR_UNKNOWN_PRINTER_DRIVER       : constant := 1797;  -- winerror.h:5382
  589.     ERROR_UNKNOWN_PRINTPROCESSOR       : constant := 1798;  -- winerror.h:5391
  590.     ERROR_INVALID_SEPARATOR_FILE       : constant := 1799;  -- winerror.h:5400
  591.     ERROR_INVALID_PRIORITY             : constant := 1800;  -- winerror.h:5409
  592.     ERROR_INVALID_PRINTER_NAME         : constant := 1801;  -- winerror.h:5418
  593.     ERROR_PRINTER_ALREADY_EXISTS       : constant := 1802;  -- winerror.h:5427
  594.     ERROR_INVALID_PRINTER_COMMAND      : constant := 1803;  -- winerror.h:5436
  595.     ERROR_INVALID_DATATYPE             : constant := 1804;  -- winerror.h:5445
  596.     ERROR_INVALID_ENVIRONMENT          : constant := 1805;  -- winerror.h:5454
  597.     RPC_S_NO_MORE_BINDINGS             : constant := 1806;  -- winerror.h:5463
  598.     ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT: constant := 1807;
  599.                                                             -- winerror.h:5472
  600.     ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT: constant := 1808;
  601.                                                             -- winerror.h:5481
  602.     ERROR_NOLOGON_SERVER_TRUST_ACCOUNT : constant := 1809;  -- winerror.h:5490
  603.     ERROR_DOMAIN_TRUST_INCONSISTENT    : constant := 1810;  -- winerror.h:5500
  604.     ERROR_SERVER_HAS_OPEN_HANDLES      : constant := 1811;  -- winerror.h:5509
  605.     ERROR_RESOURCE_DATA_NOT_FOUND      : constant := 1812;  -- winerror.h:5518
  606.     ERROR_RESOURCE_TYPE_NOT_FOUND      : constant := 1813;  -- winerror.h:5527
  607.     ERROR_RESOURCE_NAME_NOT_FOUND      : constant := 1814;  -- winerror.h:5536
  608.     ERROR_RESOURCE_LANG_NOT_FOUND      : constant := 1815;  -- winerror.h:5545
  609.     ERROR_NOT_ENOUGH_QUOTA             : constant := 1816;  -- winerror.h:5554
  610.     RPC_S_NO_INTERFACES                : constant := 1817;  -- winerror.h:5563
  611.     RPC_S_CALL_CANCELLED               : constant := 1818;  -- winerror.h:5572
  612.     RPC_S_BINDING_INCOMPLETE           : constant := 1819;  -- winerror.h:5581
  613.     RPC_S_COMM_FAILURE                 : constant := 1820;  -- winerror.h:5590
  614.     RPC_S_UNSUPPORTED_AUTHN_LEVEL      : constant := 1821;  -- winerror.h:5599
  615.     RPC_S_NO_PRINC_NAME                : constant := 1822;  -- winerror.h:5608
  616.     RPC_S_NOT_RPC_ERROR                : constant := 1823;  -- winerror.h:5617
  617.     RPC_S_UUID_LOCAL_ONLY              : constant := 1824;  -- winerror.h:5626
  618.     RPC_S_SEC_PKG_ERROR                : constant := 1825;  -- winerror.h:5635
  619.     RPC_S_NOT_CANCELLED                : constant := 1826;  -- winerror.h:5644
  620.     RPC_X_INVALID_ES_ACTION            : constant := 1827;  -- winerror.h:5653
  621.     RPC_X_WRONG_ES_VERSION             : constant := 1828;  -- winerror.h:5662
  622.     RPC_X_WRONG_STUB_VERSION           : constant := 1829;  -- winerror.h:5671
  623.     RPC_S_GROUP_MEMBER_NOT_FOUND       : constant := 1898;  -- winerror.h:5680
  624.     EPT_S_CANT_CREATE                  : constant := 1899;  -- winerror.h:5689
  625.     RPC_S_INVALID_OBJECT               : constant := 1900;  -- winerror.h:5698
  626.     ERROR_INVALID_TIME                 : constant := 1901;  -- winerror.h:5707
  627.     ERROR_INVALID_FORM_NAME            : constant := 1902;  -- winerror.h:5716
  628.     ERROR_INVALID_FORM_SIZE            : constant := 1903;  -- winerror.h:5725
  629.     ERROR_ALREADY_WAITING              : constant := 1904;  -- winerror.h:5734
  630.     ERROR_PRINTER_DELETED              : constant := 1905;  -- winerror.h:5743
  631.     ERROR_INVALID_PRINTER_STATE        : constant := 1906;  -- winerror.h:5752
  632.     ERROR_PASSWORD_MUST_CHANGE         : constant := 1907;  -- winerror.h:5761
  633.     ERROR_DOMAIN_CONTROLLER_NOT_FOUND  : constant := 1908;  -- winerror.h:5770
  634.     ERROR_ACCOUNT_LOCKED_OUT           : constant := 1909;  -- winerror.h:5779
  635.     ERROR_NO_BROWSER_SERVERS_FOUND     : constant := 6118;  -- winerror.h:5788
  636.     ERROR_INVALID_PIXEL_FORMAT         : constant := 2000;  -- winerror.h:5807
  637.     ERROR_BAD_DRIVER                   : constant := 2001;  -- winerror.h:5816
  638.     ERROR_INVALID_WINDOW_STYLE         : constant := 2002;  -- winerror.h:5825
  639.     ERROR_METAFILE_NOT_SUPPORTED       : constant := 2003;  -- winerror.h:5834
  640.     ERROR_TRANSFORM_NOT_SUPPORTED      : constant := 2004;  -- winerror.h:5843
  641.     ERROR_CLIPPING_NOT_SUPPORTED       : constant := 2005;  -- winerror.h:5852
  642.     ERROR_UNKNOWN_PRINT_MONITOR        : constant := 3000;  -- winerror.h:5870
  643.     ERROR_PRINTER_DRIVER_IN_USE        : constant := 3001;  -- winerror.h:5879
  644.     ERROR_SPOOL_FILE_NOT_FOUND         : constant := 3002;  -- winerror.h:5888
  645.     ERROR_SPL_NO_STARTDOC              : constant := 3003;  -- winerror.h:5897
  646.     ERROR_SPL_NO_ADDJOB                : constant := 3004;  -- winerror.h:5906
  647.     ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED: constant := 3005;
  648.                                                             -- winerror.h:5915
  649.     ERROR_PRINT_MONITOR_ALREADY_INSTALLED  : constant := 3006;
  650.                                                             -- winerror.h:5924
  651.     ERROR_WINS_INTERNAL                : constant := 4000;  -- winerror.h:5938
  652.     ERROR_CAN_NOT_DEL_LOCAL_WINS       : constant := 4001;  -- winerror.h:5947
  653.     ERROR_STATIC_INIT                  : constant := 4002;  -- winerror.h:5956
  654.     ERROR_INC_BACKUP                   : constant := 4003;  -- winerror.h:5965
  655.     ERROR_FULL_BACKUP                  : constant := 4004;  -- winerror.h:5974
  656.     ERROR_REC_NON_EXISTENT             : constant := 4005;  -- winerror.h:5983
  657.     ERROR_RPL_NOT_ALLOWED              : constant := 4006;  -- winerror.h:5992
  658.     SEVERITY_SUCCESS                   : constant := 0;     -- winerror.h:6052
  659.     SEVERITY_ERROR                     : constant := 1;     -- winerror.h:6053
  660.     FACILITY_NT_BIT                    : constant := 16#10000000#;
  661.                                                             -- winerror.h:6113
  662.     NOERROR                            : constant := 16#0#; 
  663.                                                             -- winerror.h:6150
  664.     E_UNEXPECTED                       : constant := 16#8000ffff#;
  665.                                                             -- winerror.h:6169
  666.     E_NOTIMPL                          : constant := 16#80004001#;
  667.                                                             -- winerror.h:6179
  668.     E_OUTOFMEMORY                      : constant := 16#8007000e#;
  669.                                                             -- winerror.h:6188
  670.     E_INVALIDARG                       : constant := 16#80070057#;
  671.                                                             -- winerror.h:6197
  672.     E_NOINTERFACE                      : constant := 16#80004002#;
  673.                                                             -- winerror.h:6206
  674.     E_POINTER                          : constant := 16#80004003#;
  675.                                                             -- winerror.h:6215
  676.     E_HANDLE                           : constant := 16#80070006#;
  677.                                                             -- winerror.h:6224
  678.     E_ABORT                            : constant := 16#80004004#;
  679.                                                             -- winerror.h:6233
  680.     E_FAIL                             : constant := 16#80004005#;
  681.                                                             -- winerror.h:6242
  682.     E_ACCESSDENIED                     : constant := 16#80070005#;
  683.                                                             -- winerror.h:6251
  684.     CO_E_INIT_TLS                      : constant := 16#80004006#;
  685.                                                             -- winerror.h:6343
  686.     CO_E_INIT_SHARED_ALLOCATOR         : constant := 16#80004007#;
  687.                                                             -- winerror.h:6352
  688.     CO_E_INIT_MEMORY_ALLOCATOR         : constant := 16#80004008#;
  689.                                                             -- winerror.h:6361
  690.     CO_E_INIT_CLASS_CACHE              : constant := 16#80004009#;
  691.                                                             -- winerror.h:6370
  692.     CO_E_INIT_RPC_CHANNEL              : constant := 16#8000400a#;
  693.                                                             -- winerror.h:6379
  694.     CO_E_INIT_TLS_SET_CHANNEL_CONTROL  : constant := 16#8000400b#;
  695.                                                             -- winerror.h:6388
  696.     CO_E_INIT_TLS_CHANNEL_CONTROL      : constant := 16#8000400c#;
  697.                                                             -- winerror.h:6397
  698.     CO_E_INIT_UNACCEPTED_USER_ALLOCATOR: constant := 16#8000400d#;
  699.                                                             -- winerror.h:6406
  700.     CO_E_INIT_SCM_MUTEX_EXISTS         : constant := 16#8000400e#;
  701.                                                             -- winerror.h:6415
  702.     CO_E_INIT_SCM_FILE_MAPPING_EXISTS  : constant := 16#8000400f#;
  703.                                                             -- winerror.h:6424
  704.     CO_E_INIT_SCM_MAP_VIEW_OF_FILE     : constant := 16#80004010#;
  705.                                                             -- winerror.h:6433
  706.     CO_E_INIT_SCM_EXEC_FAILURE         : constant := 16#80004011#;
  707.                                                             -- winerror.h:6442
  708.     CO_E_INIT_ONLY_SINGLE_THREADED     : constant := 16#80004012#;
  709.                                                             -- winerror.h:6451
  710.     S_OK                               : constant := 16#0#; 
  711.                                                             -- winerror.h:6457
  712.     S_FALSE                            : constant := 16#1#; 
  713.                                                             -- winerror.h:6458
  714.     OLE_E_FIRST                        : constant := 16#80040000#;
  715.                                                             -- winerror.h:6474
  716.     OLE_E_LAST                         : constant := 16#800400ff#;
  717.                                                             -- winerror.h:6475
  718.     OLE_S_FIRST                        : constant := 16#40000#;
  719.                                                             -- winerror.h:6476
  720.     OLE_S_LAST                         : constant := 16#400ff#;
  721.                                                             -- winerror.h:6477
  722.     OLE_E_OLEVERB                      : constant := 16#80040000#;
  723.                                                             -- winerror.h:6489
  724.     OLE_E_ADVF                         : constant := 16#80040001#;
  725.                                                             -- winerror.h:6498
  726.     OLE_E_ENUM_NOMORE                  : constant := 16#80040002#;
  727.                                                             -- winerror.h:6507
  728.     OLE_E_ADVISENOTSUPPORTED           : constant := 16#80040003#;
  729.                                                             -- winerror.h:6516
  730.     OLE_E_NOCONNECTION                 : constant := 16#80040004#;
  731.                                                             -- winerror.h:6525
  732.     OLE_E_NOTRUNNING                   : constant := 16#80040005#;
  733.                                                             -- winerror.h:6534
  734.     OLE_E_NOCACHE                      : constant := 16#80040006#;
  735.                                                             -- winerror.h:6543
  736.     OLE_E_BLANK                        : constant := 16#80040007#;
  737.                                                             -- winerror.h:6552
  738.     OLE_E_CLASSDIFF                    : constant := 16#80040008#;
  739.                                                             -- winerror.h:6561
  740.     OLE_E_CANT_GETMONIKER              : constant := 16#80040009#;
  741.                                                             -- winerror.h:6570
  742.     OLE_E_CANT_BINDTOSOURCE            : constant := 16#8004000a#;
  743.                                                             -- winerror.h:6579
  744.     OLE_E_STATIC                       : constant := 16#8004000b#;
  745.                                                             -- winerror.h:6588
  746.     OLE_E_PROMPTSAVECANCELLED          : constant := 16#8004000c#;
  747.                                                             -- winerror.h:6597
  748.     OLE_E_INVALIDRECT                  : constant := 16#8004000d#;
  749.                                                             -- winerror.h:6606
  750.     OLE_E_WRONGCOMPOBJ                 : constant := 16#8004000e#;
  751.                                                             -- winerror.h:6615
  752.     OLE_E_INVALIDHWND                  : constant := 16#8004000f#;
  753.                                                             -- winerror.h:6624
  754.     OLE_E_NOT_INPLACEACTIVE            : constant := 16#80040010#;
  755.                                                             -- winerror.h:6633
  756.     OLE_E_CANTCONVERT                  : constant := 16#80040011#;
  757.                                                             -- winerror.h:6642
  758.     OLE_E_NOSTORAGE                    : constant := 16#80040012#;
  759.                                                             -- winerror.h:6652
  760.     DV_E_FORMATETC                     : constant := 16#80040064#;
  761.                                                             -- winerror.h:6661
  762.     DV_E_DVTARGETDEVICE                : constant := 16#80040065#;
  763.                                                             -- winerror.h:6670
  764.     DV_E_STGMEDIUM                     : constant := 16#80040066#;
  765.                                                             -- winerror.h:6679
  766.     DV_E_STATDATA                      : constant := 16#80040067#;
  767.                                                             -- winerror.h:6688
  768.     DV_E_LINDEX                        : constant := 16#80040068#;
  769.                                                             -- winerror.h:6697
  770.     DV_E_TYMED                         : constant := 16#80040069#;
  771.                                                             -- winerror.h:6706
  772.     DV_E_CLIPFORMAT                    : constant := 16#8004006a#;
  773.                                                             -- winerror.h:6715
  774.     DV_E_DVASPECT                      : constant := 16#8004006b#;
  775.                                                             -- winerror.h:6724
  776.     DV_E_DVTARGETDEVICE_SIZE           : constant := 16#8004006c#;
  777.                                                             -- winerror.h:6733
  778.     DV_E_NOIVIEWOBJECT                 : constant := 16#8004006d#;
  779.                                                             -- winerror.h:6742
  780.     DRAGDROP_E_FIRST                   : constant := 16#80040100#;
  781.                                                             -- winerror.h:6744
  782.     DRAGDROP_E_LAST                    : constant := 16#8004010f#;
  783.                                                             -- winerror.h:6745
  784.     DRAGDROP_S_FIRST                   : constant := 16#40100#;
  785.                                                             -- winerror.h:6746
  786.     DRAGDROP_S_LAST                    : constant := 16#4010f#;
  787.                                                             -- winerror.h:6747
  788.     DRAGDROP_E_NOTREGISTERED           : constant := 16#80040100#;
  789.                                                             -- winerror.h:6755
  790.     DRAGDROP_E_ALREADYREGISTERED       : constant := 16#80040101#;
  791.                                                             -- winerror.h:6764
  792.     DRAGDROP_E_INVALIDHWND             : constant := 16#80040102#;
  793.                                                             -- winerror.h:6773
  794.     CLASSFACTORY_E_FIRST               : constant := 16#80040110#;
  795.                                                             -- winerror.h:6775
  796.     CLASSFACTORY_E_LAST                : constant := 16#8004011f#;
  797.                                                             -- winerror.h:6776
  798.     CLASSFACTORY_S_FIRST               : constant := 16#40110#;
  799.                                                             -- winerror.h:6777
  800.     CLASSFACTORY_S_LAST                : constant := 16#4011f#;
  801.                                                             -- winerror.h:6778
  802.     CLASS_E_NOAGGREGATION              : constant := 16#80040110#;
  803.                                                             -- winerror.h:6786
  804.     CLASS_E_CLASSNOTAVAILABLE          : constant := 16#80040111#;
  805.                                                             -- winerror.h:6795
  806.     MARSHAL_E_FIRST                    : constant := 16#80040120#;
  807.                                                             -- winerror.h:6797
  808.     MARSHAL_E_LAST                     : constant := 16#8004012f#;
  809.                                                             -- winerror.h:6798
  810.     MARSHAL_S_FIRST                    : constant := 16#40120#;
  811.                                                             -- winerror.h:6799
  812.     MARSHAL_S_LAST                     : constant := 16#4012f#;
  813.                                                             -- winerror.h:6800
  814.     DATA_E_FIRST                       : constant := 16#80040130#;
  815.                                                             -- winerror.h:6801
  816.     DATA_E_LAST                        : constant := 16#8004013f#;
  817.                                                             -- winerror.h:6802
  818.     DATA_S_FIRST                       : constant := 16#40130#;
  819.                                                             -- winerror.h:6803
  820.     DATA_S_LAST                        : constant := 16#4013f#;
  821.                                                             -- winerror.h:6804
  822.     VIEW_E_FIRST                       : constant := 16#80040140#;
  823.                                                             -- winerror.h:6805
  824.     VIEW_E_LAST                        : constant := 16#8004014f#;
  825.                                                             -- winerror.h:6806
  826.     VIEW_S_FIRST                       : constant := 16#40140#;
  827.                                                             -- winerror.h:6807
  828.     VIEW_S_LAST                        : constant := 16#4014f#;
  829.                                                             -- winerror.h:6808
  830.     VIEW_E_DRAW                        : constant := 16#80040140#;
  831.                                                             -- winerror.h:6816
  832.     REGDB_E_FIRST                      : constant := 16#80040150#;
  833.                                                             -- winerror.h:6818
  834.     REGDB_E_LAST                       : constant := 16#8004015f#;
  835.                                                             -- winerror.h:6819
  836.     REGDB_S_FIRST                      : constant := 16#40150#;
  837.                                                             -- winerror.h:6820
  838.     REGDB_S_LAST                       : constant := 16#4015f#;
  839.                                                             -- winerror.h:6821
  840.     REGDB_E_READREGDB                  : constant := 16#80040150#;
  841.                                                             -- winerror.h:6829
  842.     REGDB_E_WRITEREGDB                 : constant := 16#80040151#;
  843.                                                             -- winerror.h:6838
  844.     REGDB_E_KEYMISSING                 : constant := 16#80040152#;
  845.                                                             -- winerror.h:6847
  846.     REGDB_E_INVALIDVALUE               : constant := 16#80040153#;
  847.                                                             -- winerror.h:6856
  848.     REGDB_E_CLASSNOTREG                : constant := 16#80040154#;
  849.                                                             -- winerror.h:6865
  850.     REGDB_E_IIDNOTREG                  : constant := 16#80040155#;
  851.                                                             -- winerror.h:6874
  852.     CACHE_E_FIRST                      : constant := 16#80040170#;
  853.                                                             -- winerror.h:6876
  854.     CACHE_E_LAST                       : constant := 16#8004017f#;
  855.                                                             -- winerror.h:6877
  856.     CACHE_S_FIRST                      : constant := 16#40170#;
  857.                                                             -- winerror.h:6878
  858.     CACHE_S_LAST                       : constant := 16#4017f#;
  859.                                                             -- winerror.h:6879
  860.     CACHE_E_NOCACHE_UPDATED            : constant := 16#80040170#;
  861.                                                             -- winerror.h:6887
  862.     OLEOBJ_E_FIRST                     : constant := 16#80040180#;
  863.                                                             -- winerror.h:6889
  864.     OLEOBJ_E_LAST                      : constant := 16#8004018f#;
  865.                                                             -- winerror.h:6890
  866.     OLEOBJ_S_FIRST                     : constant := 16#40180#;
  867.                                                             -- winerror.h:6891
  868.     OLEOBJ_S_LAST                      : constant := 16#4018f#;
  869.                                                             -- winerror.h:6892
  870.     OLEOBJ_E_NOVERBS                   : constant := 16#80040180#;
  871.                                                             -- winerror.h:6900
  872.     OLEOBJ_E_INVALIDVERB               : constant := 16#80040181#;
  873.                                                             -- winerror.h:6909
  874.     CLIENTSITE_E_FIRST                 : constant := 16#80040190#;
  875.                                                             -- winerror.h:6911
  876.     CLIENTSITE_E_LAST                  : constant := 16#8004019f#;
  877.                                                             -- winerror.h:6912
  878.     CLIENTSITE_S_FIRST                 : constant := 16#40190#;
  879.                                                             -- winerror.h:6913
  880.     CLIENTSITE_S_LAST                  : constant := 16#4019f#;
  881.                                                             -- winerror.h:6914
  882.     INPLACE_E_NOTUNDOABLE              : constant := 16#800401a0#;
  883.                                                             -- winerror.h:6922
  884.     INPLACE_E_NOTOOLSPACE              : constant := 16#800401a1#;
  885.                                                             -- winerror.h:6931
  886.     INPLACE_E_FIRST                    : constant := 16#800401a0#;
  887.                                                             -- winerror.h:6933
  888.     INPLACE_E_LAST                     : constant := 16#800401af#;
  889.                                                             -- winerror.h:6934
  890.     INPLACE_S_FIRST                    : constant := 16#401a0#;
  891.                                                             -- winerror.h:6935
  892.     INPLACE_S_LAST                     : constant := 16#401af#;
  893.                                                             -- winerror.h:6936
  894.     ENUM_E_FIRST                       : constant := 16#800401b0#;
  895.                                                             -- winerror.h:6937
  896.     ENUM_E_LAST                        : constant := 16#800401bf#;
  897.                                                             -- winerror.h:6938
  898.     ENUM_S_FIRST                       : constant := 16#401b0#;
  899.                                                             -- winerror.h:6939
  900.     ENUM_S_LAST                        : constant := 16#401bf#;
  901.                                                             -- winerror.h:6940
  902.     CONVERT10_E_FIRST                  : constant := 16#800401c0#;
  903.                                                             -- winerror.h:6941
  904.     CONVERT10_E_LAST                   : constant := 16#800401cf#;
  905.                                                             -- winerror.h:6942
  906.     CONVERT10_S_FIRST                  : constant := 16#401c0#;
  907.                                                             -- winerror.h:6943
  908.     CONVERT10_S_LAST                   : constant := 16#401cf#;
  909.                                                             -- winerror.h:6944
  910.     CONVERT10_E_OLESTREAM_GET          : constant := 16#800401c0#;
  911.                                                             -- winerror.h:6952
  912.     CONVERT10_E_OLESTREAM_PUT          : constant := 16#800401c1#;
  913.                                                             -- winerror.h:6961
  914.     CONVERT10_E_OLESTREAM_FMT          : constant := 16#800401c2#;
  915.                                                             -- winerror.h:6970
  916.     CONVERT10_E_OLESTREAM_BITMAP_TO_DIB: constant := 16#800401c3#;
  917.                                                             -- winerror.h:6979
  918.     CONVERT10_E_STG_FMT                : constant := 16#800401c4#;
  919.                                                             -- winerror.h:6988
  920.     CONVERT10_E_STG_NO_STD_STREAM      : constant := 16#800401c5#;
  921.                                                             -- winerror.h:6997
  922.     CONVERT10_E_STG_DIB_TO_BITMAP      : constant := 16#800401c6#;
  923.                                                             -- winerror.h:7007
  924.     CLIPBRD_E_FIRST                    : constant := 16#800401d0#;
  925.                                                             -- winerror.h:7009
  926.     CLIPBRD_E_LAST                     : constant := 16#800401df#;
  927.                                                             -- winerror.h:7010
  928.     CLIPBRD_S_FIRST                    : constant := 16#401d0#;
  929.                                                             -- winerror.h:7011
  930.     CLIPBRD_S_LAST                     : constant := 16#401df#;
  931.                                                             -- winerror.h:7012
  932.     CLIPBRD_E_CANT_OPEN                : constant := 16#800401d0#;
  933.                                                             -- winerror.h:7020
  934.     CLIPBRD_E_CANT_EMPTY               : constant := 16#800401d1#;
  935.                                                             -- winerror.h:7029
  936.     CLIPBRD_E_CANT_SET                 : constant := 16#800401d2#;
  937.                                                             -- winerror.h:7038
  938.     CLIPBRD_E_BAD_DATA                 : constant := 16#800401d3#;
  939.                                                             -- winerror.h:7047
  940.     CLIPBRD_E_CANT_CLOSE               : constant := 16#800401d4#;
  941.                                                             -- winerror.h:7056
  942.     MK_E_FIRST                         : constant := 16#800401e0#;
  943.                                                             -- winerror.h:7058
  944.     MK_E_LAST                          : constant := 16#800401ef#;
  945.                                                             -- winerror.h:7059
  946.     MK_S_FIRST                         : constant := 16#401e0#;
  947.                                                             -- winerror.h:7060
  948.     MK_S_LAST                          : constant := 16#401ef#;
  949.                                                             -- winerror.h:7061
  950.     MK_E_CONNECTMANUALLY               : constant := 16#800401e0#;
  951.                                                             -- winerror.h:7069
  952.     MK_E_EXCEEDEDDEADLINE              : constant := 16#800401e1#;
  953.                                                             -- winerror.h:7078
  954.     MK_E_NEEDGENERIC                   : constant := 16#800401e2#;
  955.                                                             -- winerror.h:7087
  956.     MK_E_UNAVAILABLE                   : constant := 16#800401e3#;
  957.                                                             -- winerror.h:7096
  958.     MK_E_SYNTAX                        : constant := 16#800401e4#;
  959.                                                             -- winerror.h:7105
  960.     MK_E_NOOBJECT                      : constant := 16#800401e5#;
  961.                                                             -- winerror.h:7114
  962.     MK_E_INVALIDEXTENSION              : constant := 16#800401e6#;
  963.                                                             -- winerror.h:7123
  964.     MK_E_INTERMEDIATEINTERFACENOTSUPPORTED : constant := 16#800401e7#;
  965.                                                             -- winerror.h:7132
  966.     MK_E_NOTBINDABLE                   : constant := 16#800401e8#;
  967.                                                             -- winerror.h:7141
  968.     MK_E_NOTBOUND                      : constant := 16#800401e9#;
  969.                                                             -- winerror.h:7150
  970.     MK_E_CANTOPENFILE                  : constant := 16#800401ea#;
  971.                                                             -- winerror.h:7159
  972.     MK_E_MUSTBOTHERUSER                : constant := 16#800401eb#;
  973.                                                             -- winerror.h:7168
  974.     MK_E_NOINVERSE                     : constant := 16#800401ec#;
  975.                                                             -- winerror.h:7177
  976.     MK_E_NOSTORAGE                     : constant := 16#800401ed#;
  977.                                                             -- winerror.h:7186
  978.     MK_E_NOPREFIX                      : constant := 16#800401ee#;
  979.                                                             -- winerror.h:7195
  980.     MK_E_ENUMERATION_FAILED            : constant := 16#800401ef#;
  981.                                                             -- winerror.h:7204
  982.     CO_E_FIRST                         : constant := 16#800401f0#;
  983.                                                             -- winerror.h:7206
  984.     CO_E_LAST                          : constant := 16#800401ff#;
  985.                                                             -- winerror.h:7207
  986.     CO_S_FIRST                         : constant := 16#401f0#;
  987.                                                             -- winerror.h:7208
  988.     CO_S_LAST                          : constant := 16#401ff#;
  989.                                                             -- winerror.h:7209
  990.     CO_E_NOTINITIALIZED                : constant := 16#800401f0#;
  991.                                                             -- winerror.h:7217
  992.     CO_E_ALREADYINITIALIZED            : constant := 16#800401f1#;
  993.                                                             -- winerror.h:7226
  994.     CO_E_CANTDETERMINECLASS            : constant := 16#800401f2#;
  995.                                                             -- winerror.h:7235
  996.     CO_E_CLASSSTRING                   : constant := 16#800401f3#;
  997.                                                             -- winerror.h:7244
  998.     CO_E_IIDSTRING                     : constant := 16#800401f4#;
  999.                                                             -- winerror.h:7253
  1000.     CO_E_APPNOTFOUND                   : constant := 16#800401f5#;
  1001.                                                             -- winerror.h:7262
  1002.     CO_E_APPSINGLEUSE                  : constant := 16#800401f6#;
  1003.                                                             -- winerror.h:7271
  1004.     CO_E_ERRORINAPP                    : constant := 16#800401f7#;
  1005.                                                             -- winerror.h:7280
  1006.     CO_E_DLLNOTFOUND                   : constant := 16#800401f8#;
  1007.                                                             -- winerror.h:7289
  1008.     CO_E_ERRORINDLL                    : constant := 16#800401f9#;
  1009.                                                             -- winerror.h:7298
  1010.     CO_E_WRONGOSFORAPP                 : constant := 16#800401fa#;
  1011.                                                             -- winerror.h:7307
  1012.     CO_E_OBJNOTREG                     : constant := 16#800401fb#;
  1013.                                                             -- winerror.h:7316
  1014.     CO_E_OBJISREG                      : constant := 16#800401fc#;
  1015.                                                             -- winerror.h:7325
  1016.     CO_E_OBJNOTCONNECTED               : constant := 16#800401fd#;
  1017.                                                             -- winerror.h:7334
  1018.     CO_E_APPDIDNTREG                   : constant := 16#800401fe#;
  1019.                                                             -- winerror.h:7343
  1020.     CO_E_RELEASED                      : constant := 16#800401ff#;
  1021.                                                             -- winerror.h:7352
  1022.     OLE_S_USEREG                       : constant := 16#40000#;
  1023.                                                             -- winerror.h:7364
  1024.     OLE_S_STATIC                       : constant := 16#40001#;
  1025.                                                             -- winerror.h:7373
  1026.     OLE_S_MAC_CLIPFORMAT               : constant := 16#40002#;
  1027.                                                             -- winerror.h:7382
  1028.     DRAGDROP_S_DROP                    : constant := 16#40100#;
  1029.                                                             -- winerror.h:7391
  1030.     DRAGDROP_S_CANCEL                  : constant := 16#40101#;
  1031.                                                             -- winerror.h:7400
  1032.     DRAGDROP_S_USEDEFAULTCURSORS       : constant := 16#40102#;
  1033.                                                             -- winerror.h:7409
  1034.     DATA_S_SAMEFORMATETC               : constant := 16#40130#;
  1035.                                                             -- winerror.h:7418
  1036.     VIEW_S_ALREADY_FROZEN              : constant := 16#40140#;
  1037.                                                             -- winerror.h:7427
  1038.     CACHE_S_FORMATETC_NOTSUPPORTED     : constant := 16#40170#;
  1039.                                                             -- winerror.h:7436
  1040.     CACHE_S_SAMECACHE                  : constant := 16#40171#;
  1041.                                                             -- winerror.h:7445
  1042.     CACHE_S_SOMECACHES_NOTUPDATED      : constant := 16#40172#;
  1043.                                                             -- winerror.h:7454
  1044.     OLEOBJ_S_INVALIDVERB               : constant := 16#40180#;
  1045.                                                             -- winerror.h:7463
  1046.     OLEOBJ_S_CANNOT_DOVERB_NOW         : constant := 16#40181#;
  1047.                                                             -- winerror.h:7472
  1048.     OLEOBJ_S_INVALIDHWND               : constant := 16#40182#;
  1049.                                                             -- winerror.h:7481
  1050.     INPLACE_S_TRUNCATED                : constant := 16#401a0#;
  1051.                                                             -- winerror.h:7490
  1052.     CONVERT10_S_NO_PRESENTATION        : constant := 16#401c0#;
  1053.                                                             -- winerror.h:7499
  1054.     MK_S_REDUCED_TO_SELF               : constant := 16#401e2#;
  1055.                                                             -- winerror.h:7508
  1056.     MK_S_ME                            : constant := 16#401e4#;
  1057.                                                             -- winerror.h:7517
  1058.     MK_S_HIM                           : constant := 16#401e5#;
  1059.                                                             -- winerror.h:7526
  1060.     MK_S_US                            : constant := 16#401e6#;
  1061.                                                             -- winerror.h:7535
  1062.     MK_S_MONIKERALREADYREGISTERED      : constant := 16#401e7#;
  1063.                                                             -- winerror.h:7544
  1064.     CO_E_CLASS_CREATE_FAILED           : constant := 16#80080001#;
  1065.                                                             -- winerror.h:7560
  1066.     CO_E_SCM_ERROR                     : constant := 16#80080002#;
  1067.                                                             -- winerror.h:7569
  1068.     CO_E_SCM_RPC_FAILURE               : constant := 16#80080003#;
  1069.                                                             -- winerror.h:7578
  1070.     CO_E_BAD_PATH                      : constant := 16#80080004#;
  1071.                                                             -- winerror.h:7587
  1072.     CO_E_SERVER_EXEC_FAILURE           : constant := 16#80080005#;
  1073.                                                             -- winerror.h:7596
  1074.     CO_E_OBJSRV_RPC_FAILURE            : constant := 16#80080006#;
  1075.                                                             -- winerror.h:7605
  1076.     MK_E_NO_NORMALIZED                 : constant := 16#80080007#;
  1077.                                                             -- winerror.h:7614
  1078.     CO_E_SERVER_STOPPING               : constant := 16#80080008#;
  1079.                                                             -- winerror.h:7623
  1080.     MEM_E_INVALID_ROOT                 : constant := 16#80080009#;
  1081.                                                             -- winerror.h:7632
  1082.     MEM_E_INVALID_LINK                 : constant := 16#80080010#;
  1083.                                                             -- winerror.h:7641
  1084.     MEM_E_INVALID_SIZE                 : constant := 16#80080011#;
  1085.                                                             -- winerror.h:7650
  1086.     DISP_E_UNKNOWNINTERFACE            : constant := 16#80020001#;
  1087.                                                             -- winerror.h:7662
  1088.     DISP_E_MEMBERNOTFOUND              : constant := 16#80020003#;
  1089.                                                             -- winerror.h:7671
  1090.     DISP_E_PARAMNOTFOUND               : constant := 16#80020004#;
  1091.                                                             -- winerror.h:7680
  1092.     DISP_E_TYPEMISMATCH                : constant := 16#80020005#;
  1093.                                                             -- winerror.h:7689
  1094.     DISP_E_UNKNOWNNAME                 : constant := 16#80020006#;
  1095.                                                             -- winerror.h:7698
  1096.     DISP_E_NONAMEDARGS                 : constant := 16#80020007#;
  1097.                                                             -- winerror.h:7707
  1098.     DISP_E_BADVARTYPE                  : constant := 16#80020008#;
  1099.                                                             -- winerror.h:7716
  1100.     DISP_E_EXCEPTION                   : constant := 16#80020009#;
  1101.                                                             -- winerror.h:7725
  1102.     DISP_E_OVERFLOW                    : constant := 16#8002000a#;
  1103.                                                             -- winerror.h:7734
  1104.     DISP_E_BADINDEX                    : constant := 16#8002000b#;
  1105.                                                             -- winerror.h:7743
  1106.     DISP_E_UNKNOWNLCID                 : constant := 16#8002000c#;
  1107.                                                             -- winerror.h:7752
  1108.     DISP_E_ARRAYISLOCKED               : constant := 16#8002000d#;
  1109.                                                             -- winerror.h:7761
  1110.     DISP_E_BADPARAMCOUNT               : constant := 16#8002000e#;
  1111.                                                             -- winerror.h:7770
  1112.     DISP_E_PARAMNOTOPTIONAL            : constant := 16#8002000f#;
  1113.                                                             -- winerror.h:7779
  1114.     DISP_E_BADCALLEE                   : constant := 16#80020010#;
  1115.                                                             -- winerror.h:7788
  1116.     DISP_E_NOTACOLLECTION              : constant := 16#80020011#;
  1117.                                                             -- winerror.h:7797
  1118.     TYPE_E_BUFFERTOOSMALL              : constant := 16#80028016#;
  1119.                                                             -- winerror.h:7806
  1120.     TYPE_E_INVDATAREAD                 : constant := 16#80028018#;
  1121.                                                             -- winerror.h:7815
  1122.     TYPE_E_UNSUPFORMAT                 : constant := 16#80028019#;
  1123.                                                             -- winerror.h:7824
  1124.     TYPE_E_REGISTRYACCESS              : constant := 16#8002801c#;
  1125.                                                             -- winerror.h:7833
  1126.     TYPE_E_LIBNOTREGISTERED            : constant := 16#8002801d#;
  1127.                                                             -- winerror.h:7842
  1128.     TYPE_E_UNDEFINEDTYPE               : constant := 16#80028027#;
  1129.                                                             -- winerror.h:7851
  1130.     TYPE_E_QUALIFIEDNAMEDISALLOWED     : constant := 16#80028028#;
  1131.                                                             -- winerror.h:7860
  1132.     TYPE_E_INVALIDSTATE                : constant := 16#80028029#;
  1133.                                                             -- winerror.h:7869
  1134.     TYPE_E_WRONGTYPEKIND               : constant := 16#8002802a#;
  1135.                                                             -- winerror.h:7878
  1136.     TYPE_E_ELEMENTNOTFOUND             : constant := 16#8002802b#;
  1137.                                                             -- winerror.h:7887
  1138.     TYPE_E_AMBIGUOUSNAME               : constant := 16#8002802c#;
  1139.                                                             -- winerror.h:7896
  1140.     TYPE_E_NAMECONFLICT                : constant := 16#8002802d#;
  1141.                                                             -- winerror.h:7905
  1142.     TYPE_E_UNKNOWNLCID                 : constant := 16#8002802e#;
  1143.                                                             -- winerror.h:7914
  1144.     TYPE_E_DLLFUNCTIONNOTFOUND         : constant := 16#8002802f#;
  1145.                                                             -- winerror.h:7923
  1146.     TYPE_E_BADMODULEKIND               : constant := 16#800288bd#;
  1147.                                                             -- winerror.h:7932
  1148.     TYPE_E_SIZETOOBIG                  : constant := 16#800288c5#;
  1149.                                                             -- winerror.h:7941
  1150.     TYPE_E_DUPLICATEID                 : constant := 16#800288c6#;
  1151.                                                             -- winerror.h:7950
  1152.     TYPE_E_INVALIDID                   : constant := 16#800288cf#;
  1153.                                                             -- winerror.h:7959
  1154.     TYPE_E_TYPEMISMATCH                : constant := 16#80028ca0#;
  1155.                                                             -- winerror.h:7968
  1156.     TYPE_E_OUTOFBOUNDS                 : constant := 16#80028ca1#;
  1157.                                                             -- winerror.h:7977
  1158.     TYPE_E_IOERROR                     : constant := 16#80028ca2#;
  1159.                                                             -- winerror.h:7986
  1160.     TYPE_E_CANTCREATETMPFILE           : constant := 16#80028ca3#;
  1161.                                                             -- winerror.h:7995
  1162.     TYPE_E_CANTLOADLIBRARY             : constant := 16#80029c4a#;
  1163.                                                             -- winerror.h:8004
  1164.     TYPE_E_INCONSISTENTPROPFUNCS       : constant := 16#80029c83#;
  1165.                                                             -- winerror.h:8013
  1166.     TYPE_E_CIRCULARTYPE                : constant := 16#80029c84#;
  1167.                                                             -- winerror.h:8022
  1168.     STG_E_INVALIDFUNCTION              : constant := 16#80030001#;
  1169.                                                             -- winerror.h:8034
  1170.     STG_E_FILENOTFOUND                 : constant := 16#80030002#;
  1171.                                                             -- winerror.h:8043
  1172.     STG_E_PATHNOTFOUND                 : constant := 16#80030003#;
  1173.                                                             -- winerror.h:8052
  1174.     STG_E_TOOMANYOPENFILES             : constant := 16#80030004#;
  1175.                                                             -- winerror.h:8061
  1176.     STG_E_ACCESSDENIED                 : constant := 16#80030005#;
  1177.                                                             -- winerror.h:8070
  1178.     STG_E_INVALIDHANDLE                : constant := 16#80030006#;
  1179.                                                             -- winerror.h:8079
  1180.     STG_E_INSUFFICIENTMEMORY           : constant := 16#80030008#;
  1181.                                                             -- winerror.h:8088
  1182.     STG_E_INVALIDPOINTER               : constant := 16#80030009#;
  1183.                                                             -- winerror.h:8097
  1184.     STG_E_NOMOREFILES                  : constant := 16#80030012#;
  1185.                                                             -- winerror.h:8106
  1186.     STG_E_DISKISWRITEPROTECTED         : constant := 16#80030013#;
  1187.                                                             -- winerror.h:8115
  1188.     STG_E_SEEKERROR                    : constant := 16#80030019#;
  1189.                                                             -- winerror.h:8124
  1190.     STG_E_WRITEFAULT                   : constant := 16#8003001d#;
  1191.                                                             -- winerror.h:8133
  1192.     STG_E_READFAULT                    : constant := 16#8003001e#;
  1193.                                                             -- winerror.h:8142
  1194.     STG_E_SHAREVIOLATION               : constant := 16#80030020#;
  1195.                                                             -- winerror.h:8151
  1196.     STG_E_LOCKVIOLATION                : constant := 16#80030021#;
  1197.                                                             -- winerror.h:8160
  1198.     STG_E_FILEALREADYEXISTS            : constant := 16#80030050#;
  1199.                                                             -- winerror.h:8169
  1200.     STG_E_INVALIDPARAMETER             : constant := 16#80030057#;
  1201.                                                             -- winerror.h:8178
  1202.     STG_E_MEDIUMFULL                   : constant := 16#80030070#;
  1203.                                                             -- winerror.h:8187
  1204.     STG_E_ABNORMALAPIEXIT              : constant := 16#800300fa#;
  1205.                                                             -- winerror.h:8196
  1206.     STG_E_INVALIDHEADER                : constant := 16#800300fb#;
  1207.                                                             -- winerror.h:8205
  1208.     STG_E_INVALIDNAME                  : constant := 16#800300fc#;
  1209.                                                             -- winerror.h:8214
  1210.     STG_E_UNKNOWN                      : constant := 16#800300fd#;
  1211.                                                             -- winerror.h:8223
  1212.     STG_E_UNIMPLEMENTEDFUNCTION        : constant := 16#800300fe#;
  1213.                                                             -- winerror.h:8232
  1214.     STG_E_INVALIDFLAG                  : constant := 16#800300ff#;
  1215.                                                             -- winerror.h:8241
  1216.     STG_E_INUSE                        : constant := 16#80030100#;
  1217.                                                             -- winerror.h:8250
  1218.     STG_E_NOTCURRENT                   : constant := 16#80030101#;
  1219.                                                             -- winerror.h:8259
  1220.     STG_E_REVERTED                     : constant := 16#80030102#;
  1221.                                                             -- winerror.h:8268
  1222.     STG_E_CANTSAVE                     : constant := 16#80030103#;
  1223.                                                             -- winerror.h:8277
  1224.     STG_E_OLDFORMAT                    : constant := 16#80030104#;
  1225.                                                             -- winerror.h:8286
  1226.     STG_E_OLDDLL                       : constant := 16#80030105#;
  1227.                                                             -- winerror.h:8295
  1228.     STG_E_SHAREREQUIRED                : constant := 16#80030106#;
  1229.                                                             -- winerror.h:8304
  1230.     STG_E_NOTFILEBASEDSTORAGE          : constant := 16#80030107#;
  1231.                                                             -- winerror.h:8313
  1232.     STG_E_EXTANTMARSHALLINGS           : constant := 16#80030108#;
  1233.                                                             -- winerror.h:8322
  1234.     STG_S_CONVERTED                    : constant := 16#30200#;
  1235.                                                             -- winerror.h:8331
  1236.     RPC_E_CALL_REJECTED                : constant := 16#80010001#;
  1237.                                                             -- winerror.h:8346
  1238.     RPC_E_CALL_CANCELED                : constant := 16#80010002#;
  1239.                                                             -- winerror.h:8355
  1240.     RPC_E_CANTPOST_INSENDCALL          : constant := 16#80010003#;
  1241.                                                             -- winerror.h:8365
  1242.     RPC_E_CANTCALLOUT_INASYNCCALL      : constant := 16#80010004#;
  1243.                                                             -- winerror.h:8375
  1244.     RPC_E_CANTCALLOUT_INEXTERNALCALL   : constant := 16#80010005#;
  1245.                                                             -- winerror.h:8384
  1246.     RPC_E_CONNECTION_TERMINATED        : constant := 16#80010006#;
  1247.                                                             -- winerror.h:8395
  1248.     RPC_E_SERVER_DIED                  : constant := 16#80010007#;
  1249.                                                             -- winerror.h:8406
  1250.     RPC_E_CLIENT_DIED                  : constant := 16#80010008#;
  1251.                                                             -- winerror.h:8416
  1252.     RPC_E_INVALID_DATAPACKET           : constant := 16#80010009#;
  1253.                                                             -- winerror.h:8425
  1254.     RPC_E_CANTTRANSMIT_CALL            : constant := 16#8001000a#;
  1255.                                                             -- winerror.h:8435
  1256.     RPC_E_CLIENT_CANTMARSHAL_DATA      : constant := 16#8001000b#;
  1257.                                                             -- winerror.h:8444
  1258.     RPC_E_CLIENT_CANTUNMARSHAL_DATA    : constant := 16#8001000c#;
  1259.                                                             -- winerror.h:8453
  1260.     RPC_E_SERVER_CANTMARSHAL_DATA      : constant := 16#8001000d#;
  1261.                                                             -- winerror.h:8462
  1262.     RPC_E_SERVER_CANTUNMARSHAL_DATA    : constant := 16#8001000e#;
  1263.                                                             -- winerror.h:8471
  1264.     RPC_E_INVALID_DATA                 : constant := 16#8001000f#;
  1265.                                                             -- winerror.h:8480
  1266.     RPC_E_INVALID_PARAMETER            : constant := 16#80010010#;
  1267.                                                             -- winerror.h:8489
  1268.     RPC_E_CANTCALLOUT_AGAIN            : constant := 16#80010011#;
  1269.                                                             -- winerror.h:8498
  1270.     RPC_E_SERVER_DIED_DNE              : constant := 16#80010012#;
  1271.                                                             -- winerror.h:8508
  1272.     RPC_E_SYS_CALL_FAILED              : constant := 16#80010100#;
  1273.                                                             -- winerror.h:8517
  1274.     RPC_E_OUT_OF_RESOURCES             : constant := 16#80010101#;
  1275.                                                             -- winerror.h:8526
  1276.     RPC_E_ATTEMPTED_MULTITHREAD        : constant := 16#80010102#;
  1277.                                                             -- winerror.h:8535
  1278.     RPC_E_NOT_REGISTERED               : constant := 16#80010103#;
  1279.                                                             -- winerror.h:8544
  1280.     RPC_E_FAULT                        : constant := 16#80010104#;
  1281.                                                             -- winerror.h:8553
  1282.     RPC_E_SERVERFAULT                  : constant := 16#80010105#;
  1283.                                                             -- winerror.h:8562
  1284.     RPC_E_CHANGED_MODE                 : constant := 16#80010106#;
  1285.                                                             -- winerror.h:8571
  1286.     RPC_E_INVALIDMETHOD                : constant := 16#80010107#;
  1287.                                                             -- winerror.h:8580
  1288.     RPC_E_DISCONNECTED                 : constant := 16#80010108#;
  1289.                                                             -- winerror.h:8589
  1290.     RPC_E_RETRY                        : constant := 16#80010109#;
  1291.                                                             -- winerror.h:8598
  1292.     RPC_E_SERVERCALL_RETRYLATER        : constant := 16#8001010a#;
  1293.                                                             -- winerror.h:8607
  1294.     RPC_E_SERVERCALL_REJECTED          : constant := 16#8001010b#;
  1295.                                                             -- winerror.h:8616
  1296.     RPC_E_INVALID_CALLDATA             : constant := 16#8001010c#;
  1297.                                                             -- winerror.h:8625
  1298.     RPC_E_CANTCALLOUT_ININPUTSYNCCALL  : constant := 16#8001010d#;
  1299.                                                             -- winerror.h:8634
  1300.     RPC_E_WRONG_THREAD                 : constant := 16#8001010e#;
  1301.                                                             -- winerror.h:8643
  1302.     RPC_E_THREAD_NOT_INIT              : constant := 16#8001010f#;
  1303.                                                             -- winerror.h:8652
  1304.     RPC_E_UNEXPECTED                   : constant := 16#8001ffff#;
  1305.                                                             -- winerror.h:8661
  1306.  
  1307.     type HRESULT is new LONG;                               -- winerror.h:6015
  1308.  
  1309.     subtype SCODE is HRESULT;                               -- winerror.h:6015
  1310.  
  1311.     function SUCCEEDED(Status: HRESULT)                     -- winerror.h:6061
  1312.         return Standard.Boolean;
  1313.  
  1314.     function FAILED(Status: HRESULT)                        -- winerror.h:6067
  1315.         return Standard.Boolean;
  1316.  
  1317.     function IS_ERROR(Status: HRESULT)                      -- winerror.h:6074
  1318.         return Standard.Boolean 
  1319.         renames FAILED;
  1320.  
  1321.     function HRESULT_CODE(H: HRESULT)                       -- winerror.h:6080
  1322.         return WORD;
  1323.  
  1324.     function SCODE_CODE(H: HRESULT) return WORD             -- winerror.h:6081
  1325.         renames HRESULT_CODE;
  1326.  
  1327.     function HRESULT_FACILITY(H: HRESULT) return WORD;      -- winerror.h:6087
  1328.  
  1329.     function SCODE_FACILITY(H: HRESULT) return WORD         -- winerror.h:6088
  1330.         renames HRESULT_FACILITY;
  1331.  
  1332.     function HRESULT_SEVERITY(H: HRESULT) return WORD;      -- winerror.h:6094
  1333.  
  1334.     function SCODE_SEVERITY(H: HRESULT) return WORD         -- winerror.h:6095
  1335.         renames HRESULT_SEVERITY;
  1336.  
  1337.     function MAKE_HRESULT(sev,fac,code: WORD)               -- winerror.h:6101
  1338.         return HRESULT;
  1339.  
  1340.     function MAKE_SCODE(sev,fac,code: WORD)                 -- winerror.h:6103
  1341.         return HRESULT
  1342.         renames MAKE_HRESULT;
  1343.  
  1344.     function HRESULT_FROM_WIN32(X: DWORD)                   -- winerror.h:6114
  1345.         return HRESULT;
  1346.  
  1347.     function HRESULT_FROM_NT(X: DWORD) return HRESULT;      -- winerror.h:6120
  1348.  
  1349. private
  1350.  
  1351.     pragma Inline(SUCCEEDED);
  1352.     pragma Inline(FAILED);
  1353.     pragma Inline(HRESULT_CODE);
  1354.     pragma Inline(HRESULT_FACILITY);
  1355.     pragma Inline(HRESULT_SEVERITY);
  1356.     pragma Inline(MAKE_HRESULT);
  1357.     pragma Inline(HRESULT_FROM_WIN32);
  1358.     pragma Inline(HRESULT_FROM_NT);
  1359.  
  1360. -------------------------------------------------------------------------------
  1361. --
  1362. -- THIS FILE AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED WITHOUT CHARGE
  1363. -- "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
  1364. -- BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
  1365. -- FITNESS FOR A PARTICULAR PURPOSE.  The user assumes the entire risk as to
  1366. -- the accuracy and the use of this file.  This file may be used, copied,
  1367. -- modified and distributed only by licensees of Microsoft Corporation's
  1368. -- WIN32 Software Development Kit in accordance with the terms of the 
  1369. -- licensee's End-User License Agreement for Microsoft Software for the
  1370. -- WIN32 Development Kit.
  1371. --
  1372. -- Copyright (c) Intermetrics, Inc. 1995
  1373. -- Portions (c) 1985-1994 Microsoft Corporation with permission.
  1374. -- Microsoft is a registered trademark and Windows and Windows NT are
  1375. -- trademarks of Microsoft Corporation.
  1376. --
  1377. -------------------------------------------------------------------------------
  1378.  
  1379. end Win32.Winerror;
  1380.