Ignore:
Timestamp:
Jan 16, 2003, 4:20:54 PM (23 years ago)
Author:
sandervl
Message:

PF: Changes for building ntdll with GCC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winerror.h

    r9399 r9683  
    1515#define FACILITY_INTERNET  12
    1616
    17 #define SEVERITY_ERROR          1
    18 
     17#define SEVERITY_SUCCESS    0
     18#define SEVERITY_ERROR      1
    1919
    2020#define MAKE_HRESULT(sev,fac,code) \
     
    3636 * and replaced.
    3737 */
    38 #define ERROR_UNKNOWN               99999
    39 
    40 #define SEVERITY_SUCCESS    0
    41 #define SEVERITY_ERROR      1
    42 
    43 #define NO_ERROR                    0
    44 #define ERROR_SUCCESS               0
    45 #define ERROR_INVALID_FUNCTION      1
    46 #define ERROR_FILE_NOT_FOUND        2
    47 #define ERROR_PATH_NOT_FOUND        3
    48 #define ERROR_TOO_MANY_OPEN_FILES   4
    49 #define ERROR_ACCESS_DENIED         5
    50 #define ERROR_INVALID_HANDLE        6
    51 #define ERROR_ARENA_TRASHED         7
    52 #define ERROR_NOT_ENOUGH_MEMORY     8
    53 #define ERROR_INVALID_BLOCK         9
    54 #define ERROR_BAD_ENVIRONMENT       10
    55 #define ERROR_BAD_FORMAT            11
    56 #define ERROR_INVALID_ACCESS        12
    57 #define ERROR_INVALID_DATA          13
    58 #define ERROR_OUTOFMEMORY           14
    59 #define ERROR_INVALID_DRIVE         15
    60 #define ERROR_CURRENT_DIRECTORY     16
    61 #define ERROR_NOT_SAME_DEVICE       17
    62 #define ERROR_NO_MORE_FILES         18
    63 #define ERROR_WRITE_PROTECT         19
    64 #define ERROR_BAD_UNIT              20
    65 #define ERROR_NOT_READY             21
    66 #define ERROR_BAD_COMMAND           22
    67 #define ERROR_CRC                   23
    68 #define ERROR_BAD_LENGTH            24
    69 #define ERROR_SEEK                  25
    70 #define ERROR_NOT_DOS_DISK          26
    71 #define ERROR_SECTOR_NOT_FOUND      27
    72 #define ERROR_OUT_OF_PAPER          28
    73 #define ERROR_WRITE_FAULT           29
    74 #define ERROR_READ_FAULT            30
    75 #define ERROR_GEN_FAILURE           31
    76 #define ERROR_SHARING_VIOLATION     32
    77 #define ERROR_LOCK_VIOLATION        33
    78 #define ERROR_WRONG_DISK            34
    79 #define ERROR_SHARING_BUFFER_EXCEEDED 36
    80 #define ERROR_HANDLE_EOF            38
    81 #define ERROR_HANDLE_DISK_FULL      39
    82 #define ERROR_NOT_SUPPORTED         50
    83 #define ERROR_REM_NOT_LIST          51
    84 #define ERROR_DUP_NAME              52
    85 #define ERROR_BAD_NETPATH           53
    86 #define ERROR_NETWORK_BUSY          54
    87 #define ERROR_DEV_NOT_EXIST         55
    88 #define ERROR_TOO_MANY_CMDS         56
    89 #define ERROR_ADAP_HDW_ERR          57
    90 #define ERROR_BAD_NET_RESP          58
    91 #define ERROR_UNEXP_NET_ERR         59
    92 #define ERROR_BAD_REM_ADAP          60
    93 #define ERROR_PRINTQ_FULL           61
    94 #define ERROR_NO_SPOOL_SPACE        62
    95 #define ERROR_PRINT_CANCELLED       63
    96 #define ERROR_NETNAME_DELETED       64
    97 #define ERROR_NETWORK_ACCESS_DENIED 65
    98 #define ERROR_BAD_DEV_TYPE          66
    99 #define ERROR_BAD_NET_NAME          67
    100 #define ERROR_TOO_MANY_NAMES        68
    101 #define ERROR_TOO_MANY_SESS         69
    102 #define ERROR_SHARING_PAUSED        70
    103 #define ERROR_REQ_NOT_ACCEP         71
    104 #define ERROR_REDIR_PAUSED          72
    105 #define ERROR_FILE_EXISTS           80
    106 #define ERROR_CANNOT_MAKE           82
    107 #define ERROR_FAIL_I24              83
    108 #define ERROR_OUT_OF_STRUCTURES     84
    109 #define ERROR_ALREADY_ASSIGNED      85
    110 #define ERROR_INVALID_PASSWORD      86
    111 #define ERROR_INVALID_PARAMETER     87
    112 #define ERROR_NET_WRITE_FAULT       88
    113 #define ERROR_NO_PROC_SLOTS         89
    114 #define ERROR_TOO_MANY_SEMAPHORES   100
    115 #define ERROR_EXCL_SEM_ALREADY_OWNED 101
    116 #define ERROR_SEM_IS_SET            102
    117 #define ERROR_TOO_MANY_SEM_REQUESTS 103
    118 #define ERROR_INVALID_AT_INTERRUPT_TIME 104
    119 #define ERROR_SEM_OWNER_DIED        105
    120 #define ERROR_SEM_USER_LIMIT        106
    121 #define ERROR_DISK_CHANGE           107
    122 #define ERROR_DRIVE_LOCKED          108
    123 #define ERROR_BROKEN_PIPE           109
    124 #define ERROR_OPEN_FAILED           110
    125 #define ERROR_BUFFER_OVERFLOW       111
    126 #define ERROR_DISK_FULL             112
    127 #define ERROR_NO_MORE_SEARCH_HANDLES 113
    128 #define ERROR_INVALID_TARGET_HANDLE 114
    129 #define ERROR_INVALID_CATEGORY      117
    130 #define ERROR_INVALID_VERIFY_SWITCH 118
    131 #define ERROR_BAD_DRIVER_LEVEL      119
    132 #define ERROR_CALL_NOT_IMPLEMENTED  120
    133 #define ERROR_SEM_TIMEOUT           121
    134 #define ERROR_INSUFFICIENT_BUFFER   122
    135 #define ERROR_INVALID_NAME          123
    136 #define ERROR_INVALID_LEVEL         124
    137 #define ERROR_NO_VOLUME_LABEL       125
    138 #define ERROR_MOD_NOT_FOUND         126
    139 #define ERROR_PROC_NOT_FOUND        127
    140 #define ERROR_WAIT_NO_CHILDREN      128
    141 #define ERROR_CHILD_NOT_COMPLETE    129
    142 #define ERROR_DIRECT_ACCESS_HANDLE  130
    143 #define ERROR_NEGATIVE_SEEK         131
    144 #define ERROR_SEEK_ON_DEVICE        132
    145 #define ERROR_IS_JOIN_TARGET        133
    146 #define ERROR_IS_JOINED             134
    147 #define ERROR_IS_SUBSTED            135
    148 #define ERROR_NOT_JOINED            136
    149 #define ERROR_NOT_SUBSTED           137
    150 #define ERROR_JOIN_TO_JOIN          138
    151 #define ERROR_SUBST_TO_SUBST        139
    152 #define ERROR_JOIN_TO_SUBST         140
    153 #define ERROR_SUBST_TO_JOIN         141
    154 #define ERROR_BUSY_DRIVE            142
    155 #define ERROR_SAME_DRIVE            143
    156 #define ERROR_DIR_NOT_ROOT          144
    157 #define ERROR_DIR_NOT_EMPTY         145
    158 #define ERROR_IS_SUBST_PATH         146
    159 #define ERROR_IS_JOIN_PATH          147
    160 #define ERROR_PATH_BUSY             148
    161 #define ERROR_IS_SUBST_TARGET       149
    162 #define ERROR_SYSTEM_TRACE          150
    163 #define ERROR_INVALID_EVENT_COUNT   151
    164 #define ERROR_TOO_MANY_MUXWAITERS   152
    165 #define ERROR_INVALID_LIST_FORMAT   153
    166 #define ERROR_LABEL_TOO_LONG        154
    167 #define ERROR_TOO_MANY_TCBS         155
    168 #define ERROR_SIGNAL_REFUSED        156
    169 #define ERROR_DISCARDED             157
    170 #define ERROR_NOT_LOCKED            158
    171 #define ERROR_BAD_THREADID_ADDR     159
    172 #define ERROR_BAD_ARGUMENTS         160
    173 #define ERROR_BAD_PATHNAME          161
    174 #define ERROR_SIGNAL_PENDING        162
    175 #define ERROR_MAX_THRDS_REACHED     164
    176 #define ERROR_LOCK_FAILED           167
    177 #define ERROR_BUSY                  170
    178 #define ERROR_CANCEL_VIOLATION      173
    179 #define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174
    180 #define ERROR_INVALID_SEGMENT_NUMBER 180
    181 #define ERROR_INVALID_ORDINAL       182
    182 #define ERROR_ALREADY_EXISTS        183
    183 #define ERROR_INVALID_FLAG_NUMBER   186
    184 #define ERROR_SEM_NOT_FOUND         187
    185 #define ERROR_INVALID_STARTING_CODESEG 188
    186 #define ERROR_INVALID_STACKSEG      189
    187 #define ERROR_INVALID_MODULETYPE    190
    188 #define ERROR_INVALID_EXE_SIGNATURE 191
    189 #define ERROR_EXE_MARKED_INVALID    192
    190 #define ERROR_BAD_EXE_FORMAT        193
    191 #define ERROR_ITERATED_DATA_EXCEEDS_64k 194
    192 #define ERROR_INVALID_MINALLOCSIZE  195
    193 #define ERROR_DYNLINK_FROM_INVALID_RING 196
    194 #define ERROR_IOPL_NOT_ENABLED      197
    195 #define ERROR_INVALID_SEGDPL        198
    196 #define ERROR_AUTODATASEG_EXCEEDS_64k 199
    197 #define ERROR_RING2SEG_MUST_BE_MOVABLE 200
    198 #define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 201
    199 #define ERROR_INFLOOP_IN_RELOC_CHAIN 202
    200 #define ERROR_ENVVAR_NOT_FOUND      203
    201 #define ERROR_NO_SIGNAL_SENT        205
    202 #define ERROR_FILENAME_EXCED_RANGE  206
    203 #define ERROR_RING2_STACK_IN_USE    207
    204 #define ERROR_META_EXPANSION_TOO_LONG 208
    205 #define ERROR_INVALID_SIGNAL_NUMBER 209
    206 #define ERROR_THREAD_1_INACTIVE     210
    207 #define ERROR_LOCKED                212
    208 #define ERROR_TOO_MANY_MODULES      214
    209 #define ERROR_NESTING_NOT_ALLOWED   215
    210 #define ERROR_EXE_MACHINE_TYPE_MISMATCH 216
    211 #define ERROR_BAD_PIPE              230
    212 #define ERROR_PIPE_BUSY             231
    213 #define ERROR_NO_DATA               232
    214 #define ERROR_PIPE_NOT_CONNECTED    233
    215 #define ERROR_MORE_DATA             234
    216 #define ERROR_VC_DISCONNECTED       240
    217 #define ERROR_INVALID_EA_NAME       254
    218 #define ERROR_EA_LIST_INCONSISTENT  255
    219 #define ERROR_NO_MORE_ITEMS         259
    220 #define ERROR_CANNOT_COPY           266
    221 #define ERROR_DIRECTORY             267
    222 #define ERROR_EAS_DIDNT_FIT         275
    223 #define ERROR_EA_FILE_CORRUPT       276
    224 #define ERROR_EA_TABLE_FULL         277
    225 #define ERROR_INVALID_EA_HANDLE     278
    226 #define ERROR_EAS_NOT_SUPPORTED     282
    227 #define ERROR_NOT_OWNER             288
    228 #define ERROR_TOO_MANY_POSTS        298
    229 #define ERROR_PARTIAL_COPY          299
    230 #define ERROR_OPLOCK_NOT_GRANTED    300
    231 #define ERROR_INVALID_OPLOCK_PROTOCOL 301
    232 #define ERROR_MR_MID_NOT_FOUND      317
    233 #define ERROR_INVALID_ADDRESS       487
    234 #define ERROR_ARITHMETIC_OVERFLOW   534
    235 #define ERROR_PIPE_CONNECTED        535
    236 #define ERROR_PIPE_LISTENING        536
    237 #define ERROR_EA_ACCESS_DENIED      994
    238 #define ERROR_OPERATION_ABORTED     995
    239 #define ERROR_IO_INCOMPLETE         996
    240 #define ERROR_IO_PENDING            997
    241 #define ERROR_NOACCESS              998
    242 #define ERROR_SWAPERROR             999
    243 
    244 #define ERROR_STACK_OVERFLOW                  1001L
    245 #define ERROR_INVALID_MESSAGE                 1002L
    246 #define ERROR_CAN_NOT_COMPLETE                1003L
    247 #define ERROR_INVALID_FLAGS                   1004L
    248 #define ERROR_UNRECOGNIZED_VOLUME             1005L
    249 #define ERROR_FILE_INVALID                    1006L
    250 #define ERROR_FULLSCREEN_MODE                 1007L
    251 #define ERROR_NO_TOKEN                        1008L
    252 #define ERROR_BADDB                           1009L
    253 #define ERROR_BADKEY                          1010L
    254 #define ERROR_CANTOPEN                        1011L
    255 #define ERROR_CANTREAD                        1012L
    256 #define ERROR_CANTWRITE                       1013L
    257 #define ERROR_REGISTRY_RECOVERED              1014L
    258 #define ERROR_REGISTRY_CORRUPT                1015L
    259 #define ERROR_REGISTRY_IO_FAILED              1016L
    260 #define ERROR_NOT_REGISTRY_FILE               1017L
    261 #define ERROR_KEY_DELETED                     1018L
    262 #define ERROR_NO_LOG_SPACE                    1019L
    263 #define ERROR_KEY_HAS_CHILDREN                1020L
    264 #define ERROR_CHILD_MUST_BE_VOLATILE          1021L
    265 #define ERROR_NOTIFY_ENUM_DIR                 1022L
    266 #define ERROR_DEPENDENT_SERVICES_RUNNING      1051L
    267 #define ERROR_INVALID_SERVICE_CONTROL         1052L
    268 #define ERROR_SERVICE_REQUEST_TIMEOUT         1053L
    269 #define ERROR_SERVICE_NO_THREAD               1054L
    270 #define ERROR_SERVICE_DATABASE_LOCKED         1055L
    271 #define ERROR_SERVICE_ALREADY_RUNNING         1056L
    272 #define ERROR_INVALID_SERVICE_ACCOUNT         1057L
    273 #define ERROR_SERVICE_DISABLED                1058L
    274 #define ERROR_CIRCULAR_DEPENDENCY             1059L
    275 #define ERROR_SERVICE_DOES_NOT_EXIST          1060L
    276 #define ERROR_SERVICE_CANNOT_ACCEPT_CTRL      1061L
    277 #define ERROR_SERVICE_NOT_ACTIVE              1062L
    278 #define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L
    279 #define ERROR_EXCEPTION_IN_SERVICE            1064L
    280 #define ERROR_DATABASE_DOES_NOT_EXIST         1065L
    281 #define ERROR_SERVICE_SPECIFIC_ERROR          1066L
    282 #define ERROR_PROCESS_ABORTED                 1067L
    283 #define ERROR_SERVICE_DEPENDENCY_FAIL         1068L
    284 #define ERROR_SERVICE_LOGON_FAILED            1069L
    285 #define ERROR_SERVICE_START_HANG              1070L
    286 #define ERROR_INVALID_SERVICE_LOCK            1071L
    287 #define ERROR_SERVICE_MARKED_FOR_DELETE       1072L
    288 #define ERROR_SERVICE_EXISTS                  1073L
    289 #define ERROR_ALREADY_RUNNING_LKG             1074L
    290 #define ERROR_SERVICE_DEPENDENCY_DELETED      1075L
    291 #define ERROR_BOOT_ALREADY_ACCEPTED           1076L
    292 #define ERROR_SERVICE_NEVER_STARTED           1077L
    293 #define ERROR_DUPLICATE_SERVICE_NAME          1078L
    294 #define ERROR_END_OF_MEDIA                    1100L
    295 #define ERROR_FILEMARK_DETECTED               1101L
    296 #define ERROR_BEGINNING_OF_MEDIA              1102L
    297 #define ERROR_SETMARK_DETECTED                1103L
    298 #define ERROR_NO_DATA_DETECTED                1104L
    299 #define ERROR_PARTITION_FAILURE               1105L
    300 #define ERROR_INVALID_BLOCK_LENGTH            1106L
    301 #define ERROR_DEVICE_NOT_PARTITIONED          1107L
    302 #define ERROR_UNABLE_TO_LOCK_MEDIA            1108L
    303 #define ERROR_UNABLE_TO_UNLOAD_MEDIA          1109L
    304 #define ERROR_MEDIA_CHANGED                   1110L
    305 #define ERROR_BUS_RESET                       1111L
    306 #define ERROR_NO_MEDIA_IN_DRIVE               1112L
    307 #define ERROR_NO_UNICODE_TRANSLATION          1113L
    308 #define ERROR_DLL_INIT_FAILED                 1114L
    309 #define ERROR_SHUTDOWN_IN_PROGRESS            1115L
    310 #define ERROR_NO_SHUTDOWN_IN_PROGRESS         1116L
    311 #define ERROR_IO_DEVICE                       1117L
    312 #define ERROR_SERIAL_NO_DEVICE                1118L
    313 #define ERROR_IRQ_BUSY                        1119L
    314 #define ERROR_MORE_WRITES                     1120L
    315 #define ERROR_COUNTER_TIMEOUT                 1121L
    316 #define ERROR_FLOPPY_ID_MARK_NOT_FOUND        1122L
    317 #define ERROR_FLOPPY_WRONG_CYLINDER           1123L
    318 #define ERROR_FLOPPY_UNKNOWN_ERROR            1124L
    319 #define ERROR_FLOPPY_BAD_REGISTERS            1125L
    320 #define ERROR_DISK_RECALIBRATE_FAILED         1126L
    321 #define ERROR_DISK_OPERATION_FAILED           1127L
    322 #define ERROR_DISK_RESET_FAILED               1128L
    323 #define ERROR_EOM_OVERFLOW                    1129L
    324 #define ERROR_NOT_ENOUGH_SERVER_MEMORY        1130L
    325 #define ERROR_POSSIBLE_DEADLOCK               1131L
    326 #define ERROR_MAPPED_ALIGNMENT                1132L
     38
     39#define ERROR_UNKNOWN                                      99999
     40
     41#define NO_ERROR                                           0
     42#define ERROR_SUCCESS                                      0
     43#define ERROR_INVALID_FUNCTION                             1
     44#define ERROR_FILE_NOT_FOUND                               2
     45#define ERROR_PATH_NOT_FOUND                               3
     46#define ERROR_TOO_MANY_OPEN_FILES                          4
     47#define ERROR_ACCESS_DENIED                                5
     48#define ERROR_INVALID_HANDLE                               6
     49#define ERROR_ARENA_TRASHED                                7
     50#define ERROR_NOT_ENOUGH_MEMORY                            8
     51#define ERROR_INVALID_BLOCK                                9
     52#define ERROR_BAD_ENVIRONMENT                              10
     53#define ERROR_BAD_FORMAT                                   11
     54#define ERROR_INVALID_ACCESS                               12
     55#define ERROR_INVALID_DATA                                 13
     56#define ERROR_OUTOFMEMORY                                  14
     57#define ERROR_INVALID_DRIVE                                15
     58#define ERROR_CURRENT_DIRECTORY                            16
     59#define ERROR_NOT_SAME_DEVICE                              17
     60#define ERROR_NO_MORE_FILES                                18
     61#define ERROR_WRITE_PROTECT                                19
     62#define ERROR_BAD_UNIT                                     20
     63#define ERROR_NOT_READY                                    21
     64#define ERROR_BAD_COMMAND                                  22
     65#define ERROR_CRC                                          23
     66#define ERROR_BAD_LENGTH                                   24
     67#define ERROR_SEEK                                         25
     68#define ERROR_NOT_DOS_DISK                                 26
     69#define ERROR_SECTOR_NOT_FOUND                             27
     70#define ERROR_OUT_OF_PAPER                                 28
     71#define ERROR_WRITE_FAULT                                  29
     72#define ERROR_READ_FAULT                                   30
     73#define ERROR_GEN_FAILURE                                  31
     74#define ERROR_SHARING_VIOLATION                            32
     75#define ERROR_LOCK_VIOLATION                               33
     76#define ERROR_WRONG_DISK                                   34
     77/* FIXME: 35 gets returned for some unsuccessful DeviceIoControl calls */
     78#define ERROR_UNKNOWN_NAME_01                              35
     79#define ERROR_SHARING_BUFFER_EXCEEDED                      36
     80#define ERROR_HANDLE_EOF                                   38
     81#define ERROR_HANDLE_DISK_FULL                             39
     82#define ERROR_NOT_SUPPORTED                                50
     83#define ERROR_REM_NOT_LIST                                 51
     84#define ERROR_DUP_NAME                                     52
     85#define ERROR_BAD_NETPATH                                  53
     86#define ERROR_NETWORK_BUSY                                 54
     87#define ERROR_DEV_NOT_EXIST                                55
     88#define ERROR_TOO_MANY_CMDS                                56
     89#define ERROR_ADAP_HDW_ERR                                 57
     90#define ERROR_BAD_NET_RESP                                 58
     91#define ERROR_UNEXP_NET_ERR                                59
     92#define ERROR_BAD_REM_ADAP                                 60
     93#define ERROR_PRINTQ_FULL                                  61
     94#define ERROR_NO_SPOOL_SPACE                               62
     95#define ERROR_PRINT_CANCELLED                              63
     96#define ERROR_NETNAME_DELETED                              64
     97#define ERROR_NETWORK_ACCESS_DENIED                        65
     98#define ERROR_BAD_DEV_TYPE                                 66
     99#define ERROR_BAD_NET_NAME                                 67
     100#define ERROR_TOO_MANY_NAMES                               68
     101#define ERROR_TOO_MANY_SESS                                69
     102#define ERROR_SHARING_PAUSED                               70
     103#define ERROR_REQ_NOT_ACCEP                                71
     104#define ERROR_REDIR_PAUSED                                 72
     105#define ERROR_FILE_EXISTS                                  80
     106#define ERROR_CANNOT_MAKE                                  82
     107#define ERROR_FAIL_I24                                     83
     108#define ERROR_OUT_OF_STRUCTURES                            84
     109#define ERROR_ALREADY_ASSIGNED                             85
     110#define ERROR_INVALID_PASSWORD                             86
     111#define ERROR_INVALID_PARAMETER                            87
     112#define ERROR_NET_WRITE_FAULT                              88
     113#define ERROR_NO_PROC_SLOTS                                89
     114#define ERROR_TOO_MANY_SEMAPHORES                          100
     115#define ERROR_EXCL_SEM_ALREADY_OWNED                       101
     116#define ERROR_SEM_IS_SET                                   102
     117#define ERROR_TOO_MANY_SEM_REQUESTS                        103
     118#define ERROR_INVALID_AT_INTERRUPT_TIME                    104
     119#define ERROR_SEM_OWNER_DIED                               105
     120#define ERROR_SEM_USER_LIMIT                               106
     121#define ERROR_DISK_CHANGE                                  107
     122#define ERROR_DRIVE_LOCKED                                 108
     123#define ERROR_BROKEN_PIPE                                  109
     124#define ERROR_OPEN_FAILED                                  110
     125#define ERROR_BUFFER_OVERFLOW                              111
     126#define ERROR_DISK_FULL                                    112
     127#define ERROR_NO_MORE_SEARCH_HANDLES                       113
     128#define ERROR_INVALID_TARGET_HANDLE                        114
     129#define ERROR_INVALID_CATEGORY                             117
     130#define ERROR_INVALID_VERIFY_SWITCH                        118
     131#define ERROR_BAD_DRIVER_LEVEL                             119
     132#define ERROR_CALL_NOT_IMPLEMENTED                         120
     133#define ERROR_SEM_TIMEOUT                                  121
     134#define ERROR_INSUFFICIENT_BUFFER                          122
     135#define ERROR_INVALID_NAME                                 123
     136#define ERROR_INVALID_LEVEL                                124
     137#define ERROR_NO_VOLUME_LABEL                              125
     138#define ERROR_MOD_NOT_FOUND                                126
     139#define ERROR_PROC_NOT_FOUND                               127
     140#define ERROR_WAIT_NO_CHILDREN                             128
     141#define ERROR_CHILD_NOT_COMPLETE                           129
     142#define ERROR_DIRECT_ACCESS_HANDLE                         130
     143#define ERROR_NEGATIVE_SEEK                                131
     144#define ERROR_SEEK_ON_DEVICE                               132
     145#define ERROR_IS_JOIN_TARGET                               133
     146#define ERROR_IS_JOINED                                    134
     147#define ERROR_IS_SUBSTED                                   135
     148#define ERROR_NOT_JOINED                                   136
     149#define ERROR_NOT_SUBSTED                                  137
     150#define ERROR_JOIN_TO_JOIN                                 138
     151#define ERROR_SUBST_TO_SUBST                               139
     152#define ERROR_JOIN_TO_SUBST                                140
     153#define ERROR_SUBST_TO_JOIN                                141
     154#define ERROR_BUSY_DRIVE                                   142
     155#define ERROR_SAME_DRIVE                                   143
     156#define ERROR_DIR_NOT_ROOT                                 144
     157#define ERROR_DIR_NOT_EMPTY                                145
     158#define ERROR_IS_SUBST_PATH                                146
     159#define ERROR_IS_JOIN_PATH                                 147
     160#define ERROR_PATH_BUSY                                    148
     161#define ERROR_IS_SUBST_TARGET                              149
     162#define ERROR_SYSTEM_TRACE                                 150
     163#define ERROR_INVALID_EVENT_COUNT                          151
     164#define ERROR_TOO_MANY_MUXWAITERS                          152
     165#define ERROR_INVALID_LIST_FORMAT                          153
     166#define ERROR_LABEL_TOO_LONG                               154
     167#define ERROR_TOO_MANY_TCBS                                155
     168#define ERROR_SIGNAL_REFUSED                               156
     169#define ERROR_DISCARDED                                    157
     170#define ERROR_NOT_LOCKED                                   158
     171#define ERROR_BAD_THREADID_ADDR                            159
     172#define ERROR_BAD_ARGUMENTS                                160
     173#define ERROR_BAD_PATHNAME                                 161
     174#define ERROR_SIGNAL_PENDING                               162
     175#define ERROR_MAX_THRDS_REACHED                            164
     176#define ERROR_LOCK_FAILED                                  167
     177#define ERROR_BUSY                                         170
     178#define ERROR_CANCEL_VIOLATION                             173
     179#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED                   174
     180#define ERROR_INVALID_SEGMENT_NUMBER                       180
     181#define ERROR_INVALID_ORDINAL                              182
     182#define ERROR_ALREADY_EXISTS                               183
     183#define ERROR_INVALID_FLAG_NUMBER                          186
     184#define ERROR_SEM_NOT_FOUND                                187
     185#define ERROR_INVALID_STARTING_CODESEG                     188
     186#define ERROR_INVALID_STACKSEG                             189
     187#define ERROR_INVALID_MODULETYPE                           190
     188#define ERROR_INVALID_EXE_SIGNATURE                        191
     189#define ERROR_EXE_MARKED_INVALID                           192
     190#define ERROR_BAD_EXE_FORMAT                               193
     191#define ERROR_ITERATED_DATA_EXCEEDS_64k                    194
     192#define ERROR_INVALID_MINALLOCSIZE                         195
     193#define ERROR_DYNLINK_FROM_INVALID_RING                    196
     194#define ERROR_IOPL_NOT_ENABLED                             197
     195#define ERROR_INVALID_SEGDPL                               198
     196#define ERROR_AUTODATASEG_EXCEEDS_64k                      199
     197#define ERROR_RING2SEG_MUST_BE_MOVABLE                     200
     198#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM                     201
     199#define ERROR_INFLOOP_IN_RELOC_CHAIN                       202
     200#define ERROR_ENVVAR_NOT_FOUND                             203
     201#define ERROR_NO_SIGNAL_SENT                               205
     202#define ERROR_FILENAME_EXCED_RANGE                         206
     203#define ERROR_RING2_STACK_IN_USE                           207
     204#define ERROR_META_EXPANSION_TOO_LONG                      208
     205#define ERROR_INVALID_SIGNAL_NUMBER                        209
     206#define ERROR_THREAD_1_INACTIVE                            210
     207#define ERROR_LOCKED                                       212
     208#define ERROR_TOO_MANY_MODULES                             214
     209#define ERROR_NESTING_NOT_ALLOWED                          215
     210#define ERROR_EXE_MACHINE_TYPE_MISMATCH                    216
     211#define ERROR_BAD_PIPE                                     230
     212#define ERROR_PIPE_BUSY                                    231
     213#define ERROR_NO_DATA                                      232
     214#define ERROR_PIPE_NOT_CONNECTED                           233
     215#define ERROR_MORE_DATA                                    234
     216#define ERROR_VC_DISCONNECTED                              240
     217#define ERROR_INVALID_EA_NAME                              254
     218#define ERROR_EA_LIST_INCONSISTENT                         255
     219#define ERROR_NO_MORE_ITEMS                                259
     220#define ERROR_CANNOT_COPY                                  266
     221#define ERROR_DIRECTORY                                    267
     222#define ERROR_EAS_DIDNT_FIT                                275
     223#define ERROR_EA_FILE_CORRUPT                              276
     224#define ERROR_EA_TABLE_FULL                                277
     225#define ERROR_INVALID_EA_HANDLE                            278
     226#define ERROR_EAS_NOT_SUPPORTED                            282
     227#define ERROR_NOT_OWNER                                    288
     228#define ERROR_TOO_MANY_POSTS                               298
     229#define ERROR_PARTIAL_COPY                                 299
     230#define ERROR_OPLOCK_NOT_GRANTED                           300
     231#define ERROR_INVALID_OPLOCK_PROTOCOL                      301
     232#define ERROR_DISK_TOO_FRAGMENTED                          302
     233#define ERROR_MR_MID_NOT_FOUND                             317
     234#define ERROR_INVALID_ADDRESS                              487
     235#define ERROR_ARITHMETIC_OVERFLOW                          534
     236#define ERROR_PIPE_CONNECTED                               535
     237#define ERROR_PIPE_LISTENING                               536
     238#define ERROR_EA_ACCESS_DENIED                             994
     239#define ERROR_OPERATION_ABORTED                            995
     240#define ERROR_IO_INCOMPLETE                                996
     241#define ERROR_IO_PENDING                                   997
     242#define ERROR_NOACCESS                                     998
     243#define ERROR_SWAPERROR                                    999
     244#define ERROR_STACK_OVERFLOW                               1001
     245#define ERROR_INVALID_MESSAGE                              1002
     246#define ERROR_CAN_NOT_COMPLETE                             1003
     247#define ERROR_INVALID_FLAGS                                1004
     248#define ERROR_UNRECOGNIZED_VOLUME                          1005
     249#define ERROR_FILE_INVALID                                 1006
     250#define ERROR_FULLSCREEN_MODE                              1007
     251#define ERROR_NO_TOKEN                                     1008
     252#define ERROR_BADDB                                        1009
     253#define ERROR_BADKEY                                       1010
     254#define ERROR_CANTOPEN                                     1011
     255#define ERROR_CANTREAD                                     1012
     256#define ERROR_CANTWRITE                                    1013
     257#define ERROR_REGISTRY_RECOVERED                           1014
     258#define ERROR_REGISTRY_CORRUPT                             1015
     259#define ERROR_REGISTRY_IO_FAILED                           1016
     260#define ERROR_NOT_REGISTRY_FILE                            1017
     261#define ERROR_KEY_DELETED                                  1018
     262#define ERROR_NO_LOG_SPACE                                 1019
     263#define ERROR_KEY_HAS_CHILDREN                             1020
     264#define ERROR_CHILD_MUST_BE_VOLATILE                       1021
     265#define ERROR_NOTIFY_ENUM_DIR                              1022
     266#define ERROR_DEPENDENT_SERVICES_RUNNING                   1051
     267#define ERROR_INVALID_SERVICE_CONTROL                      1052
     268#define ERROR_SERVICE_REQUEST_TIMEOUT                      1053
     269#define ERROR_SERVICE_NO_THREAD                            1054
     270#define ERROR_SERVICE_DATABASE_LOCKED                      1055
     271#define ERROR_SERVICE_ALREADY_RUNNING                      1056
     272#define ERROR_INVALID_SERVICE_ACCOUNT                      1057
     273#define ERROR_SERVICE_DISABLED                             1058
     274#define ERROR_CIRCULAR_DEPENDENCY                          1059
     275#define ERROR_SERVICE_DOES_NOT_EXIST                       1060
     276#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL                   1061
     277#define ERROR_SERVICE_NOT_ACTIVE                           1062
     278#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT            1063
     279#define ERROR_EXCEPTION_IN_SERVICE                         1064
     280#define ERROR_DATABASE_DOES_NOT_EXIST                      1065
     281#define ERROR_SERVICE_SPECIFIC_ERROR                       1066
     282#define ERROR_PROCESS_ABORTED                              1067
     283#define ERROR_SERVICE_DEPENDENCY_FAIL                      1068
     284#define ERROR_SERVICE_LOGON_FAILED                         1069
     285#define ERROR_SERVICE_START_HANG                           1070
     286#define ERROR_INVALID_SERVICE_LOCK                         1071
     287#define ERROR_SERVICE_MARKED_FOR_DELETE                    1072
     288#define ERROR_SERVICE_EXISTS                               1073
     289#define ERROR_ALREADY_RUNNING_LKG                          1074
     290#define ERROR_SERVICE_DEPENDENCY_DELETED                   1075
     291#define ERROR_BOOT_ALREADY_ACCEPTED                        1076
     292#define ERROR_SERVICE_NEVER_STARTED                        1077
     293#define ERROR_DUPLICATE_SERVICE_NAME                       1078
     294#define ERROR_DIFFERENT_SERVICE_ACCOUNT                    1079
     295#define ERROR_CANNOT_DETECT_DRIVER_FAILURE                 1080
     296#define ERROR_CANNOT_DETECT_PROCESS_ABORT                  1081
     297#define ERROR_NO_RECOVERY_PROGRAM                          1082
     298#define ERROR_SERVICE_NOT_IN_EXE                           1083
     299#define ERROR_END_OF_MEDIA                                 1100
     300#define ERROR_FILEMARK_DETECTED                            1101
     301#define ERROR_BEGINNING_OF_MEDIA                           1102
     302#define ERROR_SETMARK_DETECTED                             1103
     303#define ERROR_NO_DATA_DETECTED                             1104
     304#define ERROR_PARTITION_FAILURE                            1105
     305#define ERROR_INVALID_BLOCK_LENGTH                         1106
     306#define ERROR_DEVICE_NOT_PARTITIONED                       1107
     307#define ERROR_UNABLE_TO_LOCK_MEDIA                         1108
     308#define ERROR_UNABLE_TO_UNLOAD_MEDIA                       1109
     309#define ERROR_MEDIA_CHANGED                                1110
     310#define ERROR_BUS_RESET                                    1111
     311#define ERROR_NO_MEDIA_IN_DRIVE                            1112
     312#define ERROR_NO_UNICODE_TRANSLATION                       1113
     313#define ERROR_DLL_INIT_FAILED                              1114
     314#define ERROR_SHUTDOWN_IN_PROGRESS                         1115
     315#define ERROR_NO_SHUTDOWN_IN_PROGRESS                      1116
     316#define ERROR_IO_DEVICE                                    1117
     317#define ERROR_SERIAL_NO_DEVICE                             1118
     318#define ERROR_IRQ_BUSY                                     1119
     319#define ERROR_MORE_WRITES                                  1120
     320#define ERROR_COUNTER_TIMEOUT                              1121
     321#define ERROR_FLOPPY_ID_MARK_NOT_FOUND                     1122
     322#define ERROR_FLOPPY_WRONG_CYLINDER                        1123
     323#define ERROR_FLOPPY_UNKNOWN_ERROR                         1124
     324#define ERROR_FLOPPY_BAD_REGISTERS                         1125
     325#define ERROR_DISK_RECALIBRATE_FAILED                      1126
     326#define ERROR_DISK_OPERATION_FAILED                        1127
     327#define ERROR_DISK_RESET_FAILED                            1128
     328#define ERROR_EOM_OVERFLOW                                 1129
     329#define ERROR_NOT_ENOUGH_SERVER_MEMORY                     1130
     330#define ERROR_POSSIBLE_DEADLOCK                            1131
     331#define ERROR_MAPPED_ALIGNMENT                             1132
    327332#define ERROR_SET_POWER_STATE_VETOED                       1140
    328333#define ERROR_SET_POWER_STATE_FAILED                       1141
     
    359364#define ERROR_POTENTIAL_FILE_FOUND                         1180
    360365#define ERROR_JOURNAL_ENTRY_DELETED                        1181
    361 #define ERROR_BAD_DEVICE                      1200L
    362 #define ERROR_CONNECTION_UNAVAIL              1201L
    363 #define ERROR_DEVICE_ALREADY_REMEMBERED       1202L
    364 #define ERROR_NO_NET_OR_BAD_PATH              1203L
    365 #define ERROR_BAD_PROVIDER                    1204L
    366 #define ERROR_CANNOT_OPEN_PROFILE             1205L
    367 #define ERROR_BAD_PROFILE                     1206L
    368 #define ERROR_NOT_CONTAINER                   1207L
    369 #define ERROR_EXTENDED_ERROR                  1208L
    370 #define ERROR_INVALID_GROUPNAME               1209L
    371 #define ERROR_INVALID_COMPUTERNAME            1210L
    372 #define ERROR_INVALID_EVENTNAME               1211L
    373 #define ERROR_INVALID_DOMAINNAME              1212L
    374 #define ERROR_INVALID_SERVICENAME             1213L
    375 #define ERROR_INVALID_NETNAME                 1214L
    376 #define ERROR_INVALID_SHARENAME               1215L
    377 #define ERROR_INVALID_PASSWORDNAME            1216L
    378 #define ERROR_INVALID_MESSAGENAME             1217L
    379 #define ERROR_INVALID_MESSAGEDEST             1218L
    380 #define ERROR_SESSION_CREDENTIAL_CONFLICT     1219L
    381 #define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED   1220L
    382 #define ERROR_DUP_DOMAINNAME                  1221L
    383 #define ERROR_NO_NETWORK                      1222L
    384 #define ERROR_CANCELLED                       1223L
    385 #define ERROR_USER_MAPPED_FILE                1224L
    386 #define ERROR_CONNECTION_REFUSED              1225L
    387 #define ERROR_GRACEFUL_DISCONNECT             1226L
    388 #define ERROR_ADDRESS_ALREADY_ASSOCIATED      1227L
    389 #define ERROR_ADDRESS_NOT_ASSOCIATED          1228L
    390 #define ERROR_CONNECTION_INVALID              1229L
    391 #define ERROR_CONNECTION_ACTIVE               1230L
    392 #define ERROR_NETWORK_UNREACHABLE             1231L
    393 #define ERROR_HOST_UNREACHABLE                1232L
    394 #define ERROR_PROTOCOL_UNREACHABLE            1233L
    395 #define ERROR_PORT_UNREACHABLE                1234L
    396 #define ERROR_REQUEST_ABORTED                 1235L
    397 #define ERROR_CONNECTION_ABORTED              1236L
    398 #define ERROR_RETRY                           1237L
    399 #define ERROR_CONNECTION_COUNT_LIMIT          1238L
    400 #define ERROR_LOGIN_TIME_RESTRICTION          1239L
    401 #define ERROR_LOGIN_WKSTA_RESTRICTION         1240L
    402 #define ERROR_INCORRECT_ADDRESS               1241L
    403 #define ERROR_ALREADY_REGISTERED              1242L
    404 #define ERROR_SERVICE_NOT_FOUND               1243L
    405 #define ERROR_NOT_AUTHENTICATED               1244L
    406 #define ERROR_NOT_LOGGED_ON                   1245L
    407 #define ERROR_CONTINUE                        1246L
    408 #define ERROR_ALREADY_INITIALIZED             1247L
    409 #define ERROR_NO_MORE_DEVICES                 1248L
    410 
    411 #define ERROR_NOT_ALL_ASSIGNED                1300L
    412 #define ERROR_SOME_NOT_MAPPED                 1301L
    413 #define ERROR_NO_QUOTAS_FOR_ACCOUNT           1302L
    414 #define ERROR_LOCAL_USER_SESSION_KEY          1303L
    415 #define ERROR_NULL_LM_PASSWORD                1304L
    416 #define ERROR_UNKNOWN_REVISION                1305L
    417 #define ERROR_REVISION_MISMATCH               1306L
    418 #define ERROR_INVALID_OWNER                   1307L
    419 #define ERROR_INVALID_PRIMARY_GROUP           1308L
    420 #define ERROR_NO_IMPERSONATION_TOKEN          1309L
    421 #define ERROR_CANT_DISABLE_MANDATORY          1310L
    422 #define ERROR_NO_LOGON_SERVERS                1311L
    423 #define ERROR_NO_SUCH_LOGON_SESSION           1312L
    424 #define ERROR_NO_SUCH_PRIVILEGE               1313L
    425 #define ERROR_PRIVILEGE_NOT_HELD              1314L
    426 #define ERROR_INVALID_ACCOUNT_NAME            1315L
    427 #define ERROR_USER_EXISTS                     1316L
    428 #define ERROR_NO_SUCH_USER                    1317L
    429 #define ERROR_GROUP_EXISTS                    1318L
    430 #define ERROR_NO_SUCH_GROUP                   1319L
    431 #define ERROR_MEMBER_IN_GROUP                 1320L
    432 #define ERROR_MEMBER_NOT_IN_GROUP             1321L
    433 #define ERROR_LAST_ADMIN                      1322L
    434 #define ERROR_WRONG_PASSWORD                  1323L
    435 #define ERROR_ILL_FORMED_PASSWORD             1324L
    436 #define ERROR_PASSWORD_RESTRICTION            1325L
    437 #define ERROR_LOGON_FAILURE                   1326L
    438 #define ERROR_ACCOUNT_RESTRICTION             1327L
    439 #define ERROR_INVALID_LOGON_HOURS             1328L
    440 #define ERROR_INVALID_WORKSTATION             1329L
    441 #define ERROR_PASSWORD_EXPIRED                1330L
    442 #define ERROR_ACCOUNT_DISABLED                1331L
    443 #define ERROR_NONE_MAPPED                     1332L
    444 #define ERROR_TOO_MANY_LUIDS_REQUESTED        1333L
    445 #define ERROR_LUIDS_EXHAUSTED                 1334L
    446 #define ERROR_INVALID_SUB_AUTHORITY           1335L
    447 #define ERROR_INVALID_ACL                     1336L
    448 #define ERROR_INVALID_SID                     1337L
    449 #define ERROR_INVALID_SECURITY_DESCR          1338L
    450 #define ERROR_BAD_INHERITANCE_ACL             1340L
    451 #define ERROR_SERVER_DISABLED                 1341L
    452 #define ERROR_SERVER_NOT_DISABLED             1342L
    453 #define ERROR_INVALID_ID_AUTHORITY            1343L
    454 #define ERROR_ALLOTTED_SPACE_EXCEEDED         1344L
    455 #define ERROR_INVALID_GROUP_ATTRIBUTES        1345L
    456 #define ERROR_BAD_IMPERSONATION_LEVEL         1346L
    457 #define ERROR_CANT_OPEN_ANONYMOUS             1347L
    458 #define ERROR_BAD_VALIDATION_CLASS            1348L
    459 #define ERROR_BAD_TOKEN_TYPE                  1349L
    460 #define ERROR_NO_SECURITY_ON_OBJECT           1350L
    461 #define ERROR_CANT_ACCESS_DOMAIN_INFO         1351L
    462 #define ERROR_INVALID_SERVER_STATE            1352L
    463 #define ERROR_INVALID_DOMAIN_STATE            1353L
    464 #define ERROR_INVALID_DOMAIN_ROLE             1354L
    465 #define ERROR_NO_SUCH_DOMAIN                  1355L
    466 #define ERROR_DOMAIN_EXISTS                   1356L
    467 #define ERROR_DOMAIN_LIMIT_EXCEEDED           1357L
    468 #define ERROR_INTERNAL_DB_CORRUPTION          1358L
    469 #define ERROR_INTERNAL_ERROR                  1359L
    470 #define ERROR_GENERIC_NOT_MAPPED              1360L
    471 #define ERROR_BAD_DESCRIPTOR_FORMAT           1361L
    472 #define ERROR_NOT_LOGON_PROCESS               1362L
    473 #define ERROR_LOGON_SESSION_EXISTS            1363L
    474 #define ERROR_NO_SUCH_PACKAGE                 1364L
    475 #define ERROR_BAD_LOGON_SESSION_STATE         1365L
    476 #define ERROR_LOGON_SESSION_COLLISION         1366L
    477 #define ERROR_INVALID_LOGON_TYPE              1367L
    478 #define ERROR_CANNOT_IMPERSONATE              1368L
    479 #define ERROR_RXACT_INVALID_STATE             1369L
    480 #define ERROR_RXACT_COMMIT_FAILURE            1370L
    481 #define ERROR_SPECIAL_ACCOUNT                 1371L
    482 #define ERROR_SPECIAL_GROUP                   1372L
    483 #define ERROR_SPECIAL_USER                    1373L
    484 #define ERROR_MEMBERS_PRIMARY_GROUP           1374L
    485 #define ERROR_TOKEN_ALREADY_IN_USE            1375L
    486 #define ERROR_NO_SUCH_ALIAS                   1376L
    487 #define ERROR_MEMBER_NOT_IN_ALIAS             1377L
    488 #define ERROR_MEMBER_IN_ALIAS                 1378L
    489 #define ERROR_ALIAS_EXISTS                    1379L
    490 #define ERROR_LOGON_NOT_GRANTED               1380L
    491 #define ERROR_TOO_MANY_SECRETS                1381L
    492 #define ERROR_SECRET_TOO_LONG                 1382L
    493 #define ERROR_INTERNAL_DB_ERROR               1383L
    494 #define ERROR_TOO_MANY_CONTEXT_IDS            1384L
    495 #define ERROR_LOGON_TYPE_NOT_GRANTED          1385L
    496 #define ERROR_NT_CROSS_ENCRYPTION_REQUIRED    1386L
    497 #define ERROR_NO_SUCH_MEMBER                  1387L
    498 #define ERROR_INVALID_MEMBER                  1388L
    499 #define ERROR_TOO_MANY_SIDS                   1389L
    500 #define ERROR_LM_CROSS_ENCRYPTION_REQUIRED    1390L
    501 #define ERROR_NO_INHERITANCE                  1391L
    502 #define ERROR_FILE_CORRUPT                    1392L
    503 #define ERROR_DISK_CORRUPT                    1393L
    504 #define ERROR_NO_USER_SESSION_KEY             1394L
    505 #define ERROR_LICENSE_QUOTA_EXCEEDED          1395
    506 #define ERROR_WRONG_TARGET_NAME               1396
    507 #define ERROR_MUTUAL_AUTH_FAILED              1397
    508 #define ERROR_TIME_SKEW                       1398
    509 
    510 #define ERROR_INVALID_WINDOW_HANDLE           1400L
    511 #define ERROR_INVALID_MENU_HANDLE             1401L
    512 #define ERROR_INVALID_CURSOR_HANDLE           1402L
    513 #define ERROR_INVALID_ACCEL_HANDLE            1403L
    514 #define ERROR_INVALID_HOOK_HANDLE             1404L
    515 #define ERROR_INVALID_DWP_HANDLE              1405L
    516 #define ERROR_TLW_WITH_WSCHILD                1406L
    517 #define ERROR_CANNOT_FIND_WND_CLASS           1407L
    518 #define ERROR_WINDOW_OF_OTHER_THREAD          1408L
    519 #define ERROR_HOTKEY_ALREADY_REGISTERED       1409L
    520 #define ERROR_CLASS_ALREADY_EXISTS            1410L
    521 #define ERROR_CLASS_DOES_NOT_EXIST            1411L
    522 #define ERROR_CLASS_HAS_WINDOWS               1412L
    523 #define ERROR_INVALID_INDEX                   1413L
    524 #define ERROR_INVALID_ICON_HANDLE             1414L
    525 #define ERROR_PRIVATE_DIALOG_INDEX            1415L
    526 #define ERROR_LISTBOX_ID_NOT_FOUND            1416L
    527 #define ERROR_NO_WILDCARD_CHARACTERS          1417L
    528 #define ERROR_CLIPBOARD_NOT_OPEN              1418L
    529 #define ERROR_HOTKEY_NOT_REGISTERED           1419L
    530 #define ERROR_WINDOW_NOT_DIALOG               1420L
    531 #define ERROR_CONTROL_ID_NOT_FOUND            1421L
    532 #define ERROR_INVALID_COMBOBOX_MESSAGE        1422L
    533 #define ERROR_WINDOW_NOT_COMBOBOX             1423L
    534 #define ERROR_INVALID_EDIT_HEIGHT             1424L
    535 #define ERROR_DC_NOT_FOUND                    1425L
    536 #define ERROR_INVALID_HOOK_FILTER             1426L
    537 #define ERROR_INVALID_FILTER_PROC             1427L
    538 #define ERROR_HOOK_NEEDS_HMOD                 1428L
    539 #define ERROR_GLOBAL_ONLY_HOOK                1429L
    540 #define ERROR_JOURNAL_HOOK_SET                1430L
    541 #define ERROR_HOOK_NOT_INSTALLED              1431L
    542 #define ERROR_INVALID_LB_MESSAGE              1432L
    543 #define ERROR_SETCOUNT_ON_BAD_LB              1433L
    544 #define ERROR_LB_WITHOUT_TABSTOPS             1434L
    545 #define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD  1435L
    546 #define ERROR_CHILD_WINDOW_MENU               1436L
    547 #define ERROR_NO_SYSTEM_MENU                  1437L
    548 #define ERROR_INVALID_MSGBOX_STYLE            1438L
    549 #define ERROR_INVALID_SPI_VALUE               1439L
    550 #define ERROR_SCREEN_ALREADY_LOCKED           1440L
    551 #define ERROR_HWNDS_HAVE_DIFF_PARENT          1441L
    552 #define ERROR_NOT_CHILD_WINDOW                1442L
    553 #define ERROR_INVALID_GW_COMMAND              1443L
    554 #define ERROR_INVALID_THREAD_ID               1444L
    555 #define ERROR_NON_MDICHILD_WINDOW             1445L
    556 #define ERROR_POPUP_ALREADY_ACTIVE            1446L
    557 #define ERROR_NO_SCROLLBARS                   1447L
    558 #define ERROR_INVALID_SCROLLBAR_RANGE         1448L
    559 #define ERROR_INVALID_SHOWWIN_COMMAND         1449L
    560 #define ERROR_NO_SYSTEM_RESOURCES             1450
     366#define ERROR_BAD_DEVICE                                   1200
     367#define ERROR_CONNECTION_UNAVAIL                           1201
     368#define ERROR_DEVICE_ALREADY_REMEMBERED                    1202
     369#define ERROR_NO_NET_OR_BAD_PATH                           1203
     370#define ERROR_BAD_PROVIDER                                 1204
     371#define ERROR_CANNOT_OPEN_PROFILE                          1205
     372#define ERROR_BAD_PROFILE                                  1206
     373#define ERROR_NOT_CONTAINER                                1207
     374#define ERROR_EXTENDED_ERROR                               1208
     375#define ERROR_INVALID_GROUPNAME                            1209
     376#define ERROR_INVALID_COMPUTERNAME                         1210
     377#define ERROR_INVALID_EVENTNAME                            1211
     378#define ERROR_INVALID_DOMAINNAME                           1212
     379#define ERROR_INVALID_SERVICENAME                          1213
     380#define ERROR_INVALID_NETNAME                              1214
     381#define ERROR_INVALID_SHARENAME                            1215
     382#define ERROR_INVALID_PASSWORDNAME                         1216
     383#define ERROR_INVALID_MESSAGENAME                          1217
     384#define ERROR_INVALID_MESSAGEDEST                          1218
     385#define ERROR_SESSION_CREDENTIAL_CONFLICT                  1219
     386#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED                1220
     387#define ERROR_DUP_DOMAINNAME                               1221
     388#define ERROR_NO_NETWORK                                   1222
     389#define ERROR_CANCELLED                                    1223
     390#define ERROR_USER_MAPPED_FILE                             1224
     391#define ERROR_CONNECTION_REFUSED                           1225
     392#define ERROR_GRACEFUL_DISCONNECT                          1226
     393#define ERROR_ADDRESS_ALREADY_ASSOCIATED                   1227
     394#define ERROR_ADDRESS_NOT_ASSOCIATED                       1228
     395#define ERROR_CONNECTION_INVALID                           1229
     396#define ERROR_CONNECTION_ACTIVE                            1230
     397#define ERROR_NETWORK_UNREACHABLE                          1231
     398#define ERROR_HOST_UNREACHABLE                             1232
     399#define ERROR_PROTOCOL_UNREACHABLE                         1233
     400#define ERROR_PORT_UNREACHABLE                             1234
     401#define ERROR_REQUEST_ABORTED                              1235
     402#define ERROR_CONNECTION_ABORTED                           1236
     403#define ERROR_RETRY                                        1237
     404#define ERROR_CONNECTION_COUNT_LIMIT                       1238
     405#define ERROR_LOGIN_TIME_RESTRICTION                       1239
     406#define ERROR_LOGIN_WKSTA_RESTRICTION                      1240
     407#define ERROR_INCORRECT_ADDRESS                            1241
     408#define ERROR_ALREADY_REGISTERED                           1242
     409#define ERROR_SERVICE_NOT_FOUND                            1243
     410#define ERROR_NOT_AUTHENTICATED                            1244
     411#define ERROR_NOT_LOGGED_ON                                1245
     412#define ERROR_CONTINUE                                     1246
     413#define ERROR_ALREADY_INITIALIZED                          1247
     414#define ERROR_NO_MORE_DEVICES                              1248
     415#define ERROR_NO_SUCH_SITE                                 1249
     416#define ERROR_DOMAIN_CONTROLLER_EXISTS                     1250
     417#define ERROR_ONLY_IF_CONNECTED                            1251
     418#define ERROR_OVERRIDE_NOCHANGES                           1252
     419#define ERROR_BAD_USER_PROFILE                             1253
     420#define ERROR_NOT_SUPPORTED_ON_SBS                         1254
     421#define ERROR_SERVER_SHUTDOWN_IN_PROGRESS                  1255
     422#define ERROR_HOST_DOWN                                    1256
     423#define ERROR_ACCESS_DISABLED_BY_POLICY                    1260
     424#define ERROR_REG_NAT_CONSUMPTION                          1261
     425#define ERROR_PKINIT_FAILURE                               1263
     426#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE                  1264
     427#define ERROR_DOWNGRADE_DETECTED                           1265
     428#define SEC_E_SMARTCARD_CERT_REVOKED                       1266
     429#define SEC_E_ISSUING_CA_UNTRUSTED                         1267
     430#define SEC_E_REVOCATION_OFFLINE_C                         1268
     431#define SEC_E_PKINIT_CLIENT_FAILURE                        1269
     432#define SEC_E_SMARTCARD_CERT_EXPIRED                       1270
     433#define ERROR_DRIVER_BLOCKED                               1275
     434#define ERROR_INVALID_IMPORT_OF_NON_DLL                    1276
     435#define ERROR_NOT_ALL_ASSIGNED                             1300
     436#define ERROR_SOME_NOT_MAPPED                              1301
     437#define ERROR_NO_QUOTAS_FOR_ACCOUNT                        1302
     438#define ERROR_LOCAL_USER_SESSION_KEY                       1303
     439#define ERROR_NULL_LM_PASSWORD                             1304
     440#define ERROR_UNKNOWN_REVISION                             1305
     441#define ERROR_REVISION_MISMATCH                            1306
     442#define ERROR_INVALID_OWNER                                1307
     443#define ERROR_INVALID_PRIMARY_GROUP                        1308
     444#define ERROR_NO_IMPERSONATION_TOKEN                       1309
     445#define ERROR_CANT_DISABLE_MANDATORY                       1310
     446#define ERROR_NO_LOGON_SERVERS                             1311
     447#define ERROR_NO_SUCH_LOGON_SESSION                        1312
     448#define ERROR_NO_SUCH_PRIVILEGE                            1313
     449#define ERROR_PRIVILEGE_NOT_HELD                           1314
     450#define ERROR_INVALID_ACCOUNT_NAME                         1315
     451#define ERROR_USER_EXISTS                                  1316
     452#define ERROR_NO_SUCH_USER                                 1317
     453#define ERROR_GROUP_EXISTS                                 1318
     454#define ERROR_NO_SUCH_GROUP                                1319
     455#define ERROR_MEMBER_IN_GROUP                              1320
     456#define ERROR_MEMBER_NOT_IN_GROUP                          1321
     457#define ERROR_LAST_ADMIN                                   1322
     458#define ERROR_WRONG_PASSWORD                               1323
     459#define ERROR_ILL_FORMED_PASSWORD                          1324
     460#define ERROR_PASSWORD_RESTRICTION                         1325
     461#define ERROR_LOGON_FAILURE                                1326
     462#define ERROR_ACCOUNT_RESTRICTION                          1327
     463#define ERROR_INVALID_LOGON_HOURS                          1328
     464#define ERROR_INVALID_WORKSTATION                          1329
     465#define ERROR_PASSWORD_EXPIRED                             1330
     466#define ERROR_ACCOUNT_DISABLED                             1331
     467#define ERROR_NONE_MAPPED                                  1332
     468#define ERROR_TOO_MANY_LUIDS_REQUESTED                     1333
     469#define ERROR_LUIDS_EXHAUSTED                              1334
     470#define ERROR_INVALID_SUB_AUTHORITY                        1335
     471#define ERROR_INVALID_ACL                                  1336
     472#define ERROR_INVALID_SID                                  1337
     473#define ERROR_INVALID_SECURITY_DESCR                       1338
     474#define ERROR_BAD_INHERITANCE_ACL                          1340
     475#define ERROR_SERVER_DISABLED                              1341
     476#define ERROR_SERVER_NOT_DISABLED                          1342
     477#define ERROR_INVALID_ID_AUTHORITY                         1343
     478#define ERROR_ALLOTTED_SPACE_EXCEEDED                      1344
     479#define ERROR_INVALID_GROUP_ATTRIBUTES                     1345
     480#define ERROR_BAD_IMPERSONATION_LEVEL                      1346
     481#define ERROR_CANT_OPEN_ANONYMOUS                          1347
     482#define ERROR_BAD_VALIDATION_CLASS                         1348
     483#define ERROR_BAD_TOKEN_TYPE                               1349
     484#define ERROR_NO_SECURITY_ON_OBJECT                        1350
     485#define ERROR_CANT_ACCESS_DOMAIN_INFO                      1351
     486#define ERROR_INVALID_SERVER_STATE                         1352
     487#define ERROR_INVALID_DOMAIN_STATE                         1353
     488#define ERROR_INVALID_DOMAIN_ROLE                          1354
     489#define ERROR_NO_SUCH_DOMAIN                               1355
     490#define ERROR_DOMAIN_EXISTS                                1356
     491#define ERROR_DOMAIN_LIMIT_EXCEEDED                        1357
     492#define ERROR_INTERNAL_DB_CORRUPTION                       1358
     493#define ERROR_INTERNAL_ERROR                               1359
     494#define ERROR_GENERIC_NOT_MAPPED                           1360
     495#define ERROR_BAD_DESCRIPTOR_FORMAT                        1361
     496#define ERROR_NOT_LOGON_PROCESS                            1362
     497#define ERROR_LOGON_SESSION_EXISTS                         1363
     498#define ERROR_NO_SUCH_PACKAGE                              1364
     499#define ERROR_BAD_LOGON_SESSION_STATE                      1365
     500#define ERROR_LOGON_SESSION_COLLISION                      1366
     501#define ERROR_INVALID_LOGON_TYPE                           1367
     502#define ERROR_CANNOT_IMPERSONATE                           1368
     503#define ERROR_RXACT_INVALID_STATE                          1369
     504#define ERROR_RXACT_COMMIT_FAILURE                         1370
     505#define ERROR_SPECIAL_ACCOUNT                              1371
     506#define ERROR_SPECIAL_GROUP                                1372
     507#define ERROR_SPECIAL_USER                                 1373
     508#define ERROR_MEMBERS_PRIMARY_GROUP                        1374
     509#define ERROR_TOKEN_ALREADY_IN_USE                         1375
     510#define ERROR_NO_SUCH_ALIAS                                1376
     511#define ERROR_MEMBER_NOT_IN_ALIAS                          1377
     512#define ERROR_MEMBER_IN_ALIAS                              1378
     513#define ERROR_ALIAS_EXISTS                                 1379
     514#define ERROR_LOGON_NOT_GRANTED                            1380
     515#define ERROR_TOO_MANY_SECRETS                             1381
     516#define ERROR_SECRET_TOO_LONG                              1382
     517#define ERROR_INTERNAL_DB_ERROR                            1383
     518#define ERROR_TOO_MANY_CONTEXT_IDS                         1384
     519#define ERROR_LOGON_TYPE_NOT_GRANTED                       1385
     520#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED                 1386
     521#define ERROR_NO_SUCH_MEMBER                               1387
     522#define ERROR_INVALID_MEMBER                               1388
     523#define ERROR_TOO_MANY_SIDS                                1389
     524#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED                 1390
     525#define ERROR_NO_INHERITANCE                               1391
     526#define ERROR_FILE_CORRUPT                                 1392
     527#define ERROR_DISK_CORRUPT                                 1393
     528#define ERROR_NO_USER_SESSION_KEY                          1394
     529#define ERROR_LICENSE_QUOTA_EXCEEDED                       1395
     530#define ERROR_WRONG_TARGET_NAME                            1396
     531#define ERROR_MUTUAL_AUTH_FAILED                           1397
     532#define ERROR_TIME_SKEW                                    1398
     533#define ERROR_CURRENT_DOMAIN_NOT_ALLOWED                   1399
     534#define ERROR_INVALID_WINDOW_HANDLE                        1400
     535#define ERROR_INVALID_MENU_HANDLE                          1401
     536#define ERROR_INVALID_CURSOR_HANDLE                        1402
     537#define ERROR_INVALID_ACCEL_HANDLE                         1403
     538#define ERROR_INVALID_HOOK_HANDLE                          1404
     539#define ERROR_INVALID_DWP_HANDLE                           1405
     540#define ERROR_TLW_WITH_WSCHILD                             1406
     541#define ERROR_CANNOT_FIND_WND_CLASS                        1407
     542#define ERROR_WINDOW_OF_OTHER_THREAD                       1408
     543#define ERROR_HOTKEY_ALREADY_REGISTERED                    1409
     544#define ERROR_CLASS_ALREADY_EXISTS                         1410
     545#define ERROR_CLASS_DOES_NOT_EXIST                         1411
     546#define ERROR_CLASS_HAS_WINDOWS                            1412
     547#define ERROR_INVALID_INDEX                                1413
     548#define ERROR_INVALID_ICON_HANDLE                          1414
     549#define ERROR_PRIVATE_DIALOG_INDEX                         1415
     550#define ERROR_LISTBOX_ID_NOT_FOUND                         1416
     551#define ERROR_NO_WILDCARD_CHARACTERS                       1417
     552#define ERROR_CLIPBOARD_NOT_OPEN                           1418
     553#define ERROR_HOTKEY_NOT_REGISTERED                        1419
     554#define ERROR_WINDOW_NOT_DIALOG                            1420
     555#define ERROR_CONTROL_ID_NOT_FOUND                         1421
     556#define ERROR_INVALID_COMBOBOX_MESSAGE                     1422
     557#define ERROR_WINDOW_NOT_COMBOBOX                          1423
     558#define ERROR_INVALID_EDIT_HEIGHT                          1424
     559#define ERROR_DC_NOT_FOUND                                 1425
     560#define ERROR_INVALID_HOOK_FILTER                          1426
     561#define ERROR_INVALID_FILTER_PROC                          1427
     562#define ERROR_HOOK_NEEDS_HMOD                              1428
     563#define ERROR_GLOBAL_ONLY_HOOK                             1429
     564#define ERROR_JOURNAL_HOOK_SET                             1430
     565#define ERROR_HOOK_NOT_INSTALLED                           1431
     566#define ERROR_INVALID_LB_MESSAGE                           1432
     567#define ERROR_SETCOUNT_ON_BAD_LB                           1433
     568#define ERROR_LB_WITHOUT_TABSTOPS                          1434
     569#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD               1435
     570#define ERROR_CHILD_WINDOW_MENU                            1436
     571#define ERROR_NO_SYSTEM_MENU                               1437
     572#define ERROR_INVALID_MSGBOX_STYLE                         1438
     573#define ERROR_INVALID_SPI_VALUE                            1439
     574#define ERROR_SCREEN_ALREADY_LOCKED                        1440
     575#define ERROR_HWNDS_HAVE_DIFF_PARENT                       1441
     576#define ERROR_NOT_CHILD_WINDOW                             1442
     577#define ERROR_INVALID_GW_COMMAND                           1443
     578#define ERROR_INVALID_THREAD_ID                            1444
     579#define ERROR_NON_MDICHILD_WINDOW                          1445
     580#define ERROR_POPUP_ALREADY_ACTIVE                         1446
     581#define ERROR_NO_SCROLLBARS                                1447
     582#define ERROR_INVALID_SCROLLBAR_RANGE                      1448
     583#define ERROR_INVALID_SHOWWIN_COMMAND                      1449
     584#define ERROR_NO_SYSTEM_RESOURCES                          1450
    561585#define ERROR_NONPAGED_SYSTEM_RESOURCES                    1451
    562586#define ERROR_PAGED_SYSTEM_RESOURCES                       1452
     
    570594#define ERROR_TIMEOUT                                      1460
    571595#define ERROR_INVALID_MONITOR_HANDLE                       1461
    572 
    573 #define ERROR_EVENTLOG_FILE_CORRUPT           1500L
    574 #define ERROR_EVENTLOG_CANT_START             1501L
    575 #define ERROR_LOG_FILE_FULL                   1502L
    576 #define ERROR_EVENTLOG_FILE_CHANGED           1503L
     596#define ERROR_EVENTLOG_FILE_CORRUPT                        1500
     597#define ERROR_EVENTLOG_CANT_START                          1501
     598#define ERROR_LOG_FILE_FULL                                1502
     599#define ERROR_EVENTLOG_FILE_CHANGED                        1503
    577600#define ERROR_INSTALL_SERVICE_FAILURE                      1601
    578601#define ERROR_INSTALL_USEREXIT                             1602
     
    696719#define RPC_X_BYTE_COUNT_TOO_SMALL                         1782
    697720#define RPC_X_BAD_STUB_DATA                                1783
    698 #define ERROR_INVALID_USER_BUFFER             1784L
    699 #define ERROR_UNRECOGNIZED_MEDIA              1785L
    700 #define ERROR_NO_TRUST_LSA_SECRET             1786L
    701 #define ERROR_NO_TRUST_SAM_ACCOUNT            1787L
    702 #define ERROR_TRUSTED_DOMAIN_FAILURE          1788L
    703 #define ERROR_TRUSTED_RELATIONSHIP_FAILURE    1789L
    704 #define ERROR_TRUST_FAILURE                   1790L
    705 #define RPC_S_CALL_IN_PROGRESS                1791
    706 #define ERROR_NETLOGON_NOT_STARTED            1792L
    707 #define ERROR_ACCOUNT_EXPIRED                 1793L
    708 #define ERROR_REDIRECTOR_HAS_OPEN_HANDLES     1794L
    709 #define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L
    710 #define ERROR_UNKNOWN_PORT                    1796L
    711 #define ERROR_UNKNOWN_PRINTER_DRIVER          1797L
    712 #define ERROR_UNKNOWN_PRINTPROCESSOR          1798L
    713 #define ERROR_INVALID_SEPARATOR_FILE          1799L
    714 #define ERROR_INVALID_PRIORITY                1800L
    715 #define ERROR_INVALID_PRINTER_NAME            1801L
    716 #define ERROR_PRINTER_ALREADY_EXISTS          1802L
    717 #define ERROR_INVALID_PRINTER_COMMAND         1803L
    718 #define ERROR_INVALID_DATATYPE                1804L
    719 #define ERROR_INVALID_ENVIRONMENT             1805L
    720 #define RPC_S_NO_MORE_BINDINGS                1806
    721 #define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 1807L
    722 #define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 1808L
    723 #define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT    1809L
    724 #define ERROR_DOMAIN_TRUST_INCONSISTENT       1810L
    725 #define ERROR_SERVER_HAS_OPEN_HANDLES         1811L
    726 #define ERROR_RESOURCE_DATA_NOT_FOUND         1812L
    727 #define ERROR_RESOURCE_TYPE_NOT_FOUND         1813L
    728 #define ERROR_RESOURCE_NAME_NOT_FOUND         1814L
    729 #define ERROR_RESOURCE_LANG_NOT_FOUND         1815L
    730 #define ERROR_NOT_ENOUGH_QUOTA                1816L
     721#define ERROR_INVALID_USER_BUFFER                          1784
     722#define ERROR_UNRECOGNIZED_MEDIA                           1785
     723#define ERROR_NO_TRUST_LSA_SECRET                          1786
     724#define ERROR_NO_TRUST_SAM_ACCOUNT                         1787
     725#define ERROR_TRUSTED_DOMAIN_FAILURE                       1788
     726#define ERROR_TRUSTED_RELATIONSHIP_FAILURE                 1789
     727#define ERROR_TRUST_FAILURE                                1790
     728#define RPC_S_CALL_IN_PROGRESS                             1791
     729#define ERROR_NETLOGON_NOT_STARTED                         1792
     730#define ERROR_ACCOUNT_EXPIRED                              1793
     731#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES                  1794
     732#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED             1795
     733#define ERROR_UNKNOWN_PORT                                 1796
     734#define ERROR_UNKNOWN_PRINTER_DRIVER                       1797
     735#define ERROR_UNKNOWN_PRINTPROCESSOR                       1798
     736#define ERROR_INVALID_SEPARATOR_FILE                       1799
     737#define ERROR_INVALID_PRIORITY                             1800
     738#define ERROR_INVALID_PRINTER_NAME                         1801
     739#define ERROR_PRINTER_ALREADY_EXISTS                       1802
     740#define ERROR_INVALID_PRINTER_COMMAND                      1803
     741#define ERROR_INVALID_DATATYPE                             1804
     742#define ERROR_INVALID_ENVIRONMENT                          1805
     743#define RPC_S_NO_MORE_BINDINGS                             1806
     744#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT            1807
     745#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT            1808
     746#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT                 1809
     747#define ERROR_DOMAIN_TRUST_INCONSISTENT                    1810
     748#define ERROR_SERVER_HAS_OPEN_HANDLES                      1811
     749#define ERROR_RESOURCE_DATA_NOT_FOUND                      1812
     750#define ERROR_RESOURCE_TYPE_NOT_FOUND                      1813
     751#define ERROR_RESOURCE_NAME_NOT_FOUND                      1814
     752#define ERROR_RESOURCE_LANG_NOT_FOUND                      1815
     753#define ERROR_NOT_ENOUGH_QUOTA                             1816
    731754#define RPC_S_NO_INTERFACES                                1817
    732755#define RPC_S_CALL_CANCELLED                               1818
     
    748771#define EPT_S_CANT_CREATE                                  1899
    749772#define RPC_S_INVALID_OBJECT                               1900
    750 #define ERROR_INVALID_TIME                    1901L
    751 #define ERROR_INVALID_FORM_NAME               1902L
    752 #define ERROR_INVALID_FORM_SIZE               1903L
    753 #define ERROR_ALREADY_WAITING                 1904L
    754 #define ERROR_PRINTER_DELETED                 1905L
    755 #define ERROR_INVALID_PRINTER_STATE           1906L
    756 #define ERROR_PASSWORD_MUST_CHANGE            1907L
    757 #define ERROR_DOMAIN_CONTROLLER_NOT_FOUND     1908L
    758 #define ERROR_ACCOUNT_LOCKED_OUT              1909L
     773#define ERROR_INVALID_TIME                                 1901
     774#define ERROR_INVALID_FORM_NAME                            1902
     775#define ERROR_INVALID_FORM_SIZE                            1903
     776#define ERROR_ALREADY_WAITING                              1904
     777#define ERROR_PRINTER_DELETED                              1905
     778#define ERROR_INVALID_PRINTER_STATE                        1906
     779#define ERROR_PASSWORD_MUST_CHANGE                         1907
     780#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND                  1908
     781#define ERROR_ACCOUNT_LOCKED_OUT                           1909
    759782#define OR_INVALID_OXID                                    1910
    760783#define OR_INVALID_OID                                     1911
     
    777800#define RPC_S_GRP_ELT_NOT_ADDED                            1928
    778801#define RPC_S_GRP_ELT_NOT_REMOVED                          1929
    779 #define ERROR_INVALID_PIXEL_FORMAT            2000L
    780 #define ERROR_BAD_DRIVER                      2001L
    781 #define ERROR_INVALID_WINDOW_STYLE            2002L
    782 #define ERROR_METAFILE_NOT_SUPPORTED          2003L
    783 #define ERROR_TRANSFORM_NOT_SUPPORTED         2004L
    784 #define ERROR_CLIPPING_NOT_SUPPORTED          2005L
    785 
    786 #define ERROR_BAD_USERNAME                    2202L
    787 #define ERROR_NOT_CONNECTED                   2250L
    788 #define ERROR_OPEN_FILES                      2401L
    789 #define ERROR_ACTIVE_CONNECTIONS              2402L
    790 #define ERROR_DEVICE_IN_USE                   2404L
    791 
    792 #define ERROR_UNKNOWN_PRINT_MONITOR           3000L
    793 #define ERROR_PRINTER_DRIVER_IN_USE           3001L
    794 #define ERROR_SPOOL_FILE_NOT_FOUND            3002L
    795 #define ERROR_SPL_NO_STARTDOC                 3003L
    796 #define ERROR_SPL_NO_ADDJOB                   3004L
    797 #define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 3005L
    798 #define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 3006L
    799 #define ERROR_WINS_INTERNAL                   4000L
    800 #define ERROR_CAN_NOT_DEL_LOCAL_WINS          4001L
    801 #define ERROR_STATIC_INIT                     4002L
    802 #define ERROR_INC_BACKUP                      4003L
    803 #define ERROR_FULL_BACKUP                     4004L
    804 #define ERROR_REC_NON_EXISTENT                4005L
    805 #define ERROR_RPL_NOT_ALLOWED                 4006L
     802#define ERROR_CONTEXT_EXPIRED                              1931
     803#define ERROR_INVALID_PIXEL_FORMAT                         2000
     804#define ERROR_BAD_DRIVER                                   2001
     805#define ERROR_INVALID_WINDOW_STYLE                         2002
     806#define ERROR_METAFILE_NOT_SUPPORTED                       2003
     807#define ERROR_TRANSFORM_NOT_SUPPORTED                      2004
     808#define ERROR_CLIPPING_NOT_SUPPORTED                       2005
     809#define ERROR_INVALID_CMM                                  2010
     810#define ERROR_INVALID_PROFILE                              2011
     811#define ERROR_TAG_NOT_FOUND                                2012
     812#define ERROR_TAG_NOT_PRESENT                              2013
     813#define ERROR_DUPLICATE_TAG                                2014
     814#define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE           2015
     815#define ERROR_PROFILE_NOT_FOUND                            2016
     816#define ERROR_INVALID_COLORSPACE                           2017
     817#define ERROR_ICM_NOT_ENABLED                              2018
     818#define ERROR_DELETING_ICM_XFORM                           2019
     819#define ERROR_INVALID_TRANSFORM                            2020
     820#define ERROR_COLORSPACE_MISMATCH                          2021
     821#define ERROR_INVALID_COLORINDEX                           2022
     822#define ERROR_CONNECTED_OTHER_PASSWORD                     2108
     823#define ERROR_BAD_USERNAME                                 2202
     824#define ERROR_NOT_CONNECTED                                2250
     825#define ERROR_OPEN_FILES                                   2401
     826#define ERROR_ACTIVE_CONNECTIONS                           2402
     827#define ERROR_DEVICE_IN_USE                                2404
     828#define ERROR_UNKNOWN_PRINT_MONITOR                        3000
     829#define ERROR_PRINTER_DRIVER_IN_USE                        3001
     830#define ERROR_SPOOL_FILE_NOT_FOUND                         3002
     831#define ERROR_SPL_NO_STARTDOC                              3003
     832#define ERROR_SPL_NO_ADDJOB                                3004
     833#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED            3005
     834#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED              3006
     835#define ERROR_INVALID_PRINT_MONITOR                        3007
     836#define ERROR_PRINT_MONITOR_IN_USE                         3008
     837#define ERROR_PRINTER_HAS_JOBS_QUEUED                      3009
     838#define ERROR_SUCCESS_REBOOT_REQUIRED                      3010
     839#define ERROR_SUCCESS_RESTART_REQUIRED                     3011
     840#define ERROR_PRINTER_NOT_FOUND                            3012
     841#define ERROR_WINS_INTERNAL                                4000
     842#define ERROR_CAN_NOT_DEL_LOCAL_WINS                       4001
     843#define ERROR_STATIC_INIT                                  4002
     844#define ERROR_INC_BACKUP                                   4003
     845#define ERROR_FULL_BACKUP                                  4004
     846#define ERROR_REC_NON_EXISTENT                             4005
     847#define ERROR_RPL_NOT_ALLOWED                              4006
    806848#define ERROR_DHCP_ADDRESS_CONFLICT                        4100
    807849#define ERROR_WMI_GUID_NOT_FOUND                           4200
     
    860902#define ERROR_INDIGENOUS_TYPE                              4338
    861903#define ERROR_NO_SUPPORTING_DRIVES                         4339
     904#define ERROR_CLEANER_CARTRIDGE_INSTALLED                  4340
    862905#define ERROR_FILE_OFFLINE                                 4350
    863906#define ERROR_REMOTE_STORAGE_NOT_ACTIVE                    4351
     
    9691012#define ERROR_DIR_EFS_DISALLOWED                           6010
    9701013#define ERROR_EFS_SERVER_NOT_TRUSTED                       6011
     1014#define ERROR_EFS_ALG_BLOB_TOO_BIG                         6013
    9711015#define ERROR_NO_BROWSER_SERVERS_FOUND                     6118
    9721016#define SCHED_E_SERVICE_NOT_LOCALSYSTEM                    6200
     
    10081052#define ERROR_CTX_LICENSE_CLIENT_INVALID                   7055
    10091053#define ERROR_CTX_LICENSE_EXPIRED                          7056
     1054#define ERROR_CTX_SHADOW_NOT_RUNNING                       7057
     1055#define ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE              7058
    10101056#define FRS_ERR_INVALID_API_SEQUENCE                       8001
    10111057#define FRS_ERR_STARTING_SERVICE                           8002
     
    13431389#define ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER             8559
    13441390#define ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ             8560
     1391#define ERROR_DS_INIT_FAILURE_CONSOLE                      8561
     1392#define ERROR_DS_SAM_INIT_FAILURE_CONSOLE                  8562
     1393#define ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4            8572
     1394#define ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER             8578
    13451395#define DNS_ERROR_RCODE_FORMAT_ERROR                       9001
    13461396#define DNS_ERROR_RCODE_SERVER_FAILURE                     9002
     
    14201470#define DNS_ERROR_NO_TCPIP                                 9851
    14211471#define DNS_ERROR_NO_DNS_SERVERS                           9852
     1472#define ERROR_SXS_SECTION_NOT_FOUND                        14000
     1473#define ERROR_SXS_CANT_GEN_ACTCTX                          14001
     1474#define ERROR_SXS_INVALID_ACTCTXDATA_FORMAT                14002
     1475#define ERROR_SXS_ASSEMBLY_NOT_FOUND                       14003
     1476#define ERROR_SXS_MANIFEST_FORMAT_ERROR                    14004
     1477#define ERROR_SXS_MANIFEST_PARSE_ERROR                     14005
     1478#define ERROR_SXS_ACTIVATION_CONTEXT_DISABLED              14006
     1479#define ERROR_SXS_KEY_NOT_FOUND                            14007
     1480#define ERROR_SXS_WRONG_SECTION_TYPE                       14009
     1481#define ERROR_SXS_THREAD_QUERIES_DISABLED                  14010
     1482#define ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET              14011
     1483
     1484#define ERROR_AUDITING_DISABLED                            0xC0090001L
     1485#define ERROR_ALL_SIDS_FILTERED                            0xC0090002L
    14221486
    14231487/* HRESULT values for OLE, SHELL and other Interface stuff */
    14241488/* the codes 4000-40ff are reserved for OLE */
    1425 #define NOERROR                                0L
    1426 #define S_OK                                   ((HRESULT)0L)
    1427 #define S_FALSE                                ((HRESULT)1L)
    1428 
    1429 #define DISP_E_UNKNOWNINTERFACE 0x80020001L
    1430 #define DISP_E_MEMBERNOTFOUND   0x80020003L
    1431 #define DISP_E_PARAMNOTFOUND    0x80020004L
    1432 #define DISP_E_TYPEMISMATCH     0x80020005L
    1433 #define DISP_E_UNKNOWNNAME      0x80020006L
    1434 #define DISP_E_NONAMEDARGS      0x80020007L
    1435 #define DISP_E_BADVARTYPE   0x80020008L
    1436 #define DISP_E_EXCEPTION        0x80020009L
    1437 #define DISP_E_OVERFLOW     0x8002000AL
    1438 #define DISP_E_BADINDEX         0x8002000BL
    1439 #define DISP_E_UNKNOWNLCID      0x8002000CL
    1440 #define DISP_E_ARRAYISLOCKED    0x8002000DL
    1441 #define DISP_E_BADPARAMCOUNT    0x8002000EL
    1442 #define DISP_E_PARAMNOTOPTIONAL 0x8002000FL
    1443 
    1444 #define TYPE_E_ELEMENTNOTFOUND           0x8002802BL
    1445 #define TYPE_E_CANTLOADLIBRARY  0x80029C4AL
    1446 
    1447 /* OLE Clipboard */
    1448 #define CLIPBRD_E_FIRST         0x800401D0L
    1449 #define CLIPBRD_E_LAST          0x800401DFL
    1450 #define CLIPBRD_S_FIRST         0x000401D0L
    1451 #define CLIPBRD_S_LAST          0x000401DFL
    1452 #define CLIPBRD_E_CANT_OPEN     0x800401D0L
    1453 #define CLIPBRD_E_CANT_EMPTY    0x800401D1L
    1454 #define CLIPBRD_E_CANT_SET      0x800401D2L
    1455 #define CLIPBRD_E_BAD_DATA      0x800401D3L
    1456 #define CLIPBRD_E_CANT_CLOSE    0x800401D4L
    1457 
    1458 /* Drag and Drop */
    1459 #define DRAGDROP_S_DROP   0x00040100L
    1460 #define DRAGDROP_S_CANCEL 0x00040101L
    1461 #define DRAGDROP_E_NOTREGISTERED      0x80040100L
    1462 #define DRAGDROP_E_ALREADYREGISTERED  0x80040101L
    1463 #define DRAGDROP_S_USEDEFAULTCURSORS  0x00040102L
    1464 
    1465 #define E_UNEXPECTED                    0x8000FFFF
    1466 
    1467 #define E_NOTIMPL                       0x80004001
    1468 #define E_NOINTERFACE                   0x80004002
    1469 #define E_POINTER                       0x80004003
    1470 #define E_ABORT                         0x80004004
    1471 #define E_FAIL                          0x80004005
    1472 #define E_UNSPEC E_FAIL /* must to be defined (used by FileMoniker, IOleLink and DoDragDrop as a return value) */
    1473 
    1474 /*#define CO_E_INIT_TLS                 0x80004006
    1475 #define CO_E_INIT_SHARED_ALLOCATOR      0x80004007
    1476 #define CO_E_INIT_MEMORY_ALLOCATOR      0x80004008
    1477 #define CO_E_INIT_CLASS_CACHE           0x80004009
    1478 #define CO_E_INIT_RPC_CHANNEL           0x8000400A
    1479 #define CO_E_INIT_TLS_SET_CHANNEL_CONTROL       0x8000400B
    1480 #define CO_E_INIT_TLS_CHANNEL_CONTROL   0x8000400C
    1481 #define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR     0x8000400D
    1482 #define CO_E_INIT_SCM_MUTEX_EXISTS      0x8000400E
    1483 #define CO_E_INIT_SCM_FILE_MAPPING_EXISTS       0x8000400F
    1484 #define CO_E_INIT_SCM_MAP_VIEW_OF_FILE  0x80004010
    1485 #define CO_E_INIT_SCM_EXEC_FAILURE      0x80004011
    1486 #define CO_E_INIT_ONLY_SINGLE_THREADED  0x80004012 */
    1487 
    1488 #define CO_S_NOTALLINTERFACES           0x00080012
    1489 #define CO_E_NOTINITIALIZED              0x800401F0L
    1490 #define CO_E_ALREADYINITIALIZED          0x800401F1L
    1491 #define CO_E_CANTDETERMINECLASS          0x800401F2L
    1492 #define CO_E_CLASSSTRING                 0x800401F3L
    1493 #define CO_E_IIDSTRING                   0x800401F4L
    1494 #define CO_E_APPNOTFOUND                 0x800401F5L
    1495 #define CO_E_APPSINGLEUSE                0x800401F6L
    1496 #define CO_E_ERRORINAPP                  0x800401F7L
    1497 #define CO_E_DLLNOTFOUND                 0x800401F8L
    1498 #define CO_E_ERRORINDLL                  0x800401F9L
    1499 #define CO_E_WRONGOSFORAPP               0x800401FAL
    1500 #define CO_E_OBJNOTREG                   0x800401FBL
    1501 #define CO_E_OBJISREG                    0x800401FCL
    1502 #define CO_E_OBJNOTCONNECTED             0x800401FDL
    1503 #define CO_E_APPDIDNTREG                 0x800401FEL
    1504 #define CO_E_RELEASED                    0x800401FFL
    1505 #define CO_E_FAILEDTOIMPERSONATE         0x80040200L
    1506 #define CO_E_FAILEDTOGETSECCTX           0x80040201L
    1507 #define CO_E_FAILEDTOOPENTHREADTOKEN     0x80040202L
    1508 #define CO_E_FAILEDTOGETTOKENINFO        0x80040203L
    1509 #define CO_E_TRUSTEEDOESNTMATCHCLIENT    0x80040204L
    1510 #define CO_E_FAILEDTOQUERYCLIENTBLANKET  0x80040205L
    1511 #define CO_E_FAILEDTOSETDACL             0x80040206L
    1512 #define CO_E_ACCESSCHECKFAILED           0x80040207L
    1513 #define CO_E_NETACCESSAPIFAILED          0x80040208L
    1514 #define CO_E_WRONGTRUSTEENAMESYNTAX      0x80040209L
    1515 #define CO_E_INVALIDSID                  0x8004020AL
    1516 #define CO_E_CONVERSIONFAILED            0x8004020BL
    1517 #define CO_E_NOMATCHINGSIDFOUND          0x8004020CL
    1518 #define CO_E_LOOKUPACCSIDFAILED          0x8004020DL
    1519 #define CO_E_NOMATCHINGNAMEFOUND         0x8004020EL
    1520 #define CO_E_LOOKUPACCNAMEFAILED         0x8004020FL
    1521 #define CO_E_SETSERLHNDLFAILED           0x80040210L
    1522 #define CO_E_FAILEDTOGETWINDIR           0x80040211L
    1523 #define CO_E_PATHTOOLONG                 0x80040212L
    1524 #define CO_E_FAILEDTOGENUUID             0x80040213L
    1525 #define CO_E_FAILEDTOCREATEFILE          0x80040214L
    1526 #define CO_E_FAILEDTOCLOSEHANDLE         0x80040215L
    1527 #define CO_E_EXCEEDSYSACLLIMIT           0x80040216L
    1528 #define CO_E_ACESINWRONGORDER            0x80040217L
    1529 #define CO_E_INCOMPATIBLESTREAMVERSION   0x80040218L
    1530 #define CO_E_FAILEDTOOPENPROCESSTOKEN    0x80040219L
    1531 #define CO_E_DECODEFAILED                0x8004021AL
    1532 #define CO_E_ACNOTINITIALIZED            0x8004021BL
    1533 
    1534 #define OLE_E_FIRST 0x80040000L
    1535 #define OLE_E_LAST  0x800400FFL
    1536 #define OLE_S_FIRST 0x00040000L
    1537 #define OLE_S_LAST  0x000400FFL
    1538 
    1539 #define OLE_E_ENUM_NOMORE                     0x80040002
    1540 #define OLE_E_ADVISENOTSUPPORTED  0x80040003
    1541 #define OLE_E_NOCONNECTION        0x80040004
    1542 #define OLE_E_NOTRUNNING          0x80040005
    1543 #define OLE_E_NOCACHE             0x80040006
    1544 #define OLE_E_BLANK                         0x80040007
    1545 #define OLE_E_NOT_INPLACEACTIVE         0x80040010
    1546 #define OLE_E_STATIC              0x8004000B
    1547 #define OLE_E_PROMPTSAVECANCELLED 0x8004000C
    1548 #define OLE_S_USEREG                            0x00040000
    1549 
    1550 #define DV_E_FORMATETC            0x80040064
    1551 #define DV_E_DVASPECT             0x8004006B
    1552 #define DV_E_LINDEX               0x80040068
    1553 #define DV_E_TYMED                0x80040069
    1554 
    1555 #define CLASS_E_NOAGGREGATION     0x80040110
    1556 #define CLASS_E_CLASSNOTAVAILABLE 0x80040111
    1557 
    1558 #define DATA_S_SAMEFORMATETC      0x80040130
    1559 
    1560 #define E_ACCESSDENIED                        0x80070005
    1561 #define E_HANDLE                                0x80070006
    1562 #define E_OUTOFMEMORY                           0x8007000E
    1563 #define E_INVALIDARG                            0x80070057
    1564 
    1565 /*#define OLE_E_FIRST 0x80040000L */
    1566 /*#define OLE_E_LAST  0x800400FFL */
    1567 /*#define OLE_S_FIRST 0x00040000L */
    1568 /*#define OLE_S_LAST  0x000400FFL */
    1569 
    1570 #define MK_S_REDUCED_TO_SELF            0x000401E2
    1571 #define MK_S_ME                         0x000401E4
    1572 #define MK_S_HIM                        0x000401E5
    1573 #define MK_S_US                         0x000401E6
    1574 #define MK_S_MONIKERALREADYREGISTERED   0x000401E7
    1575 
    1576 #define MK_E_EXCEEDEDDEADLINE                     0x800401E1
    1577 #define MK_E_NEEDGENERIC                          0x800401E2
    1578 #define MK_E_UNAVAILABLE                          0x800401E3
    1579 #define MK_E_SYNTAX                               0x800401E4
    1580 #define MK_E_NOOBJECT                             0x800401E5
    1581 #define MK_E_INVALIDEXTENSION                     0x800401E6
    1582 #define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED    0x800401E7
    1583 #define MK_E_NOTBINDABLE                          0x800401E8
    1584 #define MK_E_NOTBOUND                             0x800401E9
    1585 #define MK_E_CANTOPENFILE                         0x800401EA
    1586 #define MK_E_MIUSTBOTHERUSER                      0x800401EB
    1587 #define MK_E_NOINVERSE                            0x800401EC
    1588 #define MK_E_NOSTORAGE                            0x800401ED
    1589 #define MK_E_NOPREFIX                             0x800401EE
    1590 
    1591 /* alten versionen
    1592 #define E_NOTIMPL                       0x80000001
    1593 #define E_OUTOFMEMORY                   0x80000002
    1594 #define E_INVALIDARG                    0x80000003
    1595 #define E_NOINTERFACE                   0x80000004
    1596 #define E_POINTER                       0x80000005
    1597 #define E_HANDLE                        0x80000006
    1598 #define E_ABORT                         0x80000007
    1599 #define E_FAIL                          0x80000008
    1600 #define E_ACCESSDENIED                  0x80000009 */
    1601 
    1602 /* Obtained from lcc-win32 include files */
    1603 #define GDI_ERROR                       0xffffffff
    1604 
    1605 
    1606 /* registry errors */
    1607 #define REGDB_S_FIRST                                      0x00040150L
    1608 #define REGDB_S_LAST                                       0x0004015FL
    1609 
    1610 #define REGDB_E_FIRST                                      0x80040150L
    1611 #define REGDB_E_READREGDB                                  0x80040150L
    1612 #define REGDB_E_WRITEREGDB                                 0x80040151L
    1613 #define REGDB_E_KEYMISSING                                 0x80040152L
    1614 #define REGDB_E_INVALIDVALUE                               0x80040153L
    1615 #define REGDB_E_CLASSNOTREG                                0x80040154L
    1616 #define REGDB_E_IIDNOTREG                                  0x80040155L
    1617 #define REGDB_E_LAST                                       0x8004015FL
    1618 
    1619 #define INPLACE_E_NOTUNDOABLE           0x800401A0
    1620 #define INPLACE_E_NOTOOLSPACE           0x800401A1
    1621 
    1622 #define DATA_E_FORMATETC                DV_E_FORMATETC
    1623 
    1624 #define CLASSFACTORY_E_FIRST            0x80040110L
    1625 #define CLASSFACTORY_E_LAST             0x8004011FL
    1626 #define CLASSFACTORY_S_FIRST            0x80040110L
    1627 #define CLASSFACTORY_S_LAST             0x8004011FL
    1628 
    1629 #define CLASS_E_NOTLICENSED             (CLASSFACTORY_E_FIRST+2)
    1630 #define CLASS_E_NOAGGREGATION           0x80040110
    1631 #define CLASS_E_CLASSNOTAVAILABLE       0x80040111
    1632 
    1633 #define OLE_S_STATIC                    0x00040001
    1634 
    1635 
    1636 #define OLEOBJ_E_NOVERBS                0x00040180L
    1637 #define OLEOBJ_E_INVALIDVERB            0x00040181L
    1638 #define OLEOBJ_S_INVALIDVERB            0x00040180L
    1639 
    1640 #define CONVERT10_E_OLESTREAM_GET       0x800401C0
    1641 #define CONVERT10_E_OLESTREAM_PUT       0x800401C1
    1642 #define CONVERT10_E_OLESTREAM_FMT       0x800401C2
    1643 #define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB 0x800401C3
    1644 #define CONVERT10_E_STG_FMT             0x800401C4
    1645 #define CONVERT10_E_STG_NO_STD_STREAM   0x800401C5
    1646 #define CONVERT10_E_STG_DIB_TO_BITMAP   0x800401C6
    1647 
    1648 #define RPC_E_CALL_REJECTED              0x80010001L
    1649 #define RPC_E_CALL_CANCELED              0x80010002L
    1650 #define RPC_E_CANTPOST_INSENDCALL        0x80010003L
    1651 #define RPC_E_CANTCALLOUT_INASYNCCALL    0x80010004L
    1652 #define RPC_E_CANTCALLOUT_INEXTERNALCALL 0x80010005L
    1653 #define RPC_E_CONNECTION_TERMINATED      0x80010006L
    1654 #define RPC_E_SERVER_DIED                0x80010007L
    1655 #define RPC_E_CLIENT_DIED                0x80010008L
    1656 #define RPC_E_INVALID_DATAPACKET         0x80010009L
    1657 #define RPC_E_CANTTRANSMIT_CALL          0x8001000AL
    1658 #define RPC_E_CLIENT_CANTMARSHAL_DATA    0x8001000BL
    1659 #define RPC_E_CLIENT_CANTUNMARSHAL_DATA  0x8001000CL
    1660 #define RPC_E_SERVER_CANTMARSHAL_DATA    0x8001000DL
    1661 #define RPC_E_SERVER_CANTUNMARSHAL_DATA  0x8001000EL
    1662 #define RPC_E_INVALID_DATA               0x8001000FL
    1663 #define RPC_E_INVALID_PARAMETER          0x80010010L
    1664 #define RPC_E_CANTCALLOUT_AGAIN          0x80010011L
    1665 #define RPC_E_SERVER_DIED_DNE            0x80010012L
    1666 #define RPC_E_SYS_CALL_FAILED            0x80010100L
    1667 #define RPC_E_OUT_OF_RESOURCES           0x80010101L
    1668 #define RPC_E_ATTEMPTED_MULTITHREAD      0x80010102L
    1669 #define RPC_E_NOT_REGISTERED             0x80010103L
    1670 #define RPC_E_FAULT                      0x80010104L
    1671 #define RPC_E_SERVERFAULT                0x80010105L
    1672 #define RPC_E_CHANGED_MODE               0x80010106L
    1673 #define RPC_E_INVALIDMETHOD              0x80010107L
    1674 #define RPC_E_DISCONNECTED               0x80010108L
    1675 #define RPC_E_RETRY                      0x80010109L
    1676 #define RPC_E_SERVERCALL_RETRYLATER      0x8001010AL
    1677 #define RPC_E_SERVERCALL_REJECTED        0x8001010BL
    1678 #define RPC_E_INVALID_CALLDATA           0x8001010CL
    1679 #define RPC_E_CANTCALLOUT_ININPUTSYNCCALL 0x8001010DL
    1680 #define RPC_E_WRONG_THREAD               0x8001010EL
    1681 #define RPC_E_THREAD_NOT_INIT            0x8001010FL
    1682 #define RPC_E_VERSION_MISMATCH           0x80010110L
    1683 #define RPC_E_INVALID_HEADER             0x80010111L
    1684 #define RPC_E_INVALID_EXTENSION          0x80010112L
    1685 #define RPC_E_INVALID_IPID               0x80010113L
    1686 #define RPC_E_INVALID_OBJECT             0x80010114L
    1687 #define RPC_S_CALLPENDING                0x80010115L
    1688 #define RPC_S_WAITONTIMER                0x80010116L
    1689 #define RPC_E_CALL_COMPLETE              0x80010117L
    1690 #define RPC_E_UNSECURE_CALL              0x80010118L
    1691 #define RPC_E_TOO_LATE                   0x80010119L
    1692 #define RPC_E_NO_GOOD_SECURITY_PACKAGES  0x8001011AL
    1693 #define RPC_E_ACCESS_DENIED              0x8001011BL
    1694 #define RPC_E_REMOTE_DISABLED            0x8001011CL
    1695 #define RPC_E_INVALID_OBJREF             0x8001011DL
    1696 #define RPC_E_NO_CONTEXT                 0x8001011EL
    1697 #define RPC_E_TIMEOUT                    0x8001011FL
    1698 #define RPC_E_NO_SYNC                    0x80010120L
    1699 #define RPC_E_UNEXPECTED                 0x8001FFFFL
     1489#undef NOERROR  /* arpa/nameser_compat.h defines this */
     1490#define NOERROR                                            0L
     1491#define S_OK                                               ((HRESULT)0L)
     1492#define S_FALSE                                            ((HRESULT)1L)
     1493
     1494#define E_PENDING                                          0x8000000AL
     1495
     1496
     1497#define E_NOTIMPL                                          0x80004001L
     1498#define E_NOINTERFACE                                      0x80004002L
     1499#define E_POINTER                                          0x80004003L
     1500#define E_ABORT                                            0x80004004L
     1501#define E_FAIL                                             0x80004005L
     1502/* FIXME: E_UNSPEC is not a standard value but it is used by
     1503 * FileMoniker, IOleLink and DoDragDrop as a return value.
     1504 */
     1505#define E_UNSPEC                                           E_FAIL
     1506
     1507
     1508#define CO_E_INIT_TLS                                      0x80004006L
     1509#define CO_E_INIT_SHARED_ALLOCATOR                         0x80004007L
     1510#define CO_E_INIT_MEMORY_ALLOCATOR                         0x80004008L
     1511#define CO_E_INIT_CLASS_CACHE                              0x80004009L
     1512#define CO_E_INIT_RPC_CHANNEL                              0x8000400AL
     1513#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL                  0x8000400BL
     1514#define CO_E_INIT_TLS_CHANNEL_CONTROL                      0x8000400CL
     1515#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR                0x8000400DL
     1516#define CO_E_INIT_SCM_MUTEX_EXISTS                         0x8000400EL
     1517#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS                  0x8000400FL
     1518#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE                     0x80004010L
     1519#define CO_E_INIT_SCM_EXEC_FAILURE                         0x80004011L
     1520#define CO_E_INIT_ONLY_SINGLE_THREADED                     0x80004012L
     1521
     1522#define E_UNEXPECTED                                       0x8000FFFFL
     1523
     1524#define RPC_E_CALL_REJECTED                                0x80010001L
     1525#define RPC_E_CALL_CANCELED                                0x80010002L
     1526#define RPC_E_CANTPOST_INSENDCALL                          0x80010003L
     1527#define RPC_E_CANTCALLOUT_INASYNCCALL                      0x80010004L
     1528#define RPC_E_CANTCALLOUT_INEXTERNALCALL                   0x80010005L
     1529#define RPC_E_CONNECTION_TERMINATED                        0x80010006L
     1530#define RPC_E_SERVER_DIED                                  0x80010007L
     1531#define RPC_E_CLIENT_DIED                                  0x80010008L
     1532#define RPC_E_INVALID_DATAPACKET                           0x80010009L
     1533#define RPC_E_CANTTRANSMIT_CALL                            0x8001000AL
     1534#define RPC_E_CLIENT_CANTMARSHAL_DATA                      0x8001000BL
     1535#define RPC_E_CLIENT_CANTUNMARSHAL_DATA                    0x8001000CL
     1536#define RPC_E_SERVER_CANTMARSHAL_DATA                      0x8001000DL
     1537#define RPC_E_SERVER_CANTUNMARSHAL_DATA                    0x8001000EL
     1538#define RPC_E_INVALID_DATA                                 0x8001000FL
     1539#define RPC_E_INVALID_PARAMETER                            0x80010010L
     1540#define RPC_E_CANTCALLOUT_AGAIN                            0x80010011L
     1541#define RPC_E_SERVER_DIED_DNE                              0x80010012L
     1542#define RPC_E_SYS_CALL_FAILED                              0x80010100L
     1543#define RPC_E_OUT_OF_RESOURCES                             0x80010101L
     1544#define RPC_E_ATTEMPTED_MULTITHREAD                        0x80010102L
     1545#define RPC_E_NOT_REGISTERED                               0x80010103L
     1546#define RPC_E_FAULT                                        0x80010104L
     1547#define RPC_E_SERVERFAULT                                  0x80010105L
     1548#define RPC_E_CHANGED_MODE                                 0x80010106L
     1549#define RPC_E_INVALIDMETHOD                                0x80010107L
     1550#define RPC_E_DISCONNECTED                                 0x80010108L
     1551#define RPC_E_RETRY                                        0x80010109L
     1552#define RPC_E_SERVERCALL_RETRYLATER                        0x8001010AL
     1553#define RPC_E_SERVERCALL_REJECTED                          0x8001010BL
     1554#define RPC_E_INVALID_CALLDATA                             0x8001010CL
     1555#define RPC_E_CANTCALLOUT_ININPUTSYNCCALL                  0x8001010DL
     1556#define RPC_E_WRONG_THREAD                                 0x8001010EL
     1557#define RPC_E_THREAD_NOT_INIT                              0x8001010FL
     1558#define RPC_E_VERSION_MISMATCH                             0x80010110L
     1559#define RPC_E_INVALID_HEADER                               0x80010111L
     1560#define RPC_E_INVALID_EXTENSION                            0x80010112L
     1561#define RPC_E_INVALID_IPID                                 0x80010113L
     1562#define RPC_E_INVALID_OBJECT                               0x80010114L
     1563#define RPC_S_CALLPENDING                                  0x80010115L
     1564#define RPC_S_WAITONTIMER                                  0x80010116L
     1565#define RPC_E_CALL_COMPLETE                                0x80010117L
     1566#define RPC_E_UNSECURE_CALL                                0x80010118L
     1567#define RPC_E_TOO_LATE                                     0x80010119L
     1568#define RPC_E_NO_GOOD_SECURITY_PACKAGES                    0x8001011AL
     1569#define RPC_E_ACCESS_DENIED                                0x8001011BL
     1570#define RPC_E_REMOTE_DISABLED                              0x8001011CL
     1571#define RPC_E_INVALID_OBJREF                               0x8001011DL
     1572#define RPC_E_NO_CONTEXT                                   0x8001011EL
     1573#define RPC_E_TIMEOUT                                      0x8001011FL
     1574#define RPC_E_NO_SYNC                                      0x80010120L
     1575#define RPC_E_UNEXPECTED                                   0x8001FFFFL
    17001576
    17011577#define DISP_E_UNKNOWNINTERFACE                            0x80020001L
     
    17941670#define STG_E_RESETS_EXHAUSTED                             0x8003030BL
    17951671
     1672#define OLE_S_FIRST                                        0x00040000L
     1673#define OLE_S_USEREG                                       0x00040000L
     1674#define OLE_S_STATIC                                       0x00040001L
     1675#define OLE_S_MAC_CLIPFORMAT                               0x00040002L
     1676#define OLE_S_LAST                                         0x000400FFL
     1677
     1678#define OLE_E_FIRST                                        0x80040000L
     1679#define OLE_E_OLEVERB                                      0x80040000L
     1680#define OLE_E_ADVF                                         0x80040001L
     1681#define OLE_E_ENUM_NOMORE                                  0x80040002L
     1682#define OLE_E_ADVISENOTSUPPORTED                           0x80040003L
     1683#define OLE_E_NOCONNECTION                                 0x80040004L
     1684#define OLE_E_NOTRUNNING                                   0x80040005L
     1685#define OLE_E_NOCACHE                                      0x80040006L
     1686#define OLE_E_BLANK                                        0x80040007L
     1687#define OLE_E_CLASSDIFF                                    0x80040008L
     1688#define OLE_E_CANT_GETMONIKER                              0x80040009L
     1689#define OLE_E_CANT_BINDTOSOURCE                            0x8004000AL
     1690#define OLE_E_STATIC                                       0x8004000BL
     1691#define OLE_E_PROMPTSAVECANCELLED                          0x8004000CL
     1692#define OLE_E_INVALIDRECT                                  0x8004000DL
     1693#define OLE_E_WRONGCOMPOBJ                                 0x8004000EL
     1694#define OLE_E_INVALIDHWND                                  0x8004000FL
     1695#define OLE_E_NOT_INPLACEACTIVE                            0x80040010L
     1696#define OLE_E_CANTCONVERT                                  0x80040011L
     1697#define OLE_E_NOSTORAGE                                    0x80040012L
     1698#define DV_E_FORMATETC                                     0x80040064L
     1699#define DV_E_DVTARGETDEVICE                                0x80040065L
     1700#define DV_E_STGMEDIUM                                     0x80040066L
     1701#define DV_E_STATDATA                                      0x80040067L
     1702#define DV_E_LINDEX                                        0x80040068L
     1703#define DV_E_TYMED                                         0x80040069L
     1704#define DV_E_CLIPFORMAT                                    0x8004006AL
     1705#define DV_E_DVASPECT                                      0x8004006BL
     1706#define DV_E_DVTARGETDEVICE_SIZE                           0x8004006CL
     1707#define DV_E_NOIVIEWOBJECT                                 0x8004006DL
     1708#define OLE_E_LAST                                         0x800400FFL
     1709
     1710#define DRAGDROP_S_FIRST                                   0x00040100L
     1711#define DRAGDROP_S_DROP                                    0x00040100L
     1712#define DRAGDROP_S_CANCEL                                  0x00040101L
     1713#define DRAGDROP_S_USEDEFAULTCURSORS                       0x00040102L
     1714#define DRAGDROP_S_LAST                                    0x0004010FL
     1715
     1716#define DRAGDROP_E_FIRST                                   0x80040100L
     1717#define DRAGDROP_E_NOTREGISTERED                           0x80040100L
     1718#define DRAGDROP_E_ALREADYREGISTERED                       0x80040101L
     1719#define DRAGDROP_E_INVALIDHWND                             0x80040102L
     1720#define DRAGDROP_E_LAST                                    0x8004010FL
     1721
     1722
     1723#define CLASSFACTORY_S_FIRST                               0x00040110L
     1724#define CLASSFACTORY_S_LAST                                0x0004011FL
     1725
     1726#define CLASSFACTORY_E_FIRST                               0x80040110L
     1727#define CLASS_E_NOAGGREGATION                              0x80040110L
     1728#define CLASS_E_CLASSNOTAVAILABLE                          0x80040111L
     1729#define CLASS_E_NOTLICENSED                                0x80040112L
     1730#define CLASSFACTORY_E_LAST                                0x8004011FL
     1731
     1732#define MARSHAL_S_FIRST                                    0x00040120L
     1733#define MARSHAL_S_LAST                                     0x0004012FL
     1734
     1735#define MARSHAL_E_FIRST                                    0x80040120L
     1736#define MARSHAL_E_LAST                                     0x8004012FL
     1737
     1738#define DATA_S_FIRST                                       0x00040130L
     1739#define DATA_S_SAMEFORMATETC                               0x00040130L
     1740#define DATA_S_LAST                                        0x0004013FL
     1741
     1742#define DATA_E_FIRST                                       0x80040130L
     1743#define DATA_E_LAST                                        0x8004013FL
     1744
     1745#define VIEW_S_FIRST                                       0x00040140L
     1746#define VIEW_S_ALREADY_FROZEN                              0x00040140L
     1747#define VIEW_S_LAST                                        0x0004014FL
     1748
     1749#define VIEW_E_FIRST                                       0x80040140L
     1750#define VIEW_E_DRAW                                        0x80040140L
     1751#define VIEW_E_LAST                                        0x8004014FL
     1752
     1753#define REGDB_S_FIRST                                      0x00040150L
     1754#define REGDB_S_LAST                                       0x0004015FL
     1755
     1756#define REGDB_E_FIRST                                      0x80040150L
     1757#define REGDB_E_READREGDB                                  0x80040150L
     1758#define REGDB_E_WRITEREGDB                                 0x80040151L
     1759#define REGDB_E_KEYMISSING                                 0x80040152L
     1760#define REGDB_E_INVALIDVALUE                               0x80040153L
     1761#define REGDB_E_CLASSNOTREG                                0x80040154L
     1762#define REGDB_E_IIDNOTREG                                  0x80040155L
     1763#define REGDB_E_LAST                                       0x8004015FL
     1764
     1765#define CAT_E_FIRST                                        0x80040160L
     1766#define CAT_E_CATIDNOEXIST                                 0x80040160L
     1767#define CAT_E_NODESCRIPTION                                0x80040161L
     1768#define CAT_E_LAST                                         0x80040161L
     1769
     1770#define CACHE_S_FIRST                                      0x00040170L
     1771#define CACHE_S_FORMATETC_NOTSUPPORTED                     0x00040170L
     1772#define CACHE_S_SAMECACHE                                  0x00040171L
     1773#define CACHE_S_SOMECACHES_NOTUPDATED                      0x00040172L
     1774#define CACHE_S_LAST                                       0x0004017FL
     1775
     1776#define CACHE_E_FIRST                                      0x80040170L
     1777#define CACHE_E_NOCACHE_UPDATED                            0x80040170L
     1778#define CACHE_E_LAST                                       0x8004017FL
     1779
     1780#define OLEOBJ_S_FIRST                                     0x00040180L
     1781#define OLEOBJ_S_INVALIDVERB                               0x00040180L
     1782#define OLEOBJ_S_CANNOT_DOVERB_NOW                         0x00040181L
     1783#define OLEOBJ_S_INVALIDHWND                               0x00040182L
     1784#define OLEOBJ_S_LAST                                      0x0004018FL
     1785
     1786#define OLEOBJ_E_FIRST                                     0x80040180L
     1787#define OLEOBJ_E_NOVERBS                                   0x80040180L
     1788#define OLEOBJ_E_INVALIDVERB                               0x80040181L
     1789#define OLEOBJ_E_LAST                                      0x8004018FL
     1790
     1791#define CLIENTSITE_S_FIRST                                 0x00040190L
     1792#define CLIENTSITE_S_LAST                                  0x0004019FL
     1793
     1794#define CLIENTSITE_E_FIRST                                 0x80040190L
     1795#define CLIENTSITE_E_LAST                                  0x8004019FL
     1796
     1797#define INPLACE_S_FIRST                                    0x000401A0L
     1798#define INPLACE_S_TRUNCATED                                0x000401A0L
     1799#define INPLACE_S_LAST                                     0x000401AFL
     1800
     1801#define INPLACE_E_FIRST                                    0x800401A0L
     1802#define INPLACE_E_NOTUNDOABLE                              0x800401A0L
     1803#define INPLACE_E_NOTOOLSPACE                              0x800401A1L
     1804#define INPLACE_E_LAST                                     0x800401AFL
     1805
     1806#define ENUM_S_FIRST                                       0x000401B0L
     1807#define ENUM_S_LAST                                        0x000401BFL
     1808
     1809#define ENUM_E_FIRST                                       0x800401B0L
     1810#define ENUM_E_LAST                                        0x800401BFL
     1811
     1812#define CONVERT10_S_FIRST                                  0x000401C0L
     1813#define CONVERT10_S_NO_PRESENTATION                        0x000401C0L
     1814#define CONVERT10_S_LAST                                   0x000401CFL
     1815
     1816#define CONVERT10_E_FIRST                                  0x800401C0L
     1817#define CONVERT10_E_OLESTREAM_GET                          0x800401C0L
     1818#define CONVERT10_E_OLESTREAM_PUT                          0x800401C1L
     1819#define CONVERT10_E_OLESTREAM_FMT                          0x800401C2L
     1820#define CONVERT10_E_OLESTREAM_BITMAP_TO_DIB                0x800401C3L
     1821#define CONVERT10_E_STG_FMT                                0x800401C4L
     1822#define CONVERT10_E_STG_NO_STD_STREAM                      0x800401C5L
     1823#define CONVERT10_E_STG_DIB_TO_BITMAP                      0x800401C6L
     1824#define CONVERT10_E_LAST                                   0x800401CFL
     1825
     1826#define CLIPBRD_S_FIRST                                    0x000401D0L
     1827#define CLIPBRD_S_LAST                                     0x000401DFL
     1828
     1829#define CLIPBRD_E_FIRST                                    0x800401D0L
     1830#define CLIPBRD_E_LAST                                     0x800401DFL
     1831#define CLIPBRD_E_CANT_OPEN                                0x800401D0L
     1832#define CLIPBRD_E_CANT_EMPTY                               0x800401D1L
     1833#define CLIPBRD_E_CANT_SET                                 0x800401D2L
     1834#define CLIPBRD_E_BAD_DATA                                 0x800401D3L
     1835#define CLIPBRD_E_CANT_CLOSE                               0x800401D4L
     1836
     1837#define MK_S_FIRST                                         0x000401E0L
     1838#define MK_S_REDUCED_TO_SELF                               0x000401E2L
     1839#define MK_S_ME                                            0x000401E4L
     1840#define MK_S_HIM                                           0x000401E5L
     1841#define MK_S_US                                            0x000401E6L
     1842#define MK_S_MONIKERALREADYREGISTERED                      0x000401E7L
     1843#define MK_S_LAST                                          0x000401EFL
     1844
     1845#define MK_E_FIRST                                         0x800401E0L
     1846#define MK_E_CONNECTMANUALLY                               0x800401E0L
     1847#define MK_E_EXCEEDEDDEADLINE                              0x800401E1L
     1848#define MK_E_NEEDGENERIC                                   0x800401E2L
     1849#define MK_E_UNAVAILABLE                                   0x800401E3L
     1850#define MK_E_SYNTAX                                        0x800401E4L
     1851#define MK_E_NOOBJECT                                      0x800401E5L
     1852#define MK_E_INVALIDEXTENSION                              0x800401E6L
     1853#define MK_E_INTERMEDIATEINTERFACENOTSUPPORTED             0x800401E7L
     1854#define MK_E_NOTBINDABLE                                   0x800401E8L
     1855#define MK_E_NOTBOUND                                      0x800401E9L
     1856#define MK_E_CANTOPENFILE                                  0x800401EAL
     1857#define MK_E_MUSTBOTHERUSER                                0x800401EBL
     1858#define MK_E_NOINVERSE                                     0x800401ECL
     1859#define MK_E_NOSTORAGE                                     0x800401EDL
     1860#define MK_E_NOPREFIX                                      0x800401EEL
     1861#define MK_E_ENUMERATION_FAILED                            0x800401EFL
     1862#define MK_E_LAST                                          0x800401EFL
     1863
     1864#define CO_S_FIRST                                         0x000401F0L
     1865#define CO_S_LAST                                          0x000401FFL
     1866
     1867#define CO_E_FIRST                                         0x800401F0L
     1868#define CO_E_NOTINITIALIZED                                0x800401F0L
     1869#define CO_E_ALREADYINITIALIZED                            0x800401F1L
     1870#define CO_E_CANTDETERMINECLASS                            0x800401F2L
     1871#define CO_E_CLASSSTRING                                   0x800401F3L
     1872#define CO_E_IIDSTRING                                     0x800401F4L
     1873#define CO_E_APPNOTFOUND                                   0x800401F5L
     1874#define CO_E_APPSINGLEUSE                                  0x800401F6L
     1875#define CO_E_ERRORINAPP                                    0x800401F7L
     1876#define CO_E_DLLNOTFOUND                                   0x800401F8L
     1877#define CO_E_ERRORINDLL                                    0x800401F9L
     1878#define CO_E_WRONGOSFORAPP                                 0x800401FAL
     1879#define CO_E_OBJNOTREG                                     0x800401FBL
     1880#define CO_E_OBJISREG                                      0x800401FCL
     1881#define CO_E_OBJNOTCONNECTED                               0x800401FDL
     1882#define CO_E_APPDIDNTREG                                   0x800401FEL
     1883#define CO_E_RELEASED                                      0x800401FFL
     1884#define CO_E_LAST                                          0x800401FFL
     1885#define CO_E_FAILEDTOIMPERSONATE                           0x80040200L
     1886#define CO_E_FAILEDTOGETSECCTX                             0x80040201L
     1887#define CO_E_FAILEDTOOPENTHREADTOKEN                       0x80040202L
     1888#define CO_E_FAILEDTOGETTOKENINFO                          0x80040203L
     1889#define CO_E_TRUSTEEDOESNTMATCHCLIENT                      0x80040204L
     1890#define CO_E_FAILEDTOQUERYCLIENTBLANKET                    0x80040205L
     1891#define CO_E_FAILEDTOSETDACL                               0x80040206L
     1892#define CO_E_ACCESSCHECKFAILED                             0x80040207L
     1893#define CO_E_NETACCESSAPIFAILED                            0x80040208L
     1894#define CO_E_WRONGTRUSTEENAMESYNTAX                        0x80040209L
     1895#define CO_E_INVALIDSID                                    0x8004020AL
     1896#define CO_E_CONVERSIONFAILED                              0x8004020BL
     1897#define CO_E_NOMATCHINGSIDFOUND                            0x8004020CL
     1898#define CO_E_LOOKUPACCSIDFAILED                            0x8004020DL
     1899#define CO_E_NOMATCHINGNAMEFOUND                           0x8004020EL
     1900#define CO_E_LOOKUPACCNAMEFAILED                           0x8004020FL
     1901#define CO_E_SETSERLHNDLFAILED                             0x80040210L
     1902#define CO_E_FAILEDTOGETWINDIR                             0x80040211L
     1903#define CO_E_PATHTOOLONG                                   0x80040212L
     1904#define CO_E_FAILEDTOGENUUID                               0x80040213L
     1905#define CO_E_FAILEDTOCREATEFILE                            0x80040214L
     1906#define CO_E_FAILEDTOCLOSEHANDLE                           0x80040215L
     1907#define CO_E_EXCEEDSYSACLLIMIT                             0x80040216L
     1908#define CO_E_ACESINWRONGORDER                              0x80040217L
     1909#define CO_E_INCOMPATIBLESTREAMVERSION                     0x80040218L
     1910#define CO_E_FAILEDTOOPENPROCESSTOKEN                      0x80040219L
     1911#define CO_E_DECODEFAILED                                  0x8004021AL
     1912#define CO_E_ACNOTINITIALIZED                              0x8004021BL
     1913
     1914#define E_ACCESSDENIED                                     0x80070005L
     1915#define E_HANDLE                                           0x80070006L
     1916#define E_OUTOFMEMORY                                      0x8007000EL
     1917#define E_INVALIDARG                                       0x80070057L
     1918
     1919/* For IKsPropertySets */
     1920#define E_PROP_ID_UNSUPPORTED                              0x80070490L
     1921#define E_PROP_SET_UNSUPPORTED                             0x80070492L
     1922
     1923#define CO_S_NOTALLINTERFACES                              0x00080012L
     1924
     1925#define CO_E_CLASS_CREATE_FAILED                           0x80080001L
     1926#define CO_E_SCM_ERROR                                     0x80080002L
     1927#define CO_E_SCM_RPC_FAILURE                               0x80080003L
     1928#define CO_E_BAD_PATH                                      0x80080004L
     1929#define CO_E_SERVER_EXEC_FAILURE                           0x80080005L
     1930#define CO_E_OBJSRV_RPC_FAILURE                            0x80080006L
     1931#define MK_E_NO_NORMALIZED                                 0x80080007L
     1932#define CO_E_SERVER_STOPPING                               0x80080008L
     1933#define MEM_E_INVALID_ROOT                                 0x80080009L
     1934#define MEM_E_INVALID_LINK                                 0x80080010L
     1935#define MEM_E_INVALID_SIZE                                 0x80080011L
     1936
     1937/*Cryptographic Error Codes */
     1938#define NTE_BAD_UID                                        0x80090001L
     1939#define NTE_BAD_HASH                                       0x80090002L
     1940#define NTE_BAD_KEY                                        0x80090003L
     1941#define NTE_BAD_LEN                                        0x80090004L
     1942#define NTE_BAD_DATA                                       0x80090005L
     1943#define NTE_BAD_SIGNATURE                                  0x80090006L
     1944#define NTE_BAD_VER                                        0x80090007L
     1945#define NTE_BAD_ALGID                                      0x80090008L
     1946#define NTE_BAD_FLAGS                                      0x80090009L
     1947#define NTE_BAD_TYPE                                       0x8009000AL
     1948#define NTE_BAD_KEY_STATE                                  0x8009000BL
     1949#define NTE_BAD_HASH_STATE                                 0x8009000CL
     1950#define NTE_NO_KEY                                         0x8009000DL
     1951#define NTE_NO_MEMORY                                      0x8009000EL
     1952#define NTE_EXISTS                                         0x8009000FL
     1953#define NTE_PERM                                           0x80090010L
     1954#define NTE_NOT_FOUND                                      0x80090011L
     1955#define NTE_DOUBLE_ENCRYPT                                 0x80090012L
     1956#define NTE_BAD_PROVIDER                                   0x80090013L
     1957#define NTE_BAD_PROV_TYPE                                  0x80090014L
     1958#define NTE_BAD_PUBLIC_KEY                                 0x80090015L
     1959#define NTE_BAD_KEYSET                                     0x80090016L
     1960#define NTE_PROV_TYPE_NOT_DEF                              0x80090017L
     1961#define NTE_PROV_TYPE_ENTRY_BAD                            0x80090018L
     1962#define NTE_KEYSET_NOT_DEF                                 0x80090019L
     1963#define NTE_KEYSET_ENTRY_BAD                               0x8009001AL
     1964#define NTE_PROV_TYPE_NO_MATCH                             0x8009001BL
     1965#define NTE_SIGNATURE_FILE_BAD                             0x8009001CL
     1966#define NTE_PROVIDER_DLL_FAIL                              0x8009001DL
     1967#define NTE_PROV_DLL_NOT_FOUND                             0x8009001EL
     1968#define NTE_BAD_KEYSET_PARAM                               0x8009001FL
     1969#define NTE_FAIL                                           0x80090020L
     1970#define NTE_SYS_ERR                                        0x80090021L
     1971#define NTE_OP_OK                                          0
     1972
     1973#define SEC_E_INSUFFICIENT_MEMORY                          0x80090300L
     1974#define SEC_E_INVALID_HANDLE                               0x80090301L
     1975#define SEC_E_UNSUPPORTED_FUNCTION                         0x80090302L
     1976#define SEC_E_TARGET_UNKNOWN                               0x80090303L
     1977#define SEC_E_INTERNAL_ERROR                               0x80090304L
     1978#define SEC_E_SECPKG_NOT_FOUND                             0x80090305L
     1979#define SEC_E_NOT_OWNER                                    0x80090306L
     1980#define SEC_E_CANNOT_INSTALL                               0x80090307L
     1981#define SEC_E_INVALID_TOKEN                                0x80090308L
     1982#define SEC_E_CANNOT_PACK                                  0x80090309L
     1983#define SEC_E_QOP_NOT_SUPPORTED                            0x8009030AL
     1984#define SEC_E_NO_IMPERSONATION                             0x8009030BL
     1985#define SEC_E_LOGON_DENIED                                 0x8009030CL
     1986#define SEC_E_UNKNOWN_CREDENTIALS                          0x8009030DL
     1987#define SEC_E_NO_CREDENTIALS                               0x8009030EL
     1988#define SEC_E_MESSAGE_ALTERED                              0x8009030FL
     1989#define SEC_E_OUT_OF_SEQUENCE                              0x80090310L
     1990#define SEC_E_NO_AUTHENTICATING_AUTHORITY                  0x80090311L
     1991#define SEC_E_BAD_PKGID                                    0x80090316L
     1992#define SEC_E_CONTEXT_EXPIRED                              0x80090317L
     1993#define SEC_E_INCOMPLETE_MESSAGE                           0x80090318L
     1994#define SEC_E_INCOMPLETE_CREDENTIALS                       0x80090320L
     1995#define SEC_E_BUFFER_TOO_SMALL                             0x80090321L
     1996#define SEC_E_WRONG_PRINCIPAL                              0x80090322L
     1997#define SEC_E_UNTRUSTED_ROOT                               0x80090325L
     1998#define SEC_E_ILLEGAL_MESSAGE                              0x80090326L
     1999#define SEC_E_CERT_UNKNOWN                                 0x80090327L
     2000#define SEC_E_CERT_EXPIRED                                 0x80090328L
     2001#define SEC_E_ENCRYPT_FAILURE                              0x80090329L
     2002#define SEC_E_DECRYPT_FAILURE                              0x80090330L
     2003#define SEC_E_ALGORITHM_MISMATCH                           0x80090331L
     2004#define SEC_E_UNFINISHED_CONTEXT_DELETED                   0x80090333L
     2005#define SEC_E_NO_TGT_REPLY                                 0x80090334L
     2006#define SEC_E_NO_IP_ADDRESSES                              0x80090335L
     2007#define SEC_E_WRONG_CREDENTIAL_HANDLE                      0x80090336L
     2008#define SEC_E_CRYPTO_SYSTEM_INVALID                        0x80090337L
     2009#define SEC_E_MAX_REFERRALS_EXCEEDED                       0x80090338L
     2010#define SEC_E_MUST_BE_KDC                                  0x80090339L
     2011#define SEC_E_STRONG_CRYPTO_NOT_SUPPORTED                  0x8009033AL
     2012#define SEC_E_TOO_MANY_PRINCIPALS                          0x8009033BL
     2013#define SEC_E_NO_PA_DATA                                   0x8009033CL
     2014#define SEC_E_PKINIT_NAME_MISMATCH                         0x8009033DL
     2015#define SEC_E_SMARTCARD_LOGON_REQUIRED                     0x8009033EL
     2016#define SEC_E_KDC_INVALID_REQUEST                          0x80090340L
     2017#define SEC_E_KDC_UNABLE_TO_REFER                          0x80090341L
     2018#define SEC_E_KDC_UNKNOWN_ETYPE                            0x80090342L
     2019#define SEC_E_UNSUPPORTED_PREAUTH                          0x80090343L
     2020#define SEC_E_BAD_BINDINGS                                 0x80090346L
     2021#define SEC_E_MULTIPLE_ACCOUNTS                            0x80090347L
     2022#define SEC_E_NO_KERB_KEY                                  0x80090348L
     2023
     2024#define CRYPT_E_REVOKED                                    0x80092010L
     2025#define CRYPT_E_NO_REVOCATION_CHECK                        0x80092012L
     2026#define CRYPT_E_REVOCATION_OFFLINE                         0x80092013L
     2027#define TRUST_E_CERT_SIGNATURE                             0x80096004L
     2028
     2029/* Smart card management error codes */
     2030#define SCARD_E_NO_SMARTCARD                               0x8010000CL
     2031#define SCARD_E_NO_SUCH_CERTIFICATE                        0x8010002CL
     2032#define SCARD_E_COMM_DATA_LOST                             0x8010002FL
     2033
     2034#define SCARD_W_WRONG_CHV                                  0x8010006BL
     2035#define SCARD_W_CHV_BLOCKED                                0x8010006CL
     2036#define SCARD_W_CARD_NOT_AUTHENTICATED                     0x8010006FL
     2037
     2038/* Obtained from lcc-win32 include files */
     2039#define GDI_ERROR                       0xffffffff
     2040
    17962041#endif  /* __WINE_WINERROR_H */
Note: See TracChangeset for help on using the changeset viewer.