Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

WINERROR (Constants)
 
.

Codes from WinError.h

using System;

namespace Microsoft.Win32.Interop

{

    public class ResultWin32
    {
        public const int ERROR_SUCCESS = 0;
        public const int ERROR_INVALID_FUNCTION = 1;
        public const int ERROR_FILE_NOT_FOUND = 2;
        public const int ERROR_PATH_NOT_FOUND = 3;
        public const int ERROR_TOO_MANY_OPEN_FILES = 4;
        public const int ERROR_ACCESS_DENIED = 5;
        public const int ERROR_INVALID_HANDLE = 6;
        public const int ERROR_ARENA_TRASHED = 7;
        public const int ERROR_NOT_ENOUGH_MEMORY = 8;
        public const int ERROR_INVALID_BLOCK = 9;
        public const int ERROR_BAD_ENVIRONMENT = 10;
        public const int ERROR_BAD_FORMAT = 11;
        public const int ERROR_INVALID_ACCESS = 12;
        public const int ERROR_INVALID_DATA = 13;
        public const int ERROR_OUTOFMEMORY = 14;
        public const int ERROR_INVALID_DRIVE = 15;
        public const int ERROR_CURRENT_DIRECTORY = 16;
        public const int ERROR_NOT_SAME_DEVICE = 17;
        public const int ERROR_NO_MORE_FILES = 18;
        public const int ERROR_WRITE_PROTECT = 19;
        public const int ERROR_BAD_UNIT = 20;
        public const int ERROR_NOT_READY = 21;
        public const int ERROR_BAD_COMMAND = 22;
        public const int ERROR_CRC = 23;
        public const int ERROR_BAD_LENGTH = 24;
        public const int ERROR_SEEK = 25;
        public const int ERROR_NOT_DOS_DISK = 26;
        public const int ERROR_SECTOR_NOT_FOUND = 27;
        public const int ERROR_OUT_OF_PAPER = 28;
        public const int ERROR_WRITE_FAULT = 29;
        public const int ERROR_READ_FAULT = 30;
        public const int ERROR_GEN_FAILURE = 31;
        public const int ERROR_SHARING_VIOLATION = 32;
        public const int ERROR_LOCK_VIOLATION = 33;
        public const int ERROR_WRONG_DISK = 34;
        public const int ERROR_SHARING_BUFFER_EXCEEDED = 36;
        public const int ERROR_HANDLE_EOF = 38;
        public const int ERROR_HANDLE_DISK_FULL = 39;
        public const int ERROR_NOT_SUPPORTED = 50;
        public const int ERROR_REM_NOT_LIST = 51;
        public const int ERROR_DUP_NAME = 52;
        public const int ERROR_BAD_NETPATH = 53;
        public const int ERROR_NETWORK_BUSY = 54;
        public const int ERROR_DEV_NOT_EXIST = 55;
        public const int ERROR_TOO_MANY_CMDS = 56;
        public const int ERROR_ADAP_HDW_ERR = 57;
        public const int ERROR_BAD_NET_RESP = 58;
        public const int ERROR_UNEXP_NET_ERR = 59;
        public const int ERROR_BAD_REM_ADAP = 60;
        public const int ERROR_PRINTQ_FULL = 61;
        public const int ERROR_NO_SPOOL_SPACE = 62;
        public const int ERROR_PRINT_CANCELLED = 63;
        public const int ERROR_NETNAME_DELETED = 64;
        public const int ERROR_NETWORK_ACCESS_DENIED = 65;
        public const int ERROR_BAD_DEV_TYPE = 66;
        public const int ERROR_BAD_NET_NAME = 67;
        public const int ERROR_TOO_MANY_NAMES = 68;
        public const int ERROR_TOO_MANY_SESS = 69;
        public const int ERROR_SHARING_PAUSED = 70;
        public const int ERROR_REQ_NOT_ACCEP = 71;
        public const int ERROR_REDIR_PAUSED = 72;
        public const int ERROR_FILE_EXISTS = 80;
        public const int ERROR_CANNOT_MAKE = 82;
        public const int ERROR_FAIL_I24 = 83;
        public const int ERROR_OUT_OF_STRUCTURES = 84;
        public const int ERROR_ALREADY_ASSIGNED = 85;
        public const int ERROR_INVALID_PASSUInt16 = 86;
        public const int ERROR_INVALID_PARAMETER = 87;
        public const int ERROR_NET_WRITE_FAULT = 88;
        public const int ERROR_NO_PROC_SLOTS = 89;
        public const int ERROR_TOO_MANY_SEMAPHORES = 100;
        public const int ERROR_EXCL_SEM_ALREADY_OWNED = 101;
        public const int ERROR_SEM_IS_SET = 102;
        public const int ERROR_TOO_MANY_SEM_REQUESTS = 103;
        public const int ERROR_INVALID_AT_INTERRUPT_TIME = 104;
        public const int ERROR_SEM_OWNER_DIED = 105;
        public const int ERROR_SEM_USER_LIMIT = 106;
        public const int ERROR_DISK_CHANGE = 107;
        public const int ERROR_DRIVE_LOCKED = 108;
        public const int ERROR_BROKEN_PIPE = 109;
        public const int ERROR_OPEN_FAILED = 110;
        public const int ERROR_BUFFER_OVERFLOW = 111;
        public const int ERROR_DISK_FULL = 112;
        public const int ERROR_NO_MORE_SEARCH_HANDLES = 113;
        public const int ERROR_INVALID_TARGET_HANDLE = 114;
        public const int ERROR_INVALID_CATEGORY = 117;
        public const int ERROR_INVALID_VERIFY_SWITCH = 118;
        public const int ERROR_BAD_DRIVER_LEVEL = 119;
        public const int ERROR_CALL_NOT_IMPLEMENTED = 120;
        public const int ERROR_SEM_TIMEOUT = 121;
        public const int ERROR_INSUFFICIENT_BUFFER = 122;
        public const int ERROR_INVALID_NAME = 123;
        public const int ERROR_INVALID_LEVEL = 124;
        public const int ERROR_NO_VOLUME_LABEL = 125;
        public const int ERROR_MOD_NOT_FOUND = 126;
        public const int ERROR_PROC_NOT_FOUND = 127;
        public const int ERROR_WAIT_NO_CHILDREN = 128;
        public const int ERROR_CHILD_NOT_COMPLETE = 129;
        public const int ERROR_DIRECT_ACCESS_HANDLE = 130;
        public const int ERROR_NEGATIVE_SEEK = 131;
        public const int ERROR_SEEK_ON_DEVICE = 132;
        public const int ERROR_IS_JOIN_TARGET = 133;
        public const int ERROR_IS_JOINED = 134;
        public const int ERROR_IS_SUBSTED = 135;
        public const int ERROR_NOT_JOINED = 136;
        public const int ERROR_NOT_SUBSTED = 137;
        public const int ERROR_JOIN_TO_JOIN = 138;
        public const int ERROR_SUBST_TO_SUBST = 139;
        public const int ERROR_JOIN_TO_SUBST = 140;
        public const int ERROR_SUBST_TO_JOIN = 141;
        public const int ERROR_BUSY_DRIVE = 142;
        public const int ERROR_SAME_DRIVE = 143;
        public const int ERROR_DIR_NOT_ROOT = 144;
        public const int ERROR_DIR_NOT_EMPTY = 145;
        public const int ERROR_IS_SUBST_PATH = 146;
        public const int ERROR_IS_JOIN_PATH = 147;
        public const int ERROR_PATH_BUSY = 148;
        public const int ERROR_IS_SUBST_TARGET = 149;
        public const int ERROR_SYSTEM_TRACE = 150;
        public const int ERROR_INVALID_EVENT_COUNT = 151;
        public const int ERROR_TOO_MANY_MUXWAITERS = 152;
        public const int ERROR_INVALID_LIST_FORMAT = 153;
        public const int ERROR_LABEL_TOO_Int32 = 154;
        public const int ERROR_TOO_MANY_TCBS = 155;
        public const int ERROR_SIGNAL_REFUSED = 156;
        public const int ERROR_DISCARDED = 157;
        public const int ERROR_NOT_LOCKED = 158;
        public const int ERROR_BAD_THREADID_ADDR = 159;
        public const int ERROR_BAD_ARGUMENTS = 160;
        public const int ERROR_BAD_PATHNAME = 161;
        public const int ERROR_SIGNAL_PENDING = 162;
        public const int ERROR_MAX_THRDS_REACHED = 164;
        public const int ERROR_LOCK_FAILED = 167;
        public const int ERROR_BUSY = 170;
        public const int ERROR_CANCEL_VIOLATION = 173;
        public const int ERROR_ATOMIC_LOCKS_NOT_SUPPORTED = 174;
        public const int ERROR_INVALID_SEGMENT_NUMBER = 180;
        public const int ERROR_INVALID_ORDINAL = 182;
        public const int ERROR_ALREADY_EXISTS = 183;
        public const int ERROR_INVALID_FLAG_NUMBER = 186;
        public const int ERROR_SEM_NOT_FOUND = 187;
        public const int ERROR_INVALID_STARTING_CODESEG = 188;
        public const int ERROR_INVALID_STACKSEG = 189;
        public const int ERROR_INVALID_MODULETYPE = 190;
        public const int ERROR_INVALID_EXE_SIGNATURE = 191;
        public const int ERROR_EXE_MARKED_INVALID = 192;
        public const int ERROR_BAD_EXE_FORMAT = 193;
        public const int ERROR_ITERATED_DATA_EXCEEDS_64k = 194;
        public const int ERROR_INVALID_MINALLOCSIZE = 195;
        public const int ERROR_DYNLINK_FROM_INVALID_RING = 196;
        public const int ERROR_IOPL_NOT_ENABLED = 197;
        public const int ERROR_INVALID_SEGDPL = 198;
        public const int ERROR_AUTODATASEG_EXCEEDS_64k = 199;
        public const int ERROR_RING2SEG_MUST_BE_MOVABLE = 200;
        public const int ERROR_RELOC_CHAIN_XEEDS_SEGLIM = 201;
        public const int ERROR_INFLOOP_IN_RELOC_CHAIN = 202;
        public const int ERROR_ENVVAR_NOT_FOUND = 203;
        public const int ERROR_NO_SIGNAL_SENT = 205;
        public const int ERROR_FILENAME_EXCED_RANGE = 206;
        public const int ERROR_RING2_STACK_IN_USE = 207;
        public const int ERROR_META_EXPANSION_TOO_Int32 = 208;
        public const int ERROR_INVALID_SIGNAL_NUMBER = 209;
        public const int ERROR_THREAD_1_INACTIVE = 210;
        public const int ERROR_LOCKED = 212;
        public const int ERROR_TOO_MANY_MODULES = 214;
        public const int ERROR_NESTING_NOT_ALLOWED = 215;
        public const int ERROR_EXE_MACHINE_TYPE_MISMATCH = 216;
        public const int ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY = 217;
        public const int ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY = 218;
        public const int ERROR_BAD_PIPE = 230;
        public const int ERROR_PIPE_BUSY = 231;
        public const int ERROR_NO_DATA = 232;
        public const int ERROR_PIPE_NOT_CONNECTED = 233;
        public const int ERROR_MORE_DATA = 234;
        public const int ERROR_VC_DISCONNECTED = 240;
        public const int ERROR_INVALID_EA_NAME = 254;
        public const int ERROR_EA_LIST_INCONSISTENT = 255;
        public const int WAIT_TIMEOUT = 258;
        public const int ERROR_NO_MORE_ITEMS = 259;
        public const int ERROR_CANNOT_COPY = 266;
        public const int ERROR_DIRECTORY = 267;
        public const int ERROR_EAS_DIDNT_FIT = 275;
        public const int ERROR_EA_FILE_CORRUPT = 276;
        public const int ERROR_EA_TABLE_FULL = 277;
        public const int ERROR_INVALID_EA_HANDLE = 278;
        public const int ERROR_EAS_NOT_SUPPORTED = 282;
        public const int ERROR_NOT_OWNER = 288;
        public const int ERROR_TOO_MANY_POSTS = 298;
        public const int ERROR_PARTIAL_COPY = 299;
        public const int ERROR_OPLOCK_NOT_GRANTED = 300;
        public const int ERROR_INVALID_OPLOCK_PROTOCOL = 301;
        public const int ERROR_DISK_TOO_FRAGMENTED = 302;
        public const int ERROR_DELETE_PENDING = 303;
        public const int ERROR_MR_MID_NOT_FOUND = 317;
        public const int ERROR_SCOPE_NOT_FOUND = 318;
        public const int ERROR_INVALID_ADDRESS = 487;
        public const int ERROR_ARITHMETIC_OVERFLOW = 534;
        public const int ERROR_PIPE_CONNECTED = 535;
        public const int ERROR_PIPE_LISTENING = 536;
        public const int ERROR_EA_ACCESS_DENIED = 994;
        public const int ERROR_OPERATION_ABORTED = 995;
        public const int ERROR_IO_INCOMPLETE = 996;
        public const int ERROR_IO_PENDING = 997;
        public const int ERROR_NOACCESS = 998;
        public const int ERROR_SWAPERROR = 999;
        public const int ERROR_STACK_OVERFLOW = 1001;
        public const int ERROR_INVALID_MESSAGE = 1002;
        public const int ERROR_CAN_NOT_COMPLETE = 1003;
        public const int ERROR_INVALID_FLAGS = 1004;
        public const int ERROR_UNRECOGNIZED_VOLUME = 1005;
        public const int ERROR_FILE_INVALID = 1006;
        public const int ERROR_FULLSCREEN_MODE = 1007;
        public const int ERROR_NO_TOKEN = 1008;
        public const int ERROR_BADDB = 1009;
        public const int ERROR_BADKEY = 1010;
        public const int ERROR_CANTOPEN = 1011;
        public const int ERROR_CANTREAD = 1012;
        public const int ERROR_CANTWRITE = 1013;
        public const int ERROR_REGISTRY_RECOVERED = 1014;
        public const int ERROR_REGISTRY_CORRUPT = 1015;
        public const int ERROR_REGISTRY_IO_FAILED = 1016;
        public const int ERROR_NOT_REGISTRY_FILE = 1017;
        public const int ERROR_KEY_DELETED = 1018;
        public const int ERROR_NO_LOG_SPACE = 1019;
        public const int ERROR_KEY_HAS_CHILDREN = 1020;
        public const int ERROR_CHILD_MUST_BE_VOLATILE = 1021;
        public const int ERROR_NOTIFY_ENUM_DIR = 1022;
        public const int ERROR_DEPENDENT_SERVICES_RUNNING = 1051;
        public const int ERROR_INVALID_SERVICE_CONTROL = 1052;
        public const int ERROR_SERVICE_REQUEST_TIMEOUT = 1053;
        public const int ERROR_SERVICE_NO_THREAD = 1054;
        public const int ERROR_SERVICE_DATABASE_LOCKED = 1055;
        public const int ERROR_SERVICE_ALREADY_RUNNING = 1056;
        public const int ERROR_INVALID_SERVICE_ACCOUNT = 1057;
        public const int ERROR_SERVICE_DISABLED = 1058;
        public const int ERROR_CIRCULAR_DEPENDENCY = 1059;
        public const int ERROR_SERVICE_DOES_NOT_EXIST = 1060;
        public const int ERROR_SERVICE_CANNOT_ACCEPT_CTRL = 1061;
        public const int ERROR_SERVICE_NOT_ACTIVE = 1062;
        public const int ERROR_FAILED_SERVICE_CONTROLLER_CONNECT = 1063;
        public const int ERROR_EXCEPTION_IN_SERVICE = 1064;
        public const int ERROR_DATABASE_DOES_NOT_EXIST = 1065;
        public const int ERROR_SERVICE_SPECIFIC_ERROR = 1066;
        public const int ERROR_PROCESS_ABORTED = 1067;
        public const int ERROR_SERVICE_DEPENDENCY_FAIL = 1068;
        public const int ERROR_SERVICE_LOGON_FAILED = 1069;
        public const int ERROR_SERVICE_START_HANG = 1070;
        public const int ERROR_INVALID_SERVICE_LOCK = 1071;
        public const int ERROR_SERVICE_MARKED_FOR_DELETE = 1072;
        public const int ERROR_SERVICE_EXISTS = 1073;
        public const int ERROR_ALREADY_RUNNING_LKG = 1074;
        public const int ERROR_SERVICE_DEPENDENCY_DELETED = 1075;
        public const int ERROR_BOOT_ALREADY_ACCEPTED = 1076;
        public const int ERROR_SERVICE_NEVER_STARTED = 1077;
        public const int ERROR_DUPLICATE_SERVICE_NAME = 1078;
        public const int ERROR_DIFFERENT_SERVICE_ACCOUNT = 1079;
        public const int ERROR_CANNOT_DETECT_DRIVER_FAILURE = 1080;
        public const int ERROR_CANNOT_DETECT_PROCESS_ABORT = 1081;
        public const int ERROR_NO_RECOVERY_PROGRAM = 1082;
        public const int ERROR_SERVICE_NOT_IN_EXE = 1083;
        public const int ERROR_NOT_SAFEBOOT_SERVICE = 1084;
        public const int ERROR_END_OF_MEDIA = 1100;
        public const int ERROR_FILEMARK_DETECTED = 1101;
        public const int ERROR_BEGINNING_OF_MEDIA = 1102;
        public const int ERROR_SETMARK_DETECTED = 1103;
        public const int ERROR_NO_DATA_DETECTED = 1104;
        public const int ERROR_PARTITION_FAILURE = 1105;
        public const int ERROR_INVALID_BLOCK_LENGTH = 1106;
        public const int ERROR_DEVICE_NOT_PARTITIONED = 1107;
        public const int ERROR_UNABLE_TO_LOCK_MEDIA = 1108;
        public const int ERROR_UNABLE_TO_UNLOAD_MEDIA = 1109;
        public const int ERROR_MEDIA_CHANGED = 1110;
        public const int ERROR_BUS_RESET = 1111;
        public const int ERROR_NO_MEDIA_IN_DRIVE = 1112;
        public const int ERROR_NO_UNICODE_TRANSLATION = 1113;
        public const int ERROR_DLL_INIT_FAILED = 1114;
        public const int ERROR_SHUTDOWN_IN_PROGRESS = 1115;
        public const int ERROR_NO_SHUTDOWN_IN_PROGRESS = 1116;
        public const int ERROR_IO_DEVICE = 1117;
        public const int ERROR_SERIAL_NO_DEVICE = 1118;
        public const int ERROR_IRQ_BUSY = 1119;
        public const int ERROR_MORE_WRITES = 1120;
        public const int ERROR_COUNTER_TIMEOUT = 1121;
        public const int ERROR_FLOPPY_ID_MARK_NOT_FOUND = 1122;
        public const int ERROR_FLOPPY_WRONG_CYLINDER = 1123;
        public const int ERROR_FLOPPY_UNKNOWN_ERROR = 1124;
        public const int ERROR_FLOPPY_BAD_REGISTERS = 1125;
        public const int ERROR_DISK_RECALIBRATE_FAILED = 1126;
        public const int ERROR_DISK_OPERATION_FAILED = 1127;
        public const int ERROR_DISK_RESET_FAILED = 1128;
        public const int ERROR_EOM_OVERFLOW = 1129;
        public const int ERROR_NOT_ENOUGH_SERVER_MEMORY = 1130;
        public const int ERROR_POSSIBLE_DEADLOCK = 1131;
        public const int ERROR_MAPPED_ALIGNMENT = 1132;
        public const int ERROR_SET_POWER_STATE_VETOED = 1140;
        public const int ERROR_SET_POWER_STATE_FAILED = 1141;
        public const int ERROR_TOO_MANY_LINKS = 1142;
        public const int ERROR_OLD_WIN_VERSION = 1150;
        public const int ERROR_APP_WRONG_OS = 1151;
        public const int ERROR_SINGLE_INSTANCE_APP = 1152;
        public const int ERROR_RMODE_APP = 1153;
        public const int ERROR_INVALID_DLL = 1154;
        public const int ERROR_NO_ASSOCIATION = 1155;
        public const int ERROR_DDE_FAIL = 1156;
        public const int ERROR_DLL_NOT_FOUND = 1157;
        public const int ERROR_NO_MORE_USER_HANDLES = 1158;
        public const int ERROR_MESSAGE_SYNC_ONLY = 1159;
        public const int ERROR_SOURCE_ELEMENT_EMPTY = 1160;
        public const int ERROR_DESTINATION_ELEMENT_FULL = 1161;
        public const int ERROR_ILLEGAL_ELEMENT_ADDRESS = 1162;
        public const int ERROR_MAGAZINE_NOT_PRESENT = 1163;
        public const int ERROR_DEVICE_REINITIALIZATION_NEEDED = 1164;
        public const int ERROR_DEVICE_REQUIRES_CLEANING = 1165;
        public const int ERROR_DEVICE_DOOR_OPEN = 1166;
        public const int ERROR_DEVICE_NOT_CONNECTED = 1167;
        public const int ERROR_NOT_FOUND = 1168;
        public const int ERROR_NO_MATCH = 1169;
        public const int ERROR_SET_NOT_FOUND = 1170;
        public const int ERROR_POINT_NOT_FOUND = 1171;
        public const int ERROR_NO_TRACKING_SERVICE = 1172;
        public const int ERROR_NO_VOLUME_ID = 1173;
        public const int ERROR_UNABLE_TO_REMOVE_REPLACED = 1175;
        public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT = 1176;
        public const int ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 = 1177;
        public const int ERROR_JOURNAL_DELETE_IN_PROGRESS = 1178;
        public const int ERROR_JOURNAL_NOT_ACTIVE = 1179;
        public const int ERROR_POTENTIAL_FILE_FOUND = 1180;
        public const int ERROR_JOURNAL_ENTRY_DELETED = 1181;
        public const int ERROR_BAD_DEVICE = 1200;
        public const int ERROR_CONNECTION_UNAVAIL = 1201;
        public const int ERROR_DEVICE_ALREADY_REMEMBERED = 1202;
        public const int ERROR_NO_NET_OR_BAD_PATH = 1203;
        public const int ERROR_BAD_PROVIDER = 1204;
        public const int ERROR_CANNOT_OPEN_PROFILE = 1205;
        public const int ERROR_BAD_PROFILE = 1206;
        public const int ERROR_NOT_CONTAINER = 1207;
        public const int ERROR_EXTENDED_ERROR = 1208;
        public const int ERROR_INVALID_GROUPNAME = 1209;
        public const int ERROR_INVALID_COMPUTERNAME = 1210;
        public const int ERROR_INVALID_EVENTNAME = 1211;
        public const int ERROR_INVALID_DOMAINNAME = 1212;
        public const int ERROR_INVALID_SERVICENAME = 1213;
        public const int ERROR_INVALID_NETNAME = 1214;
        public const int ERROR_INVALID_SHARENAME = 1215;
        public const int ERROR_INVALID_PASSUInt16NAME = 1216;
        public const int ERROR_INVALID_MESSAGENAME = 1217;
        public const int ERROR_INVALID_MESSAGEDEST = 1218;
        public const int ERROR_SESSION_CREDENTIAL_CONFLICT = 1219;
        public const int ERROR_REMOTE_SESSION_LIMIT_EXCEEDED = 1220;
        public const int ERROR_DUP_DOMAINNAME = 1221;
        public const int ERROR_NO_NETWORK = 1222;
        public const int ERROR_CANCELLED = 1223;
        public const int ERROR_USER_MAPPED_FILE = 1224;
        public const int ERROR_CONNECTION_REFUSED = 1225;
        public const int ERROR_GRACEFUL_DISCONNECT = 1226;
        public const int ERROR_ADDRESS_ALREADY_ASSOCIATED = 1227;
        public const int ERROR_ADDRESS_NOT_ASSOCIATED = 1228;
        public const int ERROR_CONNECTION_INVALID = 1229;
        public const int ERROR_CONNECTION_ACTIVE = 1230;
        public const int ERROR_NETWORK_UNREACHABLE = 1231;
        public const int ERROR_HOST_UNREACHABLE = 1232;
        public const int ERROR_PROTOCOL_UNREACHABLE = 1233;
        public const int ERROR_PORT_UNREACHABLE = 1234;
        public const int ERROR_REQUEST_ABORTED = 1235;
        public const int ERROR_CONNECTION_ABORTED = 1236;
        public const int ERROR_RETRY = 1237;
        public const int ERROR_CONNECTION_COUNT_LIMIT = 1238;
        public const int ERROR_LOGIN_TIME_RESTRICTION = 1239;
        public const int ERROR_LOGIN_WKSTA_RESTRICTION = 1240;
        public const int ERROR_INCORRECT_ADDRESS = 1241;
        public const int ERROR_ALREADY_REGISTERED = 1242;
        public const int ERROR_SERVICE_NOT_FOUND = 1243;
        public const int ERROR_NOT_AUTHENTICATED = 1244;
        public const int ERROR_NOT_LOGGED_ON = 1245;
        public const int ERROR_CONTINUE = 1246;
        public const int ERROR_ALREADY_INITIALIZED = 1247;
        public const int ERROR_NO_MORE_DEVICES = 1248;
        public const int ERROR_NO_SUCH_SITE = 1249;
        public const int ERROR_DOMAIN_CONTROLLER_EXISTS = 1250;
        public const int ERROR_ONLY_IF_CONNECTED = 1251;
        public const int ERROR_OVERRIDE_NOCHANGES = 1252;
        public const int ERROR_BAD_USER_PROFILE = 1253;
        public const int ERROR_NOT_SUPPORTED_ON_SBS = 1254;
        public const int ERROR_SERVER_SHUTDOWN_IN_PROGRESS = 1255;
        public const int ERROR_HOST_DOWN = 1256;
        public const int ERROR_NON_ACCOUNT_SID = 1257;
        public const int ERROR_NON_DOMAIN_SID = 1258;
        public const int ERROR_APPHELP_BLOCK = 1259;
        public const int ERROR_ACCESS_DISABLED_BY_POLICY = 1260;
        public const int ERROR_REG_NAT_CONSUMPTION = 1261;
        public const int ERROR_CSCSHARE_OFFLINE = 1262;
        public const int ERROR_PKINIT_FAILURE = 1263;
        public const int ERROR_SMARTCARD_SUBSYSTEM_FAILURE = 1264;
        public const int ERROR_DOWNGRADE_DETECTED = 1265;
        public const int ERROR_MACHINE_LOCKED = 1271;
        public const int ERROR_CALLBACK_SUPPLIED_INVALID_DATA = 1273;
        public const int ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED = 1274;
        public const int ERROR_DRIVER_BLOCKED = 1275;
        public const int ERROR_INVALID_IMPORT_OF_NON_DLL = 1276;
        public const int ERROR_ACCESS_DISABLED_WEBBLADE = 1277;
        public const int ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER = 1278;
        public const int ERROR_RECOVERY_FAILURE = 1279;
        public const int ERROR_ALREADY_FIBER = 1280;
        public const int ERROR_ALREADY_THREAD = 1281;
        public const int ERROR_STACK_BUFFER_OVERRUN = 1282;
        public const int ERROR_PARAMETER_QUOTA_EXCEEDED = 1283;
        public const int ERROR_DEBUGGER_INACTIVE = 1284;
        public const int ERROR_DELAY_LOAD_FAILED = 1285;
        public const int ERROR_VDM_DISALLOWED = 1286;
        public const int ERROR_NOT_ALL_ASSIGNED = 1300;
        public const int ERROR_SOME_NOT_MAPPED = 1301;
        public const int ERROR_NO_QUOTAS_FOR_ACCOUNT = 1302;
        public const int ERROR_LOCAL_USER_SESSION_KEY = 1303;
        public const int ERROR_NULL_LM_PASSUInt16 = 1304;
        public const int ERROR_UNKNOWN_REVISION = 1305;
        public const int ERROR_REVISION_MISMATCH = 1306;
        public const int ERROR_INVALID_OWNER = 1307;
        public const int ERROR_INVALID_PRIMARY_GROUP = 1308;
        public const int ERROR_NO_IMPERSONATION_TOKEN = 1309;
        public const int ERROR_CANT_DISABLE_MANDATORY = 1310;
        public const int ERROR_NO_LOGON_SERVERS = 1311;
        public const int ERROR_NO_SUCH_LOGON_SESSION = 1312;
        public const int ERROR_NO_SUCH_PRIVILEGE = 1313;
        public const int ERROR_PRIVILEGE_NOT_HELD = 1314;
        public const int ERROR_INVALID_ACCOUNT_NAME = 1315;
        public const int ERROR_USER_EXISTS = 1316;
        public const int ERROR_NO_SUCH_USER = 1317;
        public const int ERROR_GROUP_EXISTS = 1318;
        public const int ERROR_NO_SUCH_GROUP = 1319;
        public const int ERROR_MEMBER_IN_GROUP = 1320;
        public const int ERROR_MEMBER_NOT_IN_GROUP = 1321;
        public const int ERROR_LAST_ADMIN = 1322;
        public const int ERROR_WRONG_PASSUInt16 = 1323;
        public const int ERROR_ILL_FORMED_PASSUInt16 = 1324;
        public const int ERROR_PASSUInt16_RESTRICTION = 1325;
        public const int ERROR_LOGON_FAILURE = 1326;
        public const int ERROR_ACCOUNT_RESTRICTION = 1327;
        public const int ERROR_INVALID_LOGON_HOURS = 1328;
        public const int ERROR_INVALID_WORKSTATION = 1329;
        public const int ERROR_PASSUInt16_EXPIRED = 1330;
        public const int ERROR_ACCOUNT_DISABLED = 1331;
        public const int ERROR_NONE_MAPPED = 1332;
        public const int ERROR_TOO_MANY_LUIDS_REQUESTED = 1333;
        public const int ERROR_LUIDS_EXHAUSTED = 1334;
        public const int ERROR_INVALID_SUB_AUTHORITY = 1335;
        public const int ERROR_INVALID_ACL = 1336;
        public const int ERROR_INVALID_SID = 1337;
        public const int ERROR_INVALID_SECURITY_DESCR = 1338;
        public const int ERROR_BAD_INHERITANCE_ACL = 1340;
        public const int ERROR_SERVER_DISABLED = 1341;
        public const int ERROR_SERVER_NOT_DISABLED = 1342;
        public const int ERROR_INVALID_ID_AUTHORITY = 1343;
        public const int ERROR_ALLOTTED_SPACE_EXCEEDED = 1344;
        public const int ERROR_INVALID_GROUP_ATTRIBUTES = 1345;
        public const int ERROR_BAD_IMPERSONATION_LEVEL = 1346;
        public const int ERROR_CANT_OPEN_ANONYMOUS = 1347;
        public const int ERROR_BAD_VALIDATION_CLASS = 1348;
        public const int ERROR_BAD_TOKEN_TYPE = 1349;
        public const int ERROR_NO_SECURITY_ON_OBJECT = 1350;
        public const int ERROR_CANT_ACCESS_DOMAIN_INFO = 1351;
        public const int ERROR_INVALID_SERVER_STATE = 1352;
        public const int ERROR_INVALID_DOMAIN_STATE = 1353;
        public const int ERROR_INVALID_DOMAIN_ROLE = 1354;
        public const int ERROR_NO_SUCH_DOMAIN = 1355;
        public const int ERROR_DOMAIN_EXISTS = 1356;
        public const int ERROR_DOMAIN_LIMIT_EXCEEDED = 1357;
        public const int ERROR_INTERNAL_DB_CORRUPTION = 1358;
        public const int ERROR_INTERNAL_ERROR = 1359;
        public const int ERROR_GENERIC_NOT_MAPPED = 1360;
        public const int ERROR_BAD_DESCRIPTOR_FORMAT = 1361;
        public const int ERROR_NOT_LOGON_PROCESS = 1362;
        public const int ERROR_LOGON_SESSION_EXISTS = 1363;
        public const int ERROR_NO_SUCH_PACKAGE = 1364;
        public const int ERROR_BAD_LOGON_SESSION_STATE = 1365;
        public const int ERROR_LOGON_SESSION_COLLISION = 1366;
        public const int ERROR_INVALID_LOGON_TYPE = 1367;
        public const int ERROR_CANNOT_IMPERSONATE = 1368;
        public const int ERROR_RXACT_INVALID_STATE = 1369;
        public const int ERROR_RXACT_COMMIT_FAILURE = 1370;
        public const int ERROR_SPECIAL_ACCOUNT = 1371;
        public const int ERROR_SPECIAL_GROUP = 1372;
        public const int ERROR_SPECIAL_USER = 1373;
        public const int ERROR_MEMBERS_PRIMARY_GROUP = 1374;
        public const int ERROR_TOKEN_ALREADY_IN_USE = 1375;
        public const int ERROR_NO_SUCH_ALIAS = 1376;
        public const int ERROR_MEMBER_NOT_IN_ALIAS = 1377;
        public const int ERROR_MEMBER_IN_ALIAS = 1378;
        public const int ERROR_ALIAS_EXISTS = 1379;
        public const int ERROR_LOGON_NOT_GRANTED = 1380;
        public const int ERROR_TOO_MANY_SECRETS = 1381;
        public const int ERROR_SECRET_TOO_Int32 = 1382;
        public const int ERROR_INTERNAL_DB_ERROR = 1383;
        public const int ERROR_TOO_MANY_CONTEXT_IDS = 1384;
        public const int ERROR_LOGON_TYPE_NOT_GRANTED = 1385;
        public const int ERROR_NT_CROSS_ENCRYPTION_REQUIRED = 1386;
        public const int ERROR_NO_SUCH_MEMBER = 1387;
        public const int ERROR_INVALID_MEMBER = 1388;
        public const int ERROR_TOO_MANY_SIDS = 1389;
        public const int ERROR_LM_CROSS_ENCRYPTION_REQUIRED = 1390;
        public const int ERROR_NO_INHERITANCE = 1391;
        public const int ERROR_FILE_CORRUPT = 1392;
        public const int ERROR_DISK_CORRUPT = 1393;
        public const int ERROR_NO_USER_SESSION_KEY = 1394;
        public const int ERROR_LICENSE_QUOTA_EXCEEDED = 1395;
        public const int ERROR_WRONG_TARGET_NAME = 1396;
        public const int ERROR_MUTUAL_AUTH_FAILED = 1397;
        public const int ERROR_TIME_SKEW = 1398;
        public const int ERROR_CURRENT_DOMAIN_NOT_ALLOWED = 1399;
        public const int ERROR_INVALID_WINDOW_HANDLE = 1400;
        public const int ERROR_INVALID_MENU_HANDLE = 1401;
        public const int ERROR_INVALID_CURSOR_HANDLE = 1402;
        public const int ERROR_INVALID_ACCEL_HANDLE = 1403;
        public const int ERROR_INVALID_HOOK_HANDLE = 1404;
        public const int ERROR_INVALID_DWP_HANDLE = 1405;
        public const int ERROR_TLW_WITH_WSCHILD = 1406;
        public const int ERROR_CANNOT_FIND_WND_CLASS = 1407;
        public const int ERROR_WINDOW_OF_OTHER_THREAD = 1408;
        public const int ERROR_HOTKEY_ALREADY_REGISTERED = 1409;
        public const int ERROR_CLASS_ALREADY_EXISTS = 1410;
        public const int ERROR_CLASS_DOES_NOT_EXIST = 1411;
        public const int ERROR_CLASS_HAS_WINDOWS = 1412;
        public const int ERROR_INVALID_INDEX = 1413;
        public const int ERROR_INVALID_ICON_HANDLE = 1414;
        public const int ERROR_PRIVATE_DIALOG_INDEX = 1415;
        public const int ERROR_LISTBOX_ID_NOT_FOUND = 1416;
        public const int ERROR_NO_WILDCARD_CHARACTERS = 1417;
        public const int ERROR_CLIPBOARD_NOT_OPEN = 1418;
        public const int ERROR_HOTKEY_NOT_REGISTERED = 1419;
        public const int ERROR_WINDOW_NOT_DIALOG = 1420;
        public const int ERROR_CONTROL_ID_NOT_FOUND = 1421;
        public const int ERROR_INVALID_COMBOBOX_MESSAGE = 1422;
        public const int ERROR_WINDOW_NOT_COMBOBOX = 1423;
        public const int ERROR_INVALID_EDIT_HEIGHT = 1424;
        public const int ERROR_DC_NOT_FOUND = 1425;
        public const int ERROR_INVALID_HOOK_FILTER = 1426;
        public const int ERROR_INVALID_FILTER_PROC = 1427;
        public const int ERROR_HOOK_NEEDS_HMOD = 1428;
        public const int ERROR_GLOBAL_ONLY_HOOK = 1429;
        public const int ERROR_JOURNAL_HOOK_SET = 1430;
        public const int ERROR_HOOK_NOT_INSTALLED = 1431;
        public const int ERROR_INVALID_LB_MESSAGE = 1432;
        public const int ERROR_SETCOUNT_ON_BAD_LB = 1433;
        public const int ERROR_LB_WITHOUT_TABSTOPS = 1434;
        public const int ERROR_DESTROY_OBJECT_OF_OTHER_THREAD = 1435;
        public const int ERROR_CHILD_WINDOW_MENU = 1436;
        public const int ERROR_NO_SYSTEM_MENU = 1437;
        public const int ERROR_INVALID_MSGBOX_STYLE = 1438;
        public const int ERROR_INVALID_SPI_VALUE = 1439;
        public const int ERROR_SCREEN_ALREADY_LOCKED = 1440;
        public const int ERROR_HWNDS_HAVE_DIFF_PARENT = 1441;
        public const int ERROR_NOT_CHILD_WINDOW = 1442;
        public const int ERROR_INVALID_GW_COMMAND = 1443;
        public const int ERROR_INVALID_THREAD_ID = 1444;
        public const int ERROR_NON_MDICHILD_WINDOW = 1445;
        public const int ERROR_POPUP_ALREADY_ACTIVE = 1446;
        public const int ERROR_NO_SCROLLBARS = 1447;
        public const int ERROR_INVALID_SCROLLBAR_RANGE = 1448;
        public const int ERROR_INVALID_SHOWWIN_COMMAND = 1449;
        public const int ERROR_NO_SYSTEM_RESOURCES = 1450;
        public const int ERROR_NONPAGED_SYSTEM_RESOURCES = 1451;
        public const int ERROR_PAGED_SYSTEM_RESOURCES = 1452;
        public const int ERROR_WORKING_SET_QUOTA = 1453;
        public const int ERROR_PAGEFILE_QUOTA = 1454;
        public const int ERROR_COMMITMENT_LIMIT = 1455;
        public const int ERROR_MENU_ITEM_NOT_FOUND = 1456;
        public const int ERROR_INVALID_KEYBOARD_HANDLE = 1457;
        public const int ERROR_HOOK_TYPE_NOT_ALLOWED = 1458;
        public const int ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION = 1459;
        public const int ERROR_TIMEOUT = 1460;
        public const int ERROR_INVALID_MONITOR_HANDLE = 1461;
        public const int ERROR_EVENTLOG_FILE_CORRUPT = 1500;
        public const int ERROR_EVENTLOG_CANT_START = 1501;
        public const int ERROR_LOG_FILE_FULL = 1502;
        public const int ERROR_EVENTLOG_FILE_CHANGED = 1503;
        public const int ERROR_INSTALL_SERVICE_FAILURE = 1601;
        public const int ERROR_INSTALL_USEREXIT = 1602;
        public const int ERROR_INSTALL_FAILURE = 1603;
        public const int ERROR_INSTALL_SUSPEND = 1604;
        public const int ERROR_UNKNOWN_PRODUCT = 1605;
        public const int ERROR_UNKNOWN_FEATURE = 1606;
        public const int ERROR_UNKNOWN_COMPONENT = 1607;
        public const int ERROR_UNKNOWN_PROPERTY = 1608;
        public const int ERROR_INVALID_HANDLE_STATE = 1609;
        public const int ERROR_BAD_CONFIGURATION = 1610;
        public const int ERROR_INDEX_ABSENT = 1611;
        public const int ERROR_INSTALL_SOURCE_ABSENT = 1612;
        public const int ERROR_INSTALL_PACKAGE_VERSION = 1613;
        public const int ERROR_PRODUCT_UNINSTALLED = 1614;
        public const int ERROR_BAD_QUERY_SYNTAX = 1615;
        public const int ERROR_INVALID_FIELD = 1616;
        public const int ERROR_DEVICE_REMOVED = 1617;
        public const int ERROR_INSTALL_ALREADY_RUNNING = 1618;
        public const int ERROR_INSTALL_PACKAGE_OPEN_FAILED = 1619;
        public const int ERROR_INSTALL_PACKAGE_INVALID = 1620;
        public const int ERROR_INSTALL_UI_FAILURE = 1621;
        public const int ERROR_INSTALL_LOG_FAILURE = 1622;
        public const int ERROR_INSTALL_LANGUAGE_UNSUPPORTED = 1623;
        public const int ERROR_INSTALL_TRANSFORM_FAILURE = 1624;
        public const int ERROR_INSTALL_PACKAGE_REJECTED = 1625;
        public const int ERROR_FUNCTION_NOT_CALLED = 1626;
        public const int ERROR_FUNCTION_FAILED = 1627;
        public const int ERROR_INVALID_TABLE = 1628;
        public const int ERROR_DATATYPE_MISMATCH = 1629;
        public const int ERROR_UNSUPPORTED_TYPE = 1630;
        public const int ERROR_CREATE_FAILED = 1631;
        public const int ERROR_INSTALL_TEMP_UNWRITABLE = 1632;
        public const int ERROR_INSTALL_PLATFORM_UNSUPPORTED = 1633;
        public const int ERROR_INSTALL_NOTUSED = 1634;
        public const int ERROR_PATCH_PACKAGE_OPEN_FAILED = 1635;
        public const int ERROR_PATCH_PACKAGE_INVALID = 1636;
        public const int ERROR_PATCH_PACKAGE_UNSUPPORTED = 1637;
        public const int ERROR_PRODUCT_VERSION = 1638;
        public const int ERROR_INVALID_COMMAND_LINE = 1639;
        public const int ERROR_INSTALL_REMOTE_DISALLOWED = 1640;
        public const int ERROR_SUCCESS_REBOOT_INITIATED = 1641;
        public const int ERROR_PATCH_TARGET_NOT_FOUND = 1642;
        public const int ERROR_PATCH_PACKAGE_REJECTED = 1643;
        public const int ERROR_INSTALL_TRANSFORM_REJECTED = 1644;
        public const int ERROR_INSTALL_REMOTE_PROHIBITED = 1645;
        public const int RPC_S_INVALID_STRING_BINDING = 1700;
        public const int RPC_S_WRONG_KIND_OF_BINDING = 1701;
        public const int RPC_S_INVALID_BINDING = 1702;
        public const int RPC_S_PROTSEQ_NOT_SUPPORTED = 1703;
        public const int RPC_S_INVALID_RPC_PROTSEQ = 1704;
        public const int RPC_S_INVALID_STRING_UUID = 1705;
        public const int RPC_S_INVALID_ENDPOINT_FORMAT = 1706;
        public const int RPC_S_INVALID_NET_ADDR = 1707;
        public const int RPC_S_NO_ENDPOINT_FOUND = 1708;
        public const int RPC_S_INVALID_TIMEOUT = 1709;
        public const int RPC_S_OBJECT_NOT_FOUND = 1710;
        public const int RPC_S_ALREADY_REGISTERED = 1711;
        public const int RPC_S_TYPE_ALREADY_REGISTERED = 1712;
        public const int RPC_S_ALREADY_LISTENING = 1713;
        public const int RPC_S_NO_PROTSEQS_REGISTERED = 1714;
        public const int RPC_S_NOT_LISTENING = 1715;
        public const int RPC_S_UNKNOWN_MGR_TYPE = 1716;
        public const int RPC_S_UNKNOWN_IF = 1717;
        public const int RPC_S_NO_BINDINGS = 1718;
        public const int RPC_S_NO_PROTSEQS = 1719;
        public const int RPC_S_CANT_CREATE_ENDPOINT = 1720;
        public const int RPC_S_OUT_OF_RESOURCES = 1721;
        public const int RPC_S_SERVER_UNAVAILABLE = 1722;
        public const int RPC_S_SERVER_TOO_BUSY = 1723;
        public const int RPC_S_INVALID_NETWORK_OPTIONS = 1724;
        public const int RPC_S_NO_CALL_ACTIVE = 1725;
        public const int RPC_S_CALL_FAILED = 1726;
        public const int RPC_S_CALL_FAILED_DNE = 1727;
        public const int RPC_S_PROTOCOL_ERROR = 1728;
        public const int RPC_S_UNSUPPORTED_TRANS_SYN = 1730;
        public const int RPC_S_UNSUPPORTED_TYPE = 1732;
        public const int RPC_S_INVALID_TAG = 1733;
        public const int RPC_S_INVALID_BOUND = 1734;
        public const int RPC_S_NO_ENTRY_NAME = 1735;
        public const int RPC_S_INVALID_NAME_SYNTAX = 1736;
        public const int RPC_S_UNSUPPORTED_NAME_SYNTAX = 1737;
        public const int RPC_S_UUID_NO_ADDRESS = 1739;
        public const int RPC_S_DUPLICATE_ENDPOINT = 1740;
        public const int RPC_S_UNKNOWN_AUTHN_TYPE = 1741;
        public const int RPC_S_MAX_CALLS_TOO_SMALL = 1742;
        public const int RPC_S_STRING_TOO_Int32 = 1743;
        public const int RPC_S_PROTSEQ_NOT_FOUND = 1744;
        public const int RPC_S_PROCNUM_OUT_OF_RANGE = 1745;
        public const int RPC_S_BINDING_HAS_NO_AUTH = 1746;
        public const int RPC_S_UNKNOWN_AUTHN_SERVICE = 1747;
        public const int RPC_S_UNKNOWN_AUTHN_LEVEL = 1748;
        public const int RPC_S_INVALID_AUTH_IDENTITY = 1749;
        public const int RPC_S_UNKNOWN_AUTHZ_SERVICE = 1750;
        public const int EPT_S_INVALID_ENTRY = 1751;
        public const int EPT_S_CANT_PERFORM_OP = 1752;
        public const int EPT_S_NOT_REGISTERED = 1753;
        public const int RPC_S_NOTHING_TO_EXPORT = 1754;
        public const int RPC_S_INCOMPLETE_NAME = 1755;
        public const int RPC_S_INVALID_VERS_OPTION = 1756;
        public const int RPC_S_NO_MORE_MEMBERS = 1757;
        public const int RPC_S_NOT_ALL_OBJS_UNEXPORTED = 1758;
        public const int RPC_S_INTERFACE_NOT_FOUND = 1759;
        public const int RPC_S_ENTRY_ALREADY_EXISTS = 1760;
        public const int RPC_S_ENTRY_NOT_FOUND = 1761;
        public const int RPC_S_NAME_SERVICE_UNAVAILABLE = 1762;
        public const int RPC_S_INVALID_NAF_ID = 1763;
        public const int RPC_S_CANNOT_SUPPORT = 1764;
        public const int RPC_S_NO_CONTEXT_AVAILABLE = 1765;
        public const int RPC_S_INTERNAL_ERROR = 1766;
        public const int RPC_S_ZERO_DIVIDE = 1767;
        public const int RPC_S_ADDRESS_ERROR = 1768;
        public const int RPC_S_FP_DIV_ZERO = 1769;
        public const int RPC_S_FP_UNDERFLOW = 1770;
        public const int RPC_S_FP_OVERFLOW = 1771;
        public const int RPC_X_NO_MORE_ENTRIES = 1772;
        public const int RPC_X_SS_CHAR_TRANS_OPEN_FAIL = 1773;
        public const int RPC_X_SS_CHAR_TRANS_Int16_FILE = 1774;
        public const int RPC_X_SS_IN_NULL_CONTEXT = 1775;
        public const int RPC_X_SS_CONTEXT_DAMAGED = 1777;
        public const int RPC_X_SS_HANDLES_MISMATCH = 1778;
        public const int RPC_X_SS_CANNOT_GET_CALL_HANDLE = 1779;
        public const int RPC_X_NULL_REF_POINTER = 1780;
        public const int RPC_X_ENUM_VALUE_OUT_OF_RANGE = 1781;
        public const int RPC_X_BYTE_COUNT_TOO_SMALL = 1782;
        public const int RPC_X_BAD_STUB_DATA = 1783;
        public const int ERROR_INVALID_USER_BUFFER = 1784;
        public const int ERROR_UNRECOGNIZED_MEDIA = 1785;
        public const int ERROR_NO_TRUST_LSA_SECRET = 1786;
        public const int ERROR_NO_TRUST_SAM_ACCOUNT = 1787;
        public const int ERROR_TRUSTED_DOMAIN_FAILURE = 1788;
        public const int ERROR_TRUSTED_RELATIONSHIP_FAILURE = 1789;
        public const int ERROR_TRUST_FAILURE = 1790;
        public const int RPC_S_CALL_IN_PROGRESS = 1791;
        public const int ERROR_NETLOGON_NOT_STARTED = 1792;
        public const int ERROR_ACCOUNT_EXPIRED = 1793;
        public const int ERROR_REDIRECTOR_HAS_OPEN_HANDLES = 1794;
        public const int ERROR_PRINTER_DRIVER_ALREADY_INSTALLED = 1795;
        public const int ERROR_UNKNOWN_PORT = 1796;
        public const int ERROR_UNKNOWN_PRINTER_DRIVER = 1797;
        public const int ERROR_UNKNOWN_PRINTPROCESSOR = 1798;
        public const int ERROR_INVALID_SEPARATOR_FILE = 1799;
        public const int ERROR_INVALID_PRIORITY = 1800;
        public const int ERROR_INVALID_PRINTER_NAME = 1801;
        public const int ERROR_PRINTER_ALREADY_EXISTS = 1802;
        public const int ERROR_INVALID_PRINTER_COMMAND = 1803;
        public const int ERROR_INVALID_DATATYPE = 1804;
        public const int ERROR_INVALID_ENVIRONMENT = 1805;
        public const int RPC_S_NO_MORE_BINDINGS = 1806;
        public const int ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = 1807;
        public const int ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 1808;
        public const int ERROR_NOLOGON_SERVER_TRUST_ACCOUNT = 1809;
        public const int ERROR_DOMAIN_TRUST_INCONSISTENT = 1810;
        public const int ERROR_SERVER_HAS_OPEN_HANDLES = 1811;
        public const int ERROR_RESOURCE_DATA_NOT_FOUND = 1812;
        public const int ERROR_RESOURCE_TYPE_NOT_FOUND = 1813;
        public const int ERROR_RESOURCE_NAME_NOT_FOUND = 1814;
        public const int ERROR_RESOURCE_LANG_NOT_FOUND = 1815;
        public const int ERROR_NOT_ENOUGH_QUOTA = 1816;
        public const int RPC_S_NO_INTERFACES = 1817;
        public const int RPC_S_CALL_CANCELLED = 1818;
        public const int RPC_S_BINDING_INCOMPLETE = 1819;
        public const int RPC_S_COMM_FAILURE = 1820;
        public const int RPC_S_UNSUPPORTED_AUTHN_LEVEL = 1821;
        public const int RPC_S_NO_PRINC_NAME = 1822;
        public const int RPC_S_NOT_RPC_ERROR = 1823;
        public const int RPC_S_UUID_LOCAL_ONLY = 1824;
        public const int RPC_S_SEC_PKG_ERROR = 1825;
        public const int RPC_S_NOT_CANCELLED = 1826;
        public const int RPC_X_INVALID_ES_ACTION = 1827;
        public const int RPC_X_WRONG_ES_VERSION = 1828;
        public const int RPC_X_WRONG_STUB_VERSION = 1829;
        public const int RPC_X_INVALID_PIPE_OBJECT = 1830;
        public const int RPC_X_WRONG_PIPE_ORDER = 1831;
        public const int RPC_X_WRONG_PIPE_VERSION = 1832;
        public const int RPC_S_GROUP_MEMBER_NOT_FOUND = 1898;
        public const int EPT_S_CANT_CREATE = 1899;
        public const int RPC_S_INVALID_OBJECT = 1900;
        public const int ERROR_INVALID_TIME = 1901;
        public const int ERROR_INVALID_FORM_NAME = 1902;
        public const int ERROR_INVALID_FORM_SIZE = 1903;
        public const int ERROR_ALREADY_WAITING = 1904;
        public const int ERROR_PRINTER_DELETED = 1905;
        public const int ERROR_INVALID_PRINTER_STATE = 1906;
        public const int ERROR_PASSUInt16_MUST_CHANGE = 1907;
        public const int ERROR_DOMAIN_CONTROLLER_NOT_FOUND = 1908;
        public const int ERROR_ACCOUNT_LOCKED_OUT = 1909;
        public const int OR_INVALID_OXID = 1910;
        public const int OR_INVALID_OID = 1911;
        public const int OR_INVALID_SET = 1912;
        public const int RPC_S_SEND_INCOMPLETE = 1913;
        public const int RPC_S_INVALID_ASYNC_HANDLE = 1914;
        public const int RPC_S_INVALID_ASYNC_CALL = 1915;
        public const int RPC_X_PIPE_CLOSED = 1916;
        public const int RPC_X_PIPE_DISCIPLINE_ERROR = 1917;
        public const int RPC_X_PIPE_EMPTY = 1918;
        public const int ERROR_NO_SITENAME = 1919;
        public const int ERROR_CANT_ACCESS_FILE = 1920;
        public const int ERROR_CANT_RESOLVE_FILENAME = 1921;
        public const int RPC_S_ENTRY_TYPE_MISMATCH = 1922;
        public const int RPC_S_NOT_ALL_OBJS_EXPORTED = 1923;
        public const int RPC_S_INTERFACE_NOT_EXPORTED = 1924;
        public const int RPC_S_PROFILE_NOT_ADDED = 1925;
        public const int RPC_S_PRF_ELT_NOT_ADDED = 1926;
        public const int RPC_S_PRF_ELT_NOT_REMOVED = 1927;
        public const int RPC_S_GRP_ELT_NOT_ADDED = 1928;
        public const int RPC_S_GRP_ELT_NOT_REMOVED = 1929;
        public const int ERROR_KM_DRIVER_BLOCKED = 1930;
        public const int ERROR_CONTEXT_EXPIRED = 1931;
        public const int ERROR_PER_USER_TRUST_QUOTA_EXCEEDED = 1932;
        public const int ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED = 1933;
        public const int ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED = 1934;
        public const int ERROR_AUTHENTICATION_FIREWALL_FAILED = 1935;
        public const int ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED = 1936;
        public const int ERROR_INVALID_PIXEL_FORMAT = 2000;
        public const int ERROR_BAD_DRIVER = 2001;
        public const int ERROR_INVALID_WINDOW_STYLE = 2002;
        public const int ERROR_METAFILE_NOT_SUPPORTED = 2003;
        public const int ERROR_TRANSFORM_NOT_SUPPORTED = 2004;
        public const int ERROR_CLIPPING_NOT_SUPPORTED = 2005;
        public const int ERROR_INVALID_CMM = 2010;
        public const int ERROR_INVALID_PROFILE = 2011;
        public const int ERROR_TAG_NOT_FOUND = 2012;
        public const int ERROR_TAG_NOT_PRESENT = 2013;
        public const int ERROR_DUPLICATE_TAG = 2014;
        public const int ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE = 2015;
        public const int ERROR_PROFILE_NOT_FOUND = 2016;
        public const int ERROR_INVALID_COLORSPACE = 2017;
        public const int ERROR_ICM_NOT_ENABLED = 2018;
        public const int ERROR_DELETING_ICM_XFORM = 2019;
        public const int ERROR_INVALID_TRANSFORM = 2020;
        public const int ERROR_COLORSPACE_MISMATCH = 2021;
        public const int ERROR_INVALID_COLORINDEX = 2022;
        public const int ERROR_CONNECTED_OTHER_PASSUInt16 = 2108;
        public const int ERROR_CONNECTED_OTHER_PASSUInt16_DEFAULT = 2109;
        public const int ERROR_BAD_USERNAME = 2202;
        public const int ERROR_NOT_CONNECTED = 2250;
        public const int ERROR_OPEN_FILES = 2401;
        public const int ERROR_ACTIVE_CONNECTIONS = 2402;
        public const int ERROR_DEVICE_IN_USE = 2404;
        public const int ERROR_UNKNOWN_PRINT_MONITOR = 3000;
        public const int ERROR_PRINTER_DRIVER_IN_USE = 3001;
        public const int ERROR_SPOOL_FILE_NOT_FOUND = 3002;
        public const int ERROR_SPL_NO_STARTDOC = 3003;
        public const int ERROR_SPL_NO_ADDJOB = 3004;
        public const int ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED = 3005;
        public const int ERROR_PRINT_MONITOR_ALREADY_INSTALLED = 3006;
        public const int ERROR_INVALID_PRINT_MONITOR = 3007;
        public const int ERROR_PRINT_MONITOR_IN_USE = 3008;
        public const int ERROR_PRINTER_HAS_JOBS_QUEUED = 3009;
        public const int ERROR_SUCCESS_REBOOT_REQUIRED = 3010;
        public const int ERROR_SUCCESS_RESTART_REQUIRED = 3011;
        public const int ERROR_PRINTER_NOT_FOUND = 3012;
        public const int ERROR_PRINTER_DRIVER_WARNED = 3013;
        public const int ERROR_PRINTER_DRIVER_BLOCKED = 3014;
        public const int ERROR_WINS_INTERNAL = 4000;
        public const int ERROR_CAN_NOT_DEL_LOCAL_WINS = 4001;
        public const int ERROR_STATIC_INIT = 4002;
        public const int ERROR_INC_BACKUP = 4003;
        public const int ERROR_FULL_BACKUP = 4004;
        public const int ERROR_REC_NON_EXISTENT = 4005;
        public const int ERROR_RPL_NOT_ALLOWED = 4006;
        public const int ERROR_DHCP_ADDRESS_CONFLICT = 4100;
        public const int ERROR_WMI_GUID_NOT_FOUND = 4200;
        public const int ERROR_WMI_INSTANCE_NOT_FOUND = 4201;
        public const int ERROR_WMI_ITEMID_NOT_FOUND = 4202;
        public const int ERROR_WMI_TRY_AGAIN = 4203;
        public const int ERROR_WMI_DP_NOT_FOUND = 4204;
        public const int ERROR_WMI_UNRESOLVED_INSTANCE_REF = 4205;
        public const int ERROR_WMI_ALREADY_ENABLED = 4206;
        public const int ERROR_WMI_GUID_DISCONNECTED = 4207;
        public const int ERROR_WMI_SERVER_UNAVAILABLE = 4208;
        public const int ERROR_WMI_DP_FAILED = 4209;
        public const int ERROR_WMI_INVALID_MOF = 4210;
        public const int ERROR_WMI_INVALID_REGINFO = 4211;
        public const int ERROR_WMI_ALREADY_DISABLED = 4212;
        public const int ERROR_WMI_READ_ONLY = 4213;
        public const int ERROR_WMI_SET_FAILURE = 4214;
        public const int ERROR_INVALID_MEDIA = 4300;
        public const int ERROR_INVALID_LIBRARY = 4301;
        public const int ERROR_INVALID_MEDIA_POOL = 4302;
        public const int ERROR_DRIVE_MEDIA_MISMATCH = 4303;
        public const int ERROR_MEDIA_OFFLINE = 4304;
        public const int ERROR_LIBRARY_OFFLINE = 4305;
        public const int ERROR_EMPTY = 4306;
        public const int ERROR_NOT_EMPTY = 4307;
        public const int ERROR_MEDIA_UNAVAILABLE = 4308;
        public const int ERROR_RESOURCE_DISABLED = 4309;
        public const int ERROR_INVALID_CLEANER = 4310;
        public const int ERROR_UNABLE_TO_CLEAN = 4311;
        public const int ERROR_OBJECT_NOT_FOUND = 4312;
        public const int ERROR_DATABASE_FAILURE = 4313;
        public const int ERROR_DATABASE_FULL = 4314;
        public const int ERROR_MEDIA_INCOMPATIBLE = 4315;
        public const int ERROR_RESOURCE_NOT_PRESENT = 4316;
        public const int ERROR_INVALID_OPERATION = 4317;
        public const int ERROR_MEDIA_NOT_AVAILABLE = 4318;
        public const int ERROR_DEVICE_NOT_AVAILABLE = 4319;
        public const int ERROR_REQUEST_REFUSED = 4320;
        public const int ERROR_INVALID_DRIVE_OBJECT = 4321;
        public const int ERROR_LIBRARY_FULL = 4322;
        public const int ERROR_MEDIUM_NOT_ACCESSIBLE = 4323;
        public const int ERROR_UNABLE_TO_LOAD_MEDIUM = 4324;
        public const int ERROR_UNABLE_TO_INVENTORY_DRIVE = 4325;
        public const int ERROR_UNABLE_TO_INVENTORY_SLOT = 4326;
        public const int ERROR_UNABLE_TO_INVENTORY_TRANSPORT = 4327;
        public const int ERROR_TRANSPORT_FULL = 4328;
        public const int ERROR_CONTROLLING_IEPORT = 4329;
        public const int ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA = 4330;
        public const int ERROR_CLEANER_SLOT_SET = 4331;
        public const int ERROR_CLEANER_SLOT_NOT_SET = 4332;
        public const int ERROR_CLEANER_CARTRIDGE_SPENT = 4333;
        public const int ERROR_UNEXPECTED_OMID = 4334;
        public const int ERROR_CANT_DELETE_LAST_ITEM = 4335;
        public const int ERROR_MESSAGE_EXCEEDS_MAX_SIZE = 4336;
        public const int ERROR_VOLUME_CONTAINS_SYS_FILES = 4337;
        public const int ERROR_INDIGENOUS_TYPE = 4338;
        public const int ERROR_NO_SUPPORTING_DRIVES = 4339;
        public const int ERROR_CLEANER_CARTRIDGE_INSTALLED = 4340;
        public const int ERROR_FILE_OFFLINE = 4350;
        public const int ERROR_REMOTE_STORAGE_NOT_ACTIVE = 4351;
        public const int ERROR_REMOTE_STORAGE_MEDIA_ERROR = 4352;
        public const int ERROR_NOT_A_REPARSE_POINT = 4390;
        public const int ERROR_REPARSE_ATTRIBUTE_CONFLICT = 4391;
        public const int ERROR_INVALID_REPARSE_DATA = 4392;
        public const int ERROR_REPARSE_TAG_INVALID = 4393;
        public const int ERROR_REPARSE_TAG_MISMATCH = 4394;
        public const int ERROR_VOLUME_NOT_SIS_ENABLED = 4500;
        public const int ERROR_DEPENDENT_RESOURCE_EXISTS = 5001;
        public const int ERROR_DEPENDENCY_NOT_FOUND = 5002;
        public const int ERROR_DEPENDENCY_ALREADY_EXISTS = 5003;
        public const int ERROR_RESOURCE_NOT_ONLINE = 5004;
        public const int ERROR_HOST_NODE_NOT_AVAILABLE = 5005;
        public const int ERROR_RESOURCE_NOT_AVAILABLE = 5006;
        public const int ERROR_RESOURCE_NOT_FOUND = 5007;
        public const int ERROR_SHUTDOWN_CLUSTER = 5008;
        public const int ERROR_CANT_EVICT_ACTIVE_NODE = 5009;
        public const int ERROR_OBJECT_ALREADY_EXISTS = 5010;
        public const int ERROR_OBJECT_IN_LIST = 5011;
        public const int ERROR_GROUP_NOT_AVAILABLE = 5012;
        public const int ERROR_GROUP_NOT_FOUND = 5013;
        public const int ERROR_GROUP_NOT_ONLINE = 5014;
        public const int ERROR_HOST_NODE_NOT_RESOURCE_OWNER = 5015;
        public const int ERROR_HOST_NODE_NOT_GROUP_OWNER = 5016;
        public const int ERROR_RESMON_CREATE_FAILED = 5017;
        public const int ERROR_RESMON_ONLINE_FAILED = 5018;
        public const int ERROR_RESOURCE_ONLINE = 5019;
        public const int ERROR_QUORUM_RESOURCE = 5020;
        public const int ERROR_NOT_QUORUM_CAPABLE = 5021;
        public const int ERROR_CLUSTER_SHUTTING_DOWN = 5022;
        public const int ERROR_INVALID_STATE = 5023;
        public const int ERROR_RESOURCE_PROPERTIES_STORED = 5024;
        public const int ERROR_NOT_QUORUM_CLASS = 5025;
        public const int ERROR_CORE_RESOURCE = 5026;
        public const int ERROR_QUORUM_RESOURCE_ONLINE_FAILED = 5027;
        public const int ERROR_QUORUMLOG_OPEN_FAILED = 5028;
        public const int ERROR_CLUSTERLOG_CORRUPT = 5029;
        public const int ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE = 5030;
        public const int ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE = 5031;
        public const int ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND = 5032;
        public const int ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE = 5033;
        public const int ERROR_QUORUM_OWNER_ALIVE = 5034;
        public const int ERROR_NETWORK_NOT_AVAILABLE = 5035;
        public const int ERROR_NODE_NOT_AVAILABLE = 5036;
        public const int ERROR_ALL_NODES_NOT_AVAILABLE = 5037;
        public const int ERROR_RESOURCE_FAILED = 5038;
        public const int ERROR_CLUSTER_INVALID_NODE = 5039;
        public const int ERROR_CLUSTER_NODE_EXISTS = 5040;
        public const int ERROR_CLUSTER_JOIN_IN_PROGRESS = 5041;
        public const int ERROR_CLUSTER_NODE_NOT_FOUND = 5042;
        public const int ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND = 5043;
        public const int ERROR_CLUSTER_NETWORK_EXISTS = 5044;
        public const int ERROR_CLUSTER_NETWORK_NOT_FOUND = 5045;
        public const int ERROR_CLUSTER_NETINTERFACE_EXISTS = 5046;
        public const int ERROR_CLUSTER_NETINTERFACE_NOT_FOUND = 5047;
        public const int ERROR_CLUSTER_INVALID_REQUEST = 5048;
        public const int ERROR_CLUSTER_INVALID_NETWORK_PROVIDER = 5049;
        public const int ERROR_CLUSTER_NODE_DOWN = 5050;
        public const int ERROR_CLUSTER_NODE_UNREACHABLE = 5051;
        public const int ERROR_CLUSTER_NODE_NOT_MEMBER = 5052;
        public const int ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS = 5053;
        public const int ERROR_CLUSTER_INVALID_NETWORK = 5054;
        public const int ERROR_CLUSTER_NODE_UP = 5056;
        public const int ERROR_CLUSTER_IPADDR_IN_USE = 5057;
        public const int ERROR_CLUSTER_NODE_NOT_PAUSED = 5058;
        public const int ERROR_CLUSTER_NO_SECURITY_CONTEXT = 5059;
        public const int ERROR_CLUSTER_NETWORK_NOT_INTERNAL = 5060;
        public const int ERROR_CLUSTER_NODE_ALREADY_UP = 5061;
        public const int ERROR_CLUSTER_NODE_ALREADY_DOWN = 5062;
        public const int ERROR_CLUSTER_NETWORK_ALREADY_ONLINE = 5063;
        public const int ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE = 5064;
        public const int ERROR_CLUSTER_NODE_ALREADY_MEMBER = 5065;
        public const int ERROR_CLUSTER_LAST_INTERNAL_NETWORK = 5066;
        public const int ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS = 5067;
        public const int ERROR_INVALID_OPERATION_ON_QUORUM = 5068;
        public const int ERROR_DEPENDENCY_NOT_ALLOWED = 5069;
        public const int ERROR_CLUSTER_NODE_PAUSED = 5070;
        public const int ERROR_NODE_CANT_HOST_RESOURCE = 5071;
        public const int ERROR_CLUSTER_NODE_NOT_READY = 5072;
        public const int ERROR_CLUSTER_NODE_SHUTTING_DOWN = 5073;
        public const int ERROR_CLUSTER_JOIN_ABORTED = 5074;
        public const int ERROR_CLUSTER_INCOMPATIBLE_VERSIONS = 5075;
        public const int ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED = 5076;
        public const int ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED = 5077;
        public const int ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND = 5078;
        public const int ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED = 5079;
        public const int ERROR_CLUSTER_RESNAME_NOT_FOUND = 5080;
        public const int ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED = 5081;
        public const int ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST = 5082;
        public const int ERROR_CLUSTER_DATABASE_SEQMISMATCH = 5083;
        public const int ERROR_RESMON_INVALID_STATE = 5084;
        public const int ERROR_CLUSTER_GUM_NOT_LOCKER = 5085;
        public const int ERROR_QUORUM_DISK_NOT_FOUND = 5086;
        public const int ERROR_DATABASE_BACKUP_CORRUPT = 5087;
        public const int ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT = 5088;
        public const int ERROR_RESOURCE_PROPERTY_UNCHANGEABLE = 5089;
        public const int ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE = 5890;
        public const int ERROR_CLUSTER_QUORUMLOG_NOT_FOUND = 5891;
        public const int ERROR_CLUSTER_MEMBERSHIP_HALT = 5892;
        public const int ERROR_CLUSTER_INSTANCE_ID_MISMATCH = 5893;
        public const int ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP = 5894;
        public const int ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH = 5895;
        public const int ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP = 5896;
        public const int ERROR_CLUSTER_PARAMETER_MISMATCH = 5897;
        public const int ERROR_NODE_CANNOT_BE_CLUSTERED = 5898;
        public const int ERROR_CLUSTER_WRONG_OS_VERSION = 5899;
        public const int ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME = 5900;
        public const int ERROR_CLUSCFG_ALREADY_COMMITTED = 5901;
        public const int ERROR_CLUSCFG_ROLLBACK_FAILED = 5902;
        public const int ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT = 5903;
        public const int ERROR_CLUSTER_OLD_VERSION = 5904;
        public const int ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME = 5905;
        public const int ERROR_ENCRYPTION_FAILED = 6000;
        public const int ERROR_DECRYPTION_FAILED = 6001;
        public const int ERROR_FILE_ENCRYPTED = 6002;
        public const int ERROR_NO_RECOVERY_POLICY = 6003;
        public const int ERROR_NO_EFS = 6004;
        public const int ERROR_WRONG_EFS = 6005;
        public const int ERROR_NO_USER_KEYS = 6006;
        public const int ERROR_FILE_NOT_ENCRYPTED = 6007;
        public const int ERROR_NOT_EXPORT_FORMAT = 6008;
        public const int ERROR_FILE_READ_ONLY = 6009;
        public const int ERROR_DIR_EFS_DISALLOWED = 6010;
        public const int ERROR_EFS_SERVER_NOT_TRUSTED = 6011;
        public const int ERROR_BAD_RECOVERY_POLICY = 6012;
        public const int ERROR_EFS_ALG_BLOB_TOO_BIG = 6013;
        public const int ERROR_VOLUME_NOT_SUPPORT_EFS = 6014;
        public const int ERROR_EFS_DISABLED = 6015;
        public const int ERROR_EFS_VERSION_NOT_SUPPORT = 6016;
        public const int ERROR_NO_BROWSER_SERVERS_FOUND = 6118;
        public const int SCHED_E_SERVICE_NOT_LOCALSYSTEM = 6200;
        public const int ERROR_CTX_WINSTATION_NAME_INVALID = 7001;
        public const int ERROR_CTX_INVALID_PD = 7002;
        public const int ERROR_CTX_PD_NOT_FOUND = 7003;
        public const int ERROR_CTX_WD_NOT_FOUND = 7004;
        public const int ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY = 7005;
        public const int ERROR_CTX_SERVICE_NAME_COLLISION = 7006;
        public const int ERROR_CTX_CLOSE_PENDING = 7007;
        public const int ERROR_CTX_NO_OUTBUF = 7008;
        public const int ERROR_CTX_MODEM_INF_NOT_FOUND = 7009;
        public const int ERROR_CTX_INVALID_MODEMNAME = 7010;
        public const int ERROR_CTX_MODEM_RESPONSE_ERROR = 7011;
        public const int ERROR_CTX_MODEM_RESPONSE_TIMEOUT = 7012;
        public const int ERROR_CTX_MODEM_RESPONSE_NO_CARRIER = 7013;
        public const int ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE = 7014;
        public const int ERROR_CTX_MODEM_RESPONSE_BUSY = 7015;
        public const int ERROR_CTX_MODEM_RESPONSE_VOICE = 7016;
        public const int ERROR_CTX_TD_ERROR = 7017;
        public const int ERROR_CTX_WINSTATION_NOT_FOUND = 7022;
        public const int ERROR_CTX_WINSTATION_ALREADY_EXISTS = 7023;
        public const int ERROR_CTX_WINSTATION_BUSY = 7024;
        public const int ERROR_CTX_BAD_VIDEO_MODE = 7025;
        public const int ERROR_CTX_GRAPHICS_INVALID = 7035;
        public const int ERROR_CTX_LOGON_DISABLED = 7037;
        public const int ERROR_CTX_NOT_CONSOLE = 7038;
        public const int ERROR_CTX_CLIENT_QUERY_TIMEOUT = 7040;
        public const int ERROR_CTX_CONSOLE_DISCONNECT = 7041;
        public const int ERROR_CTX_CONSOLE_CONNECT = 7042;
        public const int ERROR_CTX_SHADOW_DENIED = 7044;
        public const int ERROR_CTX_WINSTATION_ACCESS_DENIED = 7045;
        public const int ERROR_CTX_INVALID_WD = 7049;
        public const int ERROR_CTX_SHADOW_INVALID = 7050;
        public const int ERROR_CTX_SHADOW_DISABLED = 7051;
        public const int ERROR_CTX_CLIENT_LICENSE_IN_USE = 7052;
        public const int ERROR_CTX_CLIENT_LICENSE_NOT_SET = 7053;
        public const int ERROR_CTX_LICENSE_NOT_AVAILABLE = 7054;
        public const int ERROR_CTX_LICENSE_CLIENT_INVALID = 7055;
        public const int ERROR_CTX_LICENSE_EXPIRED = 7056;
        public const int ERROR_CTX_SHADOW_NOT_RUNNING = 7057;
        public const int ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE = 7058;
        public const int ERROR_ACTIVATION_COUNT_EXCEEDED = 7059;
        public const int FRS_ERR_INVALID_API_SEQUENCE = 8001;
        public const int FRS_ERR_STARTING_SERVICE = 8002;
        public const int FRS_ERR_STOPPING_SERVICE = 8003;
        public const int FRS_ERR_INTERNAL_API = 8004;
        public const int FRS_ERR_INTERNAL = 8005;
        public const int FRS_ERR_SERVICE_COMM = 8006;
        public const int FRS_ERR_INSUFFICIENT_PRIV = 8007;
        public const int FRS_ERR_AUTHENTICATION = 8008;
        public const int FRS_ERR_PARENT_INSUFFICIENT_PRIV = 8009;
        public const int FRS_ERR_PARENT_AUTHENTICATION = 8010;
        public const int FRS_ERR_CHILD_TO_PARENT_COMM = 8011;
        public const int FRS_ERR_PARENT_TO_CHILD_COMM = 8012;
        public const int FRS_ERR_SYSVOL_POPULATE = 8013;
        public const int FRS_ERR_SYSVOL_POPULATE_TIMEOUT = 8014;
        public const int FRS_ERR_SYSVOL_IS_BUSY = 8015;
        public const int FRS_ERR_SYSVOL_DEMOTE = 8016;
        public const int FRS_ERR_INVALID_SERVICE_PARAMETER = 8017;
        public const int ERROR_DS_NOT_INSTALLED = 8200;
        public const int ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY = 8201;
        public const int ERROR_DS_NO_ATTRIBUTE_OR_VALUE = 8202;
        public const int ERROR_DS_INVALID_ATTRIBUTE_SYNTAX = 8203;
        public const int ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED = 8204;
        public const int ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS = 8205;
        public const int ERROR_DS_BUSY = 8206;
        public const int ERROR_DS_UNAVAILABLE = 8207;
        public const int ERROR_DS_NO_RIDS_ALLOCATED = 8208;
        public const int ERROR_DS_NO_MORE_RIDS = 8209;
        public const int ERROR_DS_INCORRECT_ROLE_OWNER = 8210;
        public const int ERROR_DS_RIDMGR_INIT_ERROR = 8211;
        public const int ERROR_DS_OBJ_CLASS_VIOLATION = 8212;
        public const int ERROR_DS_CANT_ON_NON_LEAF = 8213;
        public const int ERROR_DS_CANT_ON_RDN = 8214;
        public const int ERROR_DS_CANT_MOD_OBJ_CLASS = 8215;
        public const int ERROR_DS_CROSS_DOM_MOVE_ERROR = 8216;
        public const int ERROR_DS_GC_NOT_AVAILABLE = 8217;
        public const int ERROR_SHARED_POLICY = 8218;
        public const int ERROR_POLICY_OBJECT_NOT_FOUND = 8219;
        public const int ERROR_POLICY_ONLY_IN_DS = 8220;
        public const int ERROR_PROMOTION_ACTIVE = 8221;
        public const int ERROR_NO_PROMOTION_ACTIVE = 8222;
        public const int ERROR_DS_OPERATIONS_ERROR = 8224;
        public const int ERROR_DS_PROTOCOL_ERROR = 8225;
        public const int ERROR_DS_TIMELIMIT_EXCEEDED = 8226;
        public const int ERROR_DS_SIZELIMIT_EXCEEDED = 8227;
        public const int ERROR_DS_ADMIN_LIMIT_EXCEEDED = 8228;
        public const int ERROR_DS_COMPARE_FALSE = 8229;
        public const int ERROR_DS_COMPARE_TRUE = 8230;
        public const int ERROR_DS_AUTH_METHOD_NOT_SUPPORTED = 8231;
        public const int ERROR_DS_STRONG_AUTH_REQUIRED = 8232;
        public const int ERROR_DS_INAPPROPRIATE_AUTH = 8233;
        public const int ERROR_DS_AUTH_UNKNOWN = 8234;
        public const int ERROR_DS_REFERRAL = 8235;
        public const int ERROR_DS_UNAVAILABLE_CRIT_EXTENSION = 8236;
        public const int ERROR_DS_CONFIDENTIALITY_REQUIRED = 8237;
        public const int ERROR_DS_INAPPROPRIATE_MATCHING = 8238;
        public const int ERROR_DS_CONSTRAINT_VIOLATION = 8239;
        public const int ERROR_DS_NO_SUCH_OBJECT = 8240;
        public const int ERROR_DS_ALIAS_PROBLEM = 8241;
        public const int ERROR_DS_INVALID_DN_SYNTAX = 8242;
        public const int ERROR_DS_IS_LEAF = 8243;
        public const int ERROR_DS_ALIAS_DEREF_PROBLEM = 8244;
        public const int ERROR_DS_UNWILLING_TO_PERFORM = 8245;
        public const int ERROR_DS_LOOP_DETECT = 8246;
        public const int ERROR_DS_NAMING_VIOLATION = 8247;
        public const int ERROR_DS_OBJECT_RESULTS_TOO_LARGE = 8248;
        public const int ERROR_DS_AFFECTS_MULTIPLE_DSAS = 8249;
        public const int ERROR_DS_SERVER_DOWN = 8250;
        public const int ERROR_DS_LOCAL_ERROR = 8251;
        public const int ERROR_DS_ENCODING_ERROR = 8252;
        public const int ERROR_DS_DECODING_ERROR = 8253;
        public const int ERROR_DS_FILTER_UNKNOWN = 8254;
        public const int ERROR_DS_PARAM_ERROR = 8255;
        public const int ERROR_DS_NOT_SUPPORTED = 8256;
        public const int ERROR_DS_NO_RESULTS_RETURNED = 8257;
        public const int ERROR_DS_CONTROL_NOT_FOUND = 8258;
        public const int ERROR_DS_CLIENT_LOOP = 8259;
        public const int ERROR_DS_REFERRAL_LIMIT_EXCEEDED = 8260;
        public const int ERROR_DS_SORT_CONTROL_MISSING = 8261;
        public const int ERROR_DS_OFFSET_RANGE_ERROR = 8262;
        public const int ERROR_DS_ROOT_MUST_BE_NC = 8301;
        public const int ERROR_DS_ADD_REPLICA_INHIBITED = 8302;
        public const int ERROR_DS_ATT_NOT_DEF_IN_SCHEMA = 8303;
        public const int ERROR_DS_MAX_OBJ_SIZE_EXCEEDED = 8304;
        public const int ERROR_DS_OBJ_STRING_NAME_EXISTS = 8305;
        public const int ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA = 8306;
        public const int ERROR_DS_RDN_DOESNT_MATCH_SCHEMA = 8307;
        public const int ERROR_DS_NO_REQUESTED_ATTS_FOUND = 8308;
        public const int ERROR_DS_USER_BUFFER_TO_SMALL = 8309;
        public const int ERROR_DS_ATT_IS_NOT_ON_OBJ = 8310;
        public const int ERROR_DS_ILLEGAL_MOD_OPERATION = 8311;
        public const int ERROR_DS_OBJ_TOO_LARGE = 8312;
        public const int ERROR_DS_BAD_INSTANCE_TYPE = 8313;
        public const int ERROR_DS_MASTERDSA_REQUIRED = 8314;
        public const int ERROR_DS_OBJECT_CLASS_REQUIRED = 8315;
        public const int ERROR_DS_MISSING_REQUIRED_ATT = 8316;
        public const int ERROR_DS_ATT_NOT_DEF_FOR_CLASS = 8317;
        public const int ERROR_DS_ATT_ALREADY_EXISTS = 8318;
        public const int ERROR_DS_CANT_ADD_ATT_VALUES = 8320;
        public const int ERROR_DS_SINGLE_VALUE_CONSTRAINT = 8321;
        public const int ERROR_DS_RANGE_CONSTRAINT = 8322;
        public const int ERROR_DS_ATT_VAL_ALREADY_EXISTS = 8323;
        public const int ERROR_DS_CANT_REM_MISSING_ATT = 8324;
        public const int ERROR_DS_CANT_REM_MISSING_ATT_VAL = 8325;
        public const int ERROR_DS_ROOT_CANT_BE_SUBREF = 8326;
        public const int ERROR_DS_NO_CHAINING = 8327;
        public const int ERROR_DS_NO_CHAINED_EVAL = 8328;
        public const int ERROR_DS_NO_PARENT_OBJECT = 8329;
        public const int ERROR_DS_PARENT_IS_AN_ALIAS = 8330;
        public const int ERROR_DS_CANT_MIX_MASTER_AND_REPS = 8331;
        public const int ERROR_DS_CHILDREN_EXIST = 8332;
        public const int ERROR_DS_OBJ_NOT_FOUND = 8333;
        public const int ERROR_DS_ALIASED_OBJ_MISSING = 8334;
        public const int ERROR_DS_BAD_NAME_SYNTAX = 8335;
        public const int ERROR_DS_ALIAS_POINTS_TO_ALIAS = 8336;
        public const int ERROR_DS_CANT_DEREF_ALIAS = 8337;
        public const int ERROR_DS_OUT_OF_SCOPE = 8338;
        public const int ERROR_DS_OBJECT_BEING_REMOVED = 8339;
        public const int ERROR_DS_CANT_DELETE_DSA_OBJ = 8340;
        public const int ERROR_DS_GENERIC_ERROR = 8341;
        public const int ERROR_DS_DSA_MUST_BE_INT_MASTER = 8342;
        public const int ERROR_DS_CLASS_NOT_DSA = 8343;
        public const int ERROR_DS_INSUFF_ACCESS_RIGHTS = 8344;
        public const int ERROR_DS_ILLEGAL_SUPERIOR = 8345;
        public const int ERROR_DS_ATTRIBUTE_OWNED_BY_SAM = 8346;
        public const int ERROR_DS_NAME_TOO_MANY_PARTS = 8347;
        public const int ERROR_DS_NAME_TOO_Int32 = 8348;
        public const int ERROR_DS_NAME_VALUE_TOO_Int32 = 8349;
        public const int ERROR_DS_NAME_UNPARSEABLE = 8350;
        public const int ERROR_DS_NAME_TYPE_UNKNOWN = 8351;
        public const int ERROR_DS_NOT_AN_OBJECT = 8352;
        public const int ERROR_DS_SEC_DESC_TOO_Int16 = 8353;
        public const int ERROR_DS_SEC_DESC_INVALID = 8354;
        public const int ERROR_DS_NO_DELETED_NAME = 8355;
        public const int ERROR_DS_SUBREF_MUST_HAVE_PARENT = 8356;
        public const int ERROR_DS_NCNAME_MUST_BE_NC = 8357;
        public const int ERROR_DS_CANT_ADD_SYSTEM_ONLY = 8358;
        public const int ERROR_DS_CLASS_MUST_BE_CONCRETE = 8359;
        public const int ERROR_DS_INVALID_DMD = 8360;
        public const int ERROR_DS_OBJ_GUID_EXISTS = 8361;
        public const int ERROR_DS_NOT_ON_BACKLINK = 8362;
        public const int ERROR_DS_NO_CROSSREF_FOR_NC = 8363;
        public const int ERROR_DS_SHUTTING_DOWN = 8364;
        public const int ERROR_DS_UNKNOWN_OPERATION = 8365;
        public const int ERROR_DS_INVALID_ROLE_OWNER = 8366;
        public const int ERROR_DS_COULDNT_CONTACT_FSMO = 8367;
        public const int ERROR_DS_CROSS_NC_DN_RENAME = 8368;
        public const int ERROR_DS_CANT_MOD_SYSTEM_ONLY = 8369;
        public const int ERROR_DS_REPLICATOR_ONLY = 8370;
        public const int ERROR_DS_OBJ_CLASS_NOT_DEFINED = 8371;
        public const int ERROR_DS_OBJ_CLASS_NOT_SUBCLASS = 8372;
        public const int ERROR_DS_NAME_REFERENCE_INVALID = 8373;
        public const int ERROR_DS_CROSS_REF_EXISTS = 8374;
        public const int ERROR_DS_CANT_DEL_MASTER_CROSSREF = 8375;
        public const int ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD = 8376;
        public const int ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX = 8377;
        public const int ERROR_DS_DUP_RDN = 8378;
        public const int ERROR_DS_DUP_OID = 8379;
        public const int ERROR_DS_DUP_MAPI_ID = 8380;
        public const int ERROR_DS_DUP_SCHEMA_ID_GUID = 8381;
        public const int ERROR_DS_DUP_LDAP_DISPLAY_NAME = 8382;
        public const int ERROR_DS_SEMANTIC_ATT_TEST = 8383;
        public const int ERROR_DS_SYNTAX_MISMATCH = 8384;
        public const int ERROR_DS_EXISTS_IN_MUST_HAVE = 8385;
        public const int ERROR_DS_EXISTS_IN_MAY_HAVE = 8386;
        public const int ERROR_DS_NONEXISTENT_MAY_HAVE = 8387;
        public const int ERROR_DS_NONEXISTENT_MUST_HAVE = 8388;
        public const int ERROR_DS_AUX_CLS_TEST_FAIL = 8389;
        public const int ERROR_DS_NONEXISTENT_POSS_SUP = 8390;
        public const int ERROR_DS_SUB_CLS_TEST_FAIL = 8391;
        public const int ERROR_DS_BAD_RDN_ATT_ID_SYNTAX = 8392;
        public const int ERROR_DS_EXISTS_IN_AUX_CLS = 8393;
        public const int ERROR_DS_EXISTS_IN_SUB_CLS = 8394;
        public const int ERROR_DS_EXISTS_IN_POSS_SUP = 8395;
        public const int ERROR_DS_RECALCSCHEMA_FAILED = 8396;
        public const int ERROR_DS_TREE_DELETE_NOT_FINISHED = 8397;
        public const int ERROR_DS_CANT_DELETE = 8398;
        public const int ERROR_DS_ATT_SCHEMA_REQ_ID = 8399;
        public const int ERROR_DS_BAD_ATT_SCHEMA_SYNTAX = 8400;
        public const int ERROR_DS_CANT_CACHE_ATT = 8401;
        public const int ERROR_DS_CANT_CACHE_CLASS = 8402;
        public const int ERROR_DS_CANT_REMOVE_ATT_CACHE = 8403;
        public const int ERROR_DS_CANT_REMOVE_CLASS_CACHE = 8404;
        public const int ERROR_DS_CANT_RETRIEVE_DN = 8405;
        public const int ERROR_DS_MISSING_SUPREF = 8406;
        public const int ERROR_DS_CANT_RETRIEVE_INSTANCE = 8407;
        public const int ERROR_DS_CODE_INCONSISTENCY = 8408;
        public const int ERROR_DS_DATABASE_ERROR = 8409;
        public const int ERROR_DS_GOVERNSID_MISSING = 8410;
        public const int ERROR_DS_MISSING_EXPECTED_ATT = 8411;
        public const int ERROR_DS_NCNAME_MISSING_CR_REF = 8412;
        public const int ERROR_DS_SECURITY_CHECKING_ERROR = 8413;
        public const int ERROR_DS_SCHEMA_NOT_LOADED = 8414;
        public const int ERROR_DS_SCHEMA_ALLOC_FAILED = 8415;
        public const int ERROR_DS_ATT_SCHEMA_REQ_SYNTAX = 8416;
        public const int ERROR_DS_GCVERIFY_ERROR = 8417;
        public const int ERROR_DS_DRA_SCHEMA_MISMATCH = 8418;
        public const int ERROR_DS_CANT_FIND_DSA_OBJ = 8419;
        public const int ERROR_DS_CANT_FIND_EXPECTED_NC = 8420;
        public const int ERROR_DS_CANT_FIND_NC_IN_CACHE = 8421;
        public const int ERROR_DS_CANT_RETRIEVE_CHILD = 8422;
        public const int ERROR_DS_SECURITY_ILLEGAL_MODIFY = 8423;
        public const int ERROR_DS_CANT_REPLACE_HIDDEN_REC = 8424;
        public const int ERROR_DS_BAD_HIERARCHY_FILE = 8425;
        public const int ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED = 8426;
        public const int ERROR_DS_CONFIG_PARAM_MISSING = 8427;
        public const int ERROR_DS_COUNTING_AB_INDICES_FAILED = 8428;
        public const int ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED = 8429;
        public const int ERROR_DS_INTERNAL_FAILURE = 8430;
        public const int ERROR_DS_UNKNOWN_ERROR = 8431;
        public const int ERROR_DS_ROOT_REQUIRES_CLASS_TOP = 8432;
        public const int ERROR_DS_REFUSING_FSMO_ROLES = 8433;
        public const int ERROR_DS_MISSING_FSMO_SETTINGS = 8434;
        public const int ERROR_DS_UNABLE_TO_SURRENDER_ROLES = 8435;
        public const int ERROR_DS_DRA_GENERIC = 8436;
        public const int ERROR_DS_DRA_INVALID_PARAMETER = 8437;
        public const int ERROR_DS_DRA_BUSY = 8438;
        public const int ERROR_DS_DRA_BAD_DN = 8439;
        public const int ERROR_DS_DRA_BAD_NC = 8440;
        public const int ERROR_DS_DRA_DN_EXISTS = 8441;
        public const int ERROR_DS_DRA_INTERNAL_ERROR = 8442;
        public const int ERROR_DS_DRA_INCONSISTENT_DIT = 8443;
        public const int ERROR_DS_DRA_CONNECTION_FAILED = 8444;
        public const int ERROR_DS_DRA_BAD_INSTANCE_TYPE = 8445;
        public const int ERROR_DS_DRA_OUT_OF_MEM = 8446;
        public const int ERROR_DS_DRA_MAIL_PROBLEM = 8447;
        public const int ERROR_DS_DRA_REF_ALREADY_EXISTS = 8448;
        public const int ERROR_DS_DRA_REF_NOT_FOUND = 8449;
        public const int ERROR_DS_DRA_OBJ_IS_REP_SOURCE = 8450;
        public const int ERROR_DS_DRA_DB_ERROR = 8451;
        public const int ERROR_DS_DRA_NO_REPLICA = 8452;
        public const int ERROR_DS_DRA_ACCESS_DENIED = 8453;
        public const int ERROR_DS_DRA_NOT_SUPPORTED = 8454;
        public const int ERROR_DS_DRA_RPC_CANCELLED = 8455;
        public const int ERROR_DS_DRA_SOURCE_DISABLED = 8456;
        public const int ERROR_DS_DRA_SINK_DISABLED = 8457;
        public const int ERROR_DS_DRA_NAME_COLLISION = 8458;
        public const int ERROR_DS_DRA_SOURCE_REINSTALLED = 8459;
        public const int ERROR_DS_DRA_MISSING_PARENT = 8460;
        public const int ERROR_DS_DRA_PREEMPTED = 8461;
        public const int ERROR_DS_DRA_ABANDON_SYNC = 8462;
        public const int ERROR_DS_DRA_SHUTDOWN = 8463;
        public const int ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET = 8464;
        public const int ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA = 8465;
        public const int ERROR_DS_DRA_EXTN_CONNECTION_FAILED = 8466;
        public const int ERROR_DS_INSTALL_SCHEMA_MISMATCH = 8467;
        public const int ERROR_DS_DUP_LINK_ID = 8468;
        public const int ERROR_DS_NAME_ERROR_RESOLVING = 8469;
        public const int ERROR_DS_NAME_ERROR_NOT_FOUND = 8470;
        public const int ERROR_DS_NAME_ERROR_NOT_UNIQUE = 8471;
        public const int ERROR_DS_NAME_ERROR_NO_MAPPING = 8472;
        public const int ERROR_DS_NAME_ERROR_DOMAIN_ONLY = 8473;
        public const int ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 8474;
        public const int ERROR_DS_CONSTRUCTED_ATT_MOD = 8475;
        public const int ERROR_DS_WRONG_OM_OBJ_CLASS = 8476;
        public const int ERROR_DS_DRA_REPL_PENDING = 8477;
        public const int ERROR_DS_DS_REQUIRED = 8478;
        public const int ERROR_DS_INVALID_LDAP_DISPLAY_NAME = 8479;
        public const int ERROR_DS_NON_BASE_SEARCH = 8480;
        public const int ERROR_DS_CANT_RETRIEVE_ATTS = 8481;
        public const int ERROR_DS_BACKLINK_WITHOUT_LINK = 8482;
        public const int ERROR_DS_EPOCH_MISMATCH = 8483;
        public const int ERROR_DS_SRC_NAME_MISMATCH = 8484;
        public const int ERROR_DS_SRC_AND_DST_NC_IDENTICAL = 8485;
        public const int ERROR_DS_DST_NC_MISMATCH = 8486;
        public const int ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC = 8487;
        public const int ERROR_DS_SRC_GUID_MISMATCH = 8488;
        public const int ERROR_DS_CANT_MOVE_DELETED_OBJECT = 8489;
        public const int ERROR_DS_PDC_OPERATION_IN_PROGRESS = 8490;
        public const int ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD = 8491;
        public const int ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION = 8492;
        public const int ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS = 8493;
        public const int ERROR_DS_NC_MUST_HAVE_NC_PARENT = 8494;
        public const int ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE = 8495;
        public const int ERROR_DS_DST_DOMAIN_NOT_NATIVE = 8496;
        public const int ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER = 8497;
        public const int ERROR_DS_CANT_MOVE_ACCOUNT_GROUP = 8498;
        public const int ERROR_DS_CANT_MOVE_RESOURCE_GROUP = 8499;
        public const int ERROR_DS_INVALID_SEARCH_FLAG = 8500;
        public const int ERROR_DS_NO_TREE_DELETE_ABOVE_NC = 8501;
        public const int ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE = 8502;
        public const int ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE = 8503;
        public const int ERROR_DS_SAM_INIT_FAILURE = 8504;
        public const int ERROR_DS_SENSITIVE_GROUP_VIOLATION = 8505;
        public const int ERROR_DS_CANT_MOD_PRIMARYGROUPID = 8506;
        public const int ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD = 8507;
        public const int ERROR_DS_NONSAFE_SCHEMA_CHANGE = 8508;
        public const int ERROR_DS_SCHEMA_UPDATE_DISALLOWED = 8509;
        public const int ERROR_DS_CANT_CREATE_UNDER_SCHEMA = 8510;
        public const int ERROR_DS_INSTALL_NO_SRC_SCH_VERSION = 8511;
        public const int ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE = 8512;
        public const int ERROR_DS_INVALID_GROUP_TYPE = 8513;
        public const int ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN = 8514;
        public const int ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN = 8515;
        public const int ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER = 8516;
        public const int ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER = 8517;
        public const int ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER = 8518;
        public const int ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER = 8519;
        public const int ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER = 8520;
        public const int ERROR_DS_HAVE_PRIMARY_MEMBERS = 8521;
        public const int ERROR_DS_STRING_SD_CONVERSION_FAILED = 8522;
        public const int ERROR_DS_NAMING_MASTER_GC = 8523;
        public const int ERROR_DS_DNS_LOOKUP_FAILURE = 8524;
        public const int ERROR_DS_COULDNT_UPDATE_SPNS = 8525;
        public const int ERROR_DS_CANT_RETRIEVE_SD = 8526;
        public const int ERROR_DS_KEY_NOT_UNIQUE = 8527;
        public const int ERROR_DS_WRONG_LINKED_ATT_SYNTAX = 8528;
        public const int ERROR_DS_SAM_NEED_BOOTKEY_PASSUInt16 = 8529;
        public const int ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY = 8530;
        public const int ERROR_DS_CANT_START = 8531;
        public const int ERROR_DS_INIT_FAILURE = 8532;
        public const int ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION = 8533;
        public const int ERROR_DS_SOURCE_DOMAIN_IN_FOREST = 8534;
        public const int ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST = 8535;
        public const int ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED = 8536;
        public const int ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN = 8537;
        public const int ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER = 8538;
        public const int ERROR_DS_SRC_SID_EXISTS_IN_FOREST = 8539;
        public const int ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH = 8540;
        public const int ERROR_SAM_INIT_FAILURE = 8541;
        public const int ERROR_DS_DRA_SCHEMA_INFO_SHIP = 8542;
        public const int ERROR_DS_DRA_SCHEMA_CONFLICT = 8543;
        public const int ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT = 8544;
        public const int ERROR_DS_DRA_OBJ_NC_MISMATCH = 8545;
        public const int ERROR_DS_NC_STILL_HAS_DSAS = 8546;
        public const int ERROR_DS_GC_REQUIRED = 8547;
        public const int ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY = 8548;
        public const int ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS = 8549;
        public const int ERROR_DS_CANT_ADD_TO_GC = 8550;
        public const int ERROR_DS_NO_CHECKPOINT_WITH_PDC = 8551;
        public const int ERROR_DS_SOURCE_AUDITING_NOT_ENABLED = 8552;
        public const int ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC = 8553;
        public const int ERROR_DS_INVALID_NAME_FOR_SPN = 8554;
        public const int ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS = 8555;
        public const int ERROR_DS_UNICODEPWD_NOT_IN_QUOTES = 8556;
        public const int ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED = 8557;
        public const int ERROR_DS_MUST_BE_RUN_ON_DST_DC = 8558;
        public const int ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER = 8559;
        public const int ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ = 8560;
        public const int ERROR_DS_INIT_FAILURE_CONSOLE = 8561;
        public const int ERROR_DS_SAM_INIT_FAILURE_CONSOLE = 8562;
        public const int ERROR_DS_FOREST_VERSION_TOO_HIGH = 8563;
        public const int ERROR_DS_DOMAIN_VERSION_TOO_HIGH = 8564;
        public const int ERROR_DS_FOREST_VERSION_TOO_LOW = 8565;
        public const int ERROR_DS_DOMAIN_VERSION_TOO_LOW = 8566;
        public const int ERROR_DS_INCOMPATIBLE_VERSION = 8567;
        public const int ERROR_DS_LOW_DSA_VERSION = 8568;
        public const int ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN = 8569;
        public const int ERROR_DS_NOT_SUPPORTED_SORT_ORDER = 8570;
        public const int ERROR_DS_NAME_NOT_UNIQUE = 8571;
        public const int ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 = 8572;
        public const int ERROR_DS_OUT_OF_VERSION_STORE = 8573;
        public const int ERROR_DS_INCOMPATIBLE_CONTROLS_USED = 8574;
        public const int ERROR_DS_NO_REF_DOMAIN = 8575;
        public const int ERROR_DS_RESERVED_LINK_ID = 8576;
        public const int ERROR_DS_LINK_ID_NOT_AVAILABLE = 8577;
        public const int ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER = 8578;
        public const int ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE = 8579;
        public const int ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC = 8580;
        public const int ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG = 8581;
        public const int ERROR_DS_MODIFYDN_WRONG_GRANDPARENT = 8582;
        public const int ERROR_DS_NAME_ERROR_TRUST_REFERRAL = 8583;
        public const int ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER = 8584;
        public const int ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD = 8585;
        public const int ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 = 8586;
        public const int ERROR_DS_THREAD_LIMIT_EXCEEDED = 8587;
        public const int ERROR_DS_NOT_CLOSEST = 8588;
        public const int ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF = 8589;
        public const int ERROR_DS_SINGLE_USER_MODE_FAILED = 8590;
        public const int ERROR_DS_NTDSCRIPT_SYNTAX_ERROR = 8591;
        public const int ERROR_DS_NTDSCRIPT_PROCESS_ERROR = 8592;
        public const int ERROR_DS_DIFFERENT_REPL_EPOCHS = 8593;
        public const int ERROR_DS_DRS_EXTENSIONS_CHANGED = 8594;
        public const int ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR = 8595;
        public const int ERROR_DS_NO_MSDS_INTID = 8596;
        public const int ERROR_DS_DUP_MSDS_INTID = 8597;
        public const int ERROR_DS_EXISTS_IN_RDNATTID = 8598;
        public const int ERROR_DS_AUTHORIZATION_FAILED = 8599;
        public const int ERROR_DS_INVALID_SCRIPT = 8600;
        public const int ERROR_DS_REMOTE_CROSSREF_OP_FAILED = 8601;
        public const int ERROR_DS_CROSS_REF_BUSY = 8602;
        public const int ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN = 8603;
        public const int ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC = 8604;
        public const int ERROR_DS_DUPLICATE_ID_FOUND = 8605;
        public const int ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT = 8606;
        public const int ERROR_DS_GROUP_CONVERSION_ERROR = 8607;
        public const int ERROR_DS_CANT_MOVE_APP_BASIC_GROUP = 8608;
        public const int ERROR_DS_CANT_MOVE_APP_QUERY_GROUP = 8609;
        public const int ERROR_DS_ROLE_NOT_VERIFIED = 8610;
        public const int ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL = 8611;
        public const int ERROR_DS_DOMAIN_RENAME_IN_PROGRESS = 8612;
        public const int ERROR_DS_EXISTING_AD_CHILD_NC = 8613;
        public const int ERROR_DS_REPL_LIFETIME_EXCEEDED = 8614;
        public const int ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER = 8615;
        public const int ERROR_DS_LDAP_SEND_QUEUE_FULL = 8616;
        public const int DNS_ERROR_RESPONSE_CODES_BASE = 9000;
        public const int DNS_ERROR_RCODE_FORMAT_ERROR = 9001;
        public const int DNS_ERROR_RCODE_SERVER_FAILURE = 9002;
        public const int DNS_ERROR_RCODE_NAME_ERROR = 9003;
        public const int DNS_ERROR_RCODE_NOT_IMPLEMENTED = 9004;
        public const int DNS_ERROR_RCODE_REFUSED = 9005;
        public const int DNS_ERROR_RCODE_YXDOMAIN = 9006;
        public const int DNS_ERROR_RCODE_YXRRSET = 9007;
        public const int DNS_ERROR_RCODE_NXRRSET = 9008;
        public const int DNS_ERROR_RCODE_NOTAUTH = 9009;
        public const int DNS_ERROR_RCODE_NOTZONE = 9010;
        public const int DNS_ERROR_RCODE_BADSIG = 9016;
        public const int DNS_ERROR_RCODE_BADKEY = 9017;
        public const int DNS_ERROR_RCODE_BADTIME = 9018;
        public const int DNS_ERROR_PACKET_FMT_BASE = 9500;
        public const int DNS_INFO_NO_RECORDS = 9501;
        public const int DNS_ERROR_BAD_PACKET = 9502;
        public const int DNS_ERROR_NO_PACKET = 9503;
        public const int DNS_ERROR_RCODE = 9504;
        public const int DNS_ERROR_UNSECURE_PACKET = 9505;
        public const int DNS_ERROR_NO_MEMORY = ERROR_OUTOFMEMORY;
        public const int DNS_ERROR_INVALID_NAME = ERROR_INVALID_NAME;
        public const int DNS_ERROR_INVALID_DATA = ERROR_INVALID_DATA;
        public const int DNS_ERROR_GENERAL_API_BASE = 9550;
        public const int DNS_ERROR_INVALID_TYPE = 9551;
        public const int DNS_ERROR_INVALID_IP_ADDRESS = 9552;
        public const int DNS_ERROR_INVALID_PROPERTY = 9553;
        public const int DNS_ERROR_TRY_AGAIN_LATER = 9554;
        public const int DNS_ERROR_NOT_UNIQUE = 9555;
        public const int DNS_ERROR_NON_RFC_NAME = 9556;
        public const int DNS_STATUS_FQDN = 9557;
        public const int DNS_STATUS_DOTTED_NAME = 9558;
        public const int DNS_STATUS_SINGLE_PART_NAME = 9559;
        public const int DNS_ERROR_INVALID_NAME_CHAR = 9560;
        public const int DNS_ERROR_NUMERIC_NAME = 9561;
        public const int DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER = 9562;
        public const int DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION = 9563;
        public const int DNS_ERROR_CANNOT_FIND_ROOT_HINTS = 9564;
        public const int DNS_ERROR_INCONSISTENT_ROOT_HINTS = 9565;
        public const int DNS_ERROR_ZONE_BASE = 9600;
        public const int DNS_ERROR_ZONE_DOES_NOT_EXIST = 9601;
        public const int DNS_ERROR_NO_ZONE_INFO = 9602;
        public const int DNS_ERROR_INVALID_ZONE_OPERATION = 9603;
        public const int DNS_ERROR_ZONE_CONFIGURATION_ERROR = 9604;
        public const int DNS_ERROR_ZONE_HAS_NO_SOA_RECORD = 9605;
        public const int DNS_ERROR_ZONE_HAS_NO_NS_RECORDS = 9606;
        public const int DNS_ERROR_ZONE_LOCKED = 9607;
        public const int DNS_ERROR_ZONE_CREATION_FAILED = 9608;
        public const int DNS_ERROR_ZONE_ALREADY_EXISTS = 9609;
        public const int DNS_ERROR_AUTOZONE_ALREADY_EXISTS = 9610;
        public const int DNS_ERROR_INVALID_ZONE_TYPE = 9611;
        public const int DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP = 9612;
        public const int DNS_ERROR_ZONE_NOT_SECONDARY = 9613;
        public const int DNS_ERROR_NEED_SECONDARY_ADDRESSES = 9614;
        public const int DNS_ERROR_WINS_INIT_FAILED = 9615;
        public const int DNS_ERROR_NEED_WINS_SERVERS = 9616;
        public const int DNS_ERROR_NBSTAT_INIT_FAILED = 9617;
        public const int DNS_ERROR_SOA_DELETE_INVALID = 9618;
        public const int DNS_ERROR_FORWARDER_ALREADY_EXISTS = 9619;
        public const int DNS_ERROR_ZONE_REQUIRES_MASTER_IP = 9620;
        public const int DNS_ERROR_ZONE_IS_SHUTDOWN = 9621;
        public const int DNS_ERROR_DATAFILE_BASE = 9650;
        public const int DNS_ERROR_PRIMARY_REQUIRES_DATAFILE = 9651;
        public const int DNS_ERROR_INVALID_DATAFILE_NAME = 9652;
        public const int DNS_ERROR_DATAFILE_OPEN_FAILURE = 9653;
        public const int DNS_ERROR_FILE_WRITEBACK_FAILED = 9654;
        public const int DNS_ERROR_DATAFILE_PARSING = 9655;
        public const int DNS_ERROR_DATABASE_BASE = 9700;
        public const int DNS_ERROR_RECORD_DOES_NOT_EXIST = 9701;
        public const int DNS_ERROR_RECORD_FORMAT = 9702;
        public const int DNS_ERROR_NODE_CREATION_FAILED = 9703;
        public const int DNS_ERROR_UNKNOWN_RECORD_TYPE = 9704;
        public const int DNS_ERROR_RECORD_TIMED_OUT = 9705;
        public const int DNS_ERROR_NAME_NOT_IN_ZONE = 9706;
        public const int DNS_ERROR_CNAME_LOOP = 9707;
        public const int DNS_ERROR_NODE_IS_CNAME = 9708;
        public const int DNS_ERROR_CNAME_COLLISION = 9709;
        public const int DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT = 9710;
        public const int DNS_ERROR_RECORD_ALREADY_EXISTS = 9711;
        public const int DNS_ERROR_SECONDARY_DATA = 9712;
        public const int DNS_ERROR_NO_CREATE_CACHE_DATA = 9713;
        public const int DNS_ERROR_NAME_DOES_NOT_EXIST = 9714;
        public const int DNS_WARNING_PTR_CREATE_FAILED = 9715;
        public const int DNS_WARNING_DOMAIN_UNDELETED = 9716;
        public const int DNS_ERROR_DS_UNAVAILABLE = 9717;
        public const int DNS_ERROR_DS_ZONE_ALREADY_EXISTS = 9718;
        public const int DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE = 9719;
        public const int DNS_ERROR_OPERATION_BASE = 9750;
        public const int DNS_INFO_AXFR_COMPLETE = 9751;
        public const int DNS_ERROR_AXFR = 9752;
        public const int DNS_INFO_ADDED_LOCAL_WINS = 9753;
        public const int DNS_ERROR_SECURE_BASE = 9800;
        public const int DNS_STATUS_CONTINUE_NEEDED = 9801;
        public const int DNS_ERROR_SETUP_BASE = 9850;
        public const int DNS_ERROR_NO_TCPIP = 9851;
        public const int DNS_ERROR_NO_DNS_SERVERS = 9852;
        public const int DNS_ERROR_DP_BASE = 9900;
        public const int DNS_ERROR_DP_DOES_NOT_EXIST = 9901;
        public const int DNS_ERROR_DP_ALREADY_EXISTS = 9902;
        public const int DNS_ERROR_DP_NOT_ENLISTED = 9903;
        public const int DNS_ERROR_DP_ALREADY_ENLISTED = 9904;
        public const int DNS_ERROR_DP_NOT_AVAILABLE = 9905;
        public const int WSABASEERR = 10000;
        public const int WSAEINTR = 10004;
        public const int WSAEBADF = 10009;
        public const int WSAEACCES = 10013;
        public const int WSAEFAULT = 10014;
        public const int WSAEINVAL = 10022;
        public const int WSAEMFILE = 10024;
        public const int WSAEWOULDBLOCK = 10035;
        public const int WSAEINPROGRESS = 10036;
        public const int WSAEALREADY = 10037;
        public const int WSAENOTSOCK = 10038;
        public const int WSAEDESTADDRREQ = 10039;
        public const int WSAEMSGSIZE = 10040;
        public const int WSAEPROTOTYPE = 10041;
        public const int WSAENOPROTOOPT = 10042;
        public const int WSAEPROTONOSUPPORT = 10043;
        public const int WSAESOCKTNOSUPPORT = 10044;
        public const int WSAEOPNOTSUPP = 10045;
        public const int WSAEPFNOSUPPORT = 10046;
        public const int WSAEAFNOSUPPORT = 10047;
        public const int WSAEADDRINUSE = 10048;
        public const int WSAEADDRNOTAVAIL = 10049;
        public const int WSAENETDOWN = 10050;
        public const int WSAENETUNREACH = 10051;
        public const int WSAENETRESET = 10052;
        public const int WSAECONNABORTED = 10053;
        public const int WSAECONNRESET = 10054;
        public const int WSAENOBUFS = 10055;
        public const int WSAEISCONN = 10056;
        public const int WSAENOTCONN = 10057;
        public const int WSAESHUTDOWN = 10058;
        public const int WSAETOOMANYREFS = 10059;
        public const int WSAETIMEDOUT = 10060;
        public const int WSAECONNREFUSED = 10061;
        public const int WSAELOOP = 10062;
        public const int WSAENAMETOOInt32 = 10063;
        public const int WSAEHOSTDOWN = 10064;
        public const int WSAEHOSTUNREACH = 10065;
        public const int WSAENOTEMPTY = 10066;
        public const int WSAEPROCLIM = 10067;
        public const int WSAEUSERS = 10068;
        public const int WSAEDQUOT = 10069;
        public const int WSAESTALE = 10070;
        public const int WSAEREMOTE = 10071;
        public const int WSASYSNOTREADY = 10091;
        public const int WSAVERNOTSUPPORTED = 10092;
        public const int WSANOTINITIALISED = 10093;
        public const int WSAEDISCON = 10101;
        public const int WSAENOMORE = 10102;
        public const int WSAECANCELLED = 10103;
        public const int WSAEINVALIDPROCTABLE = 10104;
        public const int WSAEINVALIDPROVIDER = 10105;
        public const int WSAEPROVIDERFAILEDINIT = 10106;
        public const int WSASYSCALLFAILURE = 10107;
        public const int WSASERVICE_NOT_FOUND = 10108;
        public const int WSATYPE_NOT_FOUND = 10109;
        public const int WSA_E_NO_MORE = 10110;
        public const int WSA_E_CANCELLED = 10111;
        public const int WSAEREFUSED = 10112;
        public const int WSAHOST_NOT_FOUND = 11001;
        public const int WSATRY_AGAIN = 11002;
        public const int WSANO_RECOVERY = 11003;
        public const int WSANO_DATA = 11004;
        public const int WSA_QOS_RECEIVERS = 11005;
        public const int WSA_QOS_SENDERS = 11006;
        public const int WSA_QOS_NO_SENDERS = 11007;
        public const int WSA_QOS_NO_RECEIVERS = 11008;
        public const int WSA_QOS_REQUEST_CONFIRMED = 11009;
        public const int WSA_QOS_ADMISSION_FAILURE = 11010;
        public const int WSA_QOS_POLICY_FAILURE = 11011;
        public const int WSA_QOS_BAD_STYLE = 11012;
        public const int WSA_QOS_BAD_OBJECT = 11013;
        public const int WSA_QOS_TRAFFIC_CTRL_ERROR = 11014;
        public const int WSA_QOS_GENERIC_ERROR = 11015;
        public const int WSA_QOS_ESERVICETYPE = 11016;
        public const int WSA_QOS_EFLOWSPEC = 11017;
        public const int WSA_QOS_EPROVSPECBUF = 11018;
        public const int WSA_QOS_EFILTERSTYLE = 11019;
        public const int WSA_QOS_EFILTERTYPE = 11020;
        public const int WSA_QOS_EFILTERCOUNT = 11021;
        public const int WSA_QOS_EOBJLENGTH = 11022;
        public const int WSA_QOS_EFLOWCOUNT = 11023;
        public const int WSA_QOS_EUNKOWNPSOBJ = 11024;
        public const int WSA_QOS_EPOLICYOBJ = 11025;
        public const int WSA_QOS_EFLOWDESC = 11026;
        public const int WSA_QOS_EPSFLOWSPEC = 11027;
        public const int WSA_QOS_EPSFILTERSPEC = 11028;
        public const int WSA_QOS_ESDMODEOBJ = 11029;
        public const int WSA_QOS_ESHAPERATEOBJ = 11030;
        public const int WSA_QOS_RESERVED_PETYPE = 11031;
        public const int ERROR_SXS_SECTION_NOT_FOUND = 14000;
        public const int ERROR_SXS_CANT_GEN_ACTCTX = 14001;
        public const int ERROR_SXS_INVALID_ACTCTXDATA_FORMAT = 14002;
        public const int ERROR_SXS_ASSEMBLY_NOT_FOUND = 14003;
        public const int ERROR_SXS_MANIFEST_FORMAT_ERROR = 14004;
        public const int ERROR_SXS_MANIFEST_PARSE_ERROR = 14005;
        public const int ERROR_SXS_ACTIVATION_CONTEXT_DISABLED = 14006;
        public const int ERROR_SXS_KEY_NOT_FOUND = 14007;
        public const int ERROR_SXS_VERSION_CONFLICT = 14008;
        public const int ERROR_SXS_WRONG_SECTION_TYPE = 14009;
        public const int ERROR_SXS_THREAD_QUERIES_DISABLED = 14010;
        public const int ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET = 14011;
        public const int ERROR_SXS_UNKNOWN_ENCODING_GROUP = 14012;
        public const int ERROR_SXS_UNKNOWN_ENCODING = 14013;
        public const int ERROR_SXS_INVALID_XML_NAMESPACE_URI = 14014;
        public const int ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14015;
        public const int ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED = 14016;
        public const int ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE = 14017;
        public const int ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE = 14018;
        public const int ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE = 14019;
        public const int ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT = 14020;
        public const int ERROR_SXS_DUPLICATE_DLL_NAME = 14021;
        public const int ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME = 14022;
        public const int ERROR_SXS_DUPLICATE_CLSID = 14023;
        public const int ERROR_SXS_DUPLICATE_IID = 14024;
        public const int ERROR_SXS_DUPLICATE_TLBID = 14025;
        public const int ERROR_SXS_DUPLICATE_PROGID = 14026;
        public const int ERROR_SXS_DUPLICATE_ASSEMBLY_NAME = 14027;
        public const int ERROR_SXS_FILE_HASH_MISMATCH = 14028;
        public const int ERROR_SXS_POLICY_PARSE_ERROR = 14029;
        public const int ERROR_SXS_XML_E_MISSINGQUOTE = 14030;
        public const int ERROR_SXS_XML_E_COMMENTSYNTAX = 14031;
        public const int ERROR_SXS_XML_E_BADSTARTNAMECHAR = 14032;
        public const int ERROR_SXS_XML_E_BADNAMECHAR = 14033;
        public const int ERROR_SXS_XML_E_BADCHARINSTRING = 14034;
        public const int ERROR_SXS_XML_E_XMLDECLSYNTAX = 14035;
        public const int ERROR_SXS_XML_E_BADCHARDATA = 14036;
        public const int ERROR_SXS_XML_E_MISSINGWHITESPACE = 14037;
        public const int ERROR_SXS_XML_E_EXPECTINGTAGEND = 14038;
        public const int ERROR_SXS_XML_E_MISSINGSEMICOLON = 14039;
        public const int ERROR_SXS_XML_E_UNBALANCEDPAREN = 14040;
        public const int ERROR_SXS_XML_E_INTERNALERROR = 14041;
        public const int ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE = 14042;
        public const int ERROR_SXS_XML_E_INCOMPLETE_ENCODING = 14043;
        public const int ERROR_SXS_XML_E_MISSING_PAREN = 14044;
        public const int ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE = 14045;
        public const int ERROR_SXS_XML_E_MULTIPLE_COLONS = 14046;
        public const int ERROR_SXS_XML_E_INVALID_DECIMAL = 14047;
        public const int ERROR_SXS_XML_E_INVALID_HEXIDECIMAL = 14048;
        public const int ERROR_SXS_XML_E_INVALID_UNICODE = 14049;
        public const int ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK = 14050;
        public const int ERROR_SXS_XML_E_UNEXPECTEDENDTAG = 14051;
        public const int ERROR_SXS_XML_E_UNCLOSEDTAG = 14052;
        public const int ERROR_SXS_XML_E_DUPLICATEATTRIBUTE = 14053;
        public const int ERROR_SXS_XML_E_MULTIPLEROOTS = 14054;
        public const int ERROR_SXS_XML_E_INVALIDATROOTLEVEL = 14055;
        public const int ERROR_SXS_XML_E_BADXMLDECL = 14056;
        public const int ERROR_SXS_XML_E_MISSINGROOT = 14057;
        public const int ERROR_SXS_XML_E_UNEXPECTEDEOF = 14058;
        public const int ERROR_SXS_XML_E_BADPEREFINSUBSET = 14059;
        public const int ERROR_SXS_XML_E_UNCLOSEDSTARTTAG = 14060;
        public const int ERROR_SXS_XML_E_UNCLOSEDENDTAG = 14061;
        public const int ERROR_SXS_XML_E_UNCLOSEDSTRING = 14062;
        public const int ERROR_SXS_XML_E_UNCLOSEDCOMMENT = 14063;
        public const int ERROR_SXS_XML_E_UNCLOSEDDECL = 14064;
        public const int ERROR_SXS_XML_E_UNCLOSEDCDATA = 14065;
        public const int ERROR_SXS_XML_E_RESERVEDNAMESPACE = 14066;
        public const int ERROR_SXS_XML_E_INVALIDENCODING = 14067;
        public const int ERROR_SXS_XML_E_INVALIDSWITCH = 14068;
        public const int ERROR_SXS_XML_E_BADXMLCASE = 14069;
        public const int ERROR_SXS_XML_E_INVALID_STANDALONE = 14070;
        public const int ERROR_SXS_XML_E_UNEXPECTED_STANDALONE = 14071;
        public const int ERROR_SXS_XML_E_INVALID_VERSION = 14072;
        public const int ERROR_SXS_XML_E_MISSINGEQUALS = 14073;
        public const int ERROR_SXS_PROTECTION_RECOVERY_FAILED = 14074;
        public const int ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_Int16 = 14075;
        public const int ERROR_SXS_PROTECTION_CATALOG_NOT_VALID = 14076;
        public const int ERROR_SXS_UNTRANSLATABLE_HRESULT = 14077;
        public const int ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING = 14078;
        public const int ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE = 14079;
        public const int ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME = 14080;
        public const int ERROR_IPSEC_QM_POLICY_EXISTS = 13000;
        public const int ERROR_IPSEC_QM_POLICY_NOT_FOUND = 13001;
        public const int ERROR_IPSEC_QM_POLICY_IN_USE = 13002;
        public const int ERROR_IPSEC_MM_POLICY_EXISTS = 13003;
        public const int ERROR_IPSEC_MM_POLICY_NOT_FOUND = 13004;
        public const int ERROR_IPSEC_MM_POLICY_IN_USE = 13005;
        public const int ERROR_IPSEC_MM_FILTER_EXISTS = 13006;
        public const int ERROR_IPSEC_MM_FILTER_NOT_FOUND = 13007;
        public const int ERROR_IPSEC_TRANSPORT_FILTER_EXISTS = 13008;
        public const int ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND = 13009;
        public const int ERROR_IPSEC_MM_AUTH_EXISTS = 13010;
        public const int ERROR_IPSEC_MM_AUTH_NOT_FOUND = 13011;
        public const int ERROR_IPSEC_MM_AUTH_IN_USE = 13012;
        public const int ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND = 13013;
        public const int ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND = 13014;
        public const int ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND = 13015;
        public const int ERROR_IPSEC_TUNNEL_FILTER_EXISTS = 13016;
        public const int ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND = 13017;
        public const int ERROR_IPSEC_MM_FILTER_PENDING_DELETION = 13018;
        public const int ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION = 13019;
        public const int ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION = 13020;
        public const int ERROR_IPSEC_MM_POLICY_PENDING_DELETION = 13021;
        public const int ERROR_IPSEC_MM_AUTH_PENDING_DELETION = 13022;
        public const int ERROR_IPSEC_QM_POLICY_PENDING_DELETION = 13023;
        public const int WARNING_IPSEC_MM_POLICY_PRUNED = 13024;
        public const int WARNING_IPSEC_QM_POLICY_PRUNED = 13025;
        public const int ERROR_IPSEC_IKE_NEG_STATUS_BEGIN = 13800;
        public const int ERROR_IPSEC_IKE_AUTH_FAIL = 13801;
        public const int ERROR_IPSEC_IKE_ATTRIB_FAIL = 13802;
        public const int ERROR_IPSEC_IKE_NEGOTIATION_PENDING = 13803;
        public const int ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR = 13804;
        public const int ERROR_IPSEC_IKE_TIMED_OUT = 13805;
        public const int ERROR_IPSEC_IKE_NO_CERT = 13806;
        public const int ERROR_IPSEC_IKE_SA_DELETED = 13807;
        public const int ERROR_IPSEC_IKE_SA_REAPED = 13808;
        public const int ERROR_IPSEC_IKE_MM_ACQUIRE_DROP = 13809;
        public const int ERROR_IPSEC_IKE_QM_ACQUIRE_DROP = 13810;
        public const int ERROR_IPSEC_IKE_QUEUE_DROP_MM = 13811;
        public const int ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM = 13812;
        public const int ERROR_IPSEC_IKE_DROP_NO_RESPONSE = 13813;
        public const int ERROR_IPSEC_IKE_MM_DELAY_DROP = 13814;
        public const int ERROR_IPSEC_IKE_QM_DELAY_DROP = 13815;
        public const int ERROR_IPSEC_IKE_ERROR = 13816;
        public const int ERROR_IPSEC_IKE_CRL_FAILED = 13817;
        public const int ERROR_IPSEC_IKE_INVALID_KEY_USAGE = 13818;
        public const int ERROR_IPSEC_IKE_INVALID_CERT_TYPE = 13819;
        public const int ERROR_IPSEC_IKE_NO_PRIVATE_KEY = 13820;
        public const int ERROR_IPSEC_IKE_DH_FAIL = 13822;
        public const int ERROR_IPSEC_IKE_INVALID_HEADER = 13824;
        public const int ERROR_IPSEC_IKE_NO_POLICY = 13825;
        public const int ERROR_IPSEC_IKE_INVALID_SIGNATURE = 13826;
        public const int ERROR_IPSEC_IKE_KERBEROS_ERROR = 13827;
        public const int ERROR_IPSEC_IKE_NO_PUBLIC_KEY = 13828;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR = 13829;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_SA = 13830;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_PROP = 13831;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_TRANS = 13832;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_KE = 13833;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_ID = 13834;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_CERT = 13835;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ = 13836;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_HASH = 13837;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_SIG = 13838;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_NONCE = 13839;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY = 13840;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_DELETE = 13841;
        public const int ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR = 13842;
        public const int ERROR_IPSEC_IKE_INVALID_PAYLOAD = 13843;
        public const int ERROR_IPSEC_IKE_LOAD_SOFT_SA = 13844;
        public const int ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN = 13845;
        public const int ERROR_IPSEC_IKE_INVALID_COOKIE = 13846;
        public const int ERROR_IPSEC_IKE_NO_PEER_CERT = 13847;
        public const int ERROR_IPSEC_IKE_PEER_CRL_FAILED = 13848;
        public const int ERROR_IPSEC_IKE_POLICY_CHANGE = 13849;
        public const int ERROR_IPSEC_IKE_NO_MM_POLICY = 13850;
        public const int ERROR_IPSEC_IKE_NOTCBPRIV = 13851;
        public const int ERROR_IPSEC_IKE_SECLOADFAIL = 13852;
        public const int ERROR_IPSEC_IKE_FAILSSPINIT = 13853;
        public const int ERROR_IPSEC_IKE_FAILQUERYSSP = 13854;
        public const int ERROR_IPSEC_IKE_SRVACQFAIL = 13855;
        public const int ERROR_IPSEC_IKE_SRVQUERYCRED = 13856;
        public const int ERROR_IPSEC_IKE_GETSPIFAIL = 13857;
        public const int ERROR_IPSEC_IKE_INVALID_FILTER = 13858;
        public const int ERROR_IPSEC_IKE_OUT_OF_MEMORY = 13859;
        public const int ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED = 13860;
        public const int ERROR_IPSEC_IKE_INVALID_POLICY = 13861;
        public const int ERROR_IPSEC_IKE_UNKNOWN_DOI = 13862;
        public const int ERROR_IPSEC_IKE_INVALID_SITUATION = 13863;
        public const int ERROR_IPSEC_IKE_DH_FAILURE = 13864;
        public const int ERROR_IPSEC_IKE_INVALID_GROUP = 13865;
        public const int ERROR_IPSEC_IKE_ENCRYPT = 13866;
        public const int ERROR_IPSEC_IKE_DECRYPT = 13867;
        public const int ERROR_IPSEC_IKE_POLICY_MATCH = 13868;
        public const int ERROR_IPSEC_IKE_UNSUPPORTED_ID = 13869;
        public const int ERROR_IPSEC_IKE_INVALID_HASH = 13870;
        public const int ERROR_IPSEC_IKE_INVALID_HASH_ALG = 13871;
        public const int ERROR_IPSEC_IKE_INVALID_HASH_SIZE = 13872;
        public const int ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG = 13873;
        public const int ERROR_IPSEC_IKE_INVALID_AUTH_ALG = 13874;
        public const int ERROR_IPSEC_IKE_INVALID_SIG = 13875;
        public const int ERROR_IPSEC_IKE_LOAD_FAILED = 13876;
        public const int ERROR_IPSEC_IKE_RPC_DELETE = 13877;
        public const int ERROR_IPSEC_IKE_BENIGN_REINIT = 13878;
        public const int ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY = 13879;
        public const int ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN = 13881;
        public const int ERROR_IPSEC_IKE_MM_LIMIT = 13882;
        public const int ERROR_IPSEC_IKE_NEGOTIATION_DISABLED = 13883;
        public const int ERROR_IPSEC_IKE_NEG_STATUS_END = 13884;
    }

