Changeset 35 for Include


Ignore:
Timestamp:
Dec 24, 2006, 12:31:40 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

OLE Automation関数などの追加
KERNEL関数などの追加

Location:
Include
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • Include/api_reg.sbp

    r1 r35  
    99Const READ_CONTROL =        &H00020000
    1010Const STANDARD_RIGHTS_ALL = &H001F0000
    11 
    12 Const ERROR_SUCCESS = 0
    1311
    1412
  • Include/api_shell.sbp

    r1 r35  
    1111Declare Function DoEnvironmentSubst Lib "shell32" Alias "DoEnvironmentSubstA" (
    1212    pszString As PSTR,
    13     cchString As DWord
     13    cchString As DWord
    1414) As DWord
    1515
     
    2222Declare Function ExtractIconEx Lib "shell32" Alias "ExtractIconExA" (lpszFile As PCSTR, nIconIndex As Long, phiconLarge As *DWord, phiconSmall As *DWord, nIcons As Long) As HICON
    2323
    24 Const ERROR_FILE_NOT_FOUND = 2
    25 Const ERROR_PATH_NOT_FOUND = 3
    26 Const ERROR_BAD_FORMAT = 11
    2724Declare Function FindExecutable Lib "shell32" Alias "FindExecutableA" (
    2825    pFile As PCSTR,
     
    110107
    111108Type SHITEMID
    112     cb As Word
    113     abID[ELM(1)] As Byte
     109    cb As Word
     110    abID[ELM(1)] As Byte
    114111End Type
    115112
  • Include/api_system.sbp

    r1 r35  
    251251#endif
    252252
    253 ' Overlapped I/O operation is in progress.
    254 Const ERROR_IO_PENDING = 997
    255 
    256253' Global Memory Flags
    257254Const GMEM_FIXED =          &H0000
     
    306303
    307304'Event
    308 Const EVENT_MODIFY_STATE = &H0002 
    309 Const EVENT_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or &H3) 
     305Const EVENT_MODIFY_STATE = &H0002
     306Const EVENT_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or &H3)
    310307
    311308'Mutex
     
    314311
    315312'Semaphore
    316 Const SEMAPHORE_MODIFY_STATE = &H0002 
    317 Const SEMAPHORE_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or &H3) 
     313Const SEMAPHORE_MODIFY_STATE = &H0002
     314Const SEMAPHORE_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or &H3)
    318315
    319316'Timer
     
    348345Const CSTR_EQUAL =        2
    349346Const CSTR_GREATER_THAN = 3
    350 Declare Function CompareString Lib "kernel32" Alias "CompareStringA" (Locale As LCID, dwCmpFlags As DWord, lpString1 As PSTR, cchCount1 As Long, lpString2 As PSTR, cchCount2 As Long) As Long
     347Declare Function CompareString Lib "kernel32" Alias "CompareStringA" (Locale As LCID, dwCmpFlags As DWord, pString1 As PCSTR, cchCount1 As Long, pString2 As PCSTR, cchCount2 As Long) As Long
    351348
    352349Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (lpExistingFileName As LPCSTR, lpNewFileName As LPCSTR, bFailIfExists As BOOL) As BOOL
     
    531528Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" (hFindFile As HANDLE, ByRef lpFindFildData As WIN32_FIND_DATA) As BOOL
    532529Declare Function FlushFileBuffers Lib "kernel32" (hFile As HANDLE) As BOOL
     530Declare Function FlushInstructionCache Lib "kernel32"(hProcess As HANDLE, pBaseAddress As VoidPtr, Size As SIZE_T) As BOOL
    533531
    534532Const FORMAT_MESSAGE_ALLOCATE_BUFFER = &H00000100
     
    619617Declare Function GetPriorityClass Lib "kernel32" (hProcess As HANDLE) As DWord
    620618Declare Function GetProcAddress Lib "kernel32" (hModule As HINSTANCE, lpProcName As BytePtr) As DWord
     619Declare Function GetProcessAffinityMask Lib "kernel32" (
     620    hProcess As HANDLE,
     621    ByRef ProcessAffinityMask As ULONG_PTR,
     622    ByRef SystemAffinityMask As ULONG_PTR
     623) As BOOL
    621624Declare Function GetProcessHeap Lib "kernel32" () As HANDLE
    622625Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (
    623   pszLongPath As PCSTR,
    624   lpszShortPath As PSTR,
    625   cchBuffer As DWord
     626    pszLongPath As PCSTR,
     627    pszShortPath As PSTR,
     628    cchBuffer As DWord
    626629) As DWord
    627630
     
    633636Declare Function GetStdHandle Lib "kernel32" (nStdHandle As DWord) As HANDLE
    634637
    635 Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (lpBuffer As BytePtr, uSize As DWord) As DWord
     638Declare Function GetSystemDirectory Lib "kernel32" Alias "GetSystemDirectoryA" (pBuffer As PSTR, uSize As DWord) As DWord
    636639
    637640Type SYSTEM_INFO
     
    686689
    687690Declare Function GetUserDefaultLCID Lib "kernel32" () As LCID
    688 Declare Function GetUserName Lib "advapi32" Alias "GetUserNameA" (lpBuffer As BytePtr, ByRef nSize As DWord) As BOOL
     691Declare Function GetUserName Lib "advapi32" Alias "GetUserNameA" (pBuffer As PSTR, ByRef nSize As DWord) As BOOL
    689692
    690693Const VER_PLATFORM_WIN32s        = 0
     
    701704Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" (ByRef lpVersionInformation As OSVERSIONINFO) As BOOL
    702705
    703 Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (lpBuffer As BytePtr, uSize As DWord) As DWord
     706Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (pBuffer As PSTR, uSize As DWord) As DWord
    704707Declare Function GlobalAlloc Lib "kernel32" (uFlags As DWord, dwBytes As SIZE_T) As HGLOBAL
     708Declare Function GlobalFrags Lib "kernel32" (hMem As HGLOBAL) As DWord
    705709Declare Function GlobalFree Lib "kernel32" (hMem As HGLOBAL) As HGLOBAL
     710Declare Function GlobalHandle Lib "kernel32" (pMem As VoidPtr) As HGLOBAL
    706711Declare Function GlobalLock Lib "kernel32" (hMem As HGLOBAL) As VoidPtr
    707712
     
    753758Declare Function LocalFileTimeToFileTime Lib "kernel32" (ByRef lpLocalFileTime As FILETIME, ByRef lpFileTime As FILETIME) As BOOL
    754759Declare Function LocalFree Lib "kernel32" (hMem As HLOCAL) As HLOCAL
     760Declare Function LocalHandle Lib "kernel32" (pMem As VoidPtr) As HLOCAL
     761Declare Function LocalLock Lib "kernel32" (hMem As HLOCAL) As VoidPtr
     762Declare Function LocalReAlloc Lib "kernel32" (hMem As HLOCAL, dwBytes As SIZE_T, uFlags As DWord) As HLOCAL
     763Declare Function LocalSize Lib "kernel32" (hMem As HLOCAL) As SIZE_T
     764Declare Function LocalUnlock Lib "kernel32" (hMem As HLOCAL) As BOOL
    755765Declare Function LockFile Lib "kernel32" (hFile As DWord, dwFileOffsetLow As DWord, dwFileOffsetHigh As DWord, nNumberOfBytesToLockLow As DWord, nNumberOfBytesToLockHigh As DWord) As BOOL
    756 Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (lpLibFileName As BytePtr) As HINSTANCE
     766Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (pLibFileName As PCSTR) As HINSTANCE
    757767
    758768Const DONT_RESOLVE_DLL_REFERENCES   = &h00000001
     
    876886Declare Function TerminateProcess Lib "kernel32" (hProcess As HANDLE, dwExitCode As DWord) As BOOL
    877887Declare Function TerminateThread Lib "kernel32" (hThread As HANDLE, dwExitCode As DWord) As BOOL
    878 Declare Sub TlsAlloc Lib "kernel32" ()
     888Declare Function TlsAlloc Lib "kernel32" () As DWord
    879889Declare Function TlsFree Lib "kernel32" (dwTlsIndex As DWord) As BOOL
    880890Declare Function TlsGetValue Lib "kernel32" (dwTlsIndex As DWord) As VoidPtr
     
    907917Declare Function VirtualFree Lib "kernel32" (lpAddress As VoidPtr, dwSize As SIZE_T, dwFreeType As DWord) As BOOL
    908918Declare Function VirtualLock Lib "kernel32" (lpAddress As VoidPtr, dwSize As SIZE_T) As BOOL
     919Declare Function VirtualProtect Lib "kernel32" (
     920    pAddress As VoidPtr,
     921    Size As SIZE_T,
     922    flNewProtect As DWord,
     923    ByRef flOldProtect As DWord
     924) As BOOL
     925Declare Function VirtualProtectEx Lib "kernel32" (
     926    hProcess As HANDLE,
     927    pAddress As VoidPtr,
     928    Size As SIZE_T,
     929    flNewProtect As DWord,
     930    ByRef flOldProtect As DWord
     931) As BOOL
     932Type MEMORY_BASIC_INFORMATION
     933    BaseAddress As VoidPtr
     934    AllocationBase As VoidPtr
     935    AllocationProtect As DWord
     936    RegionSize As SIZE_T
     937    State As DWord
     938    Protect As DWord
     939    MBIType As DWord
     940End Type
     941Declare Function VirtualQuery Lib "kernel32" (
     942    pAddress As VoidPtr,
     943    ByRef mbi As MEMORY_BASIC_INFORMATION,
     944    Length As SIZE_T
     945) As SIZE_T
     946Declare Function VirtualQueryEx Lib "kernel32" (
     947    hProcess As HANDLE,
     948    pAddress As VoidPtr,
     949    ByRef mbi As MEMORY_BASIC_INFORMATION,
     950    Length As SIZE_T
     951) As SIZE_T
    909952Declare Function VirtualUnlock Lib "kernel32" (lpAddress As VoidPtr, dwSize As SIZE_T) As BOOL
    910953Declare Function WaitForMultipleObjects Lib "kernel32" (nCount As DWord, pHandles As *HANDLE, fWaitAll As BOOL, dwMilliseconds As DWord) As DWord
     
    931974Declare Function WriteFile Lib "kernel32" (hFile As HANDLE, lpBuffer As VoidPtr, nNumberOfBytesToWrite As DWord, lpNumberOfBytesWritten As DWordPtr, ByRef lpOverlapped As OVERLAPPED) As BOOL
    932975Declare Sub ZeroMemory Lib "kernel32" Alias "RtlZeroMemory" (Destination As VoidPtr, dwLength As DWord)
    933 
    934 
    935976
    936977Const MAKELCID(lgid, srtid) = ((((srtid As Word) As DWord)<<16) or ((lgid As Word) As DWord))
     
    11261167
    11271168
    1128 Const LANG_SYSTEM_DEFAULT =  (MAKELANGID(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT))
    1129 Const LANG_USER_DEFAULT   =  (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))
     1169Const LANG_SYSTEM_DEFAULT = (MAKELANGID(LANG_NEUTRAL, SUBLANG_SYS_DEFAULT))
     1170Const LANG_USER_DEFAULT   = (MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT))
    11301171
    11311172
     
    11661207
    11671208Const WAIT_IO_COMPLETION = &h000000C0 'STATUS_USER_APC
    1168 Const WAIT_TIMEOUT = &h000000C0
    1169 
    11701209
    11711210#endif '_INC_SYSTEM
  • Include/api_winerror.sbp

    r1 r35  
    55#define _INC_WINERROR
    66
    7 
    8 Const MAKE_HRESULT(sev,fac,code) = (sev<<31) or (fac<<16) or code
    9 
    10 ' Success codes
    11 Const S_OK    = 0
    12 Const S_FALSE = 1
    13 
    14 ' Not implemented
    15 Const E_NOTIMPL = &H80004001
    16 
    17 ' Ran out of memory
    18 Const E_OUTOFMEMORY = &H8007000E
    19 
    20 ' One or more arguments are invalid
    21 Const E_INVALIDARG = &H80070057
    22 
    23 ' No such interface supported
    24 Const E_NOINTERFACE = &H80004002
    25 
    26 ' Unspecified error
    27 Const E_FAIL = &H80004005
    28 
    29 ' General access denied error
    30 Const E_ACCESSDENIED = &H80070005
    31 
    32 ' Class does not support aggregation (or class object is remote)
    33 Const CLASS_E_NOAGGREGATION = &H80040110
    34 
    35 ' Class not registered
    36 Const REGDB_E_CLASSNOTREG = &H80040154
    37 
    38 ' Cannot change thread mode after it is set.
    39 Const RPC_E_CHANGED_MODE =&H80010106
    40 
    41 ' Error drawing view
    42 Const VIEW_E_DRAW = &h80040140
    43 
    44 ' Invalid FORMATETC structure
    45 Const DV_E_FORMATETC = &h80040064
     7Const FACILITY_WINDOWSUPDATE = 36
     8Const FACILITY_WINDOWS_CE = 24
     9Const FACILITY_WINDOWS = 8
     10Const FACILITY_URT = 19
     11Const FACILITY_UMI = 22
     12Const FACILITY_SXS = 23
     13Const FACILITY_STORAGE = 3
     14Const FACILITY_STATE_MANAGEMENT = 34
     15Const FACILITY_SSPI = 9
     16Const FACILITY_SCARD = 16
     17Const FACILITY_SETUPAPI = 15
     18Const FACILITY_SECURITY = 9
     19Const FACILITY_RPC = 1
     20Const FACILITY_WIN32 = 7
     21Const FACILITY_CONTROL = 10
     22Const FACILITY_NULL = 0
     23Const FACILITY_METADIRECTORY = 35
     24Const FACILITY_MSMQ = 14
     25Const FACILITY_MEDIASERVER = 13
     26Const FACILITY_INTERNET = 12
     27Const FACILITY_ITF = 4
     28Const FACILITY_HTTP = 25
     29Const FACILITY_DPLAY = 21
     30Const FACILITY_DISPATCH = 2
     31Const FACILITY_DIRECTORYSERVICE = 37
     32Const FACILITY_CONFIGURATION = 33
     33Const FACILITY_COMPLUS = 17
     34Const FACILITY_CERT = 11
     35Const FACILITY_BACKGROUNDCOPY = 32
     36Const FACILITY_ACS = 20
     37Const FACILITY_AAF = 18
     38Const ERROR_SUCCESS = 0
     39Const NO_ERROR = 0
     40Const SEC_E_OK = (&h00000000 As HRESULT)
     41Const ERROR_INVALID_FUNCTION = 1
     42Const ERROR_FILE_NOT_FOUND = 2
     43Const ERROR_PATH_NOT_FOUND = 3
     44Const ERROR_TOO_MANY_OPEN_FILES = 4
     45Const ERROR_ACCESS_DENIED = 5
     46Const ERROR_INVALID_HANDLE = 6
     47Const ERROR_ARENA_TRASHED = 7
     48Const ERROR_NOT_ENOUGH_MEMORY = 8
     49Const ERROR_INVALID_BLOCK = 9
     50Const ERROR_BAD_ENVIRONMENT = 10
     51Const ERROR_BAD_FORMAT = 11
     52Const ERROR_INVALID_ACCESS = 12
     53Const ERROR_INVALID_DATA = 13
     54Const ERROR_OUTOFMEMORY = 14
     55Const ERROR_INVALID_DRIVE = 15
     56Const ERROR_CURRENT_DIRECTORY = 16
     57Const ERROR_NOT_SAME_DEVICE = 17
     58Const ERROR_NO_MORE_FILES = 18
     59Const ERROR_WRITE_PROTECT = 19
     60Const ERROR_BAD_UNIT = 20
     61Const ERROR_NOT_READY = 21
     62Const ERROR_BAD_COMMAND = 22
     63Const ERROR_CRC = 23
     64Const ERROR_BAD_LENGTH = 24
     65Const ERROR_SEEK = 25
     66Const ERROR_NOT_DOS_DISK = 26
     67Const ERROR_SECTOR_NOT_FOUND = 27
     68Const ERROR_OUT_OF_PAPER = 28
     69Const ERROR_WRITE_FAULT = 29
     70Const ERROR_READ_FAULT = 30
     71Const ERROR_GEN_FAILURE = 31
     72Const ERROR_SHARING_VIOLATION = 32
     73Const ERROR_LOCK_VIOLATION = 33
     74Const ERROR_WRONG_DISK = 34
     75Const ERROR_SHARING_BUFFER_EXCEEDED = 36
     76Const ERROR_HANDLE_EOF = 38
     77Const ERROR_HANDLE_DISK_FULL = 39
     78Const ERROR_NOT_SUPPORTED = 50
     79Const ERROR_REM_NOT_LIST = 51
     80Const ERROR_DUP_NAME = 52
     81Const ERROR_BAD_NETPATH = 53
     82Const ERROR_NETWORK_BUSY = 54
     83Const ERROR_DEV_NOT_EXIST = 55
     84Const ERROR_TOO_MANY_CMDS = 56
     85Const ERROR_ADAP_HDW_ERR = 57
     86Const ERROR_BAD_NET_RESP = 58
     87Const ERROR_UNEXP_NET_ERR = 59
     88Const ERROR_BAD_REM_ADAP = 60
     89Const ERROR_PRINTQ_FULL = 61
     90Const ERROR_NO_SPOOL_SPACE = 62
     91Const ERROR_PRINT_CANCELLED = 63
     92Const ERROR_NETNAME_DELETED = 64
     93Const ERROR_NETWORK_ACCESS_DENIED = 65
     94Const ERROR_BAD_DEV_TYPE = 66
     95Const ERROR_BAD_NET_NAME = 67
     96Const ERROR_TOO_MANY_NAMES = 68
     97Const ERROR_TOO_MANY_SESS = 69
     98Const ERROR_SHARING_PAUSED = 70
     99Const ERROR_REQ_NOT_ACCEP = 71
     100Const ERROR_REDIR_PAUSED = 72
     101Const ERROR_FILE_EXISTS = 80
     102Const ERROR_CANNOT_MAKE = 82
     103Const ERROR_FAIL_I24 = 83
     104Const ERROR_OUT_OF_STRUCTURES = 84
     105Const ERROR_ALREADY_ASSIGNED = 85
     106Const ERROR_INVALID_PASSWORD = 86
     107Const ERROR_INVALID_PARAMETER = 87
     108Const ERROR_NET_WRITE_FAULT = 88
     109Const ERROR_NO_PROC_SLOTS = 89
     110Const ERROR_TOO_MANY_SEMAPHORES = 100
     111Const ERROR_EXCL_SEM_ALREADY_OWNED = 101
     112Const ERROR_SEM_IS_SET = 102
     113Const ERROR_TOO_MANY_SEM_REQUESTS = 103
     114Const ERROR_INVALID_AT_INTERRUPT_TIME = 104
     115Const ERROR_SEM_OWNER_DIED = 105
     116Const ERROR_SEM_USER_LIMIT = 106
     117Const ERROR_DISK_CHANGE = 107
     118Const ERROR_DRIVE_LOCKED = 108
     119Const ERROR_BROKEN_PIPE = 109
     120Const ERROR_OPEN_FAILED = 110
     121Const ERROR_BUFFER_OVERFLOW = 111
     122Const ERROR_DISK_FULL = 112
     123Const ERROR_NO_MORE_SEARCH_HANDLES = 113
     124Const ERROR_INVALID_TARGET_HANDLE = 114
     125Const ERROR_INVALID_CATEGORY = 117
     126Const ERROR_INVALID_VERIFY_SWITCH = 118
     127Const ERROR_BAD_DRIVER_LEVEL = 119
     128Const ERROR_CALL_NOT_IMPLEMENTED = 120
     129Const ERROR_SEM_TIMEOUT = 121
     130Const ERROR_INSUFFICIENT_BUFFER = 122
     131Const ERROR_INVALID_NAME = 123
     132Const ERROR_INVALID_LEVEL = 124
     133Const ERROR_NO_VOLUME_LABEL = 125
     134Const ERROR_MOD_NOT_FOUND = 126
     135Const ERROR_PROC_NOT_FOUND = 127
     136Const ERROR_WAIT_NO_CHILDREN = 128
     137Const ERROR_CHILD_NOT_COMPLETE = 129
     138Const ERROR_DIRECT_ACCESS_HANDLE = 130
     139Const ERROR_NEGATIVE_SEEK = 131
     140Const ERROR_SEEK_ON_DEVICE = 132
     141Const ERROR_IS_JOIN_TARGET = 133
     142Const ERROR_IS_JOINED = 134
     143Const ERROR_IS_SUBSTED = 135
     144Const ERROR_NOT_JOINED = 136
     145Const ERROR_NOT_SUBSTED = 137
     146Const ERROR_JOIN_TO_JOIN = 138
     147Const ERROR_SUBST_TO_SUBST = 139
     148Const ERROR_JOIN_TO_SUBST = 140
     149Const ERROR_SUBST_TO_JOIN = 141
     150Const ERROR_BUSY_DRIVE = 142
     151Const ERROR_SAME_DRIVE = 143
     152Const ERROR_DIR_NOT_ROOT = 144
     153Const ERROR_DIR_NOT_EMPTY = 145
     154Const ERROR_IS_SUBST_PATH = 146
     155Const ERROR_IS_JOIN_PATH = 147
     156Const ERROR_PATH_BUSY = 148
     157Const ERROR_IS_SUBST_TARGET = 149
     158Const ERROR_SYSTEM_TRACE = 150
     159Const ERROR_INVALID_EVENT_COUNT = 151
     160Const ERROR_TOO_MANY_MUXWAITERS = 152
     161Const ERROR_INVALID_LIST_FORMAT = 153
     162Const ERROR_LABEL_TOO_LONG = 154
     163Const ERROR_TOO_MANY_TCBS = 155
     164Const ERROR_SIGNAL_REFUSED = 156
     165Const ERROR_DISCARDED = 157
     166Const ERROR_NOT_LOCKED = 158
     167Const ERROR_BAD_THREADID_ADDR = 159
     168Const ERROR_BAD_ARGUMENTS = 160
     169Const ERROR_BAD_PATHNAME = 161
     170Const ERROR_SIGNAL_PENDING = 162
     171Const ERROR_MAX_THRDS_REACHED = 164
     172Const ERROR_LOCK_FAILED = 167
     173Const ERROR_BUSY = 170
     174Const ERROR_CANCEL_VIOLATION = 173
     175Const ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174
     176Const ERROR_INVALID_SEGMENT_NUMBER = 180
     177Const ERROR_INVALID_ORDINAL = 182
     178Const ERROR_ALREADY_EXISTS = 183
     179Const ERROR_INVALID_FLAG_NUMBER = 186
     180Const ERROR_SEM_NOT_FOUND = 187
     181Const ERROR_INVALID_STARTING_CODESEG = 188
     182Const ERROR_INVALID_STACKSEG = 189
     183Const ERROR_INVALID_MODULETYPE = 190
     184Const ERROR_INVALID_EXE_SIGNATURE = 191
     185Const ERROR_EXE_MARKED_INVALID = 192
     186Const ERROR_BAD_EXE_FORMAT = 193
     187Const ERROR_ITERATED_DATA_EXCEEDS_64k = 194
     188Const ERROR_INVALID_MINALLOCSIZE = 195
     189Const ERROR_DYNLINK_FROM_INVALID_RING = 196
     190Const ERROR_IOPL_NOT_ENABLED = 197
     191Const ERROR_INVALID_SEGDPL = 198
     192Const ERROR_AUTODATASEG_EXCEEDS_64k = 199
     193Const ERROR_RING2SEG_MUST_BE_MOVABLE = 200
     194Const ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201
     195Const ERROR_INFLOOP_IN_RELOC_CHAIN = 202
     196Const ERROR_ENVVAR_NOT_FOUND = 203
     197Const ERROR_NO_SIGNAL_SENT = 205
     198Const ERROR_FILENAME_EXCED_RANGE = 206
     199Const ERROR_RING2_STACK_IN_USE = 207
     200Const ERROR_META_EXPANSION_TOO_LONG = 208
     201Const ERROR_INVALID_SIGNAL_NUMBER = 209
     202Const ERROR_THREAD_1_INACTIVE = 210
     203Const ERROR_LOCKED = 212
     204Const ERROR_TOO_MANY_MODULES = 214
     205Const ERROR_NESTING_NOT_ALLOWED = 215
     206Const ERROR_EXE_MACHINE_TYPE_MISMATCH = 216
     207Const ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217
     208Const ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218
     209Const ERROR_BAD_PIPE = 230
     210Const ERROR_PIPE_BUSY = 231
     211Const ERROR_NO_DATA = 232
     212Const ERROR_PIPE_NOT_CONNECTED = 233
     213Const ERROR_MORE_DATA = 234
     214Const ERROR_VC_DISCONNECTED = 240
     215Const ERROR_INVALID_EA_NAME = 254
     216Const ERROR_EA_LIST_INCONSISTENT = 255
     217Const WAIT_TIMEOUT = 258
     218Const ERROR_NO_MORE_ITEMS = 259
     219Const ERROR_CANNOT_COPY = 266
     220Const ERROR_DIRECTORY = 267
     221Const ERROR_EAS_DIDNT_FIT = 275
     222Const ERROR_EA_FILE_CORRUPT = 276
     223Const ERROR_EA_TABLE_FULL = 277
     224Const ERROR_INVALID_EA_HANDLE = 278
     225Const ERROR_EAS_NOT_SUPPORTED = 282
     226Const ERROR_NOT_OWNER = 288
     227Const ERROR_TOO_MANY_POSTS = 298
     228Const ERROR_PARTIAL_COPY = 299
     229Const ERROR_OPLOCK_NOT_GRANTED = 300
     230Const ERROR_INVALID_OPLOCK_PROTOCOL = 301
     231Const ERROR_DISK_TOO_FRAGMENTED = 302
     232Const ERROR_DELETE_PENDING = 303
     233Const ERROR_MR_MID_NOT_FOUND = 317
     234Const ERROR_SCOPE_NOT_FOUND = 318
     235Const ERROR_INVALID_ADDRESS = 487
     236Const ERROR_ARITHMETIC_OVERFLOW = 534
     237Const ERROR_PIPE_CONNECTED = 535
     238Const ERROR_PIPE_LISTENING = 536
     239Const ERROR_EA_ACCESS_DENIED = 994
     240Const ERROR_OPERATION_ABORTED = 995
     241Const ERROR_IO_INCOMPLETE = 996
     242Const ERROR_IO_PENDING = 997
     243Const ERROR_NOACCESS = 998
     244Const ERROR_SWAPERROR = 999
     245Const ERROR_STACK_OVERFLOW = 1001
     246Const ERROR_INVALID_MESSAGE = 1002
     247Const ERROR_CAN_NOT_COMPLETE = 1003
     248Const ERROR_INVALID_FLAGS = 1004
     249Const ERROR_UNRECOGNIZED_VOLUME = 1005
     250Const ERROR_FILE_INVALID = 1006
     251Const ERROR_FULLSCREEN_MODE = 1007
     252Const ERROR_NO_TOKEN = 1008
     253Const ERROR_BADDB = 1009
     254Const ERROR_BADKEY = 1010
     255Const ERROR_CANTOPEN = 1011
     256Const ERROR_CANTREAD = 1012
     257Const ERROR_CANTWRITE = 1013
     258Const ERROR_REGISTRY_RECOVERED = 1014
     259Const ERROR_REGISTRY_CORRUPT = 1015
     260Const ERROR_REGISTRY_IO_FAILED = 1016
     261Const ERROR_NOT_REGISTRY_FILE = 1017
     262Const ERROR_KEY_DELETED = 1018
     263Const ERROR_NO_LOG_SPACE = 1019
     264Const ERROR_KEY_HAS_CHILDREN = 1020
     265Const ERROR_CHILD_MUST_BE_VOLATILE = 1021
     266Const ERROR_NOTIFY_ENUM_DIR = 1022
     267Const ERROR_DEPENDENT_SERVICES_RUNNING = 1051
     268Const ERROR_INVALID_SERVICE_CONTROL = 1052
     269Const ERROR_SERVICE_REQUEST_TIMEOUT = 1053
     270Const ERROR_SERVICE_NO_THREAD = 1054
     271Const ERROR_SERVICE_DATABASE_LOCKED = 1055
     272Const ERROR_SERVICE_ALREADY_RUNNING = 1056
     273Const ERROR_INVALID_SERVICE_ACCOUNT = 1057
     274Const ERROR_SERVICE_DISABLED = 1058
     275Const ERROR_CIRCULAR_DEPENDENCY = 1059
     276Const ERROR_SERVICE_DOES_NOT_EXIST = 1060
     277Const ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 1061
     278Const ERROR_SERVICE_NOT_ACTIVE = 1062
     279Const ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 1063
     280Const ERROR_EXCEPTION_IN_SERVICE = 1064
     281Const ERROR_DATABASE_DOES_NOT_EXIST = 1065
     282Const ERROR_SERVICE_SPECIFIC_ERROR = 1066
     283Const ERROR_PROCESS_ABORTED = 1067
     284Const ERROR_SERVICE_DEPENDENCY_FAIL = 1068
     285Const ERROR_SERVICE_LOGON_FAILED = 1069
     286Const ERROR_SERVICE_START_HANG = 1070
     287Const ERROR_INVALID_SERVICE_LOCK = 1071
     288Const ERROR_SERVICE_MARKED_FOR_DELETE = 1072
     289Const ERROR_SERVICE_EXISTS = 1073
     290Const ERROR_ALREADY_RUNNING_LKG = 1074
     291Const ERROR_SERVICE_DEPENDENCY_DELETED = 1075
     292Const ERROR_BOOT_ALREADY_ACCEPTED = 1076
     293Const ERROR_SERVICE_NEVER_STARTED = 1077
     294Const ERROR_DUPLICATE_SERVICE_NAME = 1078
     295Const ERROR_DIFFERENT_SERVICE_ACCOUNT = 1079
     296Const ERROR_CANNOT_DETECT_DRIVER_FAILURE = 1080
     297Const ERROR_CANNOT_DETECT_PROCESS_ABORT = 1081
     298Const ERROR_NO_RECOVERY_PROGRAM = 1082
     299Const ERROR_SERVICE_NOT_IN_EXE = 1083
     300Const ERROR_NOT_SAFEBOOT_SERVICE = 1084
     301Const ERROR_END_OF_MEDIA = 1100
     302Const ERROR_FILEMARK_DETECTED = 1101
     303Const ERROR_BEGINNING_OF_MEDIA = 1102
     304Const ERROR_SETMARK_DETECTED = 1103
     305Const ERROR_NO_DATA_DETECTED = 1104
     306Const ERROR_PARTITION_FAILURE = 1105
     307Const ERROR_INVALID_BLOCK_LENGTH = 1106
     308Const ERROR_DEVICE_NOT_PARTITIONED = 1107
     309Const ERROR_UNABLE_TO_LOCK_MEDIA = 1108
     310Const ERROR_UNABLE_TO_UNLOAD_MEDIA = 1109
     311Const ERROR_MEDIA_CHANGED = 1110
     312Const ERROR_BUS_RESET = 1111
     313Const ERROR_NO_MEDIA_IN_DRIVE = 1112
     314Const ERROR_NO_UNICODE_TRANSLATION = 1113
     315Const ERROR_DLL_INIT_FAILED = 1114
     316Const ERROR_SHUTDOWN_IN_PROGRESS = 1115
     317Const ERROR_NO_SHUTDOWN_IN_PROGRESS = 1116
     318Const ERROR_IO_DEVICE = 1117
     319Const ERROR_SERIAL_NO_DEVICE = 1118
     320Const ERROR_IRQ_BUSY = 1119
     321Const ERROR_MORE_WRITES = 1120
     322Const ERROR_COUNTER_TIMEOUT = 1121
     323Const ERROR_FLOPPY_ID_MARK_NOT_FOUND = 1122
     324Const ERROR_FLOPPY_WRONG_CYLINDER = 1123
     325Const ERROR_FLOPPY_UNKNOWN_ERROR = 1124
     326Const ERROR_FLOPPY_BAD_REGISTERS = 1125
     327Const ERROR_DISK_RECALIBRATE_FAILED = 1126
     328Const ERROR_DISK_OPERATION_FAILED = 1127
     329Const ERROR_DISK_RESET_FAILED = 1128
     330Const ERROR_EOM_OVERFLOW = 1129
     331Const ERROR_NOT_ENOUGH_SERVER_MEMORY = 1130
     332Const ERROR_POSSIBLE_DEADLOCK = 1131
     333Const ERROR_MAPPED_ALIGNMENT = 1132
     334Const ERROR_SET_POWER_STATE_VETOED = 1140
     335Const ERROR_SET_POWER_STATE_FAILED = 1141
     336Const ERROR_TOO_MANY_LINKS = 1142
     337Const ERROR_OLD_WIN_VERSION = 1150
     338Const ERROR_APP_WRONG_OS = 1151
     339Const ERROR_SINGLE_INSTANCE_APP = 1152
     340Const ERROR_RMODE_APP = 1153
     341Const ERROR_INVALID_DLL = 1154
     342Const ERROR_NO_ASSOCIATION = 1155
     343Const ERROR_DDE_FAIL = 1156
     344Const ERROR_DLL_NOT_FOUND = 1157
     345Const ERROR_NO_MORE_USER_HANDLES = 1158
     346Const ERROR_MESSAGE_SYNC_ONLY = 1159
     347Const ERROR_SOURCE_ELEMENT_EMPTY = 1160
     348Const ERROR_DESTINATION_ELEMENT_FULL = 1161
     349Const ERROR_ILLEGAL_ELEMENT_ADDRESS = 1162
     350Const ERROR_MAGAZINE_NOT_PRESENT = 1163
     351Const ERROR_DEVICE_REINITIALIZATION_NEEDED = 1164
     352Const ERROR_DEVICE_REQUIRES_CLEANING = 1165
     353Const ERROR_DEVICE_DOOR_OPEN = 1166
     354Const ERROR_DEVICE_NOT_CONNECTED = 1167
     355Const ERROR_NOT_FOUND = 1168
     356Const ERROR_NO_MATCH = 1169
     357Const ERROR_SET_NOT_FOUND = 1170
     358Const ERROR_POINT_NOT_FOUND = 1171
     359Const ERROR_NO_TRACKING_SERVICE = 1172
     360Const ERROR_NO_VOLUME_ID = 1173
     361Const ERROR_UNABLE_TO_REMOVE_REPLACED = 1175
     362Const ERROR_UNABLE_TO_MOVE_REPLACEMENT = 1176
     363Const ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 1177
     364Const ERROR_JOURNAL_DELETE_IN_PROGRESS = 1178
     365Const ERROR_JOURNAL_NOT_ACTIVE = 1179
     366Const ERROR_POTENTIAL_FILE_FOUND = 1180
     367Const ERROR_JOURNAL_ENTRY_DELETED = 1181
     368Const ERROR_BAD_DEVICE = 1200
     369Const ERROR_CONNECTION_UNAVAIL = 1201
     370Const ERROR_DEVICE_ALREADY_REMEMBERED = 1202
     371Const ERROR_NO_NET_OR_BAD_PATH = 1203
     372Const ERROR_BAD_PROVIDER = 1204
     373Const ERROR_CANNOT_OPEN_PROFILE = 1205
     374Const ERROR_BAD_PROFILE = 1206
     375Const ERROR_NOT_CONTAINER = 1207
     376Const ERROR_EXTENDED_ERROR = 1208
     377Const ERROR_INVALID_GROUPNAME = 1209
     378Const ERROR_INVALID_COMPUTERNAME = 1210
     379Const ERROR_INVALID_EVENTNAME = 1211
     380Const ERROR_INVALID_DOMAINNAME = 1212
     381Const ERROR_INVALID_SERVICENAME = 1213
     382Const ERROR_INVALID_NETNAME = 1214
     383Const ERROR_INVALID_SHARENAME = 1215
     384Const ERROR_INVALID_PASSWORDNAME = 1216
     385Const ERROR_INVALID_MESSAGENAME = 1217
     386Const ERROR_INVALID_MESSAGEDEST = 1218
     387Const ERROR_SESSION_CREDENTIAL_CONFLICT = 1219
     388Const ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 1220
     389Const ERROR_DUP_DOMAINNAME = 1221
     390Const ERROR_NO_NETWORK = 1222
     391Const ERROR_CANCELLED = 1223
     392Const ERROR_USER_MAPPED_FILE = 1224
     393Const ERROR_CONNECTION_REFUSED = 1225
     394Const ERROR_GRACEFUL_DISCONNECT = 1226
     395Const ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227
     396Const ERROR_ADDRESS_NOT_ASSOCIATED = 1228
     397Const ERROR_CONNECTION_INVALID = 1229
     398Const ERROR_CONNECTION_ACTIVE = 1230
     399Const ERROR_NETWORK_UNREACHABLE = 1231
     400Const ERROR_HOST_UNREACHABLE = 1232
     401Const ERROR_PROTOCOL_UNREACHABLE = 1233
     402Const ERROR_PORT_UNREACHABLE = 1234
     403Const ERROR_REQUEST_ABORTED = 1235
     404Const ERROR_CONNECTION_ABORTED = 1236
     405Const ERROR_RETRY = 1237
     406Const ERROR_CONNECTION_COUNT_LIMIT = 1238
     407Const ERROR_LOGIN_TIME_RESTRICTION = 1239
     408Const ERROR_LOGIN_WKSTA_RESTRICTION = 1240
     409Const ERROR_INCORRECT_ADDRESS = 1241
     410Const ERROR_ALREADY_REGISTERED = 1242
     411Const ERROR_SERVICE_NOT_FOUND = 1243
     412Const ERROR_NOT_AUTHENTICATED = 1244
     413Const ERROR_NOT_LOGGED_ON = 1245
     414Const ERROR_CONTINUE = 1246
     415Const ERROR_ALREADY_INITIALIZED = 1247
     416Const ERROR_NO_MORE_DEVICES = 1248
     417Const ERROR_NO_SUCH_SITE = 1249
     418Const ERROR_DOMAIN_CONTROLLER_EXISTS = 1250
     419Const ERROR_ONLY_IF_CONNECTED = 1251
     420Const ERROR_OVERRIDE_NOCHANGES = 1252
     421Const ERROR_BAD_USER_PROFILE = 1253
     422Const ERROR_NOT_SUPPORTED_ON_SBS = 1254
     423Const ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 1255
     424Const ERROR_HOST_DOWN = 1256
     425Const ERROR_NON_ACCOUNT_SID = 1257
     426Const ERROR_NON_DOMAIN_SID = 1258
     427Const ERROR_APPHELP_BLOCK = 1259
     428Const ERROR_ACCESS_DISABLED_BY_POLICY = 1260
     429Const ERROR_REG_NAT_CONSUMPTION = 1261
     430Const ERROR_CSCSHARE_OFFLINE = 1262
     431Const ERROR_PKINIT_FAILURE = 1263
     432Const ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 1264
     433Const ERROR_DOWNGRADE_DETECTED = 1265
     434Const ERROR_MACHINE_LOCKED = 1271
     435Const ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273
     436Const ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 1274
     437Const ERROR_DRIVER_BLOCKED = 1275
     438Const ERROR_INVALID_IMPORT_OF_NON_DLL = 1276
     439Const ERROR_ACCESS_DISABLED_WEBBLADE = 1277
     440Const ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 1278
     441Const ERROR_RECOVERY_FAILURE = 1279
     442Const ERROR_ALREADY_FIBER = 1280
     443Const ERROR_ALREADY_THREAD = 1281
     444Const ERROR_STACK_BUFFER_OVERRUN = 1282
     445Const ERROR_PARAMETER_QUOTA_EXCEEDED = 1283
     446Const ERROR_DEBUGGER_INACTIVE = 1284
     447Const ERROR_DELAY_LOAD_FAILED = 1285
     448Const ERROR_VDM_DISALLOWED = 1286
     449Const ERROR_UNIDENTIFIED_ERROR = 1287
     450Const ERROR_NOT_ALL_ASSIGNED = 1300
     451Const ERROR_SOME_NOT_MAPPED = 1301
     452Const ERROR_NO_QUOTAS_FOR_ACCOUNT = 1302
     453Const ERROR_LOCAL_USER_SESSION_KEY = 1303
     454Const ERROR_NULL_LM_PASSWORD = 1304
     455Const ERROR_UNKNOWN_REVISION = 1305
     456Const ERROR_REVISION_MISMATCH = 1306
     457Const ERROR_INVALID_OWNER = 1307
     458Const ERROR_INVALID_PRIMARY_GROUP = 1308
     459Const ERROR_NO_IMPERSONATION_TOKEN = 1309
     460Const ERROR_CANT_DISABLE_MANDATORY = 1310
     461Const ERROR_NO_LOGON_SERVERS = 1311
     462Const ERROR_NO_SUCH_LOGON_SESSION = 1312
     463Const ERROR_NO_SUCH_PRIVILEGE = 1313
     464Const ERROR_PRIVILEGE_NOT_HELD = 1314
     465Const ERROR_INVALID_ACCOUNT_NAME = 1315
     466Const ERROR_USER_EXISTS = 1316
     467Const ERROR_NO_SUCH_USER = 1317
     468Const ERROR_GROUP_EXISTS = 1318
     469Const ERROR_NO_SUCH_GROUP = 1319
     470Const ERROR_MEMBER_IN_GROUP = 1320
     471Const ERROR_MEMBER_NOT_IN_GROUP = 1321
     472Const ERROR_LAST_ADMIN = 1322
     473Const ERROR_WRONG_PASSWORD = 1323
     474Const ERROR_ILL_FORMED_PASSWORD = 1324
     475Const ERROR_PASSWORD_RESTRICTION = 1325
     476Const ERROR_LOGON_FAILURE = 1326
     477Const ERROR_ACCOUNT_RESTRICTION = 1327
     478Const ERROR_INVALID_LOGON_HOURS = 1328
     479Const ERROR_INVALID_WORKSTATION = 1329
     480Const ERROR_PASSWORD_EXPIRED = 1330
     481Const ERROR_ACCOUNT_DISABLED = 1331
     482Const ERROR_NONE_MAPPED = 1332
     483Const ERROR_TOO_MANY_LUIDS_REQUESTED = 1333
     484Const ERROR_LUIDS_EXHAUSTED = 1334
     485Const ERROR_INVALID_SUB_AUTHORITY = 1335
     486Const ERROR_INVALID_ACL = 1336
     487Const ERROR_INVALID_SID = 1337
     488Const ERROR_INVALID_SECURITY_DESCR = 1338
     489Const ERROR_BAD_INHERITANCE_ACL = 1340
     490Const ERROR_SERVER_DISABLED = 1341
     491Const ERROR_SERVER_NOT_DISABLED = 1342
     492Const ERROR_INVALID_ID_AUTHORITY = 1343
     493Const ERROR_ALLOTTED_SPACE_EXCEEDED = 1344
     494Const ERROR_INVALID_GROUP_ATTRIBUTES = 1345
     495Const ERROR_BAD_IMPERSONATION_LEVEL = 1346
     496Const ERROR_CANT_OPEN_ANONYMOUS = 1347
     497Const ERROR_BAD_VALIDATION_CLASS = 1348
     498Const ERROR_BAD_TOKEN_TYPE = 1349
     499Const ERROR_NO_SECURITY_ON_OBJECT = 1350
     500Const ERROR_CANT_ACCESS_DOMAIN_INFO = 1351
     501Const ERROR_INVALID_SERVER_STATE = 1352
     502Const ERROR_INVALID_DOMAIN_STATE = 1353
     503Const ERROR_INVALID_DOMAIN_ROLE = 1354
     504Const ERROR_NO_SUCH_DOMAIN = 1355
     505Const ERROR_DOMAIN_EXISTS = 1356
     506Const ERROR_DOMAIN_LIMIT_EXCEEDED = 1357
     507Const ERROR_INTERNAL_DB_CORRUPTION = 1358
     508Const ERROR_INTERNAL_ERROR = 1359
     509Const ERROR_GENERIC_NOT_MAPPED = 1360
     510Const ERROR_BAD_DESCRIPTOR_FORMAT = 1361
     511Const ERROR_NOT_LOGON_PROCESS = 1362
     512Const ERROR_LOGON_SESSION_EXISTS = 1363
     513Const ERROR_NO_SUCH_PACKAGE = 1364
     514Const ERROR_BAD_LOGON_SESSION_STATE = 1365
     515Const ERROR_LOGON_SESSION_COLLISION = 1366
     516Const ERROR_INVALID_LOGON_TYPE = 1367
     517Const ERROR_CANNOT_IMPERSONATE = 1368
     518Const ERROR_RXACT_INVALID_STATE = 1369
     519Const ERROR_RXACT_COMMIT_FAILURE = 1370
     520Const ERROR_SPECIAL_ACCOUNT = 1371
     521Const ERROR_SPECIAL_GROUP = 1372
     522Const ERROR_SPECIAL_USER = 1373
     523Const ERROR_MEMBERS_PRIMARY_GROUP = 1374
     524Const ERROR_TOKEN_ALREADY_IN_USE = 1375
     525Const ERROR_NO_SUCH_ALIAS = 1376
     526Const ERROR_MEMBER_NOT_IN_ALIAS = 1377
     527Const ERROR_MEMBER_IN_ALIAS = 1378
     528Const ERROR_ALIAS_EXISTS = 1379
     529Const ERROR_LOGON_NOT_GRANTED = 1380
     530Const ERROR_TOO_MANY_SECRETS = 1381
     531Const ERROR_SECRET_TOO_LONG = 1382
     532Const ERROR_INTERNAL_DB_ERROR = 1383
     533Const ERROR_TOO_MANY_CONTEXT_IDS = 1384
     534Const ERROR_LOGON_TYPE_NOT_GRANTED = 1385
     535Const ERROR_NT_CROSS_ENCRYPTION_REQUIRED = 1386
     536Const ERROR_NO_SUCH_MEMBER = 1387
     537Const ERROR_INVALID_MEMBER = 1388
     538Const ERROR_TOO_MANY_SIDS = 1389
     539Const ERROR_LM_CROSS_ENCRYPTION_REQUIRED = 1390
     540Const ERROR_NO_INHERITANCE = 1391
     541Const ERROR_FILE_CORRUPT = 1392
     542Const ERROR_DISK_CORRUPT = 1393
     543Const ERROR_NO_USER_SESSION_KEY = 1394
     544Const ERROR_LICENSE_QUOTA_EXCEEDED = 1395
     545Const ERROR_WRONG_TARGET_NAME = 1396
     546Const ERROR_MUTUAL_AUTH_FAILED = 1397
     547Const ERROR_TIME_SKEW = 1398
     548Const ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 1399
     549Const ERROR_INVALID_WINDOW_HANDLE = 1400
     550Const ERROR_INVALID_MENU_HANDLE = 1401
     551Const ERROR_INVALID_CURSOR_HANDLE = 1402
     552Const ERROR_INVALID_ACCEL_HANDLE = 1403
     553Const ERROR_INVALID_HOOK_HANDLE = 1404
     554Const ERROR_INVALID_DWP_HANDLE = 1405
     555Const ERROR_TLW_WITH_WSCHILD = 1406
     556Const ERROR_CANNOT_FIND_WND_CLASS = 1407
     557Const ERROR_WINDOW_OF_OTHER_THREAD = 1408
     558Const ERROR_HOTKEY_ALREADY_REGISTERED = 1409
     559Const ERROR_CLASS_ALREADY_EXISTS = 1410
     560Const ERROR_CLASS_DOES_NOT_EXIST = 1411
     561Const ERROR_CLASS_HAS_WINDOWS = 1412
     562Const ERROR_INVALID_INDEX = 1413
     563Const ERROR_INVALID_ICON_HANDLE = 1414
     564Const ERROR_PRIVATE_DIALOG_INDEX = 1415
     565Const ERROR_LISTBOX_ID_NOT_FOUND = 1416
     566Const ERROR_NO_WILDCARD_CHARACTERS = 1417
     567Const ERROR_CLIPBOARD_NOT_OPEN = 1418
     568Const ERROR_HOTKEY_NOT_REGISTERED = 1419
     569Const ERROR_WINDOW_NOT_DIALOG = 1420
     570Const ERROR_CONTROL_ID_NOT_FOUND = 1421
     571Const ERROR_INVALID_COMBOBOX_MESSAGE = 1422
     572Const ERROR_WINDOW_NOT_COMBOBOX = 1423
     573Const ERROR_INVALID_EDIT_HEIGHT = 1424
     574Const ERROR_DC_NOT_FOUND = 1425
     575Const ERROR_INVALID_HOOK_FILTER = 1426
     576Const ERROR_INVALID_FILTER_PROC = 1427
     577Const ERROR_HOOK_NEEDS_HMOD = 1428
     578Const ERROR_GLOBAL_ONLY_HOOK = 1429
     579Const ERROR_JOURNAL_HOOK_SET = 1430
     580Const ERROR_HOOK_NOT_INSTALLED = 1431
     581Const ERROR_INVALID_LB_MESSAGE = 1432
     582Const ERROR_SETCOUNT_ON_BAD_LB = 1433
     583Const ERROR_LB_WITHOUT_TABSTOPS = 1434
     584Const ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 1435
     585Const ERROR_CHILD_WINDOW_MENU = 1436
     586Const ERROR_NO_SYSTEM_MENU = 1437
     587Const ERROR_INVALID_MSGBOX_STYLE = 1438
     588Const ERROR_INVALID_SPI_VALUE = 1439
     589Const ERROR_SCREEN_ALREADY_LOCKED = 1440
     590Const ERROR_HWNDS_HAVE_DIFF_PARENT = 1441
     591Const ERROR_NOT_CHILD_WINDOW = 1442
     592Const ERROR_INVALID_GW_COMMAND = 1443
     593Const ERROR_INVALID_THREAD_ID = 1444
     594Const ERROR_NON_MDICHILD_WINDOW = 1445
     595Const ERROR_POPUP_ALREADY_ACTIVE = 1446
     596Const ERROR_NO_SCROLLBARS = 1447
     597Const ERROR_INVALID_SCROLLBAR_RANGE = 1448
     598Const ERROR_INVALID_SHOWWIN_COMMAND = 1449
     599Const ERROR_NO_SYSTEM_RESOURCES = 1450
     600Const ERROR_NONPAGED_SYSTEM_RESOURCES = 1451
     601Const ERROR_PAGED_SYSTEM_RESOURCES = 1452
     602Const ERROR_WORKING_SET_QUOTA = 1453
     603Const ERROR_PAGEFILE_QUOTA = 1454
     604Const ERROR_COMMITMENT_LIMIT = 1455
     605Const ERROR_MENU_ITEM_NOT_FOUND = 1456
     606Const ERROR_INVALID_KEYBOARD_HANDLE = 1457
     607Const ERROR_HOOK_TYPE_NOT_ALLOWED = 1458
     608Const ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 1459
     609Const ERROR_TIMEOUT = 1460
     610Const ERROR_INVALID_MONITOR_HANDLE = 1461
     611Const ERROR_INCORRECT_SIZE = 1462
     612Const ERROR_EVENTLOG_FILE_CORRUPT = 1500
     613Const ERROR_EVENTLOG_CANT_START = 1501
     614Const ERROR_LOG_FILE_FULL = 1502
     615Const ERROR_EVENTLOG_FILE_CHANGED = 1503
     616Const ERROR_INSTALL_SERVICE_FAILURE = 1601
     617Const ERROR_INSTALL_USEREXIT = 1602
     618Const ERROR_INSTALL_FAILURE = 1603
     619Const ERROR_INSTALL_SUSPEND = 1604
     620Const ERROR_UNKNOWN_PRODUCT = 1605
     621Const ERROR_UNKNOWN_FEATURE = 1606
     622Const ERROR_UNKNOWN_COMPONENT = 1607
     623Const ERROR_UNKNOWN_PROPERTY = 1608
     624Const ERROR_INVALID_HANDLE_STATE = 1609
     625Const ERROR_BAD_CONFIGURATION = 1610
     626Const ERROR_INDEX_ABSENT = 1611
     627Const ERROR_INSTALL_SOURCE_ABSENT = 1612
     628Const ERROR_INSTALL_PACKAGE_VERSION = 1613
     629Const ERROR_PRODUCT_UNINSTALLED = 1614
     630Const ERROR_BAD_QUERY_SYNTAX = 1615
     631Const ERROR_INVALID_FIELD = 1616
     632Const ERROR_DEVICE_REMOVED = 1617
     633Const ERROR_INSTALL_ALREADY_RUNNING = 1618
     634Const ERROR_INSTALL_PACKAGE_OPEN_FAILED = 1619
     635Const ERROR_INSTALL_PACKAGE_INVALID = 1620
     636Const ERROR_INSTALL_UI_FAILURE = 1621
     637Const ERROR_INSTALL_LOG_FAILURE = 1622
     638Const ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 1623
     639Const ERROR_INSTALL_TRANSFORM_FAILURE = 1624
     640Const ERROR_INSTALL_PACKAGE_REJECTED = 1625
     641Const ERROR_FUNCTION_NOT_CALLED = 1626
     642Const ERROR_FUNCTION_FAILED = 1627
     643Const ERROR_INVALID_TABLE = 1628
     644Const ERROR_DATATYPE_MISMATCH = 1629
     645Const ERROR_UNSUPPORTED_TYPE = 1630
     646Const ERROR_CREATE_FAILED = 1631
     647Const ERROR_INSTALL_TEMP_UNWRITABLE = 1632
     648Const ERROR_INSTALL_PLATFORM_UNSUPPORTED = 1633
     649Const ERROR_INSTALL_NOTUSED = 1634
     650Const ERROR_PATCH_PACKAGE_OPEN_FAILED = 1635
     651Const ERROR_PATCH_PACKAGE_INVALID = 1636
     652Const ERROR_PATCH_PACKAGE_UNSUPPORTED = 1637
     653Const ERROR_PRODUCT_VERSION = 1638
     654Const ERROR_INVALID_COMMAND_LINE = 1639
     655Const ERROR_INSTALL_REMOTE_DISALLOWED = 1640
     656Const ERROR_SUCCESS_REBOOT_INITIATED = 1641
     657Const ERROR_PATCH_TARGET_NOT_FOUND = 1642
     658Const ERROR_PATCH_PACKAGE_REJECTED = 1643
     659Const ERROR_INSTALL_TRANSFORM_REJECTED = 1644
     660Const ERROR_INSTALL_REMOTE_PROHIBITED = 1645
     661Const RPC_S_INVALID_STRING_BINDING = 1700
     662Const RPC_S_WRONG_KIND_OF_BINDING = 1701
     663Const RPC_S_INVALID_BINDING = 1702
     664Const RPC_S_PROTSEQ_NOT_SUPPORTED = 1703
     665Const RPC_S_INVALID_RPC_PROTSEQ = 1704
     666Const RPC_S_INVALID_STRING_UUID = 1705
     667Const RPC_S_INVALID_ENDPOINT_FORMAT = 1706
     668Const RPC_S_INVALID_NET_ADDR = 1707
     669Const RPC_S_NO_ENDPOINT_FOUND = 1708
     670Const RPC_S_INVALID_TIMEOUT = 1709
     671Const RPC_S_OBJECT_NOT_FOUND = 1710
     672Const RPC_S_ALREADY_REGISTERED = 1711
     673Const RPC_S_TYPE_ALREADY_REGISTERED = 1712
     674Const RPC_S_ALREADY_LISTENING = 1713
     675Const RPC_S_NO_PROTSEQS_REGISTERED = 1714
     676Const RPC_S_NOT_LISTENING = 1715
     677Const RPC_S_UNKNOWN_MGR_TYPE = 1716
     678Const RPC_S_UNKNOWN_IF = 1717
     679Const RPC_S_NO_BINDINGS = 1718
     680Const RPC_S_NO_PROTSEQS = 1719
     681Const RPC_S_CANT_CREATE_ENDPOINT = 1720
     682Const RPC_S_OUT_OF_RESOURCES = 1721
     683Const RPC_S_SERVER_UNAVAILABLE = 1722
     684Const RPC_S_SERVER_TOO_BUSY = 1723
     685Const RPC_S_INVALID_NETWORK_OPTIONS = 1724
     686Const RPC_S_NO_CALL_ACTIVE = 1725
     687Const RPC_S_CALL_FAILED = 1726
     688Const RPC_S_CALL_FAILED_DNE = 1727
     689Const RPC_S_PROTOCOL_ERROR = 1728
     690Const RPC_S_UNSUPPORTED_TRANS_SYN = 1730
     691Const RPC_S_UNSUPPORTED_TYPE = 1732
     692Const RPC_S_INVALID_TAG = 1733
     693Const RPC_S_INVALID_BOUND = 1734
     694Const RPC_S_NO_ENTRY_NAME = 1735
     695Const RPC_S_INVALID_NAME_SYNTAX = 1736
     696Const RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737
     697Const RPC_S_UUID_NO_ADDRESS = 1739
     698Const RPC_S_DUPLICATE_ENDPOINT = 1740
     699Const RPC_S_UNKNOWN_AUTHN_TYPE = 1741
     700Const RPC_S_MAX_CALLS_TOO_SMALL = 1742
     701Const RPC_S_STRING_TOO_LONG = 1743
     702Const RPC_S_PROTSEQ_NOT_FOUND = 1744
     703Const RPC_S_PROCNUM_OUT_OF_RANGE = 1745
     704Const RPC_S_BINDING_HAS_NO_AUTH = 1746
     705Const RPC_S_UNKNOWN_AUTHN_SERVICE = 1747
     706Const RPC_S_UNKNOWN_AUTHN_LEVEL = 1748
     707Const RPC_S_INVALID_AUTH_IDENTITY = 1749
     708Const RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750
     709Const EPT_S_INVALID_ENTRY = 1751
     710Const EPT_S_CANT_PERFORM_OP = 1752
     711Const EPT_S_NOT_REGISTERED = 1753
     712Const RPC_S_NOTHING_TO_EXPORT = 1754
     713Const RPC_S_INCOMPLETE_NAME = 1755
     714Const RPC_S_INVALID_VERS_OPTION = 1756
     715Const RPC_S_NO_MORE_MEMBERS = 1757
     716Const RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758
     717Const RPC_S_INTERFACE_NOT_FOUND = 1759
     718Const RPC_S_ENTRY_ALREADY_EXISTS = 1760
     719Const RPC_S_ENTRY_NOT_FOUND = 1761
     720Const RPC_S_NAME_SERVICE_UNAVAILABLE = 1762
     721Const RPC_S_INVALID_NAF_ID = 1763
     722Const RPC_S_CANNOT_SUPPORT = 1764
     723Const RPC_S_NO_CONTEXT_AVAILABLE = 1765
     724Const RPC_S_INTERNAL_ERROR = 1766
     725Const RPC_S_ZERO_DIVIDE = 1767
     726Const RPC_S_ADDRESS_ERROR = 1768
     727Const RPC_S_FP_DIV_ZERO = 1769
     728Const RPC_S_FP_UNDERFLOW = 1770
     729Const RPC_S_FP_OVERFLOW = 1771
     730Const RPC_X_NO_MORE_ENTRIES = 1772
     731Const RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773
     732Const RPC_X_SS_CHAR_TRANS_SHORT_FILE = 1774
     733Const RPC_X_SS_IN_NULL_CONTEXT = 1775
     734Const RPC_X_SS_CONTEXT_DAMAGED = 1777
     735Const RPC_X_SS_HANDLES_MISMATCH = 1778
     736Const RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779
     737Const RPC_X_NULL_REF_POINTER = 1780
     738Const RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781
     739Const RPC_X_BYTE_COUNT_TOO_SMALL = 1782
     740Const RPC_X_BAD_STUB_DATA = 1783
     741Const ERROR_INVALID_USER_BUFFER = 1784
     742Const ERROR_UNRECOGNIZED_MEDIA = 1785
     743Const ERROR_NO_TRUST_LSA_SECRET = 1786
     744Const ERROR_NO_TRUST_SAM_ACCOUNT = 1787
     745Const ERROR_TRUSTED_DOMAIN_FAILURE = 1788
     746Const ERROR_TRUSTED_RELATIONSHIP_FAILURE = 1789
     747Const ERROR_TRUST_FAILURE = 1790
     748Const RPC_S_CALL_IN_PROGRESS = 1791
     749Const ERROR_NETLOGON_NOT_STARTED = 1792
     750Const ERROR_ACCOUNT_EXPIRED = 1793
     751Const ERROR_REDIRECTOR_HAS_OPEN_HANDLES = 1794
     752Const ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 1795
     753Const ERROR_UNKNOWN_PORT = 1796
     754Const ERROR_UNKNOWN_PRINTER_DRIVER = 1797
     755Const ERROR_UNKNOWN_PRINTPROCESSOR = 1798
     756Const ERROR_INVALID_SEPARATOR_FILE = 1799
     757Const ERROR_INVALID_PRIORITY = 1800
     758Const ERROR_INVALID_PRINTER_NAME = 1801
     759Const ERROR_PRINTER_ALREADY_EXISTS = 1802
     760Const ERROR_INVALID_PRINTER_COMMAND = 1803
     761Const ERROR_INVALID_DATATYPE = 1804
     762Const ERROR_INVALID_ENVIRONMENT = 1805
     763Const RPC_S_NO_MORE_BINDINGS = 1806
     764Const ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807
     765Const ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808
     766Const ERROR_NOLOGON_SERVER_TRUST_ACCOUNT = 1809
     767Const ERROR_DOMAIN_TRUST_INCONSISTENT = 1810
     768Const ERROR_SERVER_HAS_OPEN_HANDLES = 1811
     769Const ERROR_RESOURCE_DATA_NOT_FOUND = 1812
     770Const ERROR_RESOURCE_TYPE_NOT_FOUND = 1813
     771Const ERROR_RESOURCE_NAME_NOT_FOUND = 1814
     772Const ERROR_RESOURCE_LANG_NOT_FOUND = 1815
     773Const ERROR_NOT_ENOUGH_QUOTA = 1816
     774Const RPC_S_NO_INTERFACES = 1817
     775Const RPC_S_CALL_CANCELLED = 1818
     776Const RPC_S_BINDING_INCOMPLETE = 1819
     777Const RPC_S_COMM_FAILURE = 1820
     778Const RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821
     779Const RPC_S_NO_PRINC_NAME = 1822
     780Const RPC_S_NOT_RPC_ERROR = 1823
     781Const RPC_S_UUID_LOCAL_ONLY = 1824
     782Const RPC_S_SEC_PKG_ERROR = 1825
     783Const RPC_S_NOT_CANCELLED = 1826
     784Const RPC_X_INVALID_ES_ACTION = 1827
     785Const RPC_X_WRONG_ES_VERSION = 1828
     786Const RPC_X_WRONG_STUB_VERSION = 1829
     787Const RPC_X_INVALID_PIPE_OBJECT = 1830
     788Const RPC_X_WRONG_PIPE_ORDER = 1831
     789Const RPC_X_WRONG_PIPE_VERSION = 1832
     790Const RPC_S_GROUP_MEMBER_NOT_FOUND = 1898
     791Const EPT_S_CANT_CREATE = 1899
     792Const RPC_S_INVALID_OBJECT = 1900
     793Const ERROR_INVALID_TIME = 1901
     794Const ERROR_INVALID_FORM_NAME = 1902
     795Const ERROR_INVALID_FORM_SIZE = 1903
     796Const ERROR_ALREADY_WAITING = 1904
     797Const ERROR_PRINTER_DELETED = 1905
     798Const ERROR_INVALID_PRINTER_STATE = 1906
     799Const ERROR_PASSWORD_MUST_CHANGE = 1907
     800Const ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 1908
     801Const ERROR_ACCOUNT_LOCKED_OUT = 1909
     802Const OR_INVALID_OXID = 1910
     803Const OR_INVALID_OID = 1911
     804Const OR_INVALID_SET = 1912
     805Const RPC_S_SEND_INCOMPLETE = 1913
     806Const RPC_S_INVALID_ASYNC_HANDLE = 1914
     807Const RPC_S_INVALID_ASYNC_CALL = 1915
     808Const RPC_X_PIPE_CLOSED = 1916
     809Const RPC_X_PIPE_DISCIPLINE_ERROR = 1917
     810Const RPC_X_PIPE_EMPTY = 1918
     811Const ERROR_NO_SITENAME = 1919
     812Const ERROR_CANT_ACCESS_FILE = 1920
     813Const ERROR_CANT_RESOLVE_FILENAME = 1921
     814Const RPC_S_ENTRY_TYPE_MISMATCH = 1922
     815Const RPC_S_NOT_ALL_OBJS_EXPORTED = 1923
     816Const RPC_S_INTERFACE_NOT_EXPORTED = 1924
     817Const RPC_S_PROFILE_NOT_ADDED = 1925
     818Const RPC_S_PRF_ELT_NOT_ADDED = 1926
     819Const RPC_S_PRF_ELT_NOT_REMOVED = 1927
     820Const RPC_S_GRP_ELT_NOT_ADDED = 1928
     821Const RPC_S_GRP_ELT_NOT_REMOVED = 1929
     822Const ERROR_KM_DRIVER_BLOCKED = 1930
     823Const ERROR_CONTEXT_EXPIRED = 1931
     824Const ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 1932
     825Const ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 1933
     826Const ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934
     827Const ERROR_AUTHENTICATION_FIREWALL_FAILED = 1935
     828Const ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936
     829Const ERROR_INVALID_PIXEL_FORMAT = 2000
     830Const ERROR_BAD_DRIVER = 2001
     831Const ERROR_INVALID_WINDOW_STYLE = 2002
     832Const ERROR_METAFILE_NOT_SUPPORTED = 2003
     833Const ERROR_TRANSFORM_NOT_SUPPORTED = 2004
     834Const ERROR_CLIPPING_NOT_SUPPORTED = 2005
     835Const ERROR_INVALID_CMM = 2010
     836Const ERROR_INVALID_PROFILE = 2011
     837Const ERROR_TAG_NOT_FOUND = 2012
     838Const ERROR_TAG_NOT_PRESENT = 2013
     839Const ERROR_DUPLICATE_TAG = 2014
     840Const ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015
     841Const ERROR_PROFILE_NOT_FOUND = 2016
     842Const ERROR_INVALID_COLORSPACE = 2017
     843Const ERROR_ICM_NOT_ENABLED = 2018
     844Const ERROR_DELETING_ICM_XFORM = 2019
     845Const ERROR_INVALID_TRANSFORM = 2020
     846Const ERROR_COLORSPACE_MISMATCH = 2021
     847Const ERROR_INVALID_COLORINDEX = 2022
     848Const ERROR_CONNECTED_OTHER_PASSWORD = 2108
     849Const ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT = 2109
     850Const ERROR_BAD_USERNAME = 2202
     851Const ERROR_NOT_CONNECTED = 2250
     852Const ERROR_OPEN_FILES = 2401
     853Const ERROR_ACTIVE_CONNECTIONS = 2402
     854Const ERROR_DEVICE_IN_USE = 2404
     855Const ERROR_UNKNOWN_PRINT_MONITOR = 3000
     856Const ERROR_PRINTER_DRIVER_IN_USE = 3001
     857Const ERROR_SPOOL_FILE_NOT_FOUND = 3002
     858Const ERROR_SPL_NO_STARTDOC = 3003
     859Const ERROR_SPL_NO_ADDJOB = 3004
     860Const ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 3005
     861Const ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 3006
     862Const ERROR_INVALID_PRINT_MONITOR = 3007
     863Const ERROR_PRINT_MONITOR_IN_USE = 3008
     864Const ERROR_PRINTER_HAS_JOBS_QUEUED = 3009
     865Const ERROR_SUCCESS_REBOOT_REQUIRED = 3010
     866Const ERROR_SUCCESS_RESTART_REQUIRED = 3011
     867Const ERROR_PRINTER_NOT_FOUND = 3012
     868Const ERROR_PRINTER_DRIVER_WARNED = 3013
     869Const ERROR_PRINTER_DRIVER_BLOCKED = 3014
     870Const ERROR_WINS_INTERNAL = 4000
     871Const ERROR_CAN_NOT_DEL_LOCAL_WINS = 4001
     872Const ERROR_STATIC_INIT = 4002
     873Const ERROR_INC_BACKUP = 4003
     874Const ERROR_FULL_BACKUP = 4004
     875Const ERROR_REC_NON_EXISTENT = 4005
     876Const ERROR_RPL_NOT_ALLOWED = 4006
     877Const ERROR_DHCP_ADDRESS_CONFLICT = 4100
     878Const ERROR_WMI_GUID_NOT_FOUND = 4200
     879Const ERROR_WMI_INSTANCE_NOT_FOUND = 4201
     880Const ERROR_WMI_ITEMID_NOT_FOUND = 4202
     881Const ERROR_WMI_TRY_AGAIN = 4203
     882Const ERROR_WMI_DP_NOT_FOUND = 4204
     883Const ERROR_WMI_UNRESOLVED_INSTANCE_REF = 4205
     884Const ERROR_WMI_ALREADY_ENABLED = 4206
     885Const ERROR_WMI_GUID_DISCONNECTED = 4207
     886Const ERROR_WMI_SERVER_UNAVAILABLE = 4208
     887Const ERROR_WMI_DP_FAILED = 4209
     888Const ERROR_WMI_INVALID_MOF = 4210
     889Const ERROR_WMI_INVALID_REGINFO = 4211
     890Const ERROR_WMI_ALREADY_DISABLED = 4212
     891Const ERROR_WMI_READ_ONLY = 4213
     892Const ERROR_WMI_SET_FAILURE = 4214
     893Const ERROR_INVALID_MEDIA = 4300
     894Const ERROR_INVALID_LIBRARY = 4301
     895Const ERROR_INVALID_MEDIA_POOL = 4302
     896Const ERROR_DRIVE_MEDIA_MISMATCH = 4303
     897Const ERROR_MEDIA_OFFLINE = 4304
     898Const ERROR_LIBRARY_OFFLINE = 4305
     899Const ERROR_EMPTY = 4306
     900Const ERROR_NOT_EMPTY = 4307
     901Const ERROR_MEDIA_UNAVAILABLE = 4308
     902Const ERROR_RESOURCE_DISABLED = 4309
     903Const ERROR_INVALID_CLEANER = 4310
     904Const ERROR_UNABLE_TO_CLEAN = 4311
     905Const ERROR_OBJECT_NOT_FOUND = 4312
     906Const ERROR_DATABASE_FAILURE = 4313
     907Const ERROR_DATABASE_FULL = 4314
     908Const ERROR_MEDIA_INCOMPATIBLE = 4315
     909Const ERROR_RESOURCE_NOT_PRESENT = 4316
     910Const ERROR_INVALID_OPERATION = 4317
     911Const ERROR_MEDIA_NOT_AVAILABLE = 4318
     912Const ERROR_DEVICE_NOT_AVAILABLE = 4319
     913Const ERROR_REQUEST_REFUSED = 4320
     914Const ERROR_INVALID_DRIVE_OBJECT = 4321
     915Const ERROR_LIBRARY_FULL = 4322
     916Const ERROR_MEDIUM_NOT_ACCESSIBLE = 4323
     917Const ERROR_UNABLE_TO_LOAD_MEDIUM = 4324
     918Const ERROR_UNABLE_TO_INVENTORY_DRIVE = 4325
     919Const ERROR_UNABLE_TO_INVENTORY_SLOT = 4326
     920Const ERROR_UNABLE_TO_INVENTORY_TRANSPORT = 4327
     921Const ERROR_TRANSPORT_FULL = 4328
     922Const ERROR_CONTROLLING_IEPORT = 4329
     923Const ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA = 4330
     924Const ERROR_CLEANER_SLOT_SET = 4331
     925Const ERROR_CLEANER_SLOT_NOT_SET = 4332
     926Const ERROR_CLEANER_CARTRIDGE_SPENT = 4333
     927Const ERROR_UNEXPECTED_OMID = 4334
     928Const ERROR_CANT_DELETE_LAST_ITEM = 4335
     929Const ERROR_MESSAGE_EXCEEDS_MAX_SIZE = 4336
     930Const ERROR_VOLUME_CONTAINS_SYS_FILES = 4337
     931Const ERROR_INDIGENOUS_TYPE = 4338
     932Const ERROR_NO_SUPPORTING_DRIVES = 4339
     933Const ERROR_CLEANER_CARTRIDGE_INSTALLED = 4340
     934Const ERROR_IEPORT_FULL = 4341
     935Const ERROR_FILE_OFFLINE = 4350
     936Const ERROR_REMOTE_STORAGE_NOT_ACTIVE = 4351
     937Const ERROR_REMOTE_STORAGE_MEDIA_ERROR = 4352
     938Const ERROR_NOT_A_REPARSE_POINT = 4390
     939Const ERROR_REPARSE_ATTRIBUTE_CONFLICT = 4391
     940Const ERROR_INVALID_REPARSE_DATA = 4392
     941Const ERROR_REPARSE_TAG_INVALID = 4393
     942Const ERROR_REPARSE_TAG_MISMATCH = 4394
     943Const ERROR_VOLUME_NOT_SIS_ENABLED = 4500
     944Const ERROR_DEPENDENT_RESOURCE_EXISTS = 5001
     945Const ERROR_DEPENDENCY_NOT_FOUND = 5002
     946Const ERROR_DEPENDENCY_ALREADY_EXISTS = 5003
     947Const ERROR_RESOURCE_NOT_ONLINE = 5004
     948Const ERROR_HOST_NODE_NOT_AVAILABLE = 5005
     949Const ERROR_RESOURCE_NOT_AVAILABLE = 5006
     950Const ERROR_RESOURCE_NOT_FOUND = 5007
     951Const ERROR_SHUTDOWN_CLUSTER = 5008
     952Const ERROR_CANT_EVICT_ACTIVE_NODE = 5009
     953Const ERROR_OBJECT_ALREADY_EXISTS = 5010
     954Const ERROR_OBJECT_IN_LIST = 5011
     955Const ERROR_GROUP_NOT_AVAILABLE = 5012
     956Const ERROR_GROUP_NOT_FOUND = 5013
     957Const ERROR_GROUP_NOT_ONLINE = 5014
     958Const ERROR_HOST_NODE_NOT_RESOURCE_OWNER = 5015
     959Const ERROR_HOST_NODE_NOT_GROUP_OWNER = 5016
     960Const ERROR_RESMON_CREATE_FAILED = 5017
     961Const ERROR_RESMON_ONLINE_FAILED = 5018
     962Const ERROR_RESOURCE_ONLINE = 5019
     963Const ERROR_QUORUM_RESOURCE = 5020
     964Const ERROR_NOT_QUORUM_CAPABLE = 5021
     965Const ERROR_CLUSTER_SHUTTING_DOWN = 5022
     966Const ERROR_INVALID_STATE = 5023
     967Const ERROR_RESOURCE_PROPERTIES_STORED = 5024
     968Const ERROR_NOT_QUORUM_CLASS = 5025
     969Const ERROR_CORE_RESOURCE = 5026
     970Const ERROR_QUORUM_RESOURCE_ONLINE_FAILED = 5027
     971Const ERROR_QUORUMLOG_OPEN_FAILED = 5028
     972Const ERROR_CLUSTERLOG_CORRUPT = 5029
     973Const ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE = 5030
     974Const ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE = 5031
     975Const ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND = 5032
     976Const ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE = 5033
     977Const ERROR_QUORUM_OWNER_ALIVE = 5034
     978Const ERROR_NETWORK_NOT_AVAILABLE = 5035
     979Const ERROR_NODE_NOT_AVAILABLE = 5036
     980Const ERROR_ALL_NODES_NOT_AVAILABLE = 5037
     981Const ERROR_RESOURCE_FAILED = 5038
     982Const ERROR_CLUSTER_INVALID_NODE = 5039
     983Const ERROR_CLUSTER_NODE_EXISTS = 5040
     984Const ERROR_CLUSTER_JOIN_IN_PROGRESS = 5041
     985Const ERROR_CLUSTER_NODE_NOT_FOUND = 5042
     986Const ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND = 5043
     987Const ERROR_CLUSTER_NETWORK_EXISTS = 5044
     988Const ERROR_CLUSTER_NETWORK_NOT_FOUND = 5045
     989Const ERROR_CLUSTER_NETINTERFACE_EXISTS = 5046
     990Const ERROR_CLUSTER_NETINTERFACE_NOT_FOUND = 5047
     991Const ERROR_CLUSTER_INVALID_REQUEST = 5048
     992Const ERROR_CLUSTER_INVALID_NETWORK_PROVIDER = 5049
     993Const ERROR_CLUSTER_NODE_DOWN = 5050
     994Const ERROR_CLUSTER_NODE_UNREACHABLE = 5051
     995Const ERROR_CLUSTER_NODE_NOT_MEMBER = 5052
     996Const ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS = 5053
     997Const ERROR_CLUSTER_INVALID_NETWORK = 5054
     998Const ERROR_CLUSTER_NODE_UP = 5056
     999Const ERROR_CLUSTER_IPADDR_IN_USE = 5057
     1000Const ERROR_CLUSTER_NODE_NOT_PAUSED = 5058
     1001Const ERROR_CLUSTER_NO_SECURITY_CONTEXT = 5059
     1002Const ERROR_CLUSTER_NETWORK_NOT_INTERNAL = 5060
     1003Const ERROR_CLUSTER_NODE_ALREADY_UP = 5061
     1004Const ERROR_CLUSTER_NODE_ALREADY_DOWN = 5062
     1005Const ERROR_CLUSTER_NETWORK_ALREADY_ONLINE = 5063
     1006Const ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE = 5064
     1007Const ERROR_CLUSTER_NODE_ALREADY_MEMBER = 5065
     1008Const ERROR_CLUSTER_LAST_INTERNAL_NETWORK = 5066
     1009Const ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS = 5067
     1010Const ERROR_INVALID_OPERATION_ON_QUORUM = 5068
     1011Const ERROR_DEPENDENCY_NOT_ALLOWED = 5069
     1012Const ERROR_CLUSTER_NODE_PAUSED = 5070
     1013Const ERROR_NODE_CANT_HOST_RESOURCE = 5071
     1014Const ERROR_CLUSTER_NODE_NOT_READY = 5072
     1015Const ERROR_CLUSTER_NODE_SHUTTING_DOWN = 5073
     1016Const ERROR_CLUSTER_JOIN_ABORTED = 5074
     1017Const ERROR_CLUSTER_INCOMPATIBLE_VERSIONS = 5075
     1018Const ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED = 5076
     1019Const ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED = 5077
     1020Const ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND = 5078
     1021Const ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED = 5079
     1022Const ERROR_CLUSTER_RESNAME_NOT_FOUND = 5080
     1023Const ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED = 5081
     1024Const ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST = 5082
     1025Const ERROR_CLUSTER_DATABASE_SEQMISMATCH = 5083
     1026Const ERROR_RESMON_INVALID_STATE = 5084
     1027Const ERROR_CLUSTER_GUM_NOT_LOCKER = 5085
     1028Const ERROR_QUORUM_DISK_NOT_FOUND = 5086
     1029Const ERROR_DATABASE_BACKUP_CORRUPT = 5087
     1030Const ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT = 5088
     1031Const ERROR_RESOURCE_PROPERTY_UNCHANGEABLE = 5089
     1032Const ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 5890
     1033Const ERROR_CLUSTER_QUORUMLOG_NOT_FOUND = 5891
     1034Const ERROR_CLUSTER_MEMBERSHIP_HALT = 5892
     1035Const ERROR_CLUSTER_INSTANCE_ID_MISMATCH = 5893
     1036Const ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP = 5894
     1037Const ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH = 5895
     1038Const ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP = 5896
     1039Const ERROR_CLUSTER_PARAMETER_MISMATCH = 5897
     1040Const ERROR_NODE_CANNOT_BE_CLUSTERED = 5898
     1041Const ERROR_CLUSTER_WRONG_OS_VERSION = 5899
     1042Const ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME = 5900
     1043Const ERROR_CLUSCFG_ALREADY_COMMITTED = 5901
     1044Const ERROR_CLUSCFG_ROLLBACK_FAILED = 5902
     1045Const ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT = 5903
     1046Const ERROR_CLUSTER_OLD_VERSION = 5904
     1047Const ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME = 5905
     1048Const ERROR_ENCRYPTION_FAILED = 6000
     1049Const ERROR_DECRYPTION_FAILED = 6001
     1050Const ERROR_FILE_ENCRYPTED = 6002
     1051Const ERROR_NO_RECOVERY_POLICY = 6003
     1052Const ERROR_NO_EFS = 6004
     1053Const ERROR_WRONG_EFS = 6005
     1054Const ERROR_NO_USER_KEYS = 6006
     1055Const ERROR_FILE_NOT_ENCRYPTED = 6007
     1056Const ERROR_NOT_EXPORT_FORMAT = 6008
     1057Const ERROR_FILE_READ_ONLY = 6009
     1058Const ERROR_DIR_EFS_DISALLOWED = 6010
     1059Const ERROR_EFS_SERVER_NOT_TRUSTED = 6011
     1060Const ERROR_BAD_RECOVERY_POLICY = 6012
     1061Const ERROR_EFS_ALG_BLOB_TOO_BIG = 6013
     1062Const ERROR_VOLUME_NOT_SUPPORT_EFS = 6014
     1063Const ERROR_EFS_DISABLED = 6015
     1064Const ERROR_EFS_VERSION_NOT_SUPPORT = 6016
     1065Const ERROR_NO_BROWSER_SERVERS_FOUND = 6118
     1066Const SCHED_E_SERVICE_NOT_LOCALSYSTEM = 6200
     1067Const ERROR_CTX_WINSTATION_NAME_INVALID = 7001
     1068Const ERROR_CTX_INVALID_PD = 7002
     1069Const ERROR_CTX_PD_NOT_FOUND = 7003
     1070Const ERROR_CTX_WD_NOT_FOUND = 7004
     1071Const ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY = 7005
     1072Const ERROR_CTX_SERVICE_NAME_COLLISION = 7006
     1073Const ERROR_CTX_CLOSE_PENDING = 7007
     1074Const ERROR_CTX_NO_OUTBUF = 7008
     1075Const ERROR_CTX_MODEM_INF_NOT_FOUND = 7009
     1076Const ERROR_CTX_INVALID_MODEMNAME = 7010
     1077Const ERROR_CTX_MODEM_RESPONSE_ERROR = 7011
     1078Const ERROR_CTX_MODEM_RESPONSE_TIMEOUT = 7012
     1079Const ERROR_CTX_MODEM_RESPONSE_NO_CARRIER = 7013
     1080Const ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE = 7014
     1081Const ERROR_CTX_MODEM_RESPONSE_BUSY = 7015
     1082Const ERROR_CTX_MODEM_RESPONSE_VOICE = 7016
     1083Const ERROR_CTX_TD_ERROR = 7017
     1084Const ERROR_CTX_WINSTATION_NOT_FOUND = 7022
     1085Const ERROR_CTX_WINSTATION_ALREADY_EXISTS = 7023
     1086Const ERROR_CTX_WINSTATION_BUSY = 7024
     1087Const ERROR_CTX_BAD_VIDEO_MODE = 7025
     1088Const ERROR_CTX_GRAPHICS_INVALID = 7035
     1089Const ERROR_CTX_LOGON_DISABLED = 7037
     1090Const ERROR_CTX_NOT_CONSOLE = 7038
     1091Const ERROR_CTX_CLIENT_QUERY_TIMEOUT = 7040
     1092Const ERROR_CTX_CONSOLE_DISCONNECT = 7041
     1093Const ERROR_CTX_CONSOLE_CONNECT = 7042
     1094Const ERROR_CTX_SHADOW_DENIED = 7044
     1095Const ERROR_CTX_WINSTATION_ACCESS_DENIED = 7045
     1096Const ERROR_CTX_INVALID_WD = 7049
     1097Const ERROR_CTX_SHADOW_INVALID = 7050
     1098Const ERROR_CTX_SHADOW_DISABLED = 7051
     1099Const ERROR_CTX_CLIENT_LICENSE_IN_USE = 7052
     1100Const ERROR_CTX_CLIENT_LICENSE_NOT_SET = 7053
     1101Const ERROR_CTX_LICENSE_NOT_AVAILABLE = 7054
     1102Const ERROR_CTX_LICENSE_CLIENT_INVALID = 7055
     1103Const ERROR_CTX_LICENSE_EXPIRED = 7056
     1104Const ERROR_CTX_SHADOW_NOT_RUNNING = 7057
     1105Const ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 7058
     1106Const ERROR_ACTIVATION_COUNT_EXCEEDED = 7059
     1107Const FRS_ERR_INVALID_API_SEQUENCE = 8001
     1108Const FRS_ERR_STARTING_SERVICE = 8002
     1109Const FRS_ERR_STOPPING_SERVICE = 8003
     1110Const FRS_ERR_INTERNAL_API = 8004
     1111Const FRS_ERR_INTERNAL = 8005
     1112Const FRS_ERR_SERVICE_COMM = 8006
     1113Const FRS_ERR_INSUFFICIENT_PRIV = 8007
     1114Const FRS_ERR_AUTHENTICATION = 8008
     1115Const FRS_ERR_PARENT_INSUFFICIENT_PRIV = 8009
     1116Const FRS_ERR_PARENT_AUTHENTICATION = 8010
     1117Const FRS_ERR_CHILD_TO_PARENT_COMM = 8011
     1118Const FRS_ERR_PARENT_TO_CHILD_COMM = 8012
     1119Const FRS_ERR_SYSVOL_POPULATE = 8013
     1120Const FRS_ERR_SYSVOL_POPULATE_TIMEOUT = 8014
     1121Const FRS_ERR_SYSVOL_IS_BUSY = 8015
     1122Const FRS_ERR_SYSVOL_DEMOTE = 8016
     1123Const FRS_ERR_INVALID_SERVICE_PARAMETER = 8017
     1124Const DS_S_SUCCESS = NO_ERROR
     1125Const ERROR_DS_NOT_INSTALLED = 8200
     1126Const ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY = 8201
     1127Const ERROR_DS_NO_ATTRIBUTE_OR_VALUE = 8202
     1128Const ERROR_DS_INVALID_ATTRIBUTE_SYNTAX = 8203
     1129Const ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED = 8204
     1130Const ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS = 8205
     1131Const ERROR_DS_BUSY = 8206
     1132Const ERROR_DS_UNAVAILABLE = 8207
     1133Const ERROR_DS_NO_RIDS_ALLOCATED = 8208
     1134Const ERROR_DS_NO_MORE_RIDS = 8209
     1135Const ERROR_DS_INCORRECT_ROLE_OWNER = 8210
     1136Const ERROR_DS_RIDMGR_INIT_ERROR = 8211
     1137Const ERROR_DS_OBJ_CLASS_VIOLATION = 8212
     1138Const ERROR_DS_CANT_ON_NON_LEAF = 8213
     1139Const ERROR_DS_CANT_ON_RDN = 8214
     1140Const ERROR_DS_CANT_MOD_OBJ_CLASS = 8215
     1141Const ERROR_DS_CROSS_DOM_MOVE_ERROR = 8216
     1142Const ERROR_DS_GC_NOT_AVAILABLE = 8217
     1143Const ERROR_SHARED_POLICY = 8218
     1144Const ERROR_POLICY_OBJECT_NOT_FOUND = 8219
     1145Const ERROR_POLICY_ONLY_IN_DS = 8220
     1146Const ERROR_PROMOTION_ACTIVE = 8221
     1147Const ERROR_NO_PROMOTION_ACTIVE = 8222
     1148Const ERROR_DS_OPERATIONS_ERROR = 8224
     1149Const ERROR_DS_PROTOCOL_ERROR = 8225
     1150Const ERROR_DS_TIMELIMIT_EXCEEDED = 8226
     1151Const ERROR_DS_SIZELIMIT_EXCEEDED = 8227
     1152Const ERROR_DS_ADMIN_LIMIT_EXCEEDED = 8228
     1153Const ERROR_DS_COMPARE_FALSE = 8229
     1154Const ERROR_DS_COMPARE_TRUE = 8230
     1155Const ERROR_DS_AUTH_METHOD_NOT_SUPPORTED = 8231
     1156Const ERROR_DS_STRONG_AUTH_REQUIRED = 8232
     1157Const ERROR_DS_INAPPROPRIATE_AUTH = 8233
     1158Const ERROR_DS_AUTH_UNKNOWN = 8234
     1159Const ERROR_DS_REFERRAL = 8235
     1160Const ERROR_DS_UNAVAILABLE_CRIT_EXTENSION = 8236
     1161Const ERROR_DS_CONFIDENTIALITY_REQUIRED = 8237
     1162Const ERROR_DS_INAPPROPRIATE_MATCHING = 8238
     1163Const ERROR_DS_CONSTRAINT_VIOLATION = 8239
     1164Const ERROR_DS_NO_SUCH_OBJECT = 8240
     1165Const ERROR_DS_ALIAS_PROBLEM = 8241
     1166Const ERROR_DS_INVALID_DN_SYNTAX = 8242
     1167Const ERROR_DS_IS_LEAF = 8243
     1168Const ERROR_DS_ALIAS_DEREF_PROBLEM = 8244
     1169Const ERROR_DS_UNWILLING_TO_PERFORM = 8245
     1170Const ERROR_DS_LOOP_DETECT = 8246
     1171Const ERROR_DS_NAMING_VIOLATION = 8247
     1172Const ERROR_DS_OBJECT_RESULTS_TOO_LARGE = 8248
     1173Const ERROR_DS_AFFECTS_MULTIPLE_DSAS = 8249
     1174Const ERROR_DS_SERVER_DOWN = 8250
     1175Const ERROR_DS_LOCAL_ERROR = 8251
     1176Const ERROR_DS_ENCODING_ERROR = 8252
     1177Const ERROR_DS_DECODING_ERROR = 8253
     1178Const ERROR_DS_FILTER_UNKNOWN = 8254
     1179Const ERROR_DS_PARAM_ERROR = 8255
     1180Const ERROR_DS_NOT_SUPPORTED = 8256
     1181Const ERROR_DS_NO_RESULTS_RETURNED = 8257
     1182Const ERROR_DS_CONTROL_NOT_FOUND = 8258
     1183Const ERROR_DS_CLIENT_LOOP = 8259
     1184Const ERROR_DS_REFERRAL_LIMIT_EXCEEDED = 8260
     1185Const ERROR_DS_SORT_CONTROL_MISSING = 8261
     1186Const ERROR_DS_OFFSET_RANGE_ERROR = 8262
     1187Const ERROR_DS_ROOT_MUST_BE_NC = 8301
     1188Const ERROR_DS_ADD_REPLICA_INHIBITED = 8302
     1189Const ERROR_DS_ATT_NOT_DEF_IN_SCHEMA = 8303
     1190Const ERROR_DS_MAX_OBJ_SIZE_EXCEEDED = 8304
     1191Const ERROR_DS_OBJ_STRING_NAME_EXISTS = 8305
     1192Const ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA = 8306
     1193Const ERROR_DS_RDN_DOESNT_MATCH_SCHEMA = 8307
     1194Const ERROR_DS_NO_REQUESTED_ATTS_FOUND = 8308
     1195Const ERROR_DS_USER_BUFFER_TO_SMALL = 8309
     1196Const ERROR_DS_ATT_IS_NOT_ON_OBJ = 8310
     1197Const ERROR_DS_ILLEGAL_MOD_OPERATION = 8311
     1198Const ERROR_DS_OBJ_TOO_LARGE = 8312
     1199Const ERROR_DS_BAD_INSTANCE_TYPE = 8313
     1200Const ERROR_DS_MASTERDSA_REQUIRED = 8314
     1201Const ERROR_DS_OBJECT_CLASS_REQUIRED = 8315
     1202Const ERROR_DS_MISSING_REQUIRED_ATT = 8316
     1203Const ERROR_DS_ATT_NOT_DEF_FOR_CLASS = 8317
     1204Const ERROR_DS_ATT_ALREADY_EXISTS = 8318
     1205Const ERROR_DS_CANT_ADD_ATT_VALUES = 8320
     1206Const ERROR_DS_SINGLE_VALUE_CONSTRAINT = 8321
     1207Const ERROR_DS_RANGE_CONSTRAINT = 8322
     1208Const ERROR_DS_ATT_VAL_ALREADY_EXISTS = 8323
     1209Const ERROR_DS_CANT_REM_MISSING_ATT = 8324
     1210Const ERROR_DS_CANT_REM_MISSING_ATT_VAL = 8325
     1211Const ERROR_DS_ROOT_CANT_BE_SUBREF = 8326
     1212Const ERROR_DS_NO_CHAINING = 8327
     1213Const ERROR_DS_NO_CHAINED_EVAL = 8328
     1214Const ERROR_DS_NO_PARENT_OBJECT = 8329
     1215Const ERROR_DS_PARENT_IS_AN_ALIAS = 8330
     1216Const ERROR_DS_CANT_MIX_MASTER_AND_REPS = 8331
     1217Const ERROR_DS_CHILDREN_EXIST = 8332
     1218Const ERROR_DS_OBJ_NOT_FOUND = 8333
     1219Const ERROR_DS_ALIASED_OBJ_MISSING = 8334
     1220Const ERROR_DS_BAD_NAME_SYNTAX = 8335
     1221Const ERROR_DS_ALIAS_POINTS_TO_ALIAS = 8336
     1222Const ERROR_DS_CANT_DEREF_ALIAS = 8337
     1223Const ERROR_DS_OUT_OF_SCOPE = 8338
     1224Const ERROR_DS_OBJECT_BEING_REMOVED = 8339
     1225Const ERROR_DS_CANT_DELETE_DSA_OBJ = 8340
     1226Const ERROR_DS_GENERIC_ERROR = 8341
     1227Const ERROR_DS_DSA_MUST_BE_INT_MASTER = 8342
     1228Const ERROR_DS_CLASS_NOT_DSA = 8343
     1229Const ERROR_DS_INSUFF_ACCESS_RIGHTS = 8344
     1230Const ERROR_DS_ILLEGAL_SUPERIOR = 8345
     1231Const ERROR_DS_ATTRIBUTE_OWNED_BY_SAM = 8346
     1232Const ERROR_DS_NAME_TOO_MANY_PARTS = 8347
     1233Const ERROR_DS_NAME_TOO_LONG = 8348
     1234Const ERROR_DS_NAME_VALUE_TOO_LONG = 8349
     1235Const ERROR_DS_NAME_UNPARSEABLE = 8350
     1236Const ERROR_DS_NAME_TYPE_UNKNOWN = 8351
     1237Const ERROR_DS_NOT_AN_OBJECT = 8352
     1238Const ERROR_DS_SEC_DESC_TOO_SHORT = 8353
     1239Const ERROR_DS_SEC_DESC_INVALID = 8354
     1240Const ERROR_DS_NO_DELETED_NAME = 8355
     1241Const ERROR_DS_SUBREF_MUST_HAVE_PARENT = 8356
     1242Const ERROR_DS_NCNAME_MUST_BE_NC = 8357
     1243Const ERROR_DS_CANT_ADD_SYSTEM_ONLY = 8358
     1244Const ERROR_DS_CLASS_MUST_BE_CONCRETE = 8359
     1245Const ERROR_DS_INVALID_DMD = 8360
     1246Const ERROR_DS_OBJ_GUID_EXISTS = 8361
     1247Const ERROR_DS_NOT_ON_BACKLINK = 8362
     1248Const ERROR_DS_NO_CROSSREF_FOR_NC = 8363
     1249Const ERROR_DS_SHUTTING_DOWN = 8364
     1250Const ERROR_DS_UNKNOWN_OPERATION = 8365
     1251Const ERROR_DS_INVALID_ROLE_OWNER = 8366
     1252Const ERROR_DS_COULDNT_CONTACT_FSMO = 8367
     1253Const ERROR_DS_CROSS_NC_DN_RENAME = 8368
     1254Const ERROR_DS_CANT_MOD_SYSTEM_ONLY = 8369
     1255Const ERROR_DS_REPLICATOR_ONLY = 8370
     1256Const ERROR_DS_OBJ_CLASS_NOT_DEFINED = 8371
     1257Const ERROR_DS_OBJ_CLASS_NOT_SUBCLASS = 8372
     1258Const ERROR_DS_NAME_REFERENCE_INVALID = 8373
     1259Const ERROR_DS_CROSS_REF_EXISTS = 8374
     1260Const ERROR_DS_CANT_DEL_MASTER_CROSSREF = 8375
     1261Const ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD = 8376
     1262Const ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX = 8377
     1263Const ERROR_DS_DUP_RDN = 8378
     1264Const ERROR_DS_DUP_OID = 8379
     1265Const ERROR_DS_DUP_MAPI_ID = 8380
     1266Const ERROR_DS_DUP_SCHEMA_ID_GUID = 8381
     1267Const ERROR_DS_DUP_LDAP_DISPLAY_NAME = 8382
     1268Const ERROR_DS_SEMANTIC_ATT_TEST = 8383
     1269Const ERROR_DS_SYNTAX_MISMATCH = 8384
     1270Const ERROR_DS_EXISTS_IN_MUST_HAVE = 8385
     1271Const ERROR_DS_EXISTS_IN_MAY_HAVE = 8386
     1272Const ERROR_DS_NONEXISTENT_MAY_HAVE = 8387
     1273Const ERROR_DS_NONEXISTENT_MUST_HAVE = 8388
     1274Const ERROR_DS_AUX_CLS_TEST_FAIL = 8389
     1275Const ERROR_DS_NONEXISTENT_POSS_SUP = 8390
     1276Const ERROR_DS_SUB_CLS_TEST_FAIL = 8391
     1277Const ERROR_DS_BAD_RDN_ATT_ID_SYNTAX = 8392
     1278Const ERROR_DS_EXISTS_IN_AUX_CLS = 8393
     1279Const ERROR_DS_EXISTS_IN_SUB_CLS = 8394
     1280Const ERROR_DS_EXISTS_IN_POSS_SUP = 8395
     1281Const ERROR_DS_RECALCSCHEMA_FAILED = 8396
     1282Const ERROR_DS_TREE_DELETE_NOT_FINISHED = 8397
     1283Const ERROR_DS_CANT_DELETE = 8398
     1284Const ERROR_DS_ATT_SCHEMA_REQ_ID = 8399
     1285Const ERROR_DS_BAD_ATT_SCHEMA_SYNTAX = 8400
     1286Const ERROR_DS_CANT_CACHE_ATT = 8401
     1287Const ERROR_DS_CANT_CACHE_CLASS = 8402
     1288Const ERROR_DS_CANT_REMOVE_ATT_CACHE = 8403
     1289Const ERROR_DS_CANT_REMOVE_CLASS_CACHE = 8404
     1290Const ERROR_DS_CANT_RETRIEVE_DN = 8405
     1291Const ERROR_DS_MISSING_SUPREF = 8406
     1292Const ERROR_DS_CANT_RETRIEVE_INSTANCE = 8407
     1293Const ERROR_DS_CODE_INCONSISTENCY = 8408
     1294Const ERROR_DS_DATABASE_ERROR = 8409
     1295Const ERROR_DS_GOVERNSID_MISSING = 8410
     1296Const ERROR_DS_MISSING_EXPECTED_ATT = 8411
     1297Const ERROR_DS_NCNAME_MISSING_CR_REF = 8412
     1298Const ERROR_DS_SECURITY_CHECKING_ERROR = 8413
     1299Const ERROR_DS_SCHEMA_NOT_LOADED = 8414
     1300Const ERROR_DS_SCHEMA_ALLOC_FAILED = 8415
     1301Const ERROR_DS_ATT_SCHEMA_REQ_SYNTAX = 8416
     1302Const ERROR_DS_GCVERIFY_ERROR = 8417
     1303Const ERROR_DS_DRA_SCHEMA_MISMATCH = 8418
     1304Const ERROR_DS_CANT_FIND_DSA_OBJ = 8419
     1305Const ERROR_DS_CANT_FIND_EXPECTED_NC = 8420
     1306Const ERROR_DS_CANT_FIND_NC_IN_CACHE = 8421
     1307Const ERROR_DS_CANT_RETRIEVE_CHILD = 8422
     1308Const ERROR_DS_SECURITY_ILLEGAL_MODIFY = 8423
     1309Const ERROR_DS_CANT_REPLACE_HIDDEN_REC = 8424
     1310Const ERROR_DS_BAD_HIERARCHY_FILE = 8425
     1311Const ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED = 8426
     1312Const ERROR_DS_CONFIG_PARAM_MISSING = 8427
     1313Const ERROR_DS_COUNTING_AB_INDICES_FAILED = 8428
     1314Const ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED = 8429
     1315Const ERROR_DS_INTERNAL_FAILURE = 8430
     1316Const ERROR_DS_UNKNOWN_ERROR = 8431
     1317Const ERROR_DS_ROOT_REQUIRES_CLASS_TOP = 8432
     1318Const ERROR_DS_REFUSING_FSMO_ROLES = 8433
     1319Const ERROR_DS_MISSING_FSMO_SETTINGS = 8434
     1320Const ERROR_DS_UNABLE_TO_SURRENDER_ROLES = 8435
     1321Const ERROR_DS_DRA_GENERIC = 8436
     1322Const ERROR_DS_DRA_INVALID_PARAMETER = 8437
     1323Const ERROR_DS_DRA_BUSY = 8438
     1324Const ERROR_DS_DRA_BAD_DN = 8439
     1325Const ERROR_DS_DRA_BAD_NC = 8440
     1326Const ERROR_DS_DRA_DN_EXISTS = 8441
     1327Const ERROR_DS_DRA_INTERNAL_ERROR = 8442
     1328Const ERROR_DS_DRA_INCONSISTENT_DIT = 8443
     1329Const ERROR_DS_DRA_CONNECTION_FAILED = 8444
     1330Const ERROR_DS_DRA_BAD_INSTANCE_TYPE = 8445
     1331Const ERROR_DS_DRA_OUT_OF_MEM = 8446
     1332Const ERROR_DS_DRA_MAIL_PROBLEM = 8447
     1333Const ERROR_DS_DRA_REF_ALREADY_EXISTS = 8448
     1334Const ERROR_DS_DRA_REF_NOT_FOUND = 8449
     1335Const ERROR_DS_DRA_OBJ_IS_REP_SOURCE = 8450
     1336Const ERROR_DS_DRA_DB_ERROR = 8451
     1337Const ERROR_DS_DRA_NO_REPLICA = 8452
     1338Const ERROR_DS_DRA_ACCESS_DENIED = 8453
     1339Const ERROR_DS_DRA_NOT_SUPPORTED = 8454
     1340Const ERROR_DS_DRA_RPC_CANCELLED = 8455
     1341Const ERROR_DS_DRA_SOURCE_DISABLED = 8456
     1342Const ERROR_DS_DRA_SINK_DISABLED = 8457
     1343Const ERROR_DS_DRA_NAME_COLLISION = 8458
     1344Const ERROR_DS_DRA_SOURCE_REINSTALLED = 8459
     1345Const ERROR_DS_DRA_MISSING_PARENT = 8460
     1346Const ERROR_DS_DRA_PREEMPTED = 8461
     1347Const ERROR_DS_DRA_ABANDON_SYNC = 8462
     1348Const ERROR_DS_DRA_SHUTDOWN = 8463
     1349Const ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET = 8464
     1350Const ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA = 8465
     1351Const ERROR_DS_DRA_EXTN_CONNECTION_FAILED = 8466
     1352Const ERROR_DS_INSTALL_SCHEMA_MISMATCH = 8467
     1353Const ERROR_DS_DUP_LINK_ID = 8468
     1354Const ERROR_DS_NAME_ERROR_RESOLVING = 8469
     1355Const ERROR_DS_NAME_ERROR_NOT_FOUND = 8470
     1356Const ERROR_DS_NAME_ERROR_NOT_UNIQUE = 8471
     1357Const ERROR_DS_NAME_ERROR_NO_MAPPING = 8472
     1358Const ERROR_DS_NAME_ERROR_DOMAIN_ONLY = 8473
     1359Const ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 8474
     1360Const ERROR_DS_CONSTRUCTED_ATT_MOD = 8475
     1361Const ERROR_DS_WRONG_OM_OBJ_CLASS = 8476
     1362Const ERROR_DS_DRA_REPL_PENDING = 8477
     1363Const ERROR_DS_DS_REQUIRED = 8478
     1364Const ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 8479
     1365Const ERROR_DS_NON_BASE_SEARCH = 8480
     1366Const ERROR_DS_CANT_RETRIEVE_ATTS = 8481
     1367Const ERROR_DS_BACKLINK_WITHOUT_LINK = 8482
     1368Const ERROR_DS_EPOCH_MISMATCH = 8483
     1369Const ERROR_DS_SRC_NAME_MISMATCH = 8484
     1370Const ERROR_DS_SRC_AND_DST_NC_IDENTICAL = 8485
     1371Const ERROR_DS_DST_NC_MISMATCH = 8486
     1372Const ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC = 8487
     1373Const ERROR_DS_SRC_GUID_MISMATCH = 8488
     1374Const ERROR_DS_CANT_MOVE_DELETED_OBJECT = 8489
     1375Const ERROR_DS_PDC_OPERATION_IN_PROGRESS = 8490
     1376Const ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 8491
     1377Const ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION = 8492
     1378Const ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS = 8493
     1379Const ERROR_DS_NC_MUST_HAVE_NC_PARENT = 8494
     1380Const ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE = 8495
     1381Const ERROR_DS_DST_DOMAIN_NOT_NATIVE = 8496
     1382Const ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER = 8497
     1383Const ERROR_DS_CANT_MOVE_ACCOUNT_GROUP = 8498
     1384Const ERROR_DS_CANT_MOVE_RESOURCE_GROUP = 8499
     1385Const ERROR_DS_INVALID_SEARCH_FLAG = 8500
     1386Const ERROR_DS_NO_TREE_DELETE_ABOVE_NC = 8501
     1387Const ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE = 8502
     1388Const ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE = 8503
     1389Const ERROR_DS_SAM_INIT_FAILURE = 8504
     1390Const ERROR_DS_SENSITIVE_GROUP_VIOLATION = 8505
     1391Const ERROR_DS_CANT_MOD_PRIMARYGROUPID = 8506
     1392Const ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD = 8507
     1393Const ERROR_DS_NONSAFE_SCHEMA_CHANGE = 8508
     1394Const ERROR_DS_SCHEMA_UPDATE_DISALLOWED = 8509
     1395Const ERROR_DS_CANT_CREATE_UNDER_SCHEMA = 8510
     1396Const ERROR_DS_INSTALL_NO_SRC_SCH_VERSION = 8511
     1397Const ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE = 8512
     1398Const ERROR_DS_INVALID_GROUP_TYPE = 8513
     1399Const ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 8514
     1400Const ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 8515
     1401Const ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 8516
     1402Const ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 8517
     1403Const ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 8518
     1404Const ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 8519
     1405Const ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 8520
     1406Const ERROR_DS_HAVE_PRIMARY_MEMBERS = 8521
     1407Const ERROR_DS_STRING_SD_CONVERSION_FAILED = 8522
     1408Const ERROR_DS_NAMING_MASTER_GC = 8523
     1409Const ERROR_DS_DNS_LOOKUP_FAILURE = 8524
     1410Const ERROR_DS_COULDNT_UPDATE_SPNS = 8525
     1411Const ERROR_DS_CANT_RETRIEVE_SD = 8526
     1412Const ERROR_DS_KEY_NOT_UNIQUE = 8527
     1413Const ERROR_DS_WRONG_LINKED_ATT_SYNTAX = 8528
     1414Const ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD = 8529
     1415Const ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY = 8530
     1416Const ERROR_DS_CANT_START = 8531
     1417Const ERROR_DS_INIT_FAILURE = 8532
     1418Const ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION = 8533
     1419Const ERROR_DS_SOURCE_DOMAIN_IN_FOREST = 8534
     1420Const ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST = 8535
     1421Const ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED = 8536
     1422Const ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN = 8537
     1423Const ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER = 8538
     1424Const ERROR_DS_SRC_SID_EXISTS_IN_FOREST = 8539
     1425Const ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH = 8540
     1426Const ERROR_SAM_INIT_FAILURE = 8541
     1427Const ERROR_DS_DRA_SCHEMA_INFO_SHIP = 8542
     1428Const ERROR_DS_DRA_SCHEMA_CONFLICT = 8543
     1429Const ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT = 8544
     1430Const ERROR_DS_DRA_OBJ_NC_MISMATCH = 8545
     1431Const ERROR_DS_NC_STILL_HAS_DSAS = 8546
     1432Const ERROR_DS_GC_REQUIRED = 8547
     1433Const ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 8548
     1434Const ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 8549
     1435Const ERROR_DS_CANT_ADD_TO_GC = 8550
     1436Const ERROR_DS_NO_CHECKPOINT_WITH_PDC = 8551
     1437Const ERROR_DS_SOURCE_AUDITING_NOT_ENABLED = 8552
     1438Const ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC = 8553
     1439Const ERROR_DS_INVALID_NAME_FOR_SPN = 8554
     1440Const ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS = 8555
     1441Const ERROR_DS_UNICODEPWD_NOT_IN_QUOTES = 8556
     1442Const ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 8557
     1443Const ERROR_DS_MUST_BE_RUN_ON_DST_DC = 8558
     1444Const ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER = 8559
     1445Const ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ = 8560
     1446Const ERROR_DS_INIT_FAILURE_CONSOLE = 8561
     1447Const ERROR_DS_SAM_INIT_FAILURE_CONSOLE = 8562
     1448Const ERROR_DS_FOREST_VERSION_TOO_HIGH = 8563
     1449Const ERROR_DS_DOMAIN_VERSION_TOO_HIGH = 8564
     1450Const ERROR_DS_FOREST_VERSION_TOO_LOW = 8565
     1451Const ERROR_DS_DOMAIN_VERSION_TOO_LOW = 8566
     1452Const ERROR_DS_INCOMPATIBLE_VERSION = 8567
     1453Const ERROR_DS_LOW_DSA_VERSION = 8568
     1454Const ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN = 8569
     1455Const ERROR_DS_NOT_SUPPORTED_SORT_ORDER = 8570
     1456Const ERROR_DS_NAME_NOT_UNIQUE = 8571
     1457Const ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 = 8572
     1458Const ERROR_DS_OUT_OF_VERSION_STORE = 8573
     1459Const ERROR_DS_INCOMPATIBLE_CONTROLS_USED = 8574
     1460Const ERROR_DS_NO_REF_DOMAIN = 8575
     1461Const ERROR_DS_RESERVED_LINK_ID = 8576
     1462Const ERROR_DS_LINK_ID_NOT_AVAILABLE = 8577
     1463Const ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 8578
     1464Const ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE = 8579
     1465Const ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC = 8580
     1466Const ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG = 8581
     1467Const ERROR_DS_MODIFYDN_WRONG_GRANDPARENT = 8582
     1468Const ERROR_DS_NAME_ERROR_TRUST_REFERRAL = 8583
     1469Const ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER = 8584
     1470Const ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD = 8585
     1471Const ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 = 8586
     1472Const ERROR_DS_THREAD_LIMIT_EXCEEDED = 8587
     1473Const ERROR_DS_NOT_CLOSEST = 8588
     1474Const ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF = 8589
     1475Const ERROR_DS_SINGLE_USER_MODE_FAILED = 8590
     1476Const ERROR_DS_NTDSCRIPT_SYNTAX_ERROR = 8591
     1477Const ERROR_DS_NTDSCRIPT_PROCESS_ERROR = 8592
     1478Const ERROR_DS_DIFFERENT_REPL_EPOCHS = 8593
     1479Const ERROR_DS_DRS_EXTENSIONS_CHANGED = 8594
     1480Const ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR = 8595
     1481Const ERROR_DS_NO_MSDS_INTID = 8596
     1482Const ERROR_DS_DUP_MSDS_INTID = 8597
     1483Const ERROR_DS_EXISTS_IN_RDNATTID = 8598
     1484Const ERROR_DS_AUTHORIZATION_FAILED = 8599
     1485Const ERROR_DS_INVALID_SCRIPT = 8600
     1486Const ERROR_DS_REMOTE_CROSSREF_OP_FAILED = 8601
     1487Const ERROR_DS_CROSS_REF_BUSY = 8602
     1488Const ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN = 8603
     1489Const ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC = 8604
     1490Const ERROR_DS_DUPLICATE_ID_FOUND = 8605
     1491Const ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT = 8606
     1492Const ERROR_DS_GROUP_CONVERSION_ERROR = 8607
     1493Const ERROR_DS_CANT_MOVE_APP_BASIC_GROUP = 8608
     1494Const ERROR_DS_CANT_MOVE_APP_QUERY_GROUP = 8609
     1495Const ERROR_DS_ROLE_NOT_VERIFIED = 8610
     1496Const ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL = 8611
     1497Const ERROR_DS_DOMAIN_RENAME_IN_PROGRESS = 8612
     1498Const ERROR_DS_EXISTING_AD_CHILD_NC = 8613
     1499Const ERROR_DS_REPL_LIFETIME_EXCEEDED = 8614
     1500Const ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER = 8615
     1501Const ERROR_DS_LDAP_SEND_QUEUE_FULL = 8616
     1502Const ERROR_DS_DRA_OUT_SCHEDULE_WINDOW = 8617
     1503Const DNS_ERROR_RESPONSE_CODES_BASE = 9000
     1504Const DNS_ERROR_RCODE_NO_ERROR = NO_ERROR
     1505Const DNS_ERROR_MASK = &h00002328
     1506Const DNS_ERROR_RCODE_FORMAT_ERROR = 9001
     1507Const DNS_ERROR_RCODE_SERVER_FAILURE = 9002
     1508Const DNS_ERROR_RCODE_NAME_ERROR = 9003
     1509Const DNS_ERROR_RCODE_NOT_IMPLEMENTED = 9004
     1510Const DNS_ERROR_RCODE_REFUSED = 9005
     1511Const DNS_ERROR_RCODE_YXDOMAIN = 9006
     1512Const DNS_ERROR_RCODE_YXRRSET = 9007
     1513Const DNS_ERROR_RCODE_NXRRSET = 9008
     1514Const DNS_ERROR_RCODE_NOTAUTH = 9009
     1515Const DNS_ERROR_RCODE_NOTZONE = 9010
     1516Const DNS_ERROR_RCODE_BADSIG = 9016
     1517Const DNS_ERROR_RCODE_BADKEY = 9017
     1518Const DNS_ERROR_RCODE_BADTIME = 9018
     1519Const DNS_ERROR_RCODE_LAST = DNS_ERROR_RCODE_BADTIME
     1520Const DNS_ERROR_PACKET_FMT_BASE = 9500
     1521Const DNS_INFO_NO_RECORDS = 9501
     1522Const DNS_ERROR_BAD_PACKET = 9502
     1523Const DNS_ERROR_NO_PACKET = 9503
     1524Const DNS_ERROR_RCODE = 9504
     1525Const DNS_ERROR_UNSECURE_PACKET = 9505
     1526Const DNS_STATUS_PACKET_UNSECURE = DNS_ERROR_UNSECURE_PACKET
     1527Const DNS_ERROR_NO_MEMORY = ERROR_OUTOFMEMORY
     1528Const DNS_ERROR_INVALID_NAME = ERROR_INVALID_NAME
     1529Const DNS_ERROR_INVALID_DATA = ERROR_INVALID_DATA
     1530Const DNS_ERROR_GENERAL_API_BASE = 9550
     1531Const DNS_ERROR_INVALID_TYPE = 9551
     1532Const DNS_ERROR_INVALID_IP_ADDRESS = 9552
     1533Const DNS_ERROR_INVALID_PROPERTY = 9553
     1534Const DNS_ERROR_TRY_AGAIN_LATER = 9554
     1535Const DNS_ERROR_NOT_UNIQUE = 9555
     1536Const DNS_ERROR_NON_RFC_NAME = 9556
     1537Const DNS_STATUS_FQDN = 9557
     1538Const DNS_STATUS_DOTTED_NAME = 9558
     1539Const DNS_STATUS_SINGLE_PART_NAME = 9559
     1540Const DNS_ERROR_INVALID_NAME_CHAR = 9560
     1541Const DNS_ERROR_NUMERIC_NAME = 9561
     1542Const DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER = 9562
     1543Const DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION = 9563
     1544Const DNS_ERROR_CANNOT_FIND_ROOT_HINTS = 9564
     1545Const DNS_ERROR_INCONSISTENT_ROOT_HINTS = 9565
     1546Const DNS_ERROR_ZONE_BASE = 9600
     1547Const DNS_ERROR_ZONE_DOES_NOT_EXIST = 9601
     1548Const DNS_ERROR_NO_ZONE_INFO = 9602
     1549Const DNS_ERROR_INVALID_ZONE_OPERATION = 9603
     1550Const DNS_ERROR_ZONE_CONFIGURATION_ERROR = 9604
     1551Const DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 9605
     1552Const DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 9606
     1553Const DNS_ERROR_ZONE_LOCKED = 9607
     1554Const DNS_ERROR_ZONE_CREATION_FAILED = 9608
     1555Const DNS_ERROR_ZONE_ALREADY_EXISTS = 9609
     1556Const DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 9610
     1557Const DNS_ERROR_INVALID_ZONE_TYPE = 9611
     1558Const DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 9612
     1559Const DNS_ERROR_ZONE_NOT_SECONDARY = 9613
     1560Const DNS_ERROR_NEED_SECONDARY_ADDRESSES = 9614
     1561Const DNS_ERROR_WINS_INIT_FAILED = 9615
     1562Const DNS_ERROR_NEED_WINS_SERVERS = 9616
     1563Const DNS_ERROR_NBSTAT_INIT_FAILED = 9617
     1564Const DNS_ERROR_SOA_DELETE_INVALID = 9618
     1565Const DNS_ERROR_FORWARDER_ALREADY_EXISTS = 9619
     1566Const DNS_ERROR_ZONE_REQUIRES_MASTER_IP = 9620
     1567Const DNS_ERROR_ZONE_IS_SHUTDOWN = 9621
     1568Const DNS_ERROR_DATAFILE_BASE = 9650
     1569Const DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651
     1570Const DNS_ERROR_INVALID_DATAFILE_NAME = 9652
     1571Const DNS_ERROR_DATAFILE_OPEN_FAILURE = 9653
     1572Const DNS_ERROR_FILE_WRITEBACK_FAILED = 9654
     1573Const DNS_ERROR_DATAFILE_PARSING = 9655
     1574Const DNS_ERROR_DATABASE_BASE = 9700
     1575Const DNS_ERROR_RECORD_DOES_NOT_EXIST = 9701
     1576Const DNS_ERROR_RECORD_FORMAT = 9702
     1577Const DNS_ERROR_NODE_CREATION_FAILED = 9703
     1578Const DNS_ERROR_UNKNOWN_RECORD_TYPE = 9704
     1579Const DNS_ERROR_RECORD_TIMED_OUT = 9705
     1580Const DNS_ERROR_NAME_NOT_IN_ZONE = 9706
     1581Const DNS_ERROR_CNAME_LOOP = 9707
     1582Const DNS_ERROR_NODE_IS_CNAME = 9708
     1583Const DNS_ERROR_CNAME_COLLISION = 9709
     1584Const DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 9710
     1585Const DNS_ERROR_RECORD_ALREADY_EXISTS = 9711
     1586Const DNS_ERROR_SECONDARY_DATA = 9712
     1587Const DNS_ERROR_NO_CREATE_CACHE_DATA = 9713
     1588Const DNS_ERROR_NAME_DOES_NOT_EXIST = 9714
     1589Const DNS_WARNING_PTR_CREATE_FAILED = 9715
     1590Const DNS_WARNING_DOMAIN_UNDELETED = 9716
     1591Const DNS_ERROR_DS_UNAVAILABLE = 9717
     1592Const DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 9718
     1593Const DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 9719
     1594Const DNS_ERROR_OPERATION_BASE = 9750
     1595Const DNS_INFO_AXFR_COMPLETE = 9751
     1596Const DNS_ERROR_AXFR = 9752
     1597Const DNS_INFO_ADDED_LOCAL_WINS = 9753
     1598Const DNS_ERROR_SECURE_BASE = 9800
     1599Const DNS_STATUS_CONTINUE_NEEDED = 9801
     1600Const DNS_ERROR_SETUP_BASE = 9850
     1601Const DNS_ERROR_NO_TCPIP = 9851
     1602Const DNS_ERROR_NO_DNS_SERVERS = 9852
     1603Const DNS_ERROR_DP_BASE = 9900
     1604Const DNS_ERROR_DP_DOES_NOT_EXIST = 9901
     1605Const DNS_ERROR_DP_ALREADY_EXISTS = 9902
     1606Const DNS_ERROR_DP_NOT_ENLISTED = 9903
     1607Const DNS_ERROR_DP_ALREADY_ENLISTED = 9904
     1608Const DNS_ERROR_DP_NOT_AVAILABLE = 9905
     1609Const DNS_ERROR_DP_FSMO_ERROR = 9906
     1610'#ifndef WSABASEERR
     1611'Const WSABASEERR = 10000
     1612Const WSAEINTR = 10004
     1613Const WSAEBADF = 10009
     1614Const WSAEACCES = 10013
     1615Const WSAEFAULT = 10014
     1616Const WSAEINVAL = 10022
     1617Const WSAEMFILE = 10024
     1618Const WSAEWOULDBLOCK = 10035
     1619Const WSAEINPROGRESS = 10036
     1620Const WSAEALREADY = 10037
     1621Const WSAENOTSOCK = 10038
     1622Const WSAEDESTADDRREQ = 10039
     1623Const WSAEMSGSIZE = 10040
     1624Const WSAEPROTOTYPE = 10041
     1625Const WSAENOPROTOOPT = 10042
     1626Const WSAEPROTONOSUPPORT = 10043
     1627Const WSAESOCKTNOSUPPORT = 10044
     1628Const WSAEOPNOTSUPP = 10045
     1629Const WSAEPFNOSUPPORT = 10046
     1630Const WSAEAFNOSUPPORT = 10047
     1631Const WSAEADDRINUSE = 10048
     1632Const WSAEADDRNOTAVAIL = 10049
     1633Const WSAENETDOWN = 10050
     1634Const WSAENETUNREACH = 10051
     1635Const WSAENETRESET = 10052
     1636Const WSAECONNABORTED = 10053
     1637Const WSAECONNRESET = 10054
     1638Const WSAENOBUFS = 10055
     1639Const WSAEISCONN = 10056
     1640Const WSAENOTCONN = 10057
     1641Const WSAESHUTDOWN = 10058
     1642Const WSAETOOMANYREFS = 10059
     1643Const WSAETIMEDOUT = 10060
     1644Const WSAECONNREFUSED = 10061
     1645Const WSAELOOP = 10062
     1646Const WSAENAMETOOLONG = 10063
     1647Const WSAEHOSTDOWN = 10064
     1648Const WSAEHOSTUNREACH = 10065
     1649Const WSAENOTEMPTY = 10066
     1650Const WSAEPROCLIM = 10067
     1651Const WSAEUSERS = 10068
     1652Const WSAEDQUOT = 10069
     1653Const WSAESTALE = 10070
     1654Const WSAEREMOTE = 10071
     1655Const WSASYSNOTREADY = 10091
     1656Const WSAVERNOTSUPPORTED = 10092
     1657Const WSANOTINITIALISED = 10093
     1658Const WSAEDISCON = 10101
     1659Const WSAENOMORE = 10102
     1660Const WSAECANCELLED = 10103
     1661Const WSAEINVALIDPROCTABLE = 10104
     1662Const WSAEINVALIDPROVIDER = 10105
     1663Const WSAEPROVIDERFAILEDINIT = 10106
     1664Const WSASYSCALLFAILURE = 10107
     1665Const WSASERVICE_NOT_FOUND = 10108
     1666Const WSATYPE_NOT_FOUND = 10109
     1667Const WSA_E_NO_MORE = 10110
     1668Const WSA_E_CANCELLED = 10111
     1669Const WSAEREFUSED = 10112
     1670Const WSAHOST_NOT_FOUND = 11001
     1671Const WSATRY_AGAIN = 11002
     1672Const WSANO_RECOVERY = 11003
     1673Const WSANO_DATA = 11004
     1674Const WSA_QOS_RECEIVERS = 11005
     1675Const WSA_QOS_SENDERS = 11006
     1676Const WSA_QOS_NO_SENDERS = 11007
     1677Const WSA_QOS_NO_RECEIVERS = 11008
     1678Const WSA_QOS_REQUEST_CONFIRMED = 11009
     1679Const WSA_QOS_ADMISSION_FAILURE = 11010
     1680Const WSA_QOS_POLICY_FAILURE = 11011
     1681Const WSA_QOS_BAD_STYLE = 11012
     1682Const WSA_QOS_BAD_OBJECT = 11013
     1683Const WSA_QOS_TRAFFIC_CTRL_ERROR = 11014
     1684Const WSA_QOS_GENERIC_ERROR = 11015
     1685Const WSA_QOS_ESERVICETYPE = 11016
     1686Const WSA_QOS_EFLOWSPEC = 11017
     1687Const WSA_QOS_EPROVSPECBUF = 11018
     1688Const WSA_QOS_EFILTERSTYLE = 11019
     1689Const WSA_QOS_EFILTERTYPE = 11020
     1690Const WSA_QOS_EFILTERCOUNT = 11021
     1691Const WSA_QOS_EOBJLENGTH = 11022
     1692Const WSA_QOS_EFLOWCOUNT = 11023
     1693Const WSA_QOS_EUNKOWNPSOBJ = 11024
     1694Const WSA_QOS_EPOLICYOBJ = 11025
     1695Const WSA_QOS_EFLOWDESC = 11026
     1696Const WSA_QOS_EPSFLOWSPEC = 11027
     1697Const WSA_QOS_EPSFILTERSPEC = 11028
     1698Const WSA_QOS_ESDMODEOBJ = 11029
     1699Const WSA_QOS_ESHAPERATEOBJ = 11030
     1700Const WSA_QOS_RESERVED_PETYPE = 11031
     1701'#endif
     1702Const ERROR_SXS_SECTION_NOT_FOUND = 14000
     1703Const ERROR_SXS_CANT_GEN_ACTCTX = 14001
     1704Const ERROR_SXS_INVALID_ACTCTXDATA_FORMAT = 14002
     1705Const ERROR_SXS_ASSEMBLY_NOT_FOUND = 14003
     1706Const ERROR_SXS_MANIFEST_FORMAT_ERROR = 14004
     1707Const ERROR_SXS_MANIFEST_PARSE_ERROR = 14005
     1708Const ERROR_SXS_ACTIVATION_CONTEXT_DISABLED = 14006
     1709Const ERROR_SXS_KEY_NOT_FOUND = 14007
     1710Const ERROR_SXS_VERSION_CONFLICT = 14008
     1711Const ERROR_SXS_WRONG_SECTION_TYPE = 14009
     1712Const ERROR_SXS_THREAD_QUERIES_DISABLED = 14010
     1713Const ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET = 14011
     1714Const ERROR_SXS_UNKNOWN_ENCODING_GROUP = 14012
     1715Const ERROR_SXS_UNKNOWN_ENCODING = 14013
     1716Const ERROR_SXS_INVALID_XML_NAMESPACE_URI = 14014
     1717Const ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14015
     1718Const ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14016
     1719Const ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE = 14017
     1720Const ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE = 14018
     1721Const ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE = 14019
     1722Const ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT = 14020
     1723Const ERROR_SXS_DUPLICATE_DLL_NAME = 14021
     1724Const ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME = 14022
     1725Const ERROR_SXS_DUPLICATE_CLSID = 14023
     1726Const ERROR_SXS_DUPLICATE_IID = 14024
     1727Const ERROR_SXS_DUPLICATE_TLBID = 14025
     1728Const ERROR_SXS_DUPLICATE_PROGID = 14026
     1729Const ERROR_SXS_DUPLICATE_ASSEMBLY_NAME = 14027
     1730Const ERROR_SXS_FILE_HASH_MISMATCH = 14028
     1731Const ERROR_SXS_POLICY_PARSE_ERROR = 14029
     1732Const ERROR_SXS_XML_E_MISSINGQUOTE = 14030
     1733Const ERROR_SXS_XML_E_COMMENTSYNTAX = 14031
     1734Const ERROR_SXS_XML_E_BADSTARTNAMECHAR = 14032
     1735Const ERROR_SXS_XML_E_BADNAMECHAR = 14033
     1736Const ERROR_SXS_XML_E_BADCHARINSTRING = 14034
     1737Const ERROR_SXS_XML_E_XMLDECLSYNTAX = 14035
     1738Const ERROR_SXS_XML_E_BADCHARDATA = 14036
     1739Const ERROR_SXS_XML_E_MISSINGWHITESPACE = 14037
     1740Const ERROR_SXS_XML_E_EXPECTINGTAGEND = 14038
     1741Const ERROR_SXS_XML_E_MISSINGSEMICOLON = 14039
     1742Const ERROR_SXS_XML_E_UNBALANCEDPAREN = 14040
     1743Const ERROR_SXS_XML_E_INTERNALERROR = 14041
     1744Const ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE = 14042
     1745Const ERROR_SXS_XML_E_INCOMPLETE_ENCODING = 14043
     1746Const ERROR_SXS_XML_E_MISSING_PAREN = 14044
     1747Const ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 14045
     1748Const ERROR_SXS_XML_E_MULTIPLE_COLONS = 14046
     1749Const ERROR_SXS_XML_E_INVALID_DECIMAL = 14047
     1750Const ERROR_SXS_XML_E_INVALID_HEXIDECIMAL = 14048
     1751Const ERROR_SXS_XML_E_INVALID_UNICODE = 14049
     1752Const ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK = 14050
     1753Const ERROR_SXS_XML_E_UNEXPECTEDENDTAG = 14051
     1754Const ERROR_SXS_XML_E_UNCLOSEDTAG = 14052
     1755Const ERROR_SXS_XML_E_DUPLICATEATTRIBUTE = 14053
     1756Const ERROR_SXS_XML_E_MULTIPLEROOTS = 14054
     1757Const ERROR_SXS_XML_E_INVALIDATROOTLEVEL = 14055
     1758Const ERROR_SXS_XML_E_BADXMLDECL = 14056
     1759Const ERROR_SXS_XML_E_MISSINGROOT = 14057
     1760Const ERROR_SXS_XML_E_UNEXPECTEDEOF = 14058
     1761Const ERROR_SXS_XML_E_BADPEREFINSUBSET = 14059
     1762Const ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 14060
     1763Const ERROR_SXS_XML_E_UNCLOSEDENDTAG = 14061
     1764Const ERROR_SXS_XML_E_UNCLOSEDSTRING = 14062
     1765Const ERROR_SXS_XML_E_UNCLOSEDCOMMENT = 14063
     1766Const ERROR_SXS_XML_E_UNCLOSEDDECL = 14064
     1767Const ERROR_SXS_XML_E_UNCLOSEDCDATA = 14065
     1768Const ERROR_SXS_XML_E_RESERVEDNAMESPACE = 14066
     1769Const ERROR_SXS_XML_E_INVALIDENCODING = 14067
     1770Const ERROR_SXS_XML_E_INVALIDSWITCH = 14068
     1771Const ERROR_SXS_XML_E_BADXMLCASE = 14069
     1772Const ERROR_SXS_XML_E_INVALID_STANDALONE = 14070
     1773Const ERROR_SXS_XML_E_UNEXPECTED_STANDALONE = 14071
     1774Const ERROR_SXS_XML_E_INVALID_VERSION = 14072
     1775Const ERROR_SXS_XML_E_MISSINGEQUALS = 14073
     1776Const ERROR_SXS_PROTECTION_RECOVERY_FAILED = 14074
     1777Const ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT = 14075
     1778Const ERROR_SXS_PROTECTION_CATALOG_NOT_VALID = 14076
     1779Const ERROR_SXS_UNTRANSLATABLE_HRESULT = 14077
     1780Const ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING = 14078
     1781Const ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE = 14079
     1782Const ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME = 14080
     1783Const ERROR_IPSEC_QM_POLICY_EXISTS = 13000
     1784Const ERROR_IPSEC_QM_POLICY_NOT_FOUND = 13001
     1785Const ERROR_IPSEC_QM_POLICY_IN_USE = 13002
     1786Const ERROR_IPSEC_MM_POLICY_EXISTS = 13003
     1787Const ERROR_IPSEC_MM_POLICY_NOT_FOUND = 13004
     1788Const ERROR_IPSEC_MM_POLICY_IN_USE = 13005
     1789Const ERROR_IPSEC_MM_FILTER_EXISTS = 13006
     1790Const ERROR_IPSEC_MM_FILTER_NOT_FOUND = 13007
     1791Const ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 13008
     1792Const ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 13009
     1793Const ERROR_IPSEC_MM_AUTH_EXISTS = 13010
     1794Const ERROR_IPSEC_MM_AUTH_NOT_FOUND = 13011
     1795Const ERROR_IPSEC_MM_AUTH_IN_USE = 13012
     1796Const ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 13013
     1797Const ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 13014
     1798Const ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 13015
     1799Const ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 13016
     1800Const ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 13017
     1801Const ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 13018
     1802Const ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION = 13019
     1803Const ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 13020
     1804Const ERROR_IPSEC_MM_POLICY_PENDING_DELETION = 13021
     1805Const ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 13022
     1806Const ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 13023
     1807Const WARNING_IPSEC_MM_POLICY_PRUNED = 13024
     1808Const WARNING_IPSEC_QM_POLICY_PRUNED = 13025
     1809Const ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 13800
     1810Const ERROR_IPSEC_IKE_AUTH_FAIL = 13801
     1811Const ERROR_IPSEC_IKE_ATTRIB_FAIL = 13802
     1812Const ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 13803
     1813Const ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 13804
     1814Const ERROR_IPSEC_IKE_TIMED_OUT = 13805
     1815Const ERROR_IPSEC_IKE_NO_CERT = 13806
     1816Const ERROR_IPSEC_IKE_SA_DELETED = 13807
     1817Const ERROR_IPSEC_IKE_SA_REAPED = 13808
     1818Const ERROR_IPSEC_IKE_MM_ACQUIRE_DROP = 13809
     1819Const ERROR_IPSEC_IKE_QM_ACQUIRE_DROP = 13810
     1820Const ERROR_IPSEC_IKE_QUEUE_DROP_MM = 13811
     1821Const ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 13812
     1822Const ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 13813
     1823Const ERROR_IPSEC_IKE_MM_DELAY_DROP = 13814
     1824Const ERROR_IPSEC_IKE_QM_DELAY_DROP = 13815
     1825Const ERROR_IPSEC_IKE_ERROR = 13816
     1826Const ERROR_IPSEC_IKE_CRL_FAILED = 13817
     1827Const ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 13818
     1828Const ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 13819
     1829Const ERROR_IPSEC_IKE_NO_PRIVATE_KEY = 13820
     1830Const ERROR_IPSEC_IKE_DH_FAIL = 13822
     1831Const ERROR_IPSEC_IKE_INVALID_HEADER = 13824
     1832Const ERROR_IPSEC_IKE_NO_POLICY = 13825
     1833Const ERROR_IPSEC_IKE_INVALID_SIGNATURE = 13826
     1834Const ERROR_IPSEC_IKE_KERBEROS_ERROR = 13827
     1835Const ERROR_IPSEC_IKE_NO_PUBLIC_KEY = 13828
     1836Const ERROR_IPSEC_IKE_PROCESS_ERR = 13829
     1837Const ERROR_IPSEC_IKE_PROCESS_ERR_SA = 13830
     1838Const ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 13831
     1839Const ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 13832
     1840Const ERROR_IPSEC_IKE_PROCESS_ERR_KE = 13833
     1841Const ERROR_IPSEC_IKE_PROCESS_ERR_ID = 13834
     1842Const ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 13835
     1843Const ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 13836
     1844Const ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 13837
     1845Const ERROR_IPSEC_IKE_PROCESS_ERR_SIG = 13838
     1846Const ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 13839
     1847Const ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 13840
     1848Const ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 13841
     1849Const ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 13842
     1850Const ERROR_IPSEC_IKE_INVALID_PAYLOAD = 13843
     1851Const ERROR_IPSEC_IKE_LOAD_SOFT_SA = 13844
     1852Const ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 13845
     1853Const ERROR_IPSEC_IKE_INVALID_COOKIE = 13846
     1854Const ERROR_IPSEC_IKE_NO_PEER_CERT = 13847
     1855Const ERROR_IPSEC_IKE_PEER_CRL_FAILED = 13848
     1856Const ERROR_IPSEC_IKE_POLICY_CHANGE = 13849
     1857Const ERROR_IPSEC_IKE_NO_MM_POLICY = 13850
     1858Const ERROR_IPSEC_IKE_NOTCBPRIV = 13851
     1859Const ERROR_IPSEC_IKE_SECLOADFAIL = 13852
     1860Const ERROR_IPSEC_IKE_FAILSSPINIT = 13853
     1861Const ERROR_IPSEC_IKE_FAILQUERYSSP = 13854
     1862Const ERROR_IPSEC_IKE_SRVACQFAIL = 13855
     1863Const ERROR_IPSEC_IKE_SRVQUERYCRED = 13856
     1864Const ERROR_IPSEC_IKE_GETSPIFAIL = 13857
     1865Const ERROR_IPSEC_IKE_INVALID_FILTER = 13858
     1866Const ERROR_IPSEC_IKE_OUT_OF_MEMORY = 13859
     1867Const ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 13860
     1868Const ERROR_IPSEC_IKE_INVALID_POLICY = 13861
     1869Const ERROR_IPSEC_IKE_UNKNOWN_DOI = 13862
     1870Const ERROR_IPSEC_IKE_INVALID_SITUATION = 13863
     1871Const ERROR_IPSEC_IKE_DH_FAILURE = 13864
     1872Const ERROR_IPSEC_IKE_INVALID_GROUP = 13865
     1873Const ERROR_IPSEC_IKE_ENCRYPT = 13866
     1874Const ERROR_IPSEC_IKE_DECRYPT = 13867
     1875Const ERROR_IPSEC_IKE_POLICY_MATCH = 13868
     1876Const ERROR_IPSEC_IKE_UNSUPPORTED_ID = 13869
     1877Const ERROR_IPSEC_IKE_INVALID_HASH = 13870
     1878Const ERROR_IPSEC_IKE_INVALID_HASH_ALG = 13871
     1879Const ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 13872
     1880Const ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 13873
     1881Const ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 13874
     1882Const ERROR_IPSEC_IKE_INVALID_SIG = 13875
     1883Const ERROR_IPSEC_IKE_LOAD_FAILED = 13876
     1884Const ERROR_IPSEC_IKE_RPC_DELETE = 13877
     1885Const ERROR_IPSEC_IKE_BENIGN_REINIT = 13878
     1886Const ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 13879
     1887Const ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881
     1888Const ERROR_IPSEC_IKE_MM_LIMIT = 13882
     1889Const ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 13883
     1890Const ERROR_IPSEC_IKE_NEG_STATUS_END = 13884
     1891Const SEVERITY_SUCCESS = 0
     1892Const SEVERITY_ERROR = 1
     1893Const SUCCEEDED(hr) = ((hr) As HRESULT >= 0)
     1894Const FAILED(hr) = ((hr) As HRESULT < 0)
     1895Const IS_ERROR(Status) = ((Status) As DWord >> 31 = SEVERITY_ERROR)
     1896Const HRESULT_CODE(hr) = ((hr) And &hFFFF)
     1897Const SCODE_CODE(sc) = ((sc) And &hFFFF)
     1898Const HRESULT_FACILITY(hr) = (((hr) >> 16) And &h1fff)
     1899Const SCODE_FACILITY(sc) = (((sc) >> 16) And &h1fff)
     1900Const HRESULT_SEVERITY(hr) = (((hr) >> 31) And &h1)
     1901Const SCODE_SEVERITY(sc) = (((sc) >> 31) And &h1)
     1902Const MAKE_HRESULT(sev,fac,code) = ((((sev) As DWord << 31) Or ((fac) As DWord << 16) Or ((code) As DWord)) As HRESULT)
     1903Const MAKE_SCODE(sev,fac,code) = ((((sev) As DWord << 31) Or ((fac) As DWord << 16) Or ((code) As DWord)) As SCODE)
     1904Const FACILITY_NT_BIT = &h10000000
     1905Function HRESULT_FROM_WIN32(x As Long) As HRESULT
     1906    If x <= 0 Then
     1907        HRESULT_FROM_WIN32 = x As HRESULT
     1908    Else
     1909        HRESULT_FROM_WIN32 = (x And &h0000FFFF) Or (FACILITY_WIN32 << 16) Or &h80000000
     1910    End If
     1911End Function
     1912Const HRESULT_FROM_NT(x) = (((x) Or FACILITY_NT_BIT) As HRESULT)
     1913Const GetScode(hr) = ((hr) As SCODE)
     1914Const ResultFromScode(sc) = ((sc) As HRESULT)
     1915Const PropagateResult(hrPrevious, scBase) = ((scBase) As HRESULT)
     1916Const _HRESULT_TYPEDEF_(_sc) = ((_sc) As HRESULT)
     1917Const NOERROR = 0
     1918Const E_UNEXPECTED = _HRESULT_TYPEDEF_(&h8000FFFF)
     1919Const E_NOTIMPL = _HRESULT_TYPEDEF_(&h80004001)
     1920Const E_OUTOFMEMORY = _HRESULT_TYPEDEF_(&h8007000E)
     1921Const E_INVALIDARG = _HRESULT_TYPEDEF_(&h80070057)
     1922Const E_NOINTERFACE = _HRESULT_TYPEDEF_(&h80004002)
     1923Const E_POINTER = _HRESULT_TYPEDEF_(&h80004003)
     1924Const E_HANDLE = _HRESULT_TYPEDEF_(&h80070006)
     1925Const E_ABORT = _HRESULT_TYPEDEF_(&h80004004)
     1926Const E_FAIL = _HRESULT_TYPEDEF_(&h80004005)
     1927Const E_ACCESSDENIED = _HRESULT_TYPEDEF_(&h80070005)
     1928Const E_PENDING = _HRESULT_TYPEDEF_(&h8000000A)
     1929Const CO_E_INIT_TLS = _HRESULT_TYPEDEF_(&h80004006)
     1930Const CO_E_INIT_SHARED_ALLOCATOR = _HRESULT_TYPEDEF_(&h80004007)
     1931Const CO_E_INIT_MEMORY_ALLOCATOR = _HRESULT_TYPEDEF_(&h80004008)
     1932Const CO_E_INIT_CLASS_CACHE = _HRESULT_TYPEDEF_(&h80004009)
     1933Const CO_E_INIT_RPC_CHANNEL = _HRESULT_TYPEDEF_(&h8000400A)
     1934Const CO_E_INIT_TLS_SET_CHANNEL_CONTROL = _HRESULT_TYPEDEF_(&h8000400B)
     1935Const CO_E_INIT_TLS_CHANNEL_CONTROL = _HRESULT_TYPEDEF_(&h8000400C)
     1936Const CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = _HRESULT_TYPEDEF_(&h8000400D)
     1937Const CO_E_INIT_SCM_MUTEX_EXISTS = _HRESULT_TYPEDEF_(&h8000400E)
     1938Const CO_E_INIT_SCM_FILE_MAPPING_EXISTS = _HRESULT_TYPEDEF_(&h8000400F)
     1939Const CO_E_INIT_SCM_MAP_VIEW_OF_FILE = _HRESULT_TYPEDEF_(&h80004010)
     1940Const CO_E_INIT_SCM_EXEC_FAILURE = _HRESULT_TYPEDEF_(&h80004011)
     1941Const CO_E_INIT_ONLY_SINGLE_THREADED = _HRESULT_TYPEDEF_(&h80004012)
     1942Const CO_E_CANT_REMOTE = _HRESULT_TYPEDEF_(&h80004013)
     1943Const CO_E_BAD_SERVER_NAME = _HRESULT_TYPEDEF_(&h80004014)
     1944Const CO_E_WRONG_SERVER_IDENTITY = _HRESULT_TYPEDEF_(&h80004015)
     1945Const CO_E_OLE1DDE_DISABLED = _HRESULT_TYPEDEF_(&h80004016)
     1946Const CO_E_RUNAS_SYNTAX = _HRESULT_TYPEDEF_(&h80004017)
     1947Const CO_E_CREATEPROCESS_FAILURE = _HRESULT_TYPEDEF_(&h80004018)
     1948Const CO_E_RUNAS_CREATEPROCESS_FAILURE = _HRESULT_TYPEDEF_(&h80004019)
     1949Const CO_E_RUNAS_LOGON_FAILURE = _HRESULT_TYPEDEF_(&h8000401A)
     1950Const CO_E_LAUNCH_PERMSSION_DENIED = _HRESULT_TYPEDEF_(&h8000401B)
     1951Const CO_E_START_SERVICE_FAILURE = _HRESULT_TYPEDEF_(&h8000401C)
     1952Const CO_E_REMOTE_COMMUNICATION_FAILURE = _HRESULT_TYPEDEF_(&h8000401D)
     1953Const CO_E_SERVER_START_TIMEOUT = _HRESULT_TYPEDEF_(&h8000401E)
     1954Const CO_E_CLSREG_INCONSISTENT = _HRESULT_TYPEDEF_(&h8000401F)
     1955Const CO_E_IIDREG_INCONSISTENT = _HRESULT_TYPEDEF_(&h80004020)
     1956Const CO_E_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h80004021)
     1957Const CO_E_RELOAD_DLL = _HRESULT_TYPEDEF_(&h80004022)
     1958Const CO_E_MSI_ERROR = _HRESULT_TYPEDEF_(&h80004023)
     1959Const CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT = _HRESULT_TYPEDEF_(&h80004024)
     1960Const CO_E_SERVER_PAUSED = _HRESULT_TYPEDEF_(&h80004025)
     1961Const CO_E_SERVER_NOT_PAUSED = _HRESULT_TYPEDEF_(&h80004026)
     1962Const CO_E_CLASS_DISABLED = _HRESULT_TYPEDEF_(&h80004027)
     1963Const CO_E_CLRNOTAVAILABLE = _HRESULT_TYPEDEF_(&h80004028)
     1964Const CO_E_ASYNC_WORK_REJECTED = _HRESULT_TYPEDEF_(&h80004029)
     1965Const CO_E_SERVER_INIT_TIMEOUT = _HRESULT_TYPEDEF_(&h8000402A)
     1966Const CO_E_NO_SECCTX_IN_ACTIVATE = _HRESULT_TYPEDEF_(&h8000402B)
     1967Const CO_E_TRACKER_CONFIG = _HRESULT_TYPEDEF_(&h80004030)
     1968Const CO_E_THREADPOOL_CONFIG = _HRESULT_TYPEDEF_(&h80004031)
     1969Const CO_E_SXS_CONFIG = _HRESULT_TYPEDEF_(&h80004032)
     1970Const CO_E_MALFORMED_SPN = _HRESULT_TYPEDEF_(&h80004033)
     1971Const S_OK = (&h00000000 As HRESULT)
     1972Const S_FALSE = (&h00000001 As HRESULT)
     1973Const OLE_E_FIRST = (&h80040000 As HRESULT)
     1974Const OLE_E_LAST = (&h800400FF As HRESULT)
     1975Const OLE_S_FIRST = (&h00040000 As HRESULT)
     1976Const OLE_S_LAST = (&h000400FF As HRESULT)
     1977Const OLE_E_OLEVERB = _HRESULT_TYPEDEF_(&h80040000)
     1978Const OLE_E_ADVF = _HRESULT_TYPEDEF_(&h80040001)
     1979Const OLE_E_ENUM_NOMORE = _HRESULT_TYPEDEF_(&h80040002)
     1980Const OLE_E_ADVISENOTSUPPORTED = _HRESULT_TYPEDEF_(&h80040003)
     1981Const OLE_E_NOCONNECTION = _HRESULT_TYPEDEF_(&h80040004)
     1982Const OLE_E_NOTRUNNING = _HRESULT_TYPEDEF_(&h80040005)
     1983Const OLE_E_NOCACHE = _HRESULT_TYPEDEF_(&h80040006)
     1984Const OLE_E_BLANK = _HRESULT_TYPEDEF_(&h80040007)
     1985Const OLE_E_CLASSDIFF = _HRESULT_TYPEDEF_(&h80040008)
     1986Const OLE_E_CANT_GETMONIKER = _HRESULT_TYPEDEF_(&h80040009)
     1987Const OLE_E_CANT_BINDTOSOURCE = _HRESULT_TYPEDEF_(&h8004000A)
     1988Const OLE_E_STATIC = _HRESULT_TYPEDEF_(&h8004000B)
     1989Const OLE_E_PROMPTSAVECANCELLED = _HRESULT_TYPEDEF_(&h8004000C)
     1990Const OLE_E_INVALIDRECT = _HRESULT_TYPEDEF_(&h8004000D)
     1991Const OLE_E_WRONGCOMPOBJ = _HRESULT_TYPEDEF_(&h8004000E)
     1992Const OLE_E_INVALIDHWND = _HRESULT_TYPEDEF_(&h8004000F)
     1993Const OLE_E_NOT_INPLACEACTIVE = _HRESULT_TYPEDEF_(&h80040010)
     1994Const OLE_E_CANTCONVERT = _HRESULT_TYPEDEF_(&h80040011)
     1995Const OLE_E_NOSTORAGE = _HRESULT_TYPEDEF_(&h80040012)
     1996Const DV_E_FORMATETC = _HRESULT_TYPEDEF_(&h80040064)
     1997Const DV_E_DVTARGETDEVICE = _HRESULT_TYPEDEF_(&h80040065)
     1998Const DV_E_STGMEDIUM = _HRESULT_TYPEDEF_(&h80040066)
     1999Const DV_E_STATDATA = _HRESULT_TYPEDEF_(&h80040067)
     2000Const DV_E_LINDEX = _HRESULT_TYPEDEF_(&h80040068)
     2001Const DV_E_TYMED = _HRESULT_TYPEDEF_(&h80040069)
     2002Const DV_E_CLIPFORMAT = _HRESULT_TYPEDEF_(&h8004006A)
     2003Const DV_E_DVASPECT = _HRESULT_TYPEDEF_(&h8004006B)
     2004Const DV_E_DVTARGETDEVICE_SIZE = _HRESULT_TYPEDEF_(&h8004006C)
     2005Const DV_E_NOIVIEWOBJECT = _HRESULT_TYPEDEF_(&h8004006D)
     2006Const DRAGDROP_E_FIRST = &h80040100
     2007Const DRAGDROP_E_LAST = &h8004010F
     2008Const DRAGDROP_S_FIRST = &h00040100
     2009Const DRAGDROP_S_LAST = &h0004010F
     2010Const DRAGDROP_E_NOTREGISTERED = _HRESULT_TYPEDEF_(&h80040100)
     2011Const DRAGDROP_E_ALREADYREGISTERED = _HRESULT_TYPEDEF_(&h80040101)
     2012Const DRAGDROP_E_INVALIDHWND = _HRESULT_TYPEDEF_(&h80040102)
     2013Const CLASSFACTORY_E_FIRST = &h80040110
     2014Const CLASSFACTORY_E_LAST = &h8004011F
     2015Const CLASSFACTORY_S_FIRST = &h00040110
     2016Const CLASSFACTORY_S_LAST = &h0004011F
     2017Const CLASS_E_NOAGGREGATION = _HRESULT_TYPEDEF_(&h80040110)
     2018Const CLASS_E_CLASSNOTAVAILABLE = _HRESULT_TYPEDEF_(&h80040111)
     2019Const CLASS_E_NOTLICENSED = _HRESULT_TYPEDEF_(&h80040112)
     2020Const MARSHAL_E_FIRST = &h80040120
     2021Const MARSHAL_E_LAST = &h8004012F
     2022Const MARSHAL_S_FIRST = &h00040120
     2023Const MARSHAL_S_LAST = &h0004012F
     2024Const DATA_E_FIRST = &h80040130
     2025Const DATA_E_LAST = &h8004013F
     2026Const DATA_S_FIRST = &h00040130
     2027Const DATA_S_LAST = &h0004013F
     2028Const VIEW_E_FIRST = &h80040140
     2029Const VIEW_E_LAST = &h8004014F
     2030Const VIEW_S_FIRST = &h00040140
     2031Const VIEW_S_LAST = &h0004014F
     2032Const VIEW_E_DRAW = _HRESULT_TYPEDEF_(&h80040140)
     2033Const REGDB_E_FIRST = &h80040150
     2034Const REGDB_E_LAST = &h8004015F
     2035Const REGDB_S_FIRST = &h00040150
     2036Const REGDB_S_LAST = &h0004015F
     2037Const REGDB_E_READREGDB = _HRESULT_TYPEDEF_(&h80040150)
     2038Const REGDB_E_WRITEREGDB = _HRESULT_TYPEDEF_(&h80040151)
     2039Const REGDB_E_KEYMISSING = _HRESULT_TYPEDEF_(&h80040152)
     2040Const REGDB_E_INVALIDVALUE = _HRESULT_TYPEDEF_(&h80040153)
     2041Const REGDB_E_CLASSNOTREG = _HRESULT_TYPEDEF_(&h80040154)
     2042Const REGDB_E_IIDNOTREG = _HRESULT_TYPEDEF_(&h80040155)
     2043Const REGDB_E_BADTHREADINGMODEL = _HRESULT_TYPEDEF_(&h80040156)
     2044Const CAT_E_FIRST = &h80040160
     2045Const CAT_E_LAST = &h80040161
     2046Const CAT_E_CATIDNOEXIST = _HRESULT_TYPEDEF_(&h80040160)
     2047Const CAT_E_NODESCRIPTION = _HRESULT_TYPEDEF_(&h80040161)
     2048Const CS_E_FIRST = &h80040164
     2049Const CS_E_LAST = &h8004016F
     2050Const CS_E_PACKAGE_NOTFOUND = _HRESULT_TYPEDEF_(&h80040164)
     2051Const CS_E_NOT_DELETABLE = _HRESULT_TYPEDEF_(&h80040165)
     2052Const CS_E_CLASS_NOTFOUND = _HRESULT_TYPEDEF_(&h80040166)
     2053Const CS_E_INVALID_VERSION = _HRESULT_TYPEDEF_(&h80040167)
     2054Const CS_E_NO_CLASSSTORE = _HRESULT_TYPEDEF_(&h80040168)
     2055Const CS_E_OBJECT_NOTFOUND = _HRESULT_TYPEDEF_(&h80040169)
     2056Const CS_E_OBJECT_ALREADY_EXISTS = _HRESULT_TYPEDEF_(&h8004016A)
     2057Const CS_E_INVALID_PATH = _HRESULT_TYPEDEF_(&h8004016B)
     2058Const CS_E_NETWORK_ERROR = _HRESULT_TYPEDEF_(&h8004016C)
     2059Const CS_E_ADMIN_LIMIT_EXCEEDED = _HRESULT_TYPEDEF_(&h8004016D)
     2060Const CS_E_SCHEMA_MISMATCH = _HRESULT_TYPEDEF_(&h8004016E)
     2061Const CS_E_INTERNAL_ERROR = _HRESULT_TYPEDEF_(&h8004016F)
     2062Const CACHE_E_FIRST = &h80040170
     2063Const CACHE_E_LAST = &h8004017F
     2064Const CACHE_S_FIRST = &h00040170
     2065Const CACHE_S_LAST = &h0004017F
     2066Const CACHE_E_NOCACHE_UPDATED = _HRESULT_TYPEDEF_(&h80040170)
     2067Const OLEOBJ_E_FIRST = &h80040180
     2068Const OLEOBJ_E_LAST = &h8004018F
     2069Const OLEOBJ_S_FIRST = &h00040180
     2070Const OLEOBJ_S_LAST = &h0004018F
     2071Const OLEOBJ_E_NOVERBS = _HRESULT_TYPEDEF_(&h80040180)
     2072Const OLEOBJ_E_INVALIDVERB = _HRESULT_TYPEDEF_(&h80040181)
     2073Const CLIENTSITE_E_FIRST = &h80040190
     2074Const CLIENTSITE_E_LAST = &h8004019F
     2075Const CLIENTSITE_S_FIRST = &h00040190
     2076Const CLIENTSITE_S_LAST = &h0004019F
     2077Const INPLACE_E_NOTUNDOABLE = _HRESULT_TYPEDEF_(&h800401A0)
     2078Const INPLACE_E_NOTOOLSPACE = _HRESULT_TYPEDEF_(&h800401A1)
     2079Const INPLACE_E_FIRST = &h800401A0
     2080Const INPLACE_E_LAST = &h800401AF
     2081Const INPLACE_S_FIRST = &h000401A0
     2082Const INPLACE_S_LAST = &h000401AF
     2083Const ENUM_E_FIRST = &h800401B0
     2084Const ENUM_E_LAST = &h800401BF
     2085Const ENUM_S_FIRST = &h000401B0
     2086Const ENUM_S_LAST = &h000401BF
     2087Const CONVERT10_E_FIRST = &h800401C0
     2088Const CONVERT10_E_LAST = &h800401CF
     2089Const CONVERT10_S_FIRST = &h000401C0
     2090Const CONVERT10_S_LAST = &h000401CF
     2091Const CONVERT10_E_OLESTREAM_GET = _HRESULT_TYPEDEF_(&h800401C0)
     2092Const CONVERT10_E_OLESTREAM_PUT = _HRESULT_TYPEDEF_(&h800401C1)
     2093Const CONVERT10_E_OLESTREAM_FMT = _HRESULT_TYPEDEF_(&h800401C2)
     2094Const CONVERT10_E_OLESTREAM_BITMAP_TO_DIB = _HRESULT_TYPEDEF_(&h800401C3)
     2095Const CONVERT10_E_STG_FMT = _HRESULT_TYPEDEF_(&h800401C4)
     2096Const CONVERT10_E_STG_NO_STD_STREAM = _HRESULT_TYPEDEF_(&h800401C5)
     2097Const CONVERT10_E_STG_DIB_TO_BITMAP = _HRESULT_TYPEDEF_(&h800401C6)
     2098Const CLIPBRD_E_FIRST = &h800401D0
     2099Const CLIPBRD_E_LAST = &h800401DF
     2100Const CLIPBRD_S_FIRST = &h000401D0
     2101Const CLIPBRD_S_LAST = &h000401DF
     2102Const CLIPBRD_E_CANT_OPEN = _HRESULT_TYPEDEF_(&h800401D0)
     2103Const CLIPBRD_E_CANT_EMPTY = _HRESULT_TYPEDEF_(&h800401D1)
     2104Const CLIPBRD_E_CANT_SET = _HRESULT_TYPEDEF_(&h800401D2)
     2105Const CLIPBRD_E_BAD_DATA = _HRESULT_TYPEDEF_(&h800401D3)
     2106Const CLIPBRD_E_CANT_CLOSE = _HRESULT_TYPEDEF_(&h800401D4)
     2107Const MK_E_FIRST = &h800401E0
     2108Const MK_E_LAST = &h800401EF
     2109Const MK_S_FIRST = &h000401E0
     2110Const MK_S_LAST = &h000401EF
     2111Const MK_E_CONNECTMANUALLY = _HRESULT_TYPEDEF_(&h800401E0)
     2112Const MK_E_EXCEEDEDDEADLINE = _HRESULT_TYPEDEF_(&h800401E1)
     2113Const MK_E_NEEDGENERIC = _HRESULT_TYPEDEF_(&h800401E2)
     2114Const MK_E_UNAVAILABLE = _HRESULT_TYPEDEF_(&h800401E3)
     2115Const MK_E_SYNTAX = _HRESULT_TYPEDEF_(&h800401E4)
     2116Const MK_E_NOOBJECT = _HRESULT_TYPEDEF_(&h800401E5)
     2117Const MK_E_INVALIDEXTENSION = _HRESULT_TYPEDEF_(&h800401E6)
     2118Const MK_E_INTERMEDIATEINTERFACENOTSUPPORTED = _HRESULT_TYPEDEF_(&h800401E7)
     2119Const MK_E_NOTBINDABLE = _HRESULT_TYPEDEF_(&h800401E8)
     2120Const MK_E_NOTBOUND = _HRESULT_TYPEDEF_(&h800401E9)
     2121Const MK_E_CANTOPENFILE = _HRESULT_TYPEDEF_(&h800401EA)
     2122Const MK_E_MUSTBOTHERUSER = _HRESULT_TYPEDEF_(&h800401EB)
     2123Const MK_E_NOINVERSE = _HRESULT_TYPEDEF_(&h800401EC)
     2124Const MK_E_NOSTORAGE = _HRESULT_TYPEDEF_(&h800401ED)
     2125Const MK_E_NOPREFIX = _HRESULT_TYPEDEF_(&h800401EE)
     2126Const MK_E_ENUMERATION_FAILED = _HRESULT_TYPEDEF_(&h800401EF)
     2127Const CO_E_FIRST = &h800401F0
     2128Const CO_E_LAST = &h800401FF
     2129Const CO_S_FIRST = &h000401F0
     2130Const CO_S_LAST = &h000401FF
     2131Const CO_E_NOTINITIALIZED = _HRESULT_TYPEDEF_(&h800401F0)
     2132Const CO_E_ALREADYINITIALIZED = _HRESULT_TYPEDEF_(&h800401F1)
     2133Const CO_E_CANTDETERMINECLASS = _HRESULT_TYPEDEF_(&h800401F2)
     2134Const CO_E_CLASSSTRING = _HRESULT_TYPEDEF_(&h800401F3)
     2135Const CO_E_IIDSTRING = _HRESULT_TYPEDEF_(&h800401F4)
     2136Const CO_E_APPNOTFOUND = _HRESULT_TYPEDEF_(&h800401F5)
     2137Const CO_E_APPSINGLEUSE = _HRESULT_TYPEDEF_(&h800401F6)
     2138Const CO_E_ERRORINAPP = _HRESULT_TYPEDEF_(&h800401F7)
     2139Const CO_E_DLLNOTFOUND = _HRESULT_TYPEDEF_(&h800401F8)
     2140Const CO_E_ERRORINDLL = _HRESULT_TYPEDEF_(&h800401F9)
     2141Const CO_E_WRONGOSFORAPP = _HRESULT_TYPEDEF_(&h800401FA)
     2142Const CO_E_OBJNOTREG = _HRESULT_TYPEDEF_(&h800401FB)
     2143Const CO_E_OBJISREG = _HRESULT_TYPEDEF_(&h800401FC)
     2144Const CO_E_OBJNOTCONNECTED = _HRESULT_TYPEDEF_(&h800401FD)
     2145Const CO_E_APPDIDNTREG = _HRESULT_TYPEDEF_(&h800401FE)
     2146Const CO_E_RELEASED = _HRESULT_TYPEDEF_(&h800401FF)
     2147Const EVENT_E_FIRST = &h80040200
     2148Const EVENT_E_LAST = &h8004021F
     2149Const EVENT_S_FIRST = &h00040200
     2150Const EVENT_S_LAST = &h0004021F
     2151Const EVENT_S_SOME_SUBSCRIBERS_FAILED = _HRESULT_TYPEDEF_(&h00040200)
     2152Const EVENT_E_ALL_SUBSCRIBERS_FAILED = _HRESULT_TYPEDEF_(&h80040201)
     2153Const EVENT_S_NOSUBSCRIBERS = _HRESULT_TYPEDEF_(&h00040202)
     2154Const EVENT_E_QUERYSYNTAX = _HRESULT_TYPEDEF_(&h80040203)
     2155Const EVENT_E_QUERYFIELD = _HRESULT_TYPEDEF_(&h80040204)
     2156Const EVENT_E_INTERNALEXCEPTION = _HRESULT_TYPEDEF_(&h80040205)
     2157Const EVENT_E_INTERNALERROR = _HRESULT_TYPEDEF_(&h80040206)
     2158Const EVENT_E_INVALID_PER_USER_SID = _HRESULT_TYPEDEF_(&h80040207)
     2159Const EVENT_E_USER_EXCEPTION = _HRESULT_TYPEDEF_(&h80040208)
     2160Const EVENT_E_TOO_MANY_METHODS = _HRESULT_TYPEDEF_(&h80040209)
     2161Const EVENT_E_MISSING_EVENTCLASS = _HRESULT_TYPEDEF_(&h8004020A)
     2162Const EVENT_E_NOT_ALL_REMOVED = _HRESULT_TYPEDEF_(&h8004020B)
     2163Const EVENT_E_COMPLUS_NOT_INSTALLED = _HRESULT_TYPEDEF_(&h8004020C)
     2164Const EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT = _HRESULT_TYPEDEF_(&h8004020D)
     2165Const EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT = _HRESULT_TYPEDEF_(&h8004020E)
     2166Const EVENT_E_INVALID_EVENT_CLASS_PARTITION = _HRESULT_TYPEDEF_(&h8004020F)
     2167Const EVENT_E_PER_USER_SID_NOT_LOGGED_ON = _HRESULT_TYPEDEF_(&h80040210)
     2168Const XACT_E_FIRST = &h8004D000
     2169Const XACT_E_LAST = &h8004D029
     2170Const XACT_S_FIRST = &h0004D000
     2171Const XACT_S_LAST = &h0004D010
     2172Const XACT_E_ALREADYOTHERSINGLEPHASE = _HRESULT_TYPEDEF_(&h8004D000)
     2173Const XACT_E_CANTRETAIN = _HRESULT_TYPEDEF_(&h8004D001)
     2174Const XACT_E_COMMITFAILED = _HRESULT_TYPEDEF_(&h8004D002)
     2175Const XACT_E_COMMITPREVENTED = _HRESULT_TYPEDEF_(&h8004D003)
     2176Const XACT_E_HEURISTICABORT = _HRESULT_TYPEDEF_(&h8004D004)
     2177Const XACT_E_HEURISTICCOMMIT = _HRESULT_TYPEDEF_(&h8004D005)
     2178Const XACT_E_HEURISTICDAMAGE = _HRESULT_TYPEDEF_(&h8004D006)
     2179Const XACT_E_HEURISTICDANGER = _HRESULT_TYPEDEF_(&h8004D007)
     2180Const XACT_E_ISOLATIONLEVEL = _HRESULT_TYPEDEF_(&h8004D008)
     2181Const XACT_E_NOASYNC = _HRESULT_TYPEDEF_(&h8004D009)
     2182Const XACT_E_NOENLIST = _HRESULT_TYPEDEF_(&h8004D00A)
     2183Const XACT_E_NOISORETAIN = _HRESULT_TYPEDEF_(&h8004D00B)
     2184Const XACT_E_NORESOURCE = _HRESULT_TYPEDEF_(&h8004D00C)
     2185Const XACT_E_NOTCURRENT = _HRESULT_TYPEDEF_(&h8004D00D)
     2186Const XACT_E_NOTRANSACTION = _HRESULT_TYPEDEF_(&h8004D00E)
     2187Const XACT_E_NOTSUPPORTED = _HRESULT_TYPEDEF_(&h8004D00F)
     2188Const XACT_E_UNKNOWNRMGRID = _HRESULT_TYPEDEF_(&h8004D010)
     2189Const XACT_E_WRONGSTATE = _HRESULT_TYPEDEF_(&h8004D011)
     2190Const XACT_E_WRONGUOW = _HRESULT_TYPEDEF_(&h8004D012)
     2191Const XACT_E_XTIONEXISTS = _HRESULT_TYPEDEF_(&h8004D013)
     2192Const XACT_E_NOIMPORTOBJECT = _HRESULT_TYPEDEF_(&h8004D014)
     2193Const XACT_E_INVALIDCOOKIE = _HRESULT_TYPEDEF_(&h8004D015)
     2194Const XACT_E_INDOUBT = _HRESULT_TYPEDEF_(&h8004D016)
     2195Const XACT_E_NOTIMEOUT = _HRESULT_TYPEDEF_(&h8004D017)
     2196Const XACT_E_ALREADYINPROGRESS = _HRESULT_TYPEDEF_(&h8004D018)
     2197Const XACT_E_ABORTED = _HRESULT_TYPEDEF_(&h8004D019)
     2198Const XACT_E_LOGFULL = _HRESULT_TYPEDEF_(&h8004D01A)
     2199Const XACT_E_TMNOTAVAILABLE = _HRESULT_TYPEDEF_(&h8004D01B)
     2200Const XACT_E_CONNECTION_DOWN = _HRESULT_TYPEDEF_(&h8004D01C)
     2201Const XACT_E_CONNECTION_DENIED = _HRESULT_TYPEDEF_(&h8004D01D)
     2202Const XACT_E_REENLISTTIMEOUT = _HRESULT_TYPEDEF_(&h8004D01E)
     2203Const XACT_E_TIP_CONNECT_FAILED = _HRESULT_TYPEDEF_(&h8004D01F)
     2204Const XACT_E_TIP_PROTOCOL_ERROR = _HRESULT_TYPEDEF_(&h8004D020)
     2205Const XACT_E_TIP_PULL_FAILED = _HRESULT_TYPEDEF_(&h8004D021)
     2206Const XACT_E_DEST_TMNOTAVAILABLE = _HRESULT_TYPEDEF_(&h8004D022)
     2207Const XACT_E_TIP_DISABLED = _HRESULT_TYPEDEF_(&h8004D023)
     2208Const XACT_E_NETWORK_TX_DISABLED = _HRESULT_TYPEDEF_(&h8004D024)
     2209Const XACT_E_PARTNER_NETWORK_TX_DISABLED = _HRESULT_TYPEDEF_(&h8004D025)
     2210Const XACT_E_XA_TX_DISABLED = _HRESULT_TYPEDEF_(&h8004D026)
     2211Const XACT_E_UNABLE_TO_READ_DTC_CONFIG = _HRESULT_TYPEDEF_(&h8004D027)
     2212Const XACT_E_UNABLE_TO_LOAD_DTC_PROXY = _HRESULT_TYPEDEF_(&h8004D028)
     2213Const XACT_E_ABORTING = _HRESULT_TYPEDEF_(&h8004D029)
     2214Const XACT_E_CLERKNOTFOUND = _HRESULT_TYPEDEF_(&h8004D080)
     2215Const XACT_E_CLERKEXISTS = _HRESULT_TYPEDEF_(&h8004D081)
     2216Const XACT_E_RECOVERYINPROGRESS = _HRESULT_TYPEDEF_(&h8004D082)
     2217Const XACT_E_TRANSACTIONCLOSED = _HRESULT_TYPEDEF_(&h8004D083)
     2218Const XACT_E_INVALIDLSN = _HRESULT_TYPEDEF_(&h8004D084)
     2219Const XACT_E_REPLAYREQUEST = _HRESULT_TYPEDEF_(&h8004D085)
     2220Const XACT_S_ASYNC = _HRESULT_TYPEDEF_(&h0004D000)
     2221Const XACT_S_DEFECT = _HRESULT_TYPEDEF_(&h0004D001)
     2222Const XACT_S_READONLY = _HRESULT_TYPEDEF_(&h0004D002)
     2223Const XACT_S_SOMENORETAIN = _HRESULT_TYPEDEF_(&h0004D003)
     2224Const XACT_S_OKINFORM = _HRESULT_TYPEDEF_(&h0004D004)
     2225Const XACT_S_MADECHANGESCONTENT = _HRESULT_TYPEDEF_(&h0004D005)
     2226Const XACT_S_MADECHANGESINFORM = _HRESULT_TYPEDEF_(&h0004D006)
     2227Const XACT_S_ALLNORETAIN = _HRESULT_TYPEDEF_(&h0004D007)
     2228Const XACT_S_ABORTING = _HRESULT_TYPEDEF_(&h0004D008)
     2229Const XACT_S_SINGLEPHASE = _HRESULT_TYPEDEF_(&h0004D009)
     2230Const XACT_S_LOCALLY_OK = _HRESULT_TYPEDEF_(&h0004D00A)
     2231Const XACT_S_LASTRESOURCEMANAGER = _HRESULT_TYPEDEF_(&h0004D010)
     2232Const CONTEXT_E_FIRST = &h8004E000
     2233Const CONTEXT_E_LAST = &h8004E02F
     2234Const CONTEXT_S_FIRST = &h0004E000
     2235Const CONTEXT_S_LAST = &h0004E02F
     2236Const CONTEXT_E_ABORTED = _HRESULT_TYPEDEF_(&h8004E002)
     2237Const CONTEXT_E_ABORTING = _HRESULT_TYPEDEF_(&h8004E003)
     2238Const CONTEXT_E_NOCONTEXT = _HRESULT_TYPEDEF_(&h8004E004)
     2239Const CONTEXT_E_WOULD_DEADLOCK = _HRESULT_TYPEDEF_(&h8004E005)
     2240Const CONTEXT_E_SYNCH_TIMEOUT = _HRESULT_TYPEDEF_(&h8004E006)
     2241Const CONTEXT_E_OLDREF = _HRESULT_TYPEDEF_(&h8004E007)
     2242Const CONTEXT_E_ROLENOTFOUND = _HRESULT_TYPEDEF_(&h8004E00C)
     2243Const CONTEXT_E_TMNOTAVAILABLE = _HRESULT_TYPEDEF_(&h8004E00F)
     2244Const CO_E_ACTIVATIONFAILED = _HRESULT_TYPEDEF_(&h8004E021)
     2245Const CO_E_ACTIVATIONFAILED_EVENTLOGGED = _HRESULT_TYPEDEF_(&h8004E022)
     2246Const CO_E_ACTIVATIONFAILED_CATALOGERROR = _HRESULT_TYPEDEF_(&h8004E023)
     2247Const CO_E_ACTIVATIONFAILED_TIMEOUT = _HRESULT_TYPEDEF_(&h8004E024)
     2248Const CO_E_INITIALIZATIONFAILED = _HRESULT_TYPEDEF_(&h8004E025)
     2249Const CONTEXT_E_NOJIT = _HRESULT_TYPEDEF_(&h8004E026)
     2250Const CONTEXT_E_NOTRANSACTION = _HRESULT_TYPEDEF_(&h8004E027)
     2251Const CO_E_THREADINGMODEL_CHANGED = _HRESULT_TYPEDEF_(&h8004E028)
     2252Const CO_E_NOIISINTRINSICS = _HRESULT_TYPEDEF_(&h8004E029)
     2253Const CO_E_NOCOOKIES = _HRESULT_TYPEDEF_(&h8004E02A)
     2254Const CO_E_DBERROR = _HRESULT_TYPEDEF_(&h8004E02B)
     2255Const CO_E_NOTPOOLED = _HRESULT_TYPEDEF_(&h8004E02C)
     2256Const CO_E_NOTCONSTRUCTED = _HRESULT_TYPEDEF_(&h8004E02D)
     2257Const CO_E_NOSYNCHRONIZATION = _HRESULT_TYPEDEF_(&h8004E02E)
     2258Const CO_E_ISOLEVELMISMATCH = _HRESULT_TYPEDEF_(&h8004E02F)
     2259Const OLE_S_USEREG = _HRESULT_TYPEDEF_(&h00040000)
     2260Const OLE_S_STATIC = _HRESULT_TYPEDEF_(&h00040001)
     2261Const OLE_S_MAC_CLIPFORMAT = _HRESULT_TYPEDEF_(&h00040002)
     2262Const DRAGDROP_S_DROP = _HRESULT_TYPEDEF_(&h00040100)
     2263Const DRAGDROP_S_CANCEL = _HRESULT_TYPEDEF_(&h00040101)
     2264Const DRAGDROP_S_USEDEFAULTCURSORS = _HRESULT_TYPEDEF_(&h00040102)
     2265Const DATA_S_SAMEFORMATETC = _HRESULT_TYPEDEF_(&h00040130)
     2266Const VIEW_S_ALREADY_FROZEN = _HRESULT_TYPEDEF_(&h00040140)
     2267Const CACHE_S_FORMATETC_NOTSUPPORTED = _HRESULT_TYPEDEF_(&h00040170)
     2268Const CACHE_S_SAMECACHE = _HRESULT_TYPEDEF_(&h00040171)
     2269Const CACHE_S_SOMECACHES_NOTUPDATED = _HRESULT_TYPEDEF_(&h00040172)
     2270Const OLEOBJ_S_INVALIDVERB = _HRESULT_TYPEDEF_(&h00040180)
     2271Const OLEOBJ_S_CANNOT_DOVERB_NOW = _HRESULT_TYPEDEF_(&h00040181)
     2272Const OLEOBJ_S_INVALIDHWND = _HRESULT_TYPEDEF_(&h00040182)
     2273Const INPLACE_S_TRUNCATED = _HRESULT_TYPEDEF_(&h000401A0)
     2274Const CONVERT10_S_NO_PRESENTATION = _HRESULT_TYPEDEF_(&h000401C0)
     2275Const MK_S_REDUCED_TO_SELF = _HRESULT_TYPEDEF_(&h000401E2)
     2276Const MK_S_ME = _HRESULT_TYPEDEF_(&h000401E4)
     2277Const MK_S_HIM = _HRESULT_TYPEDEF_(&h000401E5)
     2278Const MK_S_US = _HRESULT_TYPEDEF_(&h000401E6)
     2279Const MK_S_MONIKERALREADYREGISTERED = _HRESULT_TYPEDEF_(&h000401E7)
     2280Const SCHED_S_TASK_READY = _HRESULT_TYPEDEF_(&h00041300)
     2281Const SCHED_S_TASK_RUNNING = _HRESULT_TYPEDEF_(&h00041301)
     2282Const SCHED_S_TASK_DISABLED = _HRESULT_TYPEDEF_(&h00041302)
     2283Const SCHED_S_TASK_HAS_NOT_RUN = _HRESULT_TYPEDEF_(&h00041303)
     2284Const SCHED_S_TASK_NO_MORE_RUNS = _HRESULT_TYPEDEF_(&h00041304)
     2285Const SCHED_S_TASK_NOT_SCHEDULED = _HRESULT_TYPEDEF_(&h00041305)
     2286Const SCHED_S_TASK_TERMINATED = _HRESULT_TYPEDEF_(&h00041306)
     2287Const SCHED_S_TASK_NO_VALID_TRIGGERS = _HRESULT_TYPEDEF_(&h00041307)
     2288Const SCHED_S_EVENT_TRIGGER = _HRESULT_TYPEDEF_(&h00041308)
     2289Const SCHED_E_TRIGGER_NOT_FOUND = _HRESULT_TYPEDEF_(&h80041309)
     2290Const SCHED_E_TASK_NOT_READY = _HRESULT_TYPEDEF_(&h8004130A)
     2291Const SCHED_E_TASK_NOT_RUNNING = _HRESULT_TYPEDEF_(&h8004130B)
     2292Const SCHED_E_SERVICE_NOT_INSTALLED = _HRESULT_TYPEDEF_(&h8004130C)
     2293Const SCHED_E_CANNOT_OPEN_TASK = _HRESULT_TYPEDEF_(&h8004130D)
     2294Const SCHED_E_INVALID_TASK = _HRESULT_TYPEDEF_(&h8004130E)
     2295Const SCHED_E_ACCOUNT_INFORMATION_NOT_SET = _HRESULT_TYPEDEF_(&h8004130F)
     2296Const SCHED_E_ACCOUNT_NAME_NOT_FOUND = _HRESULT_TYPEDEF_(&h80041310)
     2297Const SCHED_E_ACCOUNT_DBASE_CORRUPT = _HRESULT_TYPEDEF_(&h80041311)
     2298Const SCHED_E_NO_SECURITY_SERVICES = _HRESULT_TYPEDEF_(&h80041312)
     2299Const SCHED_E_UNKNOWN_OBJECT_VERSION = _HRESULT_TYPEDEF_(&h80041313)
     2300Const SCHED_E_UNSUPPORTED_ACCOUNT_OPTION = _HRESULT_TYPEDEF_(&h80041314)
     2301Const SCHED_E_SERVICE_NOT_RUNNING = _HRESULT_TYPEDEF_(&h80041315)
     2302Const CO_E_CLASS_CREATE_FAILED = _HRESULT_TYPEDEF_(&h80080001)
     2303Const CO_E_SCM_ERROR = _HRESULT_TYPEDEF_(&h80080002)
     2304Const CO_E_SCM_RPC_FAILURE = _HRESULT_TYPEDEF_(&h80080003)
     2305Const CO_E_BAD_PATH = _HRESULT_TYPEDEF_(&h80080004)
     2306Const CO_E_SERVER_EXEC_FAILURE = _HRESULT_TYPEDEF_(&h80080005)
     2307Const CO_E_OBJSRV_RPC_FAILURE = _HRESULT_TYPEDEF_(&h80080006)
     2308Const MK_E_NO_NORMALIZED = _HRESULT_TYPEDEF_(&h80080007)
     2309Const CO_E_SERVER_STOPPING = _HRESULT_TYPEDEF_(&h80080008)
     2310Const MEM_E_INVALID_ROOT = _HRESULT_TYPEDEF_(&h80080009)
     2311Const MEM_E_INVALID_LINK = _HRESULT_TYPEDEF_(&h80080010)
     2312Const MEM_E_INVALID_SIZE = _HRESULT_TYPEDEF_(&h80080011)
     2313Const CO_S_NOTALLINTERFACES = _HRESULT_TYPEDEF_(&h00080012)
     2314Const CO_S_MACHINENAMENOTFOUND = _HRESULT_TYPEDEF_(&h00080013)
     2315Const DISP_E_UNKNOWNINTERFACE = _HRESULT_TYPEDEF_(&h80020001)
     2316Const DISP_E_MEMBERNOTFOUND = _HRESULT_TYPEDEF_(&h80020003)
     2317Const DISP_E_PARAMNOTFOUND = _HRESULT_TYPEDEF_(&h80020004)
     2318Const DISP_E_TYPEMISMATCH = _HRESULT_TYPEDEF_(&h80020005)
     2319Const DISP_E_UNKNOWNNAME = _HRESULT_TYPEDEF_(&h80020006)
     2320Const DISP_E_NONAMEDARGS = _HRESULT_TYPEDEF_(&h80020007)
     2321Const DISP_E_BADVARTYPE = _HRESULT_TYPEDEF_(&h80020008)
     2322Const DISP_E_EXCEPTION = _HRESULT_TYPEDEF_(&h80020009)
     2323Const DISP_E_OVERFLOW = _HRESULT_TYPEDEF_(&h8002000A)
     2324Const DISP_E_BADINDEX = _HRESULT_TYPEDEF_(&h8002000B)
     2325Const DISP_E_UNKNOWNLCID = _HRESULT_TYPEDEF_(&h8002000C)
     2326Const DISP_E_ARRAYISLOCKED = _HRESULT_TYPEDEF_(&h8002000D)
     2327Const DISP_E_BADPARAMCOUNT = _HRESULT_TYPEDEF_(&h8002000E)
     2328Const DISP_E_PARAMNOTOPTIONAL = _HRESULT_TYPEDEF_(&h8002000F)
     2329Const DISP_E_BADCALLEE = _HRESULT_TYPEDEF_(&h80020010)
     2330Const DISP_E_NOTACOLLECTION = _HRESULT_TYPEDEF_(&h80020011)
     2331Const DISP_E_DIVBYZERO = _HRESULT_TYPEDEF_(&h80020012)
     2332Const DISP_E_BUFFERTOOSMALL = _HRESULT_TYPEDEF_(&h80020013)
     2333Const TYPE_E_BUFFERTOOSMALL = _HRESULT_TYPEDEF_(&h80028016)
     2334Const TYPE_E_FIELDNOTFOUND = _HRESULT_TYPEDEF_(&h80028017)
     2335Const TYPE_E_INVDATAREAD = _HRESULT_TYPEDEF_(&h80028018)
     2336Const TYPE_E_UNSUPFORMAT = _HRESULT_TYPEDEF_(&h80028019)
     2337Const TYPE_E_REGISTRYACCESS = _HRESULT_TYPEDEF_(&h8002801C)
     2338Const TYPE_E_LIBNOTREGISTERED = _HRESULT_TYPEDEF_(&h8002801D)
     2339Const TYPE_E_UNDEFINEDTYPE = _HRESULT_TYPEDEF_(&h80028027)
     2340Const TYPE_E_QUALIFIEDNAMEDISALLOWED = _HRESULT_TYPEDEF_(&h80028028)
     2341Const TYPE_E_INVALIDSTATE = _HRESULT_TYPEDEF_(&h80028029)
     2342Const TYPE_E_WRONGTYPEKIND = _HRESULT_TYPEDEF_(&h8002802A)
     2343Const TYPE_E_ELEMENTNOTFOUND = _HRESULT_TYPEDEF_(&h8002802B)
     2344Const TYPE_E_AMBIGUOUSNAME = _HRESULT_TYPEDEF_(&h8002802C)
     2345Const TYPE_E_NAMECONFLICT = _HRESULT_TYPEDEF_(&h8002802D)
     2346Const TYPE_E_UNKNOWNLCID = _HRESULT_TYPEDEF_(&h8002802E)
     2347Const TYPE_E_DLLFUNCTIONNOTFOUND = _HRESULT_TYPEDEF_(&h8002802F)
     2348Const TYPE_E_BADMODULEKIND = _HRESULT_TYPEDEF_(&h800288BD)
     2349Const TYPE_E_SIZETOOBIG = _HRESULT_TYPEDEF_(&h800288C5)
     2350Const TYPE_E_DUPLICATEID = _HRESULT_TYPEDEF_(&h800288C6)
     2351Const TYPE_E_INVALIDID = _HRESULT_TYPEDEF_(&h800288CF)
     2352Const TYPE_E_TYPEMISMATCH = _HRESULT_TYPEDEF_(&h80028CA0)
     2353Const TYPE_E_OUTOFBOUNDS = _HRESULT_TYPEDEF_(&h80028CA1)
     2354Const TYPE_E_IOERROR = _HRESULT_TYPEDEF_(&h80028CA2)
     2355Const TYPE_E_CANTCREATETMPFILE = _HRESULT_TYPEDEF_(&h80028CA3)
     2356Const TYPE_E_CANTLOADLIBRARY = _HRESULT_TYPEDEF_(&h80029C4A)
     2357Const TYPE_E_INCONSISTENTPROPFUNCS = _HRESULT_TYPEDEF_(&h80029C83)
     2358Const TYPE_E_CIRCULARTYPE = _HRESULT_TYPEDEF_(&h80029C84)
     2359Const STG_E_INVALIDFUNCTION = _HRESULT_TYPEDEF_(&h80030001)
     2360Const STG_E_FILENOTFOUND = _HRESULT_TYPEDEF_(&h80030002)
     2361Const STG_E_PATHNOTFOUND = _HRESULT_TYPEDEF_(&h80030003)
     2362Const STG_E_TOOMANYOPENFILES = _HRESULT_TYPEDEF_(&h80030004)
     2363Const STG_E_ACCESSDENIED = _HRESULT_TYPEDEF_(&h80030005)
     2364Const STG_E_INVALIDHANDLE = _HRESULT_TYPEDEF_(&h80030006)
     2365Const STG_E_INSUFFICIENTMEMORY = _HRESULT_TYPEDEF_(&h80030008)
     2366Const STG_E_INVALIDPOINTER = _HRESULT_TYPEDEF_(&h80030009)
     2367Const STG_E_NOMOREFILES = _HRESULT_TYPEDEF_(&h80030012)
     2368Const STG_E_DISKISWRITEPROTECTED = _HRESULT_TYPEDEF_(&h80030013)
     2369Const STG_E_SEEKERROR = _HRESULT_TYPEDEF_(&h80030019)
     2370Const STG_E_WRITEFAULT = _HRESULT_TYPEDEF_(&h8003001D)
     2371Const STG_E_READFAULT = _HRESULT_TYPEDEF_(&h8003001E)
     2372Const STG_E_SHAREVIOLATION = _HRESULT_TYPEDEF_(&h80030020)
     2373Const STG_E_LOCKVIOLATION = _HRESULT_TYPEDEF_(&h80030021)
     2374Const STG_E_FILEALREADYEXISTS = _HRESULT_TYPEDEF_(&h80030050)
     2375Const STG_E_INVALIDPARAMETER = _HRESULT_TYPEDEF_(&h80030057)
     2376Const STG_E_MEDIUMFULL = _HRESULT_TYPEDEF_(&h80030070)
     2377Const STG_E_PROPSETMISMATCHED = _HRESULT_TYPEDEF_(&h800300F0)
     2378Const STG_E_ABNORMALAPIEXIT = _HRESULT_TYPEDEF_(&h800300FA)
     2379Const STG_E_INVALIDHEADER = _HRESULT_TYPEDEF_(&h800300FB)
     2380Const STG_E_INVALIDNAME = _HRESULT_TYPEDEF_(&h800300FC)
     2381Const STG_E_UNKNOWN = _HRESULT_TYPEDEF_(&h800300FD)
     2382Const STG_E_UNIMPLEMENTEDFUNCTION = _HRESULT_TYPEDEF_(&h800300FE)
     2383Const STG_E_INVALIDFLAG = _HRESULT_TYPEDEF_(&h800300FF)
     2384Const STG_E_INUSE = _HRESULT_TYPEDEF_(&h80030100)
     2385Const STG_E_NOTCURRENT = _HRESULT_TYPEDEF_(&h80030101)
     2386Const STG_E_REVERTED = _HRESULT_TYPEDEF_(&h80030102)
     2387Const STG_E_CANTSAVE = _HRESULT_TYPEDEF_(&h80030103)
     2388Const STG_E_OLDFORMAT = _HRESULT_TYPEDEF_(&h80030104)
     2389Const STG_E_OLDDLL = _HRESULT_TYPEDEF_(&h80030105)
     2390Const STG_E_SHAREREQUIRED = _HRESULT_TYPEDEF_(&h80030106)
     2391Const STG_E_NOTFILEBASEDSTORAGE = _HRESULT_TYPEDEF_(&h80030107)
     2392Const STG_E_EXTANTMARSHALLINGS = _HRESULT_TYPEDEF_(&h80030108)
     2393Const STG_E_DOCFILECORRUPT = _HRESULT_TYPEDEF_(&h80030109)
     2394Const STG_E_BADBASEADDRESS = _HRESULT_TYPEDEF_(&h80030110)
     2395Const STG_E_DOCFILETOOLARGE = _HRESULT_TYPEDEF_(&h80030111)
     2396Const STG_E_NOTSIMPLEFORMAT = _HRESULT_TYPEDEF_(&h80030112)
     2397Const STG_E_INCOMPLETE = _HRESULT_TYPEDEF_(&h80030201)
     2398Const STG_E_TERMINATED = _HRESULT_TYPEDEF_(&h80030202)
     2399Const STG_S_CONVERTED = _HRESULT_TYPEDEF_(&h00030200)
     2400Const STG_S_BLOCK = _HRESULT_TYPEDEF_(&h00030201)
     2401Const STG_S_RETRYNOW = _HRESULT_TYPEDEF_(&h00030202)
     2402Const STG_S_MONITORING = _HRESULT_TYPEDEF_(&h00030203)
     2403Const STG_S_MULTIPLEOPENS = _HRESULT_TYPEDEF_(&h00030204)
     2404Const STG_S_CONSOLIDATIONFAILED = _HRESULT_TYPEDEF_(&h00030205)
     2405Const STG_S_CANNOTCONSOLIDATE = _HRESULT_TYPEDEF_(&h00030206)
     2406Const STG_E_STATUS_COPY_PROTECTION_FAILURE = _HRESULT_TYPEDEF_(&h80030305)
     2407Const STG_E_CSS_AUTHENTICATION_FAILURE = _HRESULT_TYPEDEF_(&h80030306)
     2408Const STG_E_CSS_KEY_NOT_PRESENT = _HRESULT_TYPEDEF_(&h80030307)
     2409Const STG_E_CSS_KEY_NOT_ESTABLISHED = _HRESULT_TYPEDEF_(&h80030308)
     2410Const STG_E_CSS_SCRAMBLED_SECTOR = _HRESULT_TYPEDEF_(&h80030309)
     2411Const STG_E_CSS_REGION_MISMATCH = _HRESULT_TYPEDEF_(&h8003030A)
     2412Const STG_E_RESETS_EXHAUSTED = _HRESULT_TYPEDEF_(&h8003030B)
     2413Const RPC_E_CALL_REJECTED = _HRESULT_TYPEDEF_(&h80010001)
     2414Const RPC_E_CALL_CANCELED = _HRESULT_TYPEDEF_(&h80010002)
     2415Const RPC_E_CANTPOST_INSENDCALL = _HRESULT_TYPEDEF_(&h80010003)
     2416Const RPC_E_CANTCALLOUT_INASYNCCALL = _HRESULT_TYPEDEF_(&h80010004)
     2417Const RPC_E_CANTCALLOUT_INEXTERNALCALL = _HRESULT_TYPEDEF_(&h80010005)
     2418Const RPC_E_CONNECTION_TERMINATED = _HRESULT_TYPEDEF_(&h80010006)
     2419Const RPC_E_SERVER_DIED = _HRESULT_TYPEDEF_(&h80010007)
     2420Const RPC_E_CLIENT_DIED = _HRESULT_TYPEDEF_(&h80010008)
     2421Const RPC_E_INVALID_DATAPACKET = _HRESULT_TYPEDEF_(&h80010009)
     2422Const RPC_E_CANTTRANSMIT_CALL = _HRESULT_TYPEDEF_(&h8001000A)
     2423Const RPC_E_CLIENT_CANTMARSHAL_DATA = _HRESULT_TYPEDEF_(&h8001000B)
     2424Const RPC_E_CLIENT_CANTUNMARSHAL_DATA = _HRESULT_TYPEDEF_(&h8001000C)
     2425Const RPC_E_SERVER_CANTMARSHAL_DATA = _HRESULT_TYPEDEF_(&h8001000D)
     2426Const RPC_E_SERVER_CANTUNMARSHAL_DATA = _HRESULT_TYPEDEF_(&h8001000E)
     2427Const RPC_E_INVALID_DATA = _HRESULT_TYPEDEF_(&h8001000F)
     2428Const RPC_E_INVALID_PARAMETER = _HRESULT_TYPEDEF_(&h80010010)
     2429Const RPC_E_CANTCALLOUT_AGAIN = _HRESULT_TYPEDEF_(&h80010011)
     2430Const RPC_E_SERVER_DIED_DNE = _HRESULT_TYPEDEF_(&h80010012)
     2431Const RPC_E_SYS_CALL_FAILED = _HRESULT_TYPEDEF_(&h80010100)
     2432Const RPC_E_OUT_OF_RESOURCES = _HRESULT_TYPEDEF_(&h80010101)
     2433Const RPC_E_ATTEMPTED_MULTITHREAD = _HRESULT_TYPEDEF_(&h80010102)
     2434Const RPC_E_NOT_REGISTERED = _HRESULT_TYPEDEF_(&h80010103)
     2435Const RPC_E_FAULT = _HRESULT_TYPEDEF_(&h80010104)
     2436Const RPC_E_SERVERFAULT = _HRESULT_TYPEDEF_(&h80010105)
     2437Const RPC_E_CHANGED_MODE = _HRESULT_TYPEDEF_(&h80010106)
     2438Const RPC_E_INVALIDMETHOD = _HRESULT_TYPEDEF_(&h80010107)
     2439Const RPC_E_DISCONNECTED = _HRESULT_TYPEDEF_(&h80010108)
     2440Const RPC_E_RETRY = _HRESULT_TYPEDEF_(&h80010109)
     2441Const RPC_E_SERVERCALL_RETRYLATER = _HRESULT_TYPEDEF_(&h8001010A)
     2442Const RPC_E_SERVERCALL_REJECTED = _HRESULT_TYPEDEF_(&h8001010B)
     2443Const RPC_E_INVALID_CALLDATA = _HRESULT_TYPEDEF_(&h8001010C)
     2444Const RPC_E_CANTCALLOUT_ININPUTSYNCCALL = _HRESULT_TYPEDEF_(&h8001010D)
     2445Const RPC_E_WRONG_THREAD = _HRESULT_TYPEDEF_(&h8001010E)
     2446Const RPC_E_THREAD_NOT_INIT = _HRESULT_TYPEDEF_(&h8001010F)
     2447Const RPC_E_VERSION_MISMATCH = _HRESULT_TYPEDEF_(&h80010110)
     2448Const RPC_E_INVALID_HEADER = _HRESULT_TYPEDEF_(&h80010111)
     2449Const RPC_E_INVALID_EXTENSION = _HRESULT_TYPEDEF_(&h80010112)
     2450Const RPC_E_INVALID_IPID = _HRESULT_TYPEDEF_(&h80010113)
     2451Const RPC_E_INVALID_OBJECT = _HRESULT_TYPEDEF_(&h80010114)
     2452Const RPC_S_CALLPENDING = _HRESULT_TYPEDEF_(&h80010115)
     2453Const RPC_S_WAITONTIMER = _HRESULT_TYPEDEF_(&h80010116)
     2454Const RPC_E_CALL_COMPLETE = _HRESULT_TYPEDEF_(&h80010117)
     2455Const RPC_E_UNSECURE_CALL = _HRESULT_TYPEDEF_(&h80010118)
     2456Const RPC_E_TOO_LATE = _HRESULT_TYPEDEF_(&h80010119)
     2457Const RPC_E_NO_GOOD_SECURITY_PACKAGES = _HRESULT_TYPEDEF_(&h8001011A)
     2458Const RPC_E_ACCESS_DENIED = _HRESULT_TYPEDEF_(&h8001011B)
     2459Const RPC_E_REMOTE_DISABLED = _HRESULT_TYPEDEF_(&h8001011C)
     2460Const RPC_E_INVALID_OBJREF = _HRESULT_TYPEDEF_(&h8001011D)
     2461Const RPC_E_NO_CONTEXT = _HRESULT_TYPEDEF_(&h8001011E)
     2462Const RPC_E_TIMEOUT = _HRESULT_TYPEDEF_(&h8001011F)
     2463Const RPC_E_NO_SYNC = _HRESULT_TYPEDEF_(&h80010120)
     2464Const RPC_E_FULLSIC_REQUIRED = _HRESULT_TYPEDEF_(&h80010121)
     2465Const RPC_E_INVALID_STD_NAME = _HRESULT_TYPEDEF_(&h80010122)
     2466Const CO_E_FAILEDTOIMPERSONATE = _HRESULT_TYPEDEF_(&h80010123)
     2467Const CO_E_FAILEDTOGETSECCTX = _HRESULT_TYPEDEF_(&h80010124)
     2468Const CO_E_FAILEDTOOPENTHREADTOKEN = _HRESULT_TYPEDEF_(&h80010125)
     2469Const CO_E_FAILEDTOGETTOKENINFO = _HRESULT_TYPEDEF_(&h80010126)
     2470Const CO_E_TRUSTEEDOESNTMATCHCLIENT = _HRESULT_TYPEDEF_(&h80010127)
     2471Const CO_E_FAILEDTOQUERYCLIENTBLANKET = _HRESULT_TYPEDEF_(&h80010128)
     2472Const CO_E_FAILEDTOSETDACL = _HRESULT_TYPEDEF_(&h80010129)
     2473Const CO_E_ACCESSCHECKFAILED = _HRESULT_TYPEDEF_(&h8001012A)
     2474Const CO_E_NETACCESSAPIFAILED = _HRESULT_TYPEDEF_(&h8001012B)
     2475Const CO_E_WRONGTRUSTEENAMESYNTAX = _HRESULT_TYPEDEF_(&h8001012C)
     2476Const CO_E_INVALIDSID = _HRESULT_TYPEDEF_(&h8001012D)
     2477Const CO_E_CONVERSIONFAILED = _HRESULT_TYPEDEF_(&h8001012E)
     2478Const CO_E_NOMATCHINGSIDFOUND = _HRESULT_TYPEDEF_(&h8001012F)
     2479Const CO_E_LOOKUPACCSIDFAILED = _HRESULT_TYPEDEF_(&h80010130)
     2480Const CO_E_NOMATCHINGNAMEFOUND = _HRESULT_TYPEDEF_(&h80010131)
     2481Const CO_E_LOOKUPACCNAMEFAILED = _HRESULT_TYPEDEF_(&h80010132)
     2482Const CO_E_SETSERLHNDLFAILED = _HRESULT_TYPEDEF_(&h80010133)
     2483Const CO_E_FAILEDTOGETWINDIR = _HRESULT_TYPEDEF_(&h80010134)
     2484Const CO_E_PATHTOOLONG = _HRESULT_TYPEDEF_(&h80010135)
     2485Const CO_E_FAILEDTOGENUUID = _HRESULT_TYPEDEF_(&h80010136)
     2486Const CO_E_FAILEDTOCREATEFILE = _HRESULT_TYPEDEF_(&h80010137)
     2487Const CO_E_FAILEDTOCLOSEHANDLE = _HRESULT_TYPEDEF_(&h80010138)
     2488Const CO_E_EXCEEDSYSACLLIMIT = _HRESULT_TYPEDEF_(&h80010139)
     2489Const CO_E_ACESINWRONGORDER = _HRESULT_TYPEDEF_(&h8001013A)
     2490Const CO_E_INCOMPATIBLESTREAMVERSION = _HRESULT_TYPEDEF_(&h8001013B)
     2491Const CO_E_FAILEDTOOPENPROCESSTOKEN = _HRESULT_TYPEDEF_(&h8001013C)
     2492Const CO_E_DECODEFAILED = _HRESULT_TYPEDEF_(&h8001013D)
     2493Const CO_E_ACNOTINITIALIZED = _HRESULT_TYPEDEF_(&h8001013F)
     2494Const CO_E_CANCEL_DISABLED = _HRESULT_TYPEDEF_(&h80010140)
     2495Const RPC_E_UNEXPECTED = _HRESULT_TYPEDEF_(&h8001FFFF)
     2496Const ERROR_AUDITING_DISABLED = _HRESULT_TYPEDEF_(&hC0090001)
     2497Const ERROR_ALL_SIDS_FILTERED = _HRESULT_TYPEDEF_(&hC0090002)
     2498Const NTE_BAD_UID = _HRESULT_TYPEDEF_(&h80090001)
     2499Const NTE_BAD_HASH = _HRESULT_TYPEDEF_(&h80090002)
     2500Const NTE_BAD_KEY = _HRESULT_TYPEDEF_(&h80090003)
     2501Const NTE_BAD_LEN = _HRESULT_TYPEDEF_(&h80090004)
     2502Const NTE_BAD_DATA = _HRESULT_TYPEDEF_(&h80090005)
     2503Const NTE_BAD_SIGNATURE = _HRESULT_TYPEDEF_(&h80090006)
     2504Const NTE_BAD_VER = _HRESULT_TYPEDEF_(&h80090007)
     2505Const NTE_BAD_ALGID = _HRESULT_TYPEDEF_(&h80090008)
     2506Const NTE_BAD_FLAGS = _HRESULT_TYPEDEF_(&h80090009)
     2507Const NTE_BAD_TYPE = _HRESULT_TYPEDEF_(&h8009000A)
     2508Const NTE_BAD_KEY_STATE = _HRESULT_TYPEDEF_(&h8009000B)
     2509Const NTE_BAD_HASH_STATE = _HRESULT_TYPEDEF_(&h8009000C)
     2510Const NTE_NO_KEY = _HRESULT_TYPEDEF_(&h8009000D)
     2511Const NTE_NO_MEMORY = _HRESULT_TYPEDEF_(&h8009000E)
     2512Const NTE_EXISTS = _HRESULT_TYPEDEF_(&h8009000F)
     2513Const NTE_PERM = _HRESULT_TYPEDEF_(&h80090010)
     2514Const NTE_NOT_FOUND = _HRESULT_TYPEDEF_(&h80090011)
     2515Const NTE_DOUBLE_ENCRYPT = _HRESULT_TYPEDEF_(&h80090012)
     2516Const NTE_BAD_PROVIDER = _HRESULT_TYPEDEF_(&h80090013)
     2517Const NTE_BAD_PROV_TYPE = _HRESULT_TYPEDEF_(&h80090014)
     2518Const NTE_BAD_PUBLIC_KEY = _HRESULT_TYPEDEF_(&h80090015)
     2519Const NTE_BAD_KEYSET = _HRESULT_TYPEDEF_(&h80090016)
     2520Const NTE_PROV_TYPE_NOT_DEF = _HRESULT_TYPEDEF_(&h80090017)
     2521Const NTE_PROV_TYPE_ENTRY_BAD = _HRESULT_TYPEDEF_(&h80090018)
     2522Const NTE_KEYSET_NOT_DEF = _HRESULT_TYPEDEF_(&h80090019)
     2523Const NTE_KEYSET_ENTRY_BAD = _HRESULT_TYPEDEF_(&h8009001A)
     2524Const NTE_PROV_TYPE_NO_MATCH = _HRESULT_TYPEDEF_(&h8009001B)
     2525Const NTE_SIGNATURE_FILE_BAD = _HRESULT_TYPEDEF_(&h8009001C)
     2526Const NTE_PROVIDER_DLL_FAIL = _HRESULT_TYPEDEF_(&h8009001D)
     2527Const NTE_PROV_DLL_NOT_FOUND = _HRESULT_TYPEDEF_(&h8009001E)
     2528Const NTE_BAD_KEYSET_PARAM = _HRESULT_TYPEDEF_(&h8009001F)
     2529Const NTE_FAIL = _HRESULT_TYPEDEF_(&h80090020)
     2530Const NTE_SYS_ERR = _HRESULT_TYPEDEF_(&h80090021)
     2531Const NTE_SILENT_CONTEXT = _HRESULT_TYPEDEF_(&h80090022)
     2532Const NTE_TOKEN_KEYSET_STORAGE_FULL = _HRESULT_TYPEDEF_(&h80090023)
     2533Const NTE_TEMPORARY_PROFILE = _HRESULT_TYPEDEF_(&h80090024)
     2534Const NTE_FIXEDPARAMETER = _HRESULT_TYPEDEF_(&h80090025)
     2535Const SEC_E_INSUFFICIENT_MEMORY = _HRESULT_TYPEDEF_(&h80090300)
     2536Const SEC_E_INVALID_HANDLE = _HRESULT_TYPEDEF_(&h80090301)
     2537Const SEC_E_UNSUPPORTED_FUNCTION = _HRESULT_TYPEDEF_(&h80090302)
     2538Const SEC_E_TARGET_UNKNOWN = _HRESULT_TYPEDEF_(&h80090303)
     2539Const SEC_E_INTERNAL_ERROR = _HRESULT_TYPEDEF_(&h80090304)
     2540Const SEC_E_SECPKG_NOT_FOUND = _HRESULT_TYPEDEF_(&h80090305)
     2541Const SEC_E_NOT_OWNER = _HRESULT_TYPEDEF_(&h80090306)
     2542Const SEC_E_CANNOT_INSTALL = _HRESULT_TYPEDEF_(&h80090307)
     2543Const SEC_E_INVALID_TOKEN = _HRESULT_TYPEDEF_(&h80090308)
     2544Const SEC_E_CANNOT_PACK = _HRESULT_TYPEDEF_(&h80090309)
     2545Const SEC_E_QOP_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h8009030A)
     2546Const SEC_E_NO_IMPERSONATION = _HRESULT_TYPEDEF_(&h8009030B)
     2547Const SEC_E_LOGON_DENIED = _HRESULT_TYPEDEF_(&h8009030C)
     2548Const SEC_E_UNKNOWN_CREDENTIALS = _HRESULT_TYPEDEF_(&h8009030D)
     2549Const SEC_E_NO_CREDENTIALS = _HRESULT_TYPEDEF_(&h8009030E)
     2550Const SEC_E_MESSAGE_ALTERED = _HRESULT_TYPEDEF_(&h8009030F)
     2551Const SEC_E_OUT_OF_SEQUENCE = _HRESULT_TYPEDEF_(&h80090310)
     2552Const SEC_E_NO_AUTHENTICATING_AUTHORITY = _HRESULT_TYPEDEF_(&h80090311)
     2553Const SEC_I_CONTINUE_NEEDED = _HRESULT_TYPEDEF_(&h00090312)
     2554Const SEC_I_COMPLETE_NEEDED = _HRESULT_TYPEDEF_(&h00090313)
     2555Const SEC_I_COMPLETE_AND_CONTINUE = _HRESULT_TYPEDEF_(&h00090314)
     2556Const SEC_I_LOCAL_LOGON = _HRESULT_TYPEDEF_(&h00090315)
     2557Const SEC_E_BAD_PKGID = _HRESULT_TYPEDEF_(&h80090316)
     2558Const SEC_E_CONTEXT_EXPIRED = _HRESULT_TYPEDEF_(&h80090317)
     2559Const SEC_I_CONTEXT_EXPIRED = _HRESULT_TYPEDEF_(&h00090317)
     2560Const SEC_E_INCOMPLETE_MESSAGE = _HRESULT_TYPEDEF_(&h80090318)
     2561Const SEC_E_INCOMPLETE_CREDENTIALS = _HRESULT_TYPEDEF_(&h80090320)
     2562Const SEC_E_BUFFER_TOO_SMALL = _HRESULT_TYPEDEF_(&h80090321)
     2563Const SEC_I_INCOMPLETE_CREDENTIALS = _HRESULT_TYPEDEF_(&h00090320)
     2564Const SEC_I_RENEGOTIATE = _HRESULT_TYPEDEF_(&h00090321)
     2565Const SEC_E_WRONG_PRINCIPAL = _HRESULT_TYPEDEF_(&h80090322)
     2566Const SEC_I_NO_LSA_CONTEXT = _HRESULT_TYPEDEF_(&h00090323)
     2567Const SEC_E_TIME_SKEW = _HRESULT_TYPEDEF_(&h80090324)
     2568Const SEC_E_UNTRUSTED_ROOT = _HRESULT_TYPEDEF_(&h80090325)
     2569Const SEC_E_ILLEGAL_MESSAGE = _HRESULT_TYPEDEF_(&h80090326)
     2570Const SEC_E_CERT_UNKNOWN = _HRESULT_TYPEDEF_(&h80090327)
     2571Const SEC_E_CERT_EXPIRED = _HRESULT_TYPEDEF_(&h80090328)
     2572Const SEC_E_ENCRYPT_FAILURE = _HRESULT_TYPEDEF_(&h80090329)
     2573Const SEC_E_DECRYPT_FAILURE = _HRESULT_TYPEDEF_(&h80090330)
     2574Const SEC_E_ALGORITHM_MISMATCH = _HRESULT_TYPEDEF_(&h80090331)
     2575Const SEC_E_SECURITY_QOS_FAILED = _HRESULT_TYPEDEF_(&h80090332)
     2576Const SEC_E_UNFINISHED_CONTEXT_DELETED = _HRESULT_TYPEDEF_(&h80090333)
     2577Const SEC_E_NO_TGT_REPLY = _HRESULT_TYPEDEF_(&h80090334)
     2578Const SEC_E_NO_IP_ADDRESSES = _HRESULT_TYPEDEF_(&h80090335)
     2579Const SEC_E_WRONG_CREDENTIAL_HANDLE = _HRESULT_TYPEDEF_(&h80090336)
     2580Const SEC_E_CRYPTO_SYSTEM_INVALID = _HRESULT_TYPEDEF_(&h80090337)
     2581Const SEC_E_MAX_REFERRALS_EXCEEDED = _HRESULT_TYPEDEF_(&h80090338)
     2582Const SEC_E_MUST_BE_KDC = _HRESULT_TYPEDEF_(&h80090339)
     2583Const SEC_E_STRONG_CRYPTO_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h8009033A)
     2584Const SEC_E_TOO_MANY_PRINCIPALS = _HRESULT_TYPEDEF_(&h8009033B)
     2585Const SEC_E_NO_PA_DATA = _HRESULT_TYPEDEF_(&h8009033C)
     2586Const SEC_E_PKINIT_NAME_MISMATCH = _HRESULT_TYPEDEF_(&h8009033D)
     2587Const SEC_E_SMARTCARD_LOGON_REQUIRED = _HRESULT_TYPEDEF_(&h8009033E)
     2588Const SEC_E_SHUTDOWN_IN_PROGRESS = _HRESULT_TYPEDEF_(&h8009033F)
     2589Const SEC_E_KDC_INVALID_REQUEST = _HRESULT_TYPEDEF_(&h80090340)
     2590Const SEC_E_KDC_UNABLE_TO_REFER = _HRESULT_TYPEDEF_(&h80090341)
     2591Const SEC_E_KDC_UNKNOWN_ETYPE = _HRESULT_TYPEDEF_(&h80090342)
     2592Const SEC_E_UNSUPPORTED_PREAUTH = _HRESULT_TYPEDEF_(&h80090343)
     2593Const SEC_E_DELEGATION_REQUIRED = _HRESULT_TYPEDEF_(&h80090345)
     2594Const SEC_E_BAD_BINDINGS = _HRESULT_TYPEDEF_(&h80090346)
     2595Const SEC_E_MULTIPLE_ACCOUNTS = _HRESULT_TYPEDEF_(&h80090347)
     2596Const SEC_E_NO_KERB_KEY = _HRESULT_TYPEDEF_(&h80090348)
     2597Const SEC_E_CERT_WRONG_USAGE = _HRESULT_TYPEDEF_(&h80090349)
     2598Const SEC_E_DOWNGRADE_DETECTED = _HRESULT_TYPEDEF_(&h80090350)
     2599Const SEC_E_SMARTCARD_CERT_REVOKED = _HRESULT_TYPEDEF_(&h80090351)
     2600Const SEC_E_ISSUING_CA_UNTRUSTED = _HRESULT_TYPEDEF_(&h80090352)
     2601Const SEC_E_REVOCATION_OFFLINE_C = _HRESULT_TYPEDEF_(&h80090353)
     2602Const SEC_E_PKINIT_CLIENT_FAILURE = _HRESULT_TYPEDEF_(&h80090354)
     2603Const SEC_E_SMARTCARD_CERT_EXPIRED = _HRESULT_TYPEDEF_(&h80090355)
     2604Const SEC_E_NO_S4U_PROT_SUPPORT = _HRESULT_TYPEDEF_(&h80090356)
     2605Const SEC_E_CROSSREALM_DELEGATION_FAILURE = _HRESULT_TYPEDEF_(&h80090357)
     2606Const SEC_E_REVOCATION_OFFLINE_KDC = _HRESULT_TYPEDEF_(&h80090358)
     2607Const SEC_E_ISSUING_CA_UNTRUSTED_KDC = _HRESULT_TYPEDEF_(&h80090359)
     2608Const SEC_E_KDC_CERT_EXPIRED = _HRESULT_TYPEDEF_(&h8009035A)
     2609Const SEC_E_KDC_CERT_REVOKED = _HRESULT_TYPEDEF_(&h8009035B)
     2610Const SEC_E_NO_SPM = SEC_E_INTERNAL_ERROR
     2611Const SEC_E_NOT_SUPPORTED = SEC_E_UNSUPPORTED_FUNCTION
     2612Const CRYPT_E_MSG_ERROR = _HRESULT_TYPEDEF_(&h80091001)
     2613Const CRYPT_E_UNKNOWN_ALGO = _HRESULT_TYPEDEF_(&h80091002)
     2614Const CRYPT_E_OID_FORMAT = _HRESULT_TYPEDEF_(&h80091003)
     2615Const CRYPT_E_INVALID_MSG_TYPE = _HRESULT_TYPEDEF_(&h80091004)
     2616Const CRYPT_E_UNEXPECTED_ENCODING = _HRESULT_TYPEDEF_(&h80091005)
     2617Const CRYPT_E_AUTH_ATTR_MISSING = _HRESULT_TYPEDEF_(&h80091006)
     2618Const CRYPT_E_HASH_VALUE = _HRESULT_TYPEDEF_(&h80091007)
     2619Const CRYPT_E_INVALID_INDEX = _HRESULT_TYPEDEF_(&h80091008)
     2620Const CRYPT_E_ALREADY_DECRYPTED = _HRESULT_TYPEDEF_(&h80091009)
     2621Const CRYPT_E_NOT_DECRYPTED = _HRESULT_TYPEDEF_(&h8009100A)
     2622Const CRYPT_E_RECIPIENT_NOT_FOUND = _HRESULT_TYPEDEF_(&h8009100B)
     2623Const CRYPT_E_CONTROL_TYPE = _HRESULT_TYPEDEF_(&h8009100C)
     2624Const CRYPT_E_ISSUER_SERIALNUMBER = _HRESULT_TYPEDEF_(&h8009100D)
     2625Const CRYPT_E_SIGNER_NOT_FOUND = _HRESULT_TYPEDEF_(&h8009100E)
     2626Const CRYPT_E_ATTRIBUTES_MISSING = _HRESULT_TYPEDEF_(&h8009100F)
     2627Const CRYPT_E_STREAM_MSG_NOT_READY = _HRESULT_TYPEDEF_(&h80091010)
     2628Const CRYPT_E_STREAM_INSUFFICIENT_DATA = _HRESULT_TYPEDEF_(&h80091011)
     2629Const CRYPT_I_NEW_PROTECTION_REQUIRED = _HRESULT_TYPEDEF_(&h00091012)
     2630Const CRYPT_E_BAD_LEN = _HRESULT_TYPEDEF_(&h80092001)
     2631Const CRYPT_E_BAD_ENCODE = _HRESULT_TYPEDEF_(&h80092002)
     2632Const CRYPT_E_FILE_ERROR = _HRESULT_TYPEDEF_(&h80092003)
     2633Const CRYPT_E_NOT_FOUND = _HRESULT_TYPEDEF_(&h80092004)
     2634Const CRYPT_E_EXISTS = _HRESULT_TYPEDEF_(&h80092005)
     2635Const CRYPT_E_NO_PROVIDER = _HRESULT_TYPEDEF_(&h80092006)
     2636Const CRYPT_E_SELF_SIGNED = _HRESULT_TYPEDEF_(&h80092007)
     2637Const CRYPT_E_DELETED_PREV = _HRESULT_TYPEDEF_(&h80092008)
     2638Const CRYPT_E_NO_MATCH = _HRESULT_TYPEDEF_(&h80092009)
     2639Const CRYPT_E_UNEXPECTED_MSG_TYPE = _HRESULT_TYPEDEF_(&h8009200A)
     2640Const CRYPT_E_NO_KEY_PROPERTY = _HRESULT_TYPEDEF_(&h8009200B)
     2641Const CRYPT_E_NO_DECRYPT_CERT = _HRESULT_TYPEDEF_(&h8009200C)
     2642Const CRYPT_E_BAD_MSG = _HRESULT_TYPEDEF_(&h8009200D)
     2643Const CRYPT_E_NO_SIGNER = _HRESULT_TYPEDEF_(&h8009200E)
     2644Const CRYPT_E_PENDING_CLOSE = _HRESULT_TYPEDEF_(&h8009200F)
     2645Const CRYPT_E_REVOKED = _HRESULT_TYPEDEF_(&h80092010)
     2646Const CRYPT_E_NO_REVOCATION_DLL = _HRESULT_TYPEDEF_(&h80092011)
     2647Const CRYPT_E_NO_REVOCATION_CHECK = _HRESULT_TYPEDEF_(&h80092012)
     2648Const CRYPT_E_REVOCATION_OFFLINE = _HRESULT_TYPEDEF_(&h80092013)
     2649Const CRYPT_E_NOT_IN_REVOCATION_DATABASE = _HRESULT_TYPEDEF_(&h80092014)
     2650Const CRYPT_E_INVALID_NUMERIC_STRING = _HRESULT_TYPEDEF_(&h80092020)
     2651Const CRYPT_E_INVALID_PRINTABLE_STRING = _HRESULT_TYPEDEF_(&h80092021)
     2652Const CRYPT_E_INVALID_IA5_STRING = _HRESULT_TYPEDEF_(&h80092022)
     2653Const CRYPT_E_INVALID_X500_STRING = _HRESULT_TYPEDEF_(&h80092023)
     2654Const CRYPT_E_NOT_CHAR_STRING = _HRESULT_TYPEDEF_(&h80092024)
     2655Const CRYPT_E_FILERESIZED = _HRESULT_TYPEDEF_(&h80092025)
     2656Const CRYPT_E_SECURITY_SETTINGS = _HRESULT_TYPEDEF_(&h80092026)
     2657Const CRYPT_E_NO_VERIFY_USAGE_DLL = _HRESULT_TYPEDEF_(&h80092027)
     2658Const CRYPT_E_NO_VERIFY_USAGE_CHECK = _HRESULT_TYPEDEF_(&h80092028)
     2659Const CRYPT_E_VERIFY_USAGE_OFFLINE = _HRESULT_TYPEDEF_(&h80092029)
     2660Const CRYPT_E_NOT_IN_CTL = _HRESULT_TYPEDEF_(&h8009202A)
     2661Const CRYPT_E_NO_TRUSTED_SIGNER = _HRESULT_TYPEDEF_(&h8009202B)
     2662Const CRYPT_E_MISSING_PUBKEY_PARA = _HRESULT_TYPEDEF_(&h8009202C)
     2663Const CRYPT_E_OSS_ERROR = _HRESULT_TYPEDEF_(&h80093000)
     2664Const OSS_MORE_BUF = _HRESULT_TYPEDEF_(&h80093001)
     2665Const OSS_NEGATIVE_UINTEGER = _HRESULT_TYPEDEF_(&h80093002)
     2666Const OSS_PDU_RANGE = _HRESULT_TYPEDEF_(&h80093003)
     2667Const OSS_MORE_INPUT = _HRESULT_TYPEDEF_(&h80093004)
     2668Const OSS_DATA_ERROR = _HRESULT_TYPEDEF_(&h80093005)
     2669Const OSS_BAD_ARG = _HRESULT_TYPEDEF_(&h80093006)
     2670Const OSS_BAD_VERSION = _HRESULT_TYPEDEF_(&h80093007)
     2671Const OSS_OUT_MEMORY = _HRESULT_TYPEDEF_(&h80093008)
     2672Const OSS_PDU_MISMATCH = _HRESULT_TYPEDEF_(&h80093009)
     2673Const OSS_LIMITED = _HRESULT_TYPEDEF_(&h8009300A)
     2674Const OSS_BAD_PTR = _HRESULT_TYPEDEF_(&h8009300B)
     2675Const OSS_BAD_TIME = _HRESULT_TYPEDEF_(&h8009300C)
     2676Const OSS_INDEFINITE_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h8009300D)
     2677Const OSS_MEM_ERROR = _HRESULT_TYPEDEF_(&h8009300E)
     2678Const OSS_BAD_TABLE = _HRESULT_TYPEDEF_(&h8009300F)
     2679Const OSS_TOO_LONG = _HRESULT_TYPEDEF_(&h80093010)
     2680Const OSS_CONSTRAINT_VIOLATED = _HRESULT_TYPEDEF_(&h80093011)
     2681Const OSS_FATAL_ERROR = _HRESULT_TYPEDEF_(&h80093012)
     2682Const OSS_ACCESS_SERIALIZATION_ERROR = _HRESULT_TYPEDEF_(&h80093013)
     2683Const OSS_NULL_TBL = _HRESULT_TYPEDEF_(&h80093014)
     2684Const OSS_NULL_FCN = _HRESULT_TYPEDEF_(&h80093015)
     2685Const OSS_BAD_ENCRULES = _HRESULT_TYPEDEF_(&h80093016)
     2686Const OSS_UNAVAIL_ENCRULES = _HRESULT_TYPEDEF_(&h80093017)
     2687Const OSS_CANT_OPEN_TRACE_WINDOW = _HRESULT_TYPEDEF_(&h80093018)
     2688Const OSS_UNIMPLEMENTED = _HRESULT_TYPEDEF_(&h80093019)
     2689Const OSS_OID_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h8009301A)
     2690Const OSS_CANT_OPEN_TRACE_FILE = _HRESULT_TYPEDEF_(&h8009301B)
     2691Const OSS_TRACE_FILE_ALREADY_OPEN = _HRESULT_TYPEDEF_(&h8009301C)
     2692Const OSS_TABLE_MISMATCH = _HRESULT_TYPEDEF_(&h8009301D)
     2693Const OSS_TYPE_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h8009301E)
     2694Const OSS_REAL_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h8009301F)
     2695Const OSS_REAL_CODE_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093020)
     2696Const OSS_OUT_OF_RANGE = _HRESULT_TYPEDEF_(&h80093021)
     2697Const OSS_COPIER_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093022)
     2698Const OSS_CONSTRAINT_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093023)
     2699Const OSS_COMPARATOR_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093024)
     2700Const OSS_COMPARATOR_CODE_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093025)
     2701Const OSS_MEM_MGR_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093026)
     2702Const OSS_PDV_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093027)
     2703Const OSS_PDV_CODE_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093028)
     2704Const OSS_API_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h80093029)
     2705Const OSS_BERDER_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h8009302A)
     2706Const OSS_PER_DLL_NOT_LINKED = _HRESULT_TYPEDEF_(&h8009302B)
     2707Const OSS_OPEN_TYPE_ERROR = _HRESULT_TYPEDEF_(&h8009302C)
     2708Const OSS_MUTEX_NOT_CREATED = _HRESULT_TYPEDEF_(&h8009302D)
     2709Const OSS_CANT_CLOSE_TRACE_FILE = _HRESULT_TYPEDEF_(&h8009302E)
     2710Const CRYPT_E_ASN1_ERROR = _HRESULT_TYPEDEF_(&h80093100)
     2711Const CRYPT_E_ASN1_INTERNAL = _HRESULT_TYPEDEF_(&h80093101)
     2712Const CRYPT_E_ASN1_EOD = _HRESULT_TYPEDEF_(&h80093102)
     2713Const CRYPT_E_ASN1_CORRUPT = _HRESULT_TYPEDEF_(&h80093103)
     2714Const CRYPT_E_ASN1_LARGE = _HRESULT_TYPEDEF_(&h80093104)
     2715Const CRYPT_E_ASN1_CONSTRAINT = _HRESULT_TYPEDEF_(&h80093105)
     2716Const CRYPT_E_ASN1_MEMORY = _HRESULT_TYPEDEF_(&h80093106)
     2717Const CRYPT_E_ASN1_OVERFLOW = _HRESULT_TYPEDEF_(&h80093107)
     2718Const CRYPT_E_ASN1_BADPDU = _HRESULT_TYPEDEF_(&h80093108)
     2719Const CRYPT_E_ASN1_BADARGS = _HRESULT_TYPEDEF_(&h80093109)
     2720Const CRYPT_E_ASN1_BADREAL = _HRESULT_TYPEDEF_(&h8009310A)
     2721Const CRYPT_E_ASN1_BADTAG = _HRESULT_TYPEDEF_(&h8009310B)
     2722Const CRYPT_E_ASN1_CHOICE = _HRESULT_TYPEDEF_(&h8009310C)
     2723Const CRYPT_E_ASN1_RULE = _HRESULT_TYPEDEF_(&h8009310D)
     2724Const CRYPT_E_ASN1_UTF8 = _HRESULT_TYPEDEF_(&h8009310E)
     2725Const CRYPT_E_ASN1_PDU_TYPE = _HRESULT_TYPEDEF_(&h80093133)
     2726Const CRYPT_E_ASN1_NYI = _HRESULT_TYPEDEF_(&h80093134)
     2727Const CRYPT_E_ASN1_EXTENDED = _HRESULT_TYPEDEF_(&h80093201)
     2728Const CRYPT_E_ASN1_NOEOD = _HRESULT_TYPEDEF_(&h80093202)
     2729Const CERTSRV_E_BAD_REQUESTSUBJECT = _HRESULT_TYPEDEF_(&h80094001)
     2730Const CERTSRV_E_NO_REQUEST = _HRESULT_TYPEDEF_(&h80094002)
     2731Const CERTSRV_E_BAD_REQUESTSTATUS = _HRESULT_TYPEDEF_(&h80094003)
     2732Const CERTSRV_E_PROPERTY_EMPTY = _HRESULT_TYPEDEF_(&h80094004)
     2733Const CERTSRV_E_INVALID_CA_CERTIFICATE = _HRESULT_TYPEDEF_(&h80094005)
     2734Const CERTSRV_E_SERVER_SUSPENDED = _HRESULT_TYPEDEF_(&h80094006)
     2735Const CERTSRV_E_ENCODING_LENGTH = _HRESULT_TYPEDEF_(&h80094007)
     2736Const CERTSRV_E_ROLECONFLICT = _HRESULT_TYPEDEF_(&h80094008)
     2737Const CERTSRV_E_RESTRICTEDOFFICER = _HRESULT_TYPEDEF_(&h80094009)
     2738Const CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED = _HRESULT_TYPEDEF_(&h8009400A)
     2739Const CERTSRV_E_NO_VALID_KRA = _HRESULT_TYPEDEF_(&h8009400B)
     2740Const CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL = _HRESULT_TYPEDEF_(&h8009400C)
     2741Const CERTSRV_E_NO_CAADMIN_DEFINED = _HRESULT_TYPEDEF_(&h8009400D)
     2742Const CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE = _HRESULT_TYPEDEF_(&h8009400E)
     2743Const CERTSRV_E_NO_DB_SESSIONS = _HRESULT_TYPEDEF_(&h8009400F)
     2744Const CERTSRV_E_ALIGNMENT_FAULT = _HRESULT_TYPEDEF_(&h80094010)
     2745Const CERTSRV_E_ENROLL_DENIED = _HRESULT_TYPEDEF_(&h80094011)
     2746Const CERTSRV_E_TEMPLATE_DENIED = _HRESULT_TYPEDEF_(&h80094012)
     2747Const CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE = _HRESULT_TYPEDEF_(&h80094013)
     2748Const CERTSRV_E_UNSUPPORTED_CERT_TYPE = _HRESULT_TYPEDEF_(&h80094800)
     2749Const CERTSRV_E_NO_CERT_TYPE = _HRESULT_TYPEDEF_(&h80094801)
     2750Const CERTSRV_E_TEMPLATE_CONFLICT = _HRESULT_TYPEDEF_(&h80094802)
     2751Const CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED = _HRESULT_TYPEDEF_(&h80094803)
     2752Const CERTSRV_E_ARCHIVED_KEY_REQUIRED = _HRESULT_TYPEDEF_(&h80094804)
     2753Const CERTSRV_E_SMIME_REQUIRED = _HRESULT_TYPEDEF_(&h80094805)
     2754Const CERTSRV_E_BAD_RENEWAL_SUBJECT = _HRESULT_TYPEDEF_(&h80094806)
     2755Const CERTSRV_E_BAD_TEMPLATE_VERSION = _HRESULT_TYPEDEF_(&h80094807)
     2756Const CERTSRV_E_TEMPLATE_POLICY_REQUIRED = _HRESULT_TYPEDEF_(&h80094808)
     2757Const CERTSRV_E_SIGNATURE_POLICY_REQUIRED = _HRESULT_TYPEDEF_(&h80094809)
     2758Const CERTSRV_E_SIGNATURE_COUNT = _HRESULT_TYPEDEF_(&h8009480A)
     2759Const CERTSRV_E_SIGNATURE_REJECTED = _HRESULT_TYPEDEF_(&h8009480B)
     2760Const CERTSRV_E_ISSUANCE_POLICY_REQUIRED = _HRESULT_TYPEDEF_(&h8009480C)
     2761Const CERTSRV_E_SUBJECT_UPN_REQUIRED = _HRESULT_TYPEDEF_(&h8009480D)
     2762Const CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED = _HRESULT_TYPEDEF_(&h8009480E)
     2763Const CERTSRV_E_SUBJECT_DNS_REQUIRED = _HRESULT_TYPEDEF_(&h8009480F)
     2764Const CERTSRV_E_ARCHIVED_KEY_UNEXPECTED = _HRESULT_TYPEDEF_(&h80094810)
     2765Const CERTSRV_E_KEY_LENGTH = _HRESULT_TYPEDEF_(&h80094811)
     2766Const CERTSRV_E_SUBJECT_EMAIL_REQUIRED = _HRESULT_TYPEDEF_(&h80094812)
     2767Const CERTSRV_E_UNKNOWN_CERT_TYPE = _HRESULT_TYPEDEF_(&h80094813)
     2768Const CERTSRV_E_CERT_TYPE_OVERLAP = _HRESULT_TYPEDEF_(&h80094814)
     2769Const XENROLL_E_KEY_NOT_EXPORTABLE = _HRESULT_TYPEDEF_(&h80095000)
     2770Const XENROLL_E_CANNOT_ADD_ROOT_CERT = _HRESULT_TYPEDEF_(&h80095001)
     2771Const XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND = _HRESULT_TYPEDEF_(&h80095002)
     2772Const XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH = _HRESULT_TYPEDEF_(&h80095003)
     2773Const XENROLL_E_RESPONSE_KA_HASH_MISMATCH = _HRESULT_TYPEDEF_(&h80095004)
     2774Const XENROLL_E_KEYSPEC_SMIME_MISMATCH = _HRESULT_TYPEDEF_(&h80095005)
     2775Const TRUST_E_SYSTEM_ERROR = _HRESULT_TYPEDEF_(&h80096001)
     2776Const TRUST_E_NO_SIGNER_CERT = _HRESULT_TYPEDEF_(&h80096002)
     2777Const TRUST_E_COUNTER_SIGNER = _HRESULT_TYPEDEF_(&h80096003)
     2778Const TRUST_E_CERT_SIGNATURE = _HRESULT_TYPEDEF_(&h80096004)
     2779Const TRUST_E_TIME_STAMP = _HRESULT_TYPEDEF_(&h80096005)
     2780Const TRUST_E_BAD_DIGEST = _HRESULT_TYPEDEF_(&h80096010)
     2781Const TRUST_E_BASIC_CONSTRAINTS = _HRESULT_TYPEDEF_(&h80096019)
     2782Const TRUST_E_FINANCIAL_CRITERIA = _HRESULT_TYPEDEF_(&h8009601E)
     2783Const MSSIPOTF_E_OUTOFMEMRANGE = _HRESULT_TYPEDEF_(&h80097001)
     2784Const MSSIPOTF_E_CANTGETOBJECT = _HRESULT_TYPEDEF_(&h80097002)
     2785Const MSSIPOTF_E_NOHEADTABLE = _HRESULT_TYPEDEF_(&h80097003)
     2786Const MSSIPOTF_E_BAD_MAGICNUMBER = _HRESULT_TYPEDEF_(&h80097004)
     2787Const MSSIPOTF_E_BAD_OFFSET_TABLE = _HRESULT_TYPEDEF_(&h80097005)
     2788Const MSSIPOTF_E_TABLE_TAGORDER = _HRESULT_TYPEDEF_(&h80097006)
     2789Const MSSIPOTF_E_TABLE_LONGWORD = _HRESULT_TYPEDEF_(&h80097007)
     2790Const MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT = _HRESULT_TYPEDEF_(&h80097008)
     2791Const MSSIPOTF_E_TABLES_OVERLAP = _HRESULT_TYPEDEF_(&h80097009)
     2792Const MSSIPOTF_E_TABLE_PADBYTES = _HRESULT_TYPEDEF_(&h8009700A)
     2793Const MSSIPOTF_E_FILETOOSMALL = _HRESULT_TYPEDEF_(&h8009700B)
     2794Const MSSIPOTF_E_TABLE_CHECKSUM = _HRESULT_TYPEDEF_(&h8009700C)
     2795Const MSSIPOTF_E_FILE_CHECKSUM = _HRESULT_TYPEDEF_(&h8009700D)
     2796Const MSSIPOTF_E_FAILED_POLICY = _HRESULT_TYPEDEF_(&h80097010)
     2797Const MSSIPOTF_E_FAILED_HINTS_CHECK = _HRESULT_TYPEDEF_(&h80097011)
     2798Const MSSIPOTF_E_NOT_OPENTYPE = _HRESULT_TYPEDEF_(&h80097012)
     2799Const MSSIPOTF_E_FILE = _HRESULT_TYPEDEF_(&h80097013)
     2800Const MSSIPOTF_E_CRYPT = _HRESULT_TYPEDEF_(&h80097014)
     2801Const MSSIPOTF_E_BADVERSION = _HRESULT_TYPEDEF_(&h80097015)
     2802Const MSSIPOTF_E_DSIG_STRUCTURE = _HRESULT_TYPEDEF_(&h80097016)
     2803Const MSSIPOTF_E_PCONST_CHECK = _HRESULT_TYPEDEF_(&h80097017)
     2804Const MSSIPOTF_E_STRUCTURE = _HRESULT_TYPEDEF_(&h80097018)
     2805Const NTE_OP_OK = 0
     2806Const TRUST_E_PROVIDER_UNKNOWN = _HRESULT_TYPEDEF_(&h800B0001)
     2807Const TRUST_E_ACTION_UNKNOWN = _HRESULT_TYPEDEF_(&h800B0002)
     2808Const TRUST_E_SUBJECT_FORM_UNKNOWN = _HRESULT_TYPEDEF_(&h800B0003)
     2809Const TRUST_E_SUBJECT_NOT_TRUSTED = _HRESULT_TYPEDEF_(&h800B0004)
     2810Const DIGSIG_E_ENCODE = _HRESULT_TYPEDEF_(&h800B0005)
     2811Const DIGSIG_E_DECODE = _HRESULT_TYPEDEF_(&h800B0006)
     2812Const DIGSIG_E_EXTENSIBILITY = _HRESULT_TYPEDEF_(&h800B0007)
     2813Const DIGSIG_E_CRYPTO = _HRESULT_TYPEDEF_(&h800B0008)
     2814Const PERSIST_E_SIZEDEFINITE = _HRESULT_TYPEDEF_(&h800B0009)
     2815Const PERSIST_E_SIZEINDEFINITE = _HRESULT_TYPEDEF_(&h800B000A)
     2816Const PERSIST_E_NOTSELFSIZING = _HRESULT_TYPEDEF_(&h800B000B)
     2817Const TRUST_E_NOSIGNATURE = _HRESULT_TYPEDEF_(&h800B0100)
     2818Const CERT_E_EXPIRED = _HRESULT_TYPEDEF_(&h800B0101)
     2819Const CERT_E_VALIDITYPERIODNESTING = _HRESULT_TYPEDEF_(&h800B0102)
     2820Const CERT_E_ROLE = _HRESULT_TYPEDEF_(&h800B0103)
     2821Const CERT_E_PATHLENCONST = _HRESULT_TYPEDEF_(&h800B0104)
     2822Const CERT_E_CRITICAL = _HRESULT_TYPEDEF_(&h800B0105)
     2823Const CERT_E_PURPOSE = _HRESULT_TYPEDEF_(&h800B0106)
     2824Const CERT_E_ISSUERCHAINING = _HRESULT_TYPEDEF_(&h800B0107)
     2825Const CERT_E_MALFORMED = _HRESULT_TYPEDEF_(&h800B0108)
     2826Const CERT_E_UNTRUSTEDROOT = _HRESULT_TYPEDEF_(&h800B0109)
     2827Const CERT_E_CHAINING = _HRESULT_TYPEDEF_(&h800B010A)
     2828Const TRUST_E_FAIL = _HRESULT_TYPEDEF_(&h800B010B)
     2829Const CERT_E_REVOKED = _HRESULT_TYPEDEF_(&h800B010C)
     2830Const CERT_E_UNTRUSTEDTESTROOT = _HRESULT_TYPEDEF_(&h800B010D)
     2831Const CERT_E_REVOCATION_FAILURE = _HRESULT_TYPEDEF_(&h800B010E)
     2832Const CERT_E_CN_NO_MATCH = _HRESULT_TYPEDEF_(&h800B010F)
     2833Const CERT_E_WRONG_USAGE = _HRESULT_TYPEDEF_(&h800B0110)
     2834Const TRUST_E_EXPLICIT_DISTRUST = _HRESULT_TYPEDEF_(&h800B0111)
     2835Const CERT_E_UNTRUSTEDCA = _HRESULT_TYPEDEF_(&h800B0112)
     2836Const CERT_E_INVALID_POLICY = _HRESULT_TYPEDEF_(&h800B0113)
     2837Const CERT_E_INVALID_NAME = _HRESULT_TYPEDEF_(&h800B0114)
     2838Function HRESULT_FROM_SETUPAPI(x As Long) As HRESULT
     2839    If x And (APPLICATION_ERROR_MASK Or ERROR_SEVERITY_ERROR) = (APPLICATION_ERROR_MASK Or ERROR_SEVERITY_ERROR) Then
     2840        HRESULT_FROM_SETUPAPI = (x And &h0000FFFF) Or (FACILITY_SETUPAPI << 16) Or &h80000000
     2841    Else
     2842        HRESULT_FROM_SETUPAPI = HRESULT_FROM_WIN32(x)
     2843    End If
     2844End Function
     2845Const SPAPI_E_EXPECTED_SECTION_NAME = _HRESULT_TYPEDEF_(&h800F0000)
     2846Const SPAPI_E_BAD_SECTION_NAME_LINE = _HRESULT_TYPEDEF_(&h800F0001)
     2847Const SPAPI_E_SECTION_NAME_TOO_LONG = _HRESULT_TYPEDEF_(&h800F0002)
     2848Const SPAPI_E_GENERAL_SYNTAX = _HRESULT_TYPEDEF_(&h800F0003)
     2849Const SPAPI_E_WRONG_INF_STYLE = _HRESULT_TYPEDEF_(&h800F0100)
     2850Const SPAPI_E_SECTION_NOT_FOUND = _HRESULT_TYPEDEF_(&h800F0101)
     2851Const SPAPI_E_LINE_NOT_FOUND = _HRESULT_TYPEDEF_(&h800F0102)
     2852Const SPAPI_E_NO_BACKUP = _HRESULT_TYPEDEF_(&h800F0103)
     2853Const SPAPI_E_NO_ASSOCIATED_CLASS = _HRESULT_TYPEDEF_(&h800F0200)
     2854Const SPAPI_E_CLASS_MISMATCH = _HRESULT_TYPEDEF_(&h800F0201)
     2855Const SPAPI_E_DUPLICATE_FOUND = _HRESULT_TYPEDEF_(&h800F0202)
     2856Const SPAPI_E_NO_DRIVER_SELECTED = _HRESULT_TYPEDEF_(&h800F0203)
     2857Const SPAPI_E_KEY_DOES_NOT_EXIST = _HRESULT_TYPEDEF_(&h800F0204)
     2858Const SPAPI_E_INVALID_DEVINST_NAME = _HRESULT_TYPEDEF_(&h800F0205)
     2859Const SPAPI_E_INVALID_CLASS = _HRESULT_TYPEDEF_(&h800F0206)
     2860Const SPAPI_E_DEVINST_ALREADY_EXISTS = _HRESULT_TYPEDEF_(&h800F0207)
     2861Const SPAPI_E_DEVINFO_NOT_REGISTERED = _HRESULT_TYPEDEF_(&h800F0208)
     2862Const SPAPI_E_INVALID_REG_PROPERTY = _HRESULT_TYPEDEF_(&h800F0209)
     2863Const SPAPI_E_NO_INF = _HRESULT_TYPEDEF_(&h800F020A)
     2864Const SPAPI_E_NO_SUCH_DEVINST = _HRESULT_TYPEDEF_(&h800F020B)
     2865Const SPAPI_E_CANT_LOAD_CLASS_ICON = _HRESULT_TYPEDEF_(&h800F020C)
     2866Const SPAPI_E_INVALID_CLASS_INSTALLER = _HRESULT_TYPEDEF_(&h800F020D)
     2867Const SPAPI_E_DI_DO_DEFAULT = _HRESULT_TYPEDEF_(&h800F020E)
     2868Const SPAPI_E_DI_NOFILECOPY = _HRESULT_TYPEDEF_(&h800F020F)
     2869Const SPAPI_E_INVALID_HWPROFILE = _HRESULT_TYPEDEF_(&h800F0210)
     2870Const SPAPI_E_NO_DEVICE_SELECTED = _HRESULT_TYPEDEF_(&h800F0211)
     2871Const SPAPI_E_DEVINFO_LIST_LOCKED = _HRESULT_TYPEDEF_(&h800F0212)
     2872Const SPAPI_E_DEVINFO_DATA_LOCKED = _HRESULT_TYPEDEF_(&h800F0213)
     2873Const SPAPI_E_DI_BAD_PATH = _HRESULT_TYPEDEF_(&h800F0214)
     2874Const SPAPI_E_NO_CLASSINSTALL_PARAMS = _HRESULT_TYPEDEF_(&h800F0215)
     2875Const SPAPI_E_FILEQUEUE_LOCKED = _HRESULT_TYPEDEF_(&h800F0216)
     2876Const SPAPI_E_BAD_SERVICE_INSTALLSECT = _HRESULT_TYPEDEF_(&h800F0217)
     2877Const SPAPI_E_NO_CLASS_DRIVER_LIST = _HRESULT_TYPEDEF_(&h800F0218)
     2878Const SPAPI_E_NO_ASSOCIATED_SERVICE = _HRESULT_TYPEDEF_(&h800F0219)
     2879Const SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE = _HRESULT_TYPEDEF_(&h800F021A)
     2880Const SPAPI_E_DEVICE_INTERFACE_ACTIVE = _HRESULT_TYPEDEF_(&h800F021B)
     2881Const SPAPI_E_DEVICE_INTERFACE_REMOVED = _HRESULT_TYPEDEF_(&h800F021C)
     2882Const SPAPI_E_BAD_INTERFACE_INSTALLSECT = _HRESULT_TYPEDEF_(&h800F021D)
     2883Const SPAPI_E_NO_SUCH_INTERFACE_CLASS = _HRESULT_TYPEDEF_(&h800F021E)
     2884Const SPAPI_E_INVALID_REFERENCE_STRING = _HRESULT_TYPEDEF_(&h800F021F)
     2885Const SPAPI_E_INVALID_MACHINENAME = _HRESULT_TYPEDEF_(&h800F0220)
     2886Const SPAPI_E_REMOTE_COMM_FAILURE = _HRESULT_TYPEDEF_(&h800F0221)
     2887Const SPAPI_E_MACHINE_UNAVAILABLE = _HRESULT_TYPEDEF_(&h800F0222)
     2888Const SPAPI_E_NO_CONFIGMGR_SERVICES = _HRESULT_TYPEDEF_(&h800F0223)
     2889Const SPAPI_E_INVALID_PROPPAGE_PROVIDER = _HRESULT_TYPEDEF_(&h800F0224)
     2890Const SPAPI_E_NO_SUCH_DEVICE_INTERFACE = _HRESULT_TYPEDEF_(&h800F0225)
     2891Const SPAPI_E_DI_POSTPROCESSING_REQUIRED = _HRESULT_TYPEDEF_(&h800F0226)
     2892Const SPAPI_E_INVALID_COINSTALLER = _HRESULT_TYPEDEF_(&h800F0227)
     2893Const SPAPI_E_NO_COMPAT_DRIVERS = _HRESULT_TYPEDEF_(&h800F0228)
     2894Const SPAPI_E_NO_DEVICE_ICON = _HRESULT_TYPEDEF_(&h800F0229)
     2895Const SPAPI_E_INVALID_INF_LOGCONFIG = _HRESULT_TYPEDEF_(&h800F022A)
     2896Const SPAPI_E_DI_DONT_INSTALL = _HRESULT_TYPEDEF_(&h800F022B)
     2897Const SPAPI_E_INVALID_FILTER_DRIVER = _HRESULT_TYPEDEF_(&h800F022C)
     2898Const SPAPI_E_NON_WINDOWS_NT_DRIVER = _HRESULT_TYPEDEF_(&h800F022D)
     2899Const SPAPI_E_NON_WINDOWS_DRIVER = _HRESULT_TYPEDEF_(&h800F022E)
     2900Const SPAPI_E_NO_CATALOG_FOR_OEM_INF = _HRESULT_TYPEDEF_(&h800F022F)
     2901Const SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE = _HRESULT_TYPEDEF_(&h800F0230)
     2902Const SPAPI_E_NOT_DISABLEABLE = _HRESULT_TYPEDEF_(&h800F0231)
     2903Const SPAPI_E_CANT_REMOVE_DEVINST = _HRESULT_TYPEDEF_(&h800F0232)
     2904Const SPAPI_E_INVALID_TARGET = _HRESULT_TYPEDEF_(&h800F0233)
     2905Const SPAPI_E_DRIVER_NONNATIVE = _HRESULT_TYPEDEF_(&h800F0234)
     2906Const SPAPI_E_IN_WOW64 = _HRESULT_TYPEDEF_(&h800F0235)
     2907Const SPAPI_E_SET_SYSTEM_RESTORE_POINT = _HRESULT_TYPEDEF_(&h800F0236)
     2908Const SPAPI_E_INCORRECTLY_COPIED_INF = _HRESULT_TYPEDEF_(&h800F0237)
     2909Const SPAPI_E_SCE_DISABLED = _HRESULT_TYPEDEF_(&h800F0238)
     2910Const SPAPI_E_UNKNOWN_EXCEPTION = _HRESULT_TYPEDEF_(&h800F0239)
     2911Const SPAPI_E_PNP_REGISTRY_ERROR = _HRESULT_TYPEDEF_(&h800F023A)
     2912Const SPAPI_E_REMOTE_REQUEST_UNSUPPORTED = _HRESULT_TYPEDEF_(&h800F023B)
     2913Const SPAPI_E_NOT_AN_INSTALLED_OEM_INF = _HRESULT_TYPEDEF_(&h800F023C)
     2914Const SPAPI_E_INF_IN_USE_BY_DEVICES = _HRESULT_TYPEDEF_(&h800F023D)
     2915Const SPAPI_E_DI_FUNCTION_OBSOLETE = _HRESULT_TYPEDEF_(&h800F023E)
     2916Const SPAPI_E_NO_AUTHENTICODE_CATALOG = _HRESULT_TYPEDEF_(&h800F023F)
     2917Const SPAPI_E_AUTHENTICODE_DISALLOWED = _HRESULT_TYPEDEF_(&h800F0240)
     2918Const SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER = _HRESULT_TYPEDEF_(&h800F0241)
     2919Const SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED = _HRESULT_TYPEDEF_(&h800F0242)
     2920Const SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED = _HRESULT_TYPEDEF_(&h800F0243)
     2921Const SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH = _HRESULT_TYPEDEF_(&h800F0244)
     2922Const SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE = _HRESULT_TYPEDEF_(&h800F0245)
     2923Const SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW = _HRESULT_TYPEDEF_(&h800F0300)
     2924Const SPAPI_E_ERROR_NOT_INSTALLED = _HRESULT_TYPEDEF_(&h800F1000)
     2925Const SCARD_S_SUCCESS = NO_ERROR
     2926Const SCARD_F_INTERNAL_ERROR = _HRESULT_TYPEDEF_(&h80100001)
     2927Const SCARD_E_CANCELLED = _HRESULT_TYPEDEF_(&h80100002)
     2928Const SCARD_E_INVALID_HANDLE = _HRESULT_TYPEDEF_(&h80100003)
     2929Const SCARD_E_INVALID_PARAMETER = _HRESULT_TYPEDEF_(&h80100004)
     2930Const SCARD_E_INVALID_TARGET = _HRESULT_TYPEDEF_(&h80100005)
     2931Const SCARD_E_NO_MEMORY = _HRESULT_TYPEDEF_(&h80100006)
     2932Const SCARD_F_WAITED_TOO_LONG = _HRESULT_TYPEDEF_(&h80100007)
     2933Const SCARD_E_INSUFFICIENT_BUFFER = _HRESULT_TYPEDEF_(&h80100008)
     2934Const SCARD_E_UNKNOWN_READER = _HRESULT_TYPEDEF_(&h80100009)
     2935Const SCARD_E_TIMEOUT = _HRESULT_TYPEDEF_(&h8010000A)
     2936Const SCARD_E_SHARING_VIOLATION = _HRESULT_TYPEDEF_(&h8010000B)
     2937Const SCARD_E_NO_SMARTCARD = _HRESULT_TYPEDEF_(&h8010000C)
     2938Const SCARD_E_UNKNOWN_CARD = _HRESULT_TYPEDEF_(&h8010000D)
     2939Const SCARD_E_CANT_DISPOSE = _HRESULT_TYPEDEF_(&h8010000E)
     2940Const SCARD_E_PROTO_MISMATCH = _HRESULT_TYPEDEF_(&h8010000F)
     2941Const SCARD_E_NOT_READY = _HRESULT_TYPEDEF_(&h80100010)
     2942Const SCARD_E_INVALID_VALUE = _HRESULT_TYPEDEF_(&h80100011)
     2943Const SCARD_E_SYSTEM_CANCELLED = _HRESULT_TYPEDEF_(&h80100012)
     2944Const SCARD_F_COMM_ERROR = _HRESULT_TYPEDEF_(&h80100013)
     2945Const SCARD_F_UNKNOWN_ERROR = _HRESULT_TYPEDEF_(&h80100014)
     2946Const SCARD_E_INVALID_ATR = _HRESULT_TYPEDEF_(&h80100015)
     2947Const SCARD_E_NOT_TRANSACTED = _HRESULT_TYPEDEF_(&h80100016)
     2948Const SCARD_E_READER_UNAVAILABLE = _HRESULT_TYPEDEF_(&h80100017)
     2949Const SCARD_P_SHUTDOWN = _HRESULT_TYPEDEF_(&h80100018)
     2950Const SCARD_E_PCI_TOO_SMALL = _HRESULT_TYPEDEF_(&h80100019)
     2951Const SCARD_E_READER_UNSUPPORTED = _HRESULT_TYPEDEF_(&h8010001A)
     2952Const SCARD_E_DUPLICATE_READER = _HRESULT_TYPEDEF_(&h8010001B)
     2953Const SCARD_E_CARD_UNSUPPORTED = _HRESULT_TYPEDEF_(&h8010001C)
     2954Const SCARD_E_NO_SERVICE = _HRESULT_TYPEDEF_(&h8010001D)
     2955Const SCARD_E_SERVICE_STOPPED = _HRESULT_TYPEDEF_(&h8010001E)
     2956Const SCARD_E_UNEXPECTED = _HRESULT_TYPEDEF_(&h8010001F)
     2957Const SCARD_E_ICC_INSTALLATION = _HRESULT_TYPEDEF_(&h80100020)
     2958Const SCARD_E_ICC_CREATEORDER = _HRESULT_TYPEDEF_(&h80100021)
     2959Const SCARD_E_UNSUPPORTED_FEATURE = _HRESULT_TYPEDEF_(&h80100022)
     2960Const SCARD_E_DIR_NOT_FOUND = _HRESULT_TYPEDEF_(&h80100023)
     2961Const SCARD_E_FILE_NOT_FOUND = _HRESULT_TYPEDEF_(&h80100024)
     2962Const SCARD_E_NO_DIR = _HRESULT_TYPEDEF_(&h80100025)
     2963Const SCARD_E_NO_FILE = _HRESULT_TYPEDEF_(&h80100026)
     2964Const SCARD_E_NO_ACCESS = _HRESULT_TYPEDEF_(&h80100027)
     2965Const SCARD_E_WRITE_TOO_MANY = _HRESULT_TYPEDEF_(&h80100028)
     2966Const SCARD_E_BAD_SEEK = _HRESULT_TYPEDEF_(&h80100029)
     2967Const SCARD_E_INVALID_CHV = _HRESULT_TYPEDEF_(&h8010002A)
     2968Const SCARD_E_UNKNOWN_RES_MNG = _HRESULT_TYPEDEF_(&h8010002B)
     2969Const SCARD_E_NO_SUCH_CERTIFICATE = _HRESULT_TYPEDEF_(&h8010002C)
     2970Const SCARD_E_CERTIFICATE_UNAVAILABLE = _HRESULT_TYPEDEF_(&h8010002D)
     2971Const SCARD_E_NO_READERS_AVAILABLE = _HRESULT_TYPEDEF_(&h8010002E)
     2972Const SCARD_E_COMM_DATA_LOST = _HRESULT_TYPEDEF_(&h8010002F)
     2973Const SCARD_E_NO_KEY_CONTAINER = _HRESULT_TYPEDEF_(&h80100030)
     2974Const SCARD_E_SERVER_TOO_BUSY = _HRESULT_TYPEDEF_(&h80100031)
     2975Const SCARD_W_UNSUPPORTED_CARD = _HRESULT_TYPEDEF_(&h80100065)
     2976Const SCARD_W_UNRESPONSIVE_CARD = _HRESULT_TYPEDEF_(&h80100066)
     2977Const SCARD_W_UNPOWERED_CARD = _HRESULT_TYPEDEF_(&h80100067)
     2978Const SCARD_W_RESET_CARD = _HRESULT_TYPEDEF_(&h80100068)
     2979Const SCARD_W_REMOVED_CARD = _HRESULT_TYPEDEF_(&h80100069)
     2980Const SCARD_W_SECURITY_VIOLATION = _HRESULT_TYPEDEF_(&h8010006A)
     2981Const SCARD_W_WRONG_CHV = _HRESULT_TYPEDEF_(&h8010006B)
     2982Const SCARD_W_CHV_BLOCKED = _HRESULT_TYPEDEF_(&h8010006C)
     2983Const SCARD_W_EOF = _HRESULT_TYPEDEF_(&h8010006D)
     2984Const SCARD_W_CANCELLED_BY_USER = _HRESULT_TYPEDEF_(&h8010006E)
     2985Const SCARD_W_CARD_NOT_AUTHENTICATED = _HRESULT_TYPEDEF_(&h8010006F)
     2986Const COMADMIN_E_OBJECTERRORS = _HRESULT_TYPEDEF_(&h80110401)
     2987Const COMADMIN_E_OBJECTINVALID = _HRESULT_TYPEDEF_(&h80110402)
     2988Const COMADMIN_E_KEYMISSING = _HRESULT_TYPEDEF_(&h80110403)
     2989Const COMADMIN_E_ALREADYINSTALLED = _HRESULT_TYPEDEF_(&h80110404)
     2990Const COMADMIN_E_APP_FILE_WRITEFAIL = _HRESULT_TYPEDEF_(&h80110407)
     2991Const COMADMIN_E_APP_FILE_READFAIL = _HRESULT_TYPEDEF_(&h80110408)
     2992Const COMADMIN_E_APP_FILE_VERSION = _HRESULT_TYPEDEF_(&h80110409)
     2993Const COMADMIN_E_BADPATH = _HRESULT_TYPEDEF_(&h8011040A)
     2994Const COMADMIN_E_APPLICATIONEXISTS = _HRESULT_TYPEDEF_(&h8011040B)
     2995Const COMADMIN_E_ROLEEXISTS = _HRESULT_TYPEDEF_(&h8011040C)
     2996Const COMADMIN_E_CANTCOPYFILE = _HRESULT_TYPEDEF_(&h8011040D)
     2997Const COMADMIN_E_NOUSER = _HRESULT_TYPEDEF_(&h8011040F)
     2998Const COMADMIN_E_INVALIDUSERIDS = _HRESULT_TYPEDEF_(&h80110410)
     2999Const COMADMIN_E_NOREGISTRYCLSID = _HRESULT_TYPEDEF_(&h80110411)
     3000Const COMADMIN_E_BADREGISTRYPROGID = _HRESULT_TYPEDEF_(&h80110412)
     3001Const COMADMIN_E_AUTHENTICATIONLEVEL = _HRESULT_TYPEDEF_(&h80110413)
     3002Const COMADMIN_E_USERPASSWDNOTVALID = _HRESULT_TYPEDEF_(&h80110414)
     3003Const COMADMIN_E_CLSIDORIIDMISMATCH = _HRESULT_TYPEDEF_(&h80110418)
     3004Const COMADMIN_E_REMOTEINTERFACE = _HRESULT_TYPEDEF_(&h80110419)
     3005Const COMADMIN_E_DLLREGISTERSERVER = _HRESULT_TYPEDEF_(&h8011041A)
     3006Const COMADMIN_E_NOSERVERSHARE = _HRESULT_TYPEDEF_(&h8011041B)
     3007Const COMADMIN_E_DLLLOADFAILED = _HRESULT_TYPEDEF_(&h8011041D)
     3008Const COMADMIN_E_BADREGISTRYLIBID = _HRESULT_TYPEDEF_(&h8011041E)
     3009Const COMADMIN_E_APPDIRNOTFOUND = _HRESULT_TYPEDEF_(&h8011041F)
     3010Const COMADMIN_E_REGISTRARFAILED = _HRESULT_TYPEDEF_(&h80110423)
     3011Const COMADMIN_E_COMPFILE_DOESNOTEXIST = _HRESULT_TYPEDEF_(&h80110424)
     3012Const COMADMIN_E_COMPFILE_LOADDLLFAIL = _HRESULT_TYPEDEF_(&h80110425)
     3013Const COMADMIN_E_COMPFILE_GETCLASSOBJ = _HRESULT_TYPEDEF_(&h80110426)
     3014Const COMADMIN_E_COMPFILE_CLASSNOTAVAIL = _HRESULT_TYPEDEF_(&h80110427)
     3015Const COMADMIN_E_COMPFILE_BADTLB = _HRESULT_TYPEDEF_(&h80110428)
     3016Const COMADMIN_E_COMPFILE_NOTINSTALLABLE = _HRESULT_TYPEDEF_(&h80110429)
     3017Const COMADMIN_E_NOTCHANGEABLE = _HRESULT_TYPEDEF_(&h8011042A)
     3018Const COMADMIN_E_NOTDELETEABLE = _HRESULT_TYPEDEF_(&h8011042B)
     3019Const COMADMIN_E_SESSION = _HRESULT_TYPEDEF_(&h8011042C)
     3020Const COMADMIN_E_COMP_MOVE_LOCKED = _HRESULT_TYPEDEF_(&h8011042D)
     3021Const COMADMIN_E_COMP_MOVE_BAD_DEST = _HRESULT_TYPEDEF_(&h8011042E)
     3022Const COMADMIN_E_REGISTERTLB = _HRESULT_TYPEDEF_(&h80110430)
     3023Const COMADMIN_E_SYSTEMAPP = _HRESULT_TYPEDEF_(&h80110433)
     3024Const COMADMIN_E_COMPFILE_NOREGISTRAR = _HRESULT_TYPEDEF_(&h80110434)
     3025Const COMADMIN_E_COREQCOMPINSTALLED = _HRESULT_TYPEDEF_(&h80110435)
     3026Const COMADMIN_E_SERVICENOTINSTALLED = _HRESULT_TYPEDEF_(&h80110436)
     3027Const COMADMIN_E_PROPERTYSAVEFAILED = _HRESULT_TYPEDEF_(&h80110437)
     3028Const COMADMIN_E_OBJECTEXISTS = _HRESULT_TYPEDEF_(&h80110438)
     3029Const COMADMIN_E_COMPONENTEXISTS = _HRESULT_TYPEDEF_(&h80110439)
     3030Const COMADMIN_E_REGFILE_CORRUPT = _HRESULT_TYPEDEF_(&h8011043B)
     3031Const COMADMIN_E_PROPERTY_OVERFLOW = _HRESULT_TYPEDEF_(&h8011043C)
     3032Const COMADMIN_E_NOTINREGISTRY = _HRESULT_TYPEDEF_(&h8011043E)
     3033Const COMADMIN_E_OBJECTNOTPOOLABLE = _HRESULT_TYPEDEF_(&h8011043F)
     3034Const COMADMIN_E_APPLID_MATCHES_CLSID = _HRESULT_TYPEDEF_(&h80110446)
     3035Const COMADMIN_E_ROLE_DOES_NOT_EXIST = _HRESULT_TYPEDEF_(&h80110447)
     3036Const COMADMIN_E_START_APP_NEEDS_COMPONENTS = _HRESULT_TYPEDEF_(&h80110448)
     3037Const COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM = _HRESULT_TYPEDEF_(&h80110449)
     3038Const COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY = _HRESULT_TYPEDEF_(&h8011044A)
     3039Const COMADMIN_E_CAN_NOT_START_APP = _HRESULT_TYPEDEF_(&h8011044B)
     3040Const COMADMIN_E_CAN_NOT_EXPORT_SYS_APP = _HRESULT_TYPEDEF_(&h8011044C)
     3041Const COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT = _HRESULT_TYPEDEF_(&h8011044D)
     3042Const COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER = _HRESULT_TYPEDEF_(&h8011044E)
     3043Const COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE = _HRESULT_TYPEDEF_(&h8011044F)
     3044Const COMADMIN_E_BASE_PARTITION_ONLY = _HRESULT_TYPEDEF_(&h80110450)
     3045Const COMADMIN_E_START_APP_DISABLED = _HRESULT_TYPEDEF_(&h80110451)
     3046Const COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME = _HRESULT_TYPEDEF_(&h80110457)
     3047Const COMADMIN_E_CAT_INVALID_PARTITION_NAME = _HRESULT_TYPEDEF_(&h80110458)
     3048Const COMADMIN_E_CAT_PARTITION_IN_USE = _HRESULT_TYPEDEF_(&h80110459)
     3049Const COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES = _HRESULT_TYPEDEF_(&h8011045A)
     3050Const COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED = _HRESULT_TYPEDEF_(&h8011045B)
     3051Const COMADMIN_E_AMBIGUOUS_APPLICATION_NAME = _HRESULT_TYPEDEF_(&h8011045C)
     3052Const COMADMIN_E_AMBIGUOUS_PARTITION_NAME = _HRESULT_TYPEDEF_(&h8011045D)
     3053Const COMADMIN_E_REGDB_NOTINITIALIZED = _HRESULT_TYPEDEF_(&h80110472)
     3054Const COMADMIN_E_REGDB_NOTOPEN = _HRESULT_TYPEDEF_(&h80110473)
     3055Const COMADMIN_E_REGDB_SYSTEMERR = _HRESULT_TYPEDEF_(&h80110474)
     3056Const COMADMIN_E_REGDB_ALREADYRUNNING = _HRESULT_TYPEDEF_(&h80110475)
     3057Const COMADMIN_E_MIG_VERSIONNOTSUPPORTED = _HRESULT_TYPEDEF_(&h80110480)
     3058Const COMADMIN_E_MIG_SCHEMANOTFOUND = _HRESULT_TYPEDEF_(&h80110481)
     3059Const COMADMIN_E_CAT_BITNESSMISMATCH = _HRESULT_TYPEDEF_(&h80110482)
     3060Const COMADMIN_E_CAT_UNACCEPTABLEBITNESS = _HRESULT_TYPEDEF_(&h80110483)
     3061Const COMADMIN_E_CAT_WRONGAPPBITNESS = _HRESULT_TYPEDEF_(&h80110484)
     3062Const COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED = _HRESULT_TYPEDEF_(&h80110485)
     3063Const COMADMIN_E_CAT_SERVERFAULT = _HRESULT_TYPEDEF_(&h80110486)
     3064Const COMQC_E_APPLICATION_NOT_QUEUED = _HRESULT_TYPEDEF_(&h80110600)
     3065Const COMQC_E_NO_QUEUEABLE_INTERFACES = _HRESULT_TYPEDEF_(&h80110601)
     3066Const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE = _HRESULT_TYPEDEF_(&h80110602)
     3067Const COMQC_E_NO_IPERSISTSTREAM = _HRESULT_TYPEDEF_(&h80110603)
     3068Const COMQC_E_BAD_MESSAGE = _HRESULT_TYPEDEF_(&h80110604)
     3069Const COMQC_E_UNAUTHENTICATED = _HRESULT_TYPEDEF_(&h80110605)
     3070Const COMQC_E_UNTRUSTED_ENQUEUER = _HRESULT_TYPEDEF_(&h80110606)
     3071Const MSDTC_E_DUPLICATE_RESOURCE = _HRESULT_TYPEDEF_(&h80110701)
     3072Const COMADMIN_E_OBJECT_PARENT_MISSING = _HRESULT_TYPEDEF_(&h80110808)
     3073Const COMADMIN_E_OBJECT_DOES_NOT_EXIST = _HRESULT_TYPEDEF_(&h80110809)
     3074Const COMADMIN_E_APP_NOT_RUNNING = _HRESULT_TYPEDEF_(&h8011080A)
     3075Const COMADMIN_E_INVALID_PARTITION = _HRESULT_TYPEDEF_(&h8011080B)
     3076Const COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE = _HRESULT_TYPEDEF_(&h8011080D)
     3077Const COMADMIN_E_USER_IN_SET = _HRESULT_TYPEDEF_(&h8011080E)
     3078Const COMADMIN_E_CANTRECYCLELIBRARYAPPS = _HRESULT_TYPEDEF_(&h8011080F)
     3079Const COMADMIN_E_CANTRECYCLESERVICEAPPS = _HRESULT_TYPEDEF_(&h80110811)
     3080Const COMADMIN_E_PROCESSALREADYRECYCLED = _HRESULT_TYPEDEF_(&h80110812)
     3081Const COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED = _HRESULT_TYPEDEF_(&h80110813)
     3082Const COMADMIN_E_CANTMAKEINPROCSERVICE = _HRESULT_TYPEDEF_(&h80110814)
     3083Const COMADMIN_E_PROGIDINUSEBYCLSID = _HRESULT_TYPEDEF_(&h80110815)
     3084Const COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET = _HRESULT_TYPEDEF_(&h80110816)
     3085Const COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED = _HRESULT_TYPEDEF_(&h80110817)
     3086Const COMADMIN_E_PARTITION_ACCESSDENIED = _HRESULT_TYPEDEF_(&h80110818)
     3087Const COMADMIN_E_PARTITION_MSI_ONLY = _HRESULT_TYPEDEF_(&h80110819)
     3088Const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT = _HRESULT_TYPEDEF_(&h8011081A)
     3089Const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS = _HRESULT_TYPEDEF_(&h8011081B)
     3090Const COMADMIN_E_COMP_MOVE_SOURCE = _HRESULT_TYPEDEF_(&h8011081C)
     3091Const COMADMIN_E_COMP_MOVE_DEST = _HRESULT_TYPEDEF_(&h8011081D)
     3092Const COMADMIN_E_COMP_MOVE_PRIVATE = _HRESULT_TYPEDEF_(&h8011081E)
     3093Const COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET = _HRESULT_TYPEDEF_(&h8011081F)
     3094Const COMADMIN_E_CANNOT_ALIAS_EVENTCLASS = _HRESULT_TYPEDEF_(&h80110820)
     3095Const COMADMIN_E_PRIVATE_ACCESSDENIED = _HRESULT_TYPEDEF_(&h80110821)
     3096Const COMADMIN_E_SAFERINVALID = _HRESULT_TYPEDEF_(&h80110822)
     3097Const COMADMIN_E_REGISTRY_ACCESSDENIED = _HRESULT_TYPEDEF_(&h80110823)
     3098Const COMADMIN_E_PARTITIONS_DISABLED = _HRESULT_TYPEDEF_(&h80110824)
    463099
    473100#endif '_INC_WINERROR
  • Include/basic.sbp

    r1 r35  
    4949TypeDef ULONG_PTR = QWord
    5050TypeDef HALF_PTR = Long
    51 TypeDef UHALF_PTR = DWORD
     51TypeDef UHALF_PTR = DWord
    5252#else
    5353TypeDef LONG_PTR = Long
Note: See TracChangeset for help on using the changeset viewer.