    public class ResultCom
    {
        public const int E_NOTIMPL = (int)(0x80000001 - 0x100000000);
        public const int E_OUTOFMEMORY = (int)(0x80000002 - 0x100000000);
        public const int E_INVALIDARG = (int)(0x80000003 - 0x100000000);
        public const int E_NOINTERFACE = (int)(0x80000004 - 0x100000000);
        public const int E_POINTER = (int)(0x80000005 - 0x100000000);
        public const int E_HANDLE = (int)(0x80000006 - 0x100000000);
        public const int E_ABORT = (int)(0x80000007 - 0x100000000);
        public const int E_FAIL = (int)(0x80000008 - 0x100000000);
        public const int E_ACCESSDENIED = (int)(0x80000009 - 0x100000000);
        public const int E_PENDING = (int)(0x8000000A - 0x100000000);
        public const int CO_E_INIT_TLS = (int)(0x80004006 - 0x100000000);
        public const int CO_E_INIT_SHARED_ALLOCATOR = (int)(0x80004007 - 0x100000000);
        public const int CO_E_INIT_MEMORY_ALLOCATOR = (int)(0x80004008 - 0x100000000);
        public const int CO_E_INIT_CLASS_CACHE = (int)(0x80004009 - 0x100000000);
        public const int CO_E_INIT_RPC_CHANNEL = (int)(0x8000400A - 0x100000000);
        public const int CO_E_INIT_TLS_SET_CHANNEL_CONTROL = (int)(0x8000400B - 0x100000000);
        public const int CO_E_INIT_TLS_CHANNEL_CONTROL = (int)(0x8000400C - 0x100000000);
        public const int CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = (int)(0x8000400D - 0x100000000);
        public const int CO_E_INIT_SCM_MUTEX_EXISTS = (int)(0x8000400E - 0x100000000);
        public const int CO_E_INIT_SCM_FILE_MAPPING_EXISTS = (int)(0x8000400F - 0x100000000);
        public const int CO_E_INIT_SCM_MAP_VIEW_OF_FILE = (int)(0x80004010 - 0x100000000);
        public const int CO_E_INIT_SCM_EXEC_FAILURE = (int)(0x80004011 - 0x100000000);
        public const int CO_E_INIT_ONLY_SINGLE_THREADED = (int)(0x80004012 - 0x100000000);
        public const int CO_E_CANT_REMOTE = (int)(0x80004013 - 0x100000000);
        public const int CO_E_BAD_SERVER_NAME = (int)(0x80004014 - 0x100000000);
        public const int CO_E_WRONG_SERVER_IDENTITY = (int)(0x80004015 - 0x100000000);
        public const int CO_E_OLE1DDE_DISABLED = (int)(0x80004016 - 0x100000000);
        public const int CO_E_RUNAS_SYNTAX = (int)(0x80004017 - 0x100000000);
        public const int CO_E_CREATEPROCESS_FAILURE = (int)(0x80004018 - 0x100000000);
        public const int CO_E_RUNAS_CREATEPROCESS_FAILURE = (int)(0x80004019 - 0x100000000);
        public const int CO_E_RUNAS_LOGON_FAILURE = (int)(0x8000401A - 0x100000000);
        public const int CO_E_LAUNCH_PERMSSION_DENIED = (int)(0x8000401B - 0x100000000);
        public const int CO_E_START_SERVICE_FAILURE = (int)(0x8000401C - 0x100000000);
        public const int CO_E_REMOTE_COMMUNICATION_FAILURE = (int)(0x8000401D - 0x100000000);
        public const int CO_E_SERVER_START_TIMEOUT = (int)(0x8000401E - 0x100000000);
        public const int CO_E_CLSREG_INCONSISTENT = (int)(0x8000401F - 0x100000000);
        public const int CO_E_IIDREG_INCONSISTENT = (int)(0x80004020 - 0x100000000);
        public const int CO_E_NOT_SUPPORTED = (int)(0x80004021 - 0x100000000);
        public const int CO_E_RELOAD_DLL = (int)(0x80004022 - 0x100000000);
        public const int CO_E_MSI_ERROR = (int)(0x80004023 - 0x100000000);
        public const int CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT = (int)(0x80004024 - 0x100000000);
        public const int CO_E_SERVER_PAUSED = (int)(0x80004025 - 0x100000000);
        public const int CO_E_SERVER_NOT_PAUSED = (int)(0x80004026 - 0x100000000);
        public const int CO_E_CLASS_DISABLED = (int)(0x80004027 - 0x100000000);
        public const int CO_E_CLRNOTAVAILABLE = (int)(0x80004028 - 0x100000000);
        public const int CO_E_ASYNC_WORK_REJECTED = (int)(0x80004029 - 0x100000000);
        public const int CO_E_SERVER_INIT_TIMEOUT = (int)(0x8000402A - 0x100000000);
        public const int CO_E_NO_SECCTX_IN_ACTIVATE = (int)(0x8000402B - 0x100000000);
        public const int CO_E_TRACKER_CONFIG = (int)(0x80004030 - 0x100000000);
        public const int CO_E_THREADPOOL_CONFIG = (int)(0x80004031 - 0x100000000);
        public const int CO_E_SXS_CONFIG = (int)(0x80004032 - 0x100000000);
        public const int CO_E_MALFORMED_SPN = (int)(0x80004033 - 0x100000000);
        public const int S_OK = 0x00000000;
        public const int S_FALSE = 0x00000001;
        public const int OLE_E_FIRST = (int)(0x80040000 - 0x100000000);
        public const int OLE_E_LAST = (int)(0x800400FF - 0x100000000);
        public const int OLE_S_FIRST = 0x00040000;
        public const int OLE_S_LAST = 0x000400FF;
        public const int OLE_E_OLEVERB = (int)(0x80040000 - 0x100000000);
        public const int OLE_E_ADVF = (int)(0x80040001 - 0x100000000);
        public const int OLE_E_ENUM_NOMORE = (int)(0x80040002 - 0x100000000);
        public const int OLE_E_ADVISENOTSUPPORTED = (int)(0x80040003 - 0x100000000);
        public const int OLE_E_NOCONNECTION = (int)(0x80040004 - 0x100000000);
        public const int OLE_E_NOTRUNNING = (int)(0x80040005 - 0x100000000);
        public const int OLE_E_NOCACHE = (int)(0x80040006 - 0x100000000);
        public const int OLE_E_BLANK = (int)(0x80040007 - 0x100000000);
        public const int OLE_E_CLASSDIFF = (int)(0x80040008 - 0x100000000);
        public const int OLE_E_CANT_GETMONIKER = (int)(0x80040009 - 0x100000000);
        public const int OLE_E_CANT_BINDTOSOURCE = (int)(0x8004000A - 0x100000000);
        public const int OLE_E_STATIC = (int)(0x8004000B - 0x100000000);
        public const int OLE_E_PROMPTSAVECANCELLED = (int)(0x8004000C - 0x100000000);
        public const int OLE_E_INVALIDRECT = (int)(0x8004000D - 0x100000000);
        public const int OLE_E_WRONGCOMPOBJ = (int)(0x8004000E - 0x100000000);
        public const int OLE_E_INVALIDHWND = (int)(0x8004000F - 0x100000000);
        public const int OLE_E_NOT_INPLACEACTIVE = (int)(0x80040010 - 0x100000000);
        public const int OLE_E_CANTCONVERT = (int)(0x80040011 - 0x100000000);
        public const int OLE_E_NOSTORAGE = (int)(0x80040012 - 0x100000000);
        public const int DV_E_FORMATETC = (int)(0x80040064 - 0x100000000);
        public const int DV_E_DVTARGETDEVICE = (int)(0x80040065 - 0x100000000);
        public const int DV_E_STGMEDIUM = (int)(0x80040066 - 0x100000000);
        public const int DV_E_STATDATA = (int)(0x80040067 - 0x100000000);
        public const int DV_E_LINDEX = (int)(0x80040068 - 0x100000000);
        public const int DV_E_TYMED = (int)(0x80040069 - 0x100000000);
        public const int DV_E_CLIPFORMAT = (int)(0x8004006A - 0x100000000);
        public const int DV_E_DVASPECT = (int)(0x8004006B - 0x100000000);
        public const int DV_E_DVTARGETDEVICE_SIZE = (int)(0x8004006C - 0x100000000);
        public const int DV_E_NOIVIEWOBJECT = (int)(0x8004006D - 0x100000000);
        public const int DRAGDROP_E_FIRST = (int)(0x80040100 - 0x100000000);
        public const int DRAGDROP_E_LAST = (int)(0x8004010F - 0x100000000);
        public const int DRAGDROP_S_FIRST = 0x00040100;
        public const int DRAGDROP_S_LAST = 0x0004010F;
        public const int DRAGDROP_E_NOTREGISTERED = (int)(0x80040100 - 0x100000000);
        public const int DRAGDROP_E_ALREADYREGISTERED = (int)(0x80040101 - 0x100000000);
        public const int DRAGDROP_E_INVALIDHWND = (int)(0x80040102 - 0x100000000);
        public const int CLASSFACTORY_E_FIRST = (int)(0x80040110 - 0x100000000);
        public const int CLASSFACTORY_E_LAST = (int)(0x8004011F - 0x100000000);
        public const int CLASSFACTORY_S_FIRST = 0x00040110;
        public const int CLASSFACTORY_S_LAST = 0x0004011F;
        public const int CLASS_E_NOAGGREGATION = (int)(0x80040110 - 0x100000000);
        public const int CLASS_E_CLASSNOTAVAILABLE = (int)(0x80040111 - 0x100000000);
        public const int CLASS_E_NOTLICENSED = (int)(0x80040112 - 0x100000000);
        public const int MARSHAL_E_FIRST = (int)(0x80040120 - 0x100000000);
        public const int MARSHAL_E_LAST = (int)(0x8004012F - 0x100000000);
        public const int MARSHAL_S_FIRST = 0x00040120;
        public const int MARSHAL_S_LAST = 0x0004012F;
        public const int DATA_E_FIRST = (int)(0x80040130 - 0x100000000);
        public const int DATA_E_LAST = (int)(0x8004013F - 0x100000000);
        public const int DATA_S_FIRST = 0x00040130;
        public const int DATA_S_LAST = 0x0004013F;
        public const int VIEW_E_FIRST = (int)(0x80040140 - 0x100000000);
        public const int VIEW_E_LAST = (int)(0x8004014F - 0x100000000);
        public const int VIEW_S_FIRST = 0x00040140;
        public const int VIEW_S_LAST = 0x0004014F;
        public const int VIEW_E_DRAW = (int)(0x80040140 - 0x100000000);
        public const int REGDB_E_FIRST = (int)(0x80040150 - 0x100000000);
        public const int REGDB_E_LAST = (int)(0x8004015F - 0x100000000);
        public const int REGDB_S_FIRST = 0x00040150;
        public const int REGDB_S_LAST = 0x0004015F;
        public const int REGDB_E_READREGDB = (int)(0x80040150 - 0x100000000);
        public const int REGDB_E_WRITEREGDB = (int)(0x80040151 - 0x100000000);
        public const int REGDB_E_KEYMISSING = (int)(0x80040152 - 0x100000000);
        public const int REGDB_E_INVALIDVALUE = (int)(0x80040153 - 0x100000000);
        public const int REGDB_E_CLASSNOTREG = (int)(0x80040154 - 0x100000000);
        public const int REGDB_E_IIDNOTREG = (int)(0x80040155 - 0x100000000);
        public const int REGDB_E_BADTHREADINGMODEL = (int)(0x80040156 - 0x100000000);
        public const int CAT_E_FIRST = (int)(0x80040160 - 0x100000000);
        public const int CAT_E_LAST = (int)(0x80040161 - 0x100000000);
        public const int CAT_E_CATIDNOEXIST = (int)(0x80040160 - 0x100000000);
        public const int CAT_E_NODESCRIPTION = (int)(0x80040161 - 0x100000000);
        public const int CS_E_FIRST = (int)(0x80040164 - 0x100000000);
        public const int CS_E_LAST = (int)(0x8004016F - 0x100000000);
        public const int CS_E_PACKAGE_NOTFOUND = (int)(0x80040164 - 0x100000000);
        public const int CS_E_NOT_DELETABLE = (int)(0x80040165 - 0x100000000);
        public const int CS_E_CLASS_NOTFOUND = (int)(0x80040166 - 0x100000000);
        public const int CS_E_INVALID_VERSION = (int)(0x80040167 - 0x100000000);
        public const int CS_E_NO_CLASSSTORE = (int)(0x80040168 - 0x100000000);
        public const int CS_E_OBJECT_NOTFOUND = (int)(0x80040169 - 0x100000000);
        public const int CS_E_OBJECT_ALREADY_EXISTS = (int)(0x8004016A - 0x100000000);
        public const int CS_E_INVALID_PATH = (int)(0x8004016B - 0x100000000);
        public const int CS_E_NETWORK_ERROR = (int)(0x8004016C - 0x100000000);
        public const int CS_E_ADMIN_LIMIT_EXCEEDED = (int)(0x8004016D - 0x100000000);
        public const int CS_E_SCHEMA_MISMATCH = (int)(0x8004016E - 0x100000000);
        public const int CS_E_INTERNAL_ERROR = (int)(0x8004016F - 0x100000000);
        public const int CACHE_E_FIRST = (int)(0x80040170 - 0x100000000);
        public const int CACHE_E_LAST = (int)(0x8004017F - 0x100000000);
        public const int CACHE_S_FIRST = 0x00040170;
        public const int CACHE_S_LAST = 0x0004017F;
        public const int CACHE_E_NOCACHE_UPDATED = (int)(0x80040170 - 0x100000000);
        public const int OLEOBJ_E_FIRST = (int)(0x80040180 - 0x100000000);
        public const int OLEOBJ_E_LAST = (int)(0x8004018F - 0x100000000);
        public const int OLEOBJ_S_FIRST = 0x00040180;
        public const int OLEOBJ_S_LAST = 0x0004018F;
        public const int OLEOBJ_E_NOVERBS = (int)(0x80040180 - 0x100000000);
        public const int OLEOBJ_E_INVALIDVERB = (int)(0x80040181 - 0x100000000);
        public const int CLIENTSITE_E_FIRST = (int)(0x80040190 - 0x100000000);
        public const int CLIENTSITE_E_LAST = (int)(0x8004019F - 0x100000000);
        public const int CLIENTSITE_S_FIRST = 0x00040190;
        public const int CLIENTSITE_S_LAST = 0x0004019F;
        public const int INPLACE_E_NOTUNDOABLE = (int)(0x800401A0 - 0x100000000);
        public const int INPLACE_E_NOTOOLSPACE = (int)(0x800401A1 - 0x100000000);
        public const int INPLACE_E_FIRST = (int)(0x800401A0 - 0x100000000);
        public const int INPLACE_E_LAST = (int)(0x800401AF - 0x100000000);
        public const int INPLACE_S_FIRST = 0x000401A0;
        public const int INPLACE_S_LAST = 0x000401AF;
        public const int ENUM_E_FIRST = (int)(0x800401B0 - 0x100000000);
        public const int ENUM_E_LAST = (int)(0x800401BF - 0x100000000);
        public const int ENUM_S_FIRST = 0x000401B0;
        public const int ENUM_S_LAST = 0x000401BF;
        public const int CONVERT10_E_FIRST = (int)(0x800401C0 - 0x100000000);
        public const int CONVERT10_E_LAST = (int)(0x800401CF - 0x100000000);
        public const int CONVERT10_S_FIRST = 0x000401C0;
        public const int CONVERT10_S_LAST = 0x000401CF;
        public const int CONVERT10_E_OLESTREAM_GET = (int)(0x800401C0 - 0x100000000);
        public const int CONVERT10_E_OLESTREAM_PUT = (int)(0x800401C1 - 0x100000000);
        public const int CONVERT10_E_OLESTREAM_FMT = (int)(0x800401C2 - 0x100000000);
        public const int CONVERT10_E_OLESTREAM_BITMAP_TO_DIB = (int)(0x800401C3 - 0x100000000);
        public const int CONVERT10_E_STG_FMT = (int)(0x800401C4 - 0x100000000);
        public const int CONVERT10_E_STG_NO_STD_STREAM = (int)(0x800401C5 - 0x100000000);
        public const int CONVERT10_E_STG_DIB_TO_BITMAP = (int)(0x800401C6 - 0x100000000);
        public const int CLIPBRD_E_FIRST = (int)(0x800401D0 - 0x100000000);
        public const int CLIPBRD_E_LAST = (int)(0x800401DF - 0x100000000);
        public const int CLIPBRD_S_FIRST = 0x000401D0;
        public const int CLIPBRD_S_LAST = 0x000401DF;
        public const int CLIPBRD_E_CANT_OPEN = (int)(0x800401D0 - 0x100000000);
        public const int CLIPBRD_E_CANT_EMPTY = (int)(0x800401D1 - 0x100000000);
        public const int CLIPBRD_E_CANT_SET = (int)(0x800401D2 - 0x100000000);
        public const int CLIPBRD_E_BAD_DATA = (int)(0x800401D3 - 0x100000000);
        public const int CLIPBRD_E_CANT_CLOSE = (int)(0x800401D4 - 0x100000000);
        public const int MK_E_FIRST = (int)(0x800401E0 - 0x100000000);
        public const int MK_E_LAST = (int)(0x800401EF - 0x100000000);
        public const int MK_S_FIRST = 0x000401E0;
        public const int MK_S_LAST = 0x000401EF;
        public const int MK_E_CONNECTMANUALLY = (int)(0x800401E0 - 0x100000000);
        public const int MK_E_EXCEEDEDDEADLINE = (int)(0x800401E1 - 0x100000000);
        public const int MK_E_NEEDGENERIC = (int)(0x800401E2 - 0x100000000);
        public const int MK_E_UNAVAILABLE = (int)(0x800401E3 - 0x100000000);
        public const int MK_E_SYNTAX = (int)(0x800401E4 - 0x100000000);
        public const int MK_E_NOOBJECT = (int)(0x800401E5 - 0x100000000);
        public const int MK_E_INVALIDEXTENSION = (int)(0x800401E6 - 0x100000000);
        public const int MK_E_INTERMEDIATEINTERFACENOTSUPPORTED = (int)(0x800401E7 - 0x100000000);
        public const int MK_E_NOTBINDABLE = (int)(0x800401E8 - 0x100000000);
        public const int MK_E_NOTBOUND = (int)(0x800401E9 - 0x100000000);
        public const int MK_E_CANTOPENFILE = (int)(0x800401EA - 0x100000000);
        public const int MK_E_MUSTBOTHERUSER = (int)(0x800401EB - 0x100000000);
        public const int MK_E_NOINVERSE = (int)(0x800401EC - 0x100000000);
        public const int MK_E_NOSTORAGE = (int)(0x800401ED - 0x100000000);
        public const int MK_E_NOPREFIX = (int)(0x800401EE - 0x100000000);
        public const int MK_E_ENUMERATION_FAILED = (int)(0x800401EF - 0x100000000);
        public const int CO_E_FIRST = (int)(0x800401F0 - 0x100000000);
        public const int CO_E_LAST = (int)(0x800401FF - 0x100000000);
        public const int CO_S_FIRST = 0x000401F0;
        public const int CO_S_LAST = 0x000401FF;
        public const int CO_E_NOTINITIALIZED = (int)(0x800401F0 - 0x100000000);
        public const int CO_E_ALREADYINITIALIZED = (int)(0x800401F1 - 0x100000000);
        public const int CO_E_CANTDETERMINECLASS = (int)(0x800401F2 - 0x100000000);
        public const int CO_E_CLASSSTRING = (int)(0x800401F3 - 0x100000000);
        public const int CO_E_IIDSTRING = (int)(0x800401F4 - 0x100000000);
        public const int CO_E_APPNOTFOUND = (int)(0x800401F5 - 0x100000000);
        public const int CO_E_APPSINGLEUSE = (int)(0x800401F6 - 0x100000000);
        public const int CO_E_ERRORINAPP = (int)(0x800401F7 - 0x100000000);
        public const int CO_E_DLLNOTFOUND = (int)(0x800401F8 - 0x100000000);
        public const int CO_E_ERRORINDLL = (int)(0x800401F9 - 0x100000000);
        public const int CO_E_WRONGOSFORAPP = (int)(0x800401FA - 0x100000000);
        public const int CO_E_OBJNOTREG = (int)(0x800401FB - 0x100000000);
        public const int CO_E_OBJISREG = (int)(0x800401FC - 0x100000000);
        public const int CO_E_OBJNOTCONNECTED = (int)(0x800401FD - 0x100000000);
        public const int CO_E_APPDIDNTREG = (int)(0x800401FE - 0x100000000);
        public const int CO_E_RELEASED = (int)(0x800401FF - 0x100000000);
        public const int EVENT_E_FIRST = (int)(0x80040200 - 0x100000000);
        public const int EVENT_E_LAST = (int)(0x8004021F - 0x100000000);
        public const int EVENT_S_FIRST = 0x00040200;
        public const int EVENT_S_LAST = 0x0004021F;
        public const int EVENT_S_SOME_SUBSCRIBERS_FAILED = 0x00040200;
        public const int EVENT_E_ALL_SUBSCRIBERS_FAILED = (int)(0x80040201 - 0x100000000);
        public const int EVENT_S_NOSUBSCRIBERS = 0x00040202;
        public const int EVENT_E_QUERYSYNTAX = (int)(0x80040203 - 0x100000000);
        public const int EVENT_E_QUERYFIELD = (int)(0x80040204 - 0x100000000);
        public const int EVENT_E_INTERNALEXCEPTION = (int)(0x80040205 - 0x100000000);
        public const int EVENT_E_INTERNALERROR = (int)(0x80040206 - 0x100000000);
        public const int EVENT_E_INVALID_PER_USER_SID = (int)(0x80040207 - 0x100000000);
        public const int EVENT_E_USER_EXCEPTION = (int)(0x80040208 - 0x100000000);
        public const int EVENT_E_TOO_MANY_METHODS = (int)(0x80040209 - 0x100000000);
        public const int EVENT_E_MISSING_EVENTCLASS = (int)(0x8004020A - 0x100000000);
        public const int EVENT_E_NOT_ALL_REMOVED = (int)(0x8004020B - 0x100000000);
        public const int EVENT_E_COMPLUS_NOT_INSTALLED = (int)(0x8004020C - 0x100000000);
        public const int EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT = (int)(0x8004020D - 0x100000000);
        public const int EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT = (int)(0x8004020E - 0x100000000);
        public const int EVENT_E_INVALID_EVENT_CLASS_PARTITION = (int)(0x8004020F - 0x100000000);
        public const int EVENT_E_PER_USER_SID_NOT_LOGGED_ON = (int)(0x80040210 - 0x100000000);
        public const int XACT_E_FIRST = (int)(0x8004D000 - 0x100000000);
        public const int XACT_E_LAST = (int)(0x8004D029 - 0x100000000);
        public const int XACT_S_FIRST = 0x0004D000;
        public

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions