Examples Delphi

Question:
When I add any Windows GDI API functions to my - currently working - application, it will throw an external exception C0000009 at application startup, long before the added code ever gets called.
What does that mean?
Answer:
According to the list of status codes from below you will see that it means you have a bad initial stack. This MS knowledgebase article explains this to be actually a 'ERROR_STACK_OVERFLOW'.
Suggestions:
- Compile with the compiler options for range and stack overflow checking turned on.
- Increase the size of your application's stack.

program ErrorCodes;
const
STATUS_SUCCESS = $00000000;
STATUS_WAIT_0 = $00000000;
STATUS_WAIT_1 = $00000001;
STATUS_WAIT_2 = $00000002;
STATUS_WAIT_3 = $00000003;
STATUS_WAIT_63 = $0000003F;
STATUS_ABANDONED = $00000080;
STATUS_ABANDONED_WAIT_0 = $00000080;
STATUS_ABANDONED_WAIT_63 = $000000BF;
STATUS_USER_APC = $000000C0;
STATUS_KERNEL_APC = $00000100;
STATUS_ALERTED = $00000101;
STATUS_TIMEOUT = $00000102;
STATUS_PENDING = $00000103;
STATUS_REPARSE = $00000104;
STATUS_MORE_ENTRIES = $00000105;
STATUS_NOT_ALL_ASSIGNED = $00000106;
STATUS_SOME_NOT_MAPPED = $00000107;
STATUS_OPLOCK_BREAK_IN_PROGRESS = $00000108;
STATUS_VOLUME_MOUNTED = $00000109;
STATUS_RXACT_COMMITTED = $0000010A;
STATUS_NOTIFY_CLEANUP = $0000010B;
STATUS_NOTIFY_ENUM_DIR = $0000010C;
STATUS_NO_QUOTAS_FOR_ACCOUNT = $0000010D;
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED = $0000010E;
STATUS_PAGE_FAULT_TRANSITION = $00000110;
STATUS_PAGE_FAULT_DEMAND_ZERO = $00000111;
STATUS_PAGE_FAULT_COPY_ON_WRITE = $00000112;
STATUS_PAGE_FAULT_GUARD_PAGE = $00000113;
STATUS_PAGE_FAULT_PAGING_FILE = $00000114;
STATUS_CACHE_PAGE_LOCKED = $00000115;
STATUS_CRASH_DUMP = $00000116;
STATUS_BUFFER_ALL_ZEROS = $00000117;
STATUS_REPARSE_OBJECT = $00000118;
STATUS_OBJECT_NAME_EXISTS = $40000000;
STATUS_THREAD_WAS_SUSPENDED = $40000001;
STATUS_WORKING_SET_LIMIT_RANGE = $40000002;
STATUS_IMAGE_NOT_AT_BASE = $40000003;
STATUS_RXACT_STATE_CREATED = $40000004;
STATUS_SEGMENT_NOTIFICATION = $40000005;
STATUS_LOCAL_USER_SESSION_KEY = $40000006;
STATUS_BAD_CURRENT_DIRECTORY = $40000007;
STATUS_SERIAL_MORE_WRITES = $40000008;
STATUS_REGISTRY_RECOVERED = $40000009;
STATUS_FT_READ_RECOVERY_FROM_BACKUP = $4000000A;
STATUS_FT_WRITE_RECOVERY = $4000000B;
STATUS_SERIAL_COUNTER_TIMEOUT = $4000000C;
STATUS_NULL_LM_PASSWORD = $4000000D;
STATUS_IMAGE_MACHINE_TYPE_MISMATCH = $4000000E;
STATUS_RECEIVE_PARTIAL = $4000000F;
STATUS_RECEIVE_EXPEDITED = $40000010;
STATUS_RECEIVE_PARTIAL_EXPEDITED = $40000011;
STATUS_EVENT_DONE = $40000012;
STATUS_EVENT_PENDING = $40000013;
STATUS_CHECKING_FILE_SYSTEM = $40000014;
STATUS_FATAL_APP_EXIT = $40000015;
STATUS_PREDEFINED_HANDLE = $40000016;
STATUS_WAS_UNLOCKED = $40000017;
STATUS_SERVICE_NOTIFICATION = $40000018;
STATUS_WAS_LOCKED = $40000019;
STATUS_LOG_HARD_ERROR = $4000001A;
STATUS_ALREADY_WIN32 = $4000001B;
STATUS_WX86_UNSIMULATE = $4000001C;
STATUS_WX86_CONTINUE = $4000001D;
STATUS_WX86_SINGLE_STEP = $4000001E;
STATUS_WX86_BREAKPOINT = $4000001F;
STATUS_WX86_EXCEPTION_CONTINUE = $40000020;
STATUS_WX86_EXCEPTION_LASTCHANCE = $40000021;
STATUS_WX86_EXCEPTION_CHAIN = $40000022;
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE = $40000023;
STATUS_NO_YIELD_PERFORMED = $40000024;
STATUS_TIMER_RESUME_IGNORED = $40000025;
STATUS_GUARD_PAGE_VIOLATION = $80000001;
STATUS_DATATYPE_MISALIGNMENT = $80000002;
STATUS_BREAKPOINT = $80000003;
STATUS_SINGLE_STEP = $80000004;
STATUS_BUFFER_OVERFLOW = $80000005;
STATUS_NO_MORE_FILES = $80000006;
STATUS_WAKE_SYSTEM_DEBUGGER = $80000007;
STATUS_HANDLES_CLOSED = $8000000A;
STATUS_NO_INHERITANCE = $8000000B;
STATUS_GUID_SUBSTITUTION_MADE = $8000000C;
STATUS_PARTIAL_COPY = $8000000D;
STATUS_DEVICE_PAPER_EMPTY = $8000000E;
STATUS_DEVICE_POWERED_OFF = $8000000F;
STATUS_DEVICE_OFF_LINE = $80000010;
STATUS_DEVICE_BUSY = $80000011;
STATUS_NO_MORE_EAS = $80000012;
STATUS_INVALID_EA_NAME = $80000013;
STATUS_EA_LIST_INCONSISTENT = $80000014;
STATUS_INVALID_EA_FLAG = $80000015;
STATUS_VERIFY_REQUIRED = $80000016;
STATUS_EXTRANEOUS_INFORMATION = $80000017;
STATUS_RXACT_COMMIT_NECESSARY = $80000018;
STATUS_NO_MORE_ENTRIES = $8000001A;
STATUS_FILEMARK_DETECTED = $8000001B;
STATUS_MEDIA_CHANGED = $8000001C;
STATUS_BUS_RESET = $8000001D;
STATUS_END_OF_MEDIA = $8000001E;
STATUS_BEGINNING_OF_MEDIA = $8000001F;
STATUS_MEDIA_CHECK = $80000020;
STATUS_SETMARK_DETECTED = $80000021;
STATUS_NO_DATA_DETECTED = $80000022;
STATUS_REDIRECTOR_HAS_OPEN_HANDLES = $80000023;
STATUS_SERVER_HAS_OPEN_HANDLES = $80000024;
STATUS_ALREADY_DISCONNECTED = $80000025;
STATUS_LONGJUMP = $80000026;
STATUS_UNSUCCESSFUL = $C0000001;
STATUS_NOT_IMPLEMENTED = $C0000002;
STATUS_INVALID_INFO_CLASS = $C0000003;
STATUS_INFO_LENGTH_MISMATCH = $C0000004;
STATUS_ACCESS_VIOLATION = $C0000005;
STATUS_IN_PAGE_ERROR = $C0000006;
STATUS_PAGEFILE_QUOTA = $C0000007;
STATUS_INVALID_HANDLE = $C0000008;
STATUS_BAD_INITIAL_STACK = $C0000009;
STATUS_BAD_INITIAL_PC = $C000000A;
STATUS_INVALID_CID = $C000000B;
STATUS_TIMER_NOT_CANCELED = $C000000C;
STATUS_INVALID_PARAMETER = $C000000D;
STATUS_NO_SUCH_DEVICE = $C000000E;
STATUS_NO_SUCH_FILE = $C000000F;
STATUS_INVALID_DEVICE_REQUEST = $C0000010;
STATUS_END_OF_FILE = $C0000011;
STATUS_WRONG_VOLUME = $C0000012;
STATUS_NO_MEDIA_IN_DEVICE = $C0000013;
STATUS_UNRECOGNIZED_MEDIA = $C0000014;
STATUS_NONEXISTENT_SECTOR = $C0000015;
STATUS_MORE_PROCESSING_REQUIRED = $C0000016;
STATUS_NO_MEMORY = $C0000017;
STATUS_CONFLICTING_ADDRESSES = $C0000018;
STATUS_NOT_MAPPED_VIEW = $C0000019;
STATUS_UNABLE_TO_FREE_VM = $C000001A;
STATUS_UNABLE_TO_DELETE_SECTION = $C000001B;
STATUS_INVALID_SYSTEM_SERVICE = $C000001C;
STATUS_ILLEGAL_INSTRUCTION = $C000001D;
STATUS_INVALID_LOCK_SEQUENCE = $C000001E;
STATUS_INVALID_VIEW_SIZE = $C000001F;
STATUS_INVALID_FILE_FOR_SECTION = $C0000020;
STATUS_ALREADY_COMMITTED = $C0000021;
STATUS_ACCESS_DENIED = $C0000022;
STATUS_BUFFER_TOO_SMALL = $C0000023;
STATUS_OBJECT_TYPE_MISMATCH = $C0000024;
STATUS_NONCONTINUABLE_EXCEPTION = $C0000025;
STATUS_INVALID_DISPOSITION = $C0000026;
STATUS_UNWIND = $C0000027;
STATUS_BAD_STACK = $C0000028;
STATUS_INVALID_UNWIND_TARGET = $C0000029;
STATUS_NOT_LOCKED = $C000002A;
STATUS_PARITY_ERROR = $C000002B;
STATUS_UNABLE_TO_DECOMMIT_VM = $C000002C;
STATUS_NOT_COMMITTED = $C000002D;
STATUS_INVALID_PORT_ATTRIBUTES = $C000002E;
STATUS_PORT_MESSAGE_TOO_LONG = $C000002F;
STATUS_INVALID_PARAMETER_MIX = $C0000030;
STATUS_INVALID_QUOTA_LOWER = $C0000031;
STATUS_DISK_CORRUPT_ERROR = $C0000032;
STATUS_OBJECT_NAME_INVALID = $C0000033;
STATUS_OBJECT_NAME_NOT_FOUND = $C0000034;
STATUS_OBJECT_NAME_COLLISION = $C0000035;
STATUS_PORT_DISCONNECTED = $C0000037;
STATUS_DEVICE_ALREADY_ATTACHED = $C0000038;
STATUS_OBJECT_PATH_INVALID = $C0000039;
STATUS_OBJECT_PATH_NOT_FOUND = $C000003A;
STATUS_OBJECT_PATH_SYNTAX_BAD = $C000003B;
STATUS_DATA_OVERRUN = $C000003C;
STATUS_DATA_LATE_ERROR = $C000003D;
STATUS_DATA_ERROR = $C000003E;
STATUS_CRC_ERROR = $C000003F;
STATUS_SECTION_TOO_BIG = $C0000040;
STATUS_PORT_CONNECTION_REFUSED = $C0000041;
STATUS_INVALID_PORT_HANDLE = $C0000042;
STATUS_SHARING_VIOLATION = $C0000043;
STATUS_QUOTA_EXCEEDED = $C0000044;
STATUS_INVALID_PAGE_PROTECTION = $C0000045;
STATUS_MUTANT_NOT_OWNED = $C0000046;
STATUS_SEMAPHORE_LIMIT_EXCEEDED = $C0000047;
STATUS_PORT_ALREADY_SET = $C0000048;
STATUS_SECTION_NOT_IMAGE = $C0000049;
STATUS_SUSPEND_COUNT_EXCEEDED = $C000004A;
STATUS_THREAD_IS_TERMINATING = $C000004B;
STATUS_BAD_WORKING_SET_LIMIT = $C000004C;
STATUS_INCOMPATIBLE_FILE_MAP = $C000004D;
STATUS_SECTION_PROTECTION = $C000004E;
STATUS_EAS_NOT_SUPPORTED = $C000004F;
STATUS_EA_TOO_LARGE = $C0000050;
STATUS_NONEXISTENT_EA_ENTRY = $C0000051;
STATUS_NO_EAS_ON_FILE = $C0000052;
STATUS_EA_CORRUPT_ERROR = $C0000053;
STATUS_FILE_LOCK_CONFLICT = $C0000054;
STATUS_LOCK_NOT_GRANTED = $C0000055;
STATUS_DELETE_PENDING = $C0000056;
STATUS_CTL_FILE_NOT_SUPPORTED = $C0000057;
STATUS_UNKNOWN_REVISION = $C0000058;
STATUS_REVISION_MISMATCH = $C0000059;
STATUS_INVALID_OWNER = $C000005A;
STATUS_INVALID_PRIMARY_GROUP = $C000005B;
STATUS_NO_IMPERSONATION_TOKEN = $C000005C;
STATUS_CANT_DISABLE_MANDATORY = $C000005D;
STATUS_NO_LOGON_SERVERS = $C000005E;
STATUS_NO_SUCH_LOGON_SESSION = $C000005F;
STATUS_NO_SUCH_PRIVILEGE = $C0000060;
STATUS_PRIVILEGE_NOT_HELD = $C0000061;
STATUS_INVALID_ACCOUNT_NAME = $C0000062;
STATUS_USER_EXISTS = $C0000063;
STATUS_NO_SUCH_USER = $C0000064;
STATUS_GROUP_EXISTS = $C0000065;
STATUS_NO_SUCH_GROUP = $C0000066;
STATUS_MEMBER_IN_GROUP = $C0000067;
STATUS_MEMBER_NOT_IN_GROUP = $C0000068;
STATUS_LAST_ADMIN = $C0000069;
STATUS_WRONG_PASSWORD = $C000006A;
STATUS_ILL_FORMED_PASSWORD = $C000006B;
STATUS_PASSWORD_RESTRICTION = $C000006C;
STATUS_LOGON_FAILURE = $C000006D;
STATUS_ACCOUNT_RESTRICTION = $C000006E;
STATUS_INVALID_LOGON_HOURS = $C000006F;
STATUS_INVALID_WORKSTATION = $C0000070;
STATUS_PASSWORD_EXPIRED = $C0000071;
STATUS_ACCOUNT_DISABLED = $C0000072;
STATUS_NONE_MAPPED = $C0000073;
STATUS_TOO_MANY_LUIDS_REQUESTED = $C0000074;
STATUS_LUIDS_EXHAUSTED = $C0000075;
STATUS_INVALID_SUB_AUTHORITY = $C0000076;
STATUS_INVALID_ACL = $C0000077;
STATUS_INVALID_SID = $C0000078;
STATUS_INVALID_SECURITY_DESCR = $C0000079;
STATUS_PROCEDURE_NOT_FOUND = $C000007A;
STATUS_INVALID_IMAGE_FORMAT = $C000007B;
STATUS_NO_TOKEN = $C000007C;
STATUS_BAD_INHERITANCE_ACL = $C000007D;
STATUS_RANGE_NOT_LOCKED = $C000007E;
STATUS_DISK_FULL = $C000007F;
STATUS_SERVER_DISABLED = $C0000080;
STATUS_SERVER_NOT_DISABLED = $C0000081;
STATUS_TOO_MANY_GUIDS_REQUESTED = $C0000082;
STATUS_GUIDS_EXHAUSTED = $C0000083;
STATUS_INVALID_ID_AUTHORITY = $C0000084;
STATUS_AGENTS_EXHAUSTED = $C0000085;
STATUS_INVALID_VOLUME_LABEL = $C0000086;
STATUS_SECTION_NOT_EXTENDED = $C0000087;
STATUS_NOT_MAPPED_DATA = $C0000088;
STATUS_RESOURCE_DATA_NOT_FOUND = $C0000089;
STATUS_RESOURCE_TYPE_NOT_FOUND = $C000008A;
STATUS_RESOURCE_NAME_NOT_FOUND = $C000008B;
STATUS_ARRAY_BOUNDS_EXCEEDED = $C000008C;
STATUS_FLOAT_DENORMAL_OPERAND = $C000008D;
STATUS_FLOAT_DIVIDE_BY_ZERO = $C000008E;
STATUS_FLOAT_INEXACT_RESULT = $C000008F;
STATUS_FLOAT_INVALID_OPERATION = $C0000090;
STATUS_FLOAT_OVERFLOW = $C0000091;
STATUS_FLOAT_STACK_CHECK = $C0000092;
STATUS_FLOAT_UNDERFLOW = $C0000093;
STATUS_INTEGER_DIVIDE_BY_ZERO = $C0000094;
STATUS_INTEGER_OVERFLOW = $C0000095;
STATUS_PRIVILEGED_INSTRUCTION = $C0000096;
STATUS_TOO_MANY_PAGING_FILES = $C0000097;
STATUS_FILE_INVALID = $C0000098;
STATUS_ALLOTTED_SPACE_EXCEEDED = $C0000099;
STATUS_INSUFFICIENT_RESOURCES = $C000009A;
STATUS_DFS_EXIT_PATH_FOUND = $C000009B;
STATUS_DEVICE_DATA_ERROR = $C000009C;
STATUS_DEVICE_NOT_CONNECTED = $C000009D;
STATUS_DEVICE_POWER_FAILURE = $C000009E;
STATUS_FREE_VM_NOT_AT_BASE = $C000009F;
STATUS_MEMORY_NOT_ALLOCATED = $C00000A0;
STATUS_WORKING_SET_QUOTA = $C00000A1;
STATUS_MEDIA_WRITE_PROTECTED = $C00000A2;
STATUS_DEVICE_NOT_READY = $C00000A3;
STATUS_INVALID_GROUP_ATTRIBUTES = $C00000A4;
STATUS_BAD_IMPERSONATION_LEVEL = $C00000A5;
STATUS_CANT_OPEN_ANONYMOUS = $C00000A6;
STATUS_BAD_VALIDATION_CLASS = $C00000A7;
STATUS_BAD_TOKEN_TYPE = $C00000A8;
STATUS_BAD_MASTER_BOOT_RECORD = $C00000A9;
STATUS_INSTRUCTION_MISALIGNMENT = $C00000AA;
STATUS_INSTANCE_NOT_AVAILABLE = $C00000AB;
STATUS_PIPE_NOT_AVAILABLE = $C00000AC;
STATUS_INVALID_PIPE_STATE = $C00000AD;
STATUS_PIPE_BUSY = $C00000AE;
STATUS_ILLEGAL_FUNCTION = $C00000AF;
STATUS_PIPE_DISCONNECTED = $C00000B0;
STATUS_PIPE_CLOSING = $C00000B1;
STATUS_PIPE_CONNECTED = $C00000B2;
STATUS_PIPE_LISTENING = $C00000B3;
STATUS_INVALID_READ_MODE = $C00000B4;
STATUS_IO_TIMEOUT = $C00000B5;
STATUS_FILE_FORCED_CLOSED = $C00000B6;
STATUS_PROFILING_NOT_STARTED = $C00000B7;
STATUS_PROFILING_NOT_STOPPED = $C00000B8;
STATUS_COULD_NOT_INTERPRET = $C00000B9;
STATUS_FILE_IS_A_DIRECTORY = $C00000BA;
STATUS_NOT_SUPPORTED = $C00000BB;
STATUS_REMOTE_NOT_LISTENING = $C00000BC;
STATUS_DUPLICATE_NAME = $C00000BD;
STATUS_BAD_NETWORK_PATH = $C00000BE;
STATUS_NETWORK_BUSY = $C00000BF;
STATUS_DEVICE_DOES_NOT_EXIST = $C00000C0;
STATUS_TOO_MANY_COMMANDS = $C00000C1;
STATUS_ADAPTER_HARDWARE_ERROR = $C00000C2;
STATUS_INVALID_NETWORK_RESPONSE = $C00000C3;
STATUS_UNEXPECTED_NETWORK_ERROR = $C00000C4;
STATUS_BAD_REMOTE_ADAPTER = $C00000C5;
STATUS_PRINT_QUEUE_FULL = $C00000C6;
STATUS_NO_SPOOL_SPACE = $C00000C7;
STATUS_PRINT_CANCELLED = $C00000C8;
STATUS_NETWORK_NAME_DELETED = $C00000C9;
STATUS_NETWORK_ACCESS_DENIED = $C00000CA;
STATUS_BAD_DEVICE_TYPE = $C00000CB;
STATUS_BAD_NETWORK_NAME = $C00000CC;
STATUS_TOO_MANY_NAMES = $C00000CD;
STATUS_TOO_MANY_SESSIONS = $C00000CE;
STATUS_SHARING_PAUSED = $C00000CF;
STATUS_REQUEST_NOT_ACCEPTED = $C00000D0;
STATUS_REDIRECTOR_PAUSED = $C00000D1;
STATUS_NET_WRITE_FAULT = $C00000D2;
STATUS_PROFILING_AT_LIMIT = $C00000D3;
STATUS_NOT_SAME_DEVICE = $C00000D4;
STATUS_FILE_RENAMED = $C00000D5;
STATUS_VIRTUAL_CIRCUIT_CLOSED = $C00000D6;
STATUS_NO_SECURITY_ON_OBJECT = $C00000D7;
STATUS_CANT_WAIT = $C00000D8;
STATUS_PIPE_EMPTY = $C00000D9;
STATUS_CANT_ACCESS_DOMAIN_INFO = $C00000DA;
STATUS_CANT_TERMINATE_SELF = $C00000DB;
STATUS_INVALID_SERVER_STATE = $C00000DC;
STATUS_INVALID_DOMAIN_STATE = $C00000DD;
STATUS_INVALID_DOMAIN_ROLE = $C00000DE;
STATUS_NO_SUCH_DOMAIN = $C00000DF;
STATUS_DOMAIN_EXISTS = $C00000E0;
STATUS_DOMAIN_LIMIT_EXCEEDED = $C00000E1;
STATUS_OPLOCK_NOT_GRANTED = $C00000E2;
STATUS_INVALID_OPLOCK_PROTOCOL = $C00000E3;
STATUS_INTERNAL_DB_CORRUPTION = $C00000E4;
STATUS_INTERNAL_ERROR = $C00000E5;
STATUS_GENERIC_NOT_MAPPED = $C00000E6;
STATUS_BAD_DESCRIPTOR_FORMAT = $C00000E7;
STATUS_INVALID_USER_BUFFER = $C00000E8;
STATUS_UNEXPECTED_IO_ERROR = $C00000E9;
STATUS_UNEXPECTED_MM_CREATE_ERR = $C00000EA;
STATUS_UNEXPECTED_MM_MAP_ERROR = $C00000EB;
STATUS_UNEXPECTED_MM_EXTEND_ERR = $C00000EC;
STATUS_NOT_LOGON_PROCESS = $C00000ED;
STATUS_LOGON_SESSION_EXISTS = $C00000EE;
STATUS_INVALID_PARAMETER_1 = $C00000EF;
STATUS_INVALID_PARAMETER_2 = $C00000F0;
STATUS_INVALID_PARAMETER_3 = $C00000F1;
STATUS_INVALID_PARAMETER_4 = $C00000F2;
STATUS_INVALID_PARAMETER_5 = $C00000F3;
STATUS_INVALID_PARAMETER_6 = $C00000F4;
STATUS_INVALID_PARAMETER_7 = $C00000F5;
STATUS_INVALID_PARAMETER_8 = $C00000F6;
STATUS_INVALID_PARAMETER_9 = $C00000F7;
STATUS_INVALID_PARAMETER_10 = $C00000F8;
STATUS_INVALID_PARAMETER_11 = $C00000F9;
STATUS_INVALID_PARAMETER_12 = $C00000FA;
STATUS_REDIRECTOR_NOT_STARTED = $C00000FB;
STATUS_REDIRECTOR_STARTED = $C00000FC;
STATUS_STACK_OVERFLOW = $C00000FD;
STATUS_NO_SUCH_PACKAGE = $C00000FE;
STATUS_BAD_FUNCTION_TABLE = $C00000FF;
STATUS_VARIABLE_NOT_FOUND = $C0000100;
STATUS_DIRECTORY_NOT_EMPTY = $C0000101;
STATUS_FILE_CORRUPT_ERROR = $C0000102;
STATUS_NOT_A_DIRECTORY = $C0000103;
STATUS_BAD_LOGON_SESSION_STATE = $C0000104;
STATUS_LOGON_SESSION_COLLISION = $C0000105;
STATUS_NAME_TOO_LONG = $C0000106;
STATUS_FILES_OPEN = $C0000107;
STATUS_CONNECTION_IN_USE = $C0000108;
STATUS_MESSAGE_NOT_FOUND = $C0000109;
STATUS_PROCESS_IS_TERMINATING = $C000010A;
STATUS_INVALID_LOGON_TYPE = $C000010B;
STATUS_NO_GUID_TRANSLATION = $C000010C;
STATUS_CANNOT_IMPERSONATE = $C000010D;
STATUS_IMAGE_ALREADY_LOADED = $C000010E;
STATUS_ABIOS_NOT_PRESENT = $C000010F;
STATUS_ABIOS_LID_NOT_EXIST = $C0000110;
STATUS_ABIOS_LID_ALREADY_OWNED = $C0000111;
STATUS_ABIOS_NOT_LID_OWNER = $C0000112;
STATUS_ABIOS_INVALID_COMMAND = $C0000113;
STATUS_ABIOS_INVALID_LID = $C0000114;
STATUS_ABIOS_SELECTOR_NOT_AVAILABLE = $C0000115;
STATUS_ABIOS_INVALID_SELECTOR = $C0000116;
STATUS_NO_LDT = $C0000117;
STATUS_INVALID_LDT_SIZE = $C0000118;
STATUS_INVALID_LDT_OFFSET = $C0000119;
STATUS_INVALID_LDT_DESCRIPTOR = $C000011A;
STATUS_INVALID_IMAGE_NE_FORMAT = $C000011B;
STATUS_RXACT_INVALID_STATE = $C000011C;
STATUS_RXACT_COMMIT_FAILURE = $C000011D;
STATUS_MAPPED_FILE_SIZE_ZERO = $C000011E;
STATUS_TOO_MANY_OPENED_FILES = $C000011F;
STATUS_CANCELLED = $C0000120;
STATUS_CANNOT_DELETE = $C0000121;
STATUS_INVALID_COMPUTER_NAME = $C0000122;
STATUS_FILE_DELETED = $C0000123;
STATUS_SPECIAL_ACCOUNT = $C0000124;
STATUS_SPECIAL_GROUP = $C0000125;
STATUS_SPECIAL_USER = $C0000126;
STATUS_MEMBERS_PRIMARY_GROUP = $C0000127;
STATUS_FILE_CLOSED = $C0000128;
STATUS_TOO_MANY_THREADS = $C0000129;
STATUS_THREAD_NOT_IN_PROCESS = $C000012A;
STATUS_TOKEN_ALREADY_IN_USE = $C000012B;
STATUS_PAGEFILE_QUOTA_EXCEEDED = $C000012C;
STATUS_COMMITMENT_LIMIT = $C000012D;
STATUS_INVALID_IMAGE_LE_FORMAT = $C000012E;
STATUS_INVALID_IMAGE_NOT_MZ = $C000012F;
STATUS_INVALID_IMAGE_PROTECT = $C0000130;
STATUS_INVALID_IMAGE_WIN_16 = $C0000131;
STATUS_LOGON_SERVER_CONFLICT = $C0000132;
STATUS_TIME_DIFFERENCE_AT_DC = $C0000133;
STATUS_SYNCHRONIZATION_REQUIRED = $C0000134;
STATUS_DLL_NOT_FOUND = $C0000135;
STATUS_OPEN_FAILED = $C0000136;
STATUS_IO_PRIVILEGE_FAILED = $C0000137;
STATUS_ORDINAL_NOT_FOUND = $C0000138;
STATUS_ENTRYPOINT_NOT_FOUND = $C0000139;
STATUS_CONTROL_C_EXIT = $C000013A;
STATUS_LOCAL_DISCONNECT = $C000013B;
STATUS_REMOTE_DISCONNECT = $C000013C;
STATUS_REMOTE_RESOURCES = $C000013D;
STATUS_LINK_FAILED = $C000013E;
STATUS_LINK_TIMEOUT = $C000013F;
STATUS_INVALID_CONNECTION = $C0000140;
STATUS_INVALID_ADDRESS = $C0000141;
STATUS_DLL_INIT_FAILED = $C0000142;
STATUS_MISSING_SYSTEMFILE = $C0000143;
STATUS_UNHANDLED_EXCEPTION = $C0000144;
STATUS_APP_INIT_FAILURE = $C0000145;
STATUS_PAGEFILE_CREATE_FAILED = $C0000146;
STATUS_NO_PAGEFILE = $C0000147;
STATUS_INVALID_LEVEL = $C0000148;
STATUS_WRONG_PASSWORD_CORE = $C0000149;
STATUS_ILLEGAL_FLOAT_CONTEXT = $C000014A;
STATUS_PIPE_BROKEN = $C000014B;
STATUS_REGISTRY_CORRUPT = $C000014C;
STATUS_REGISTRY_IO_FAILED = $C000014D;
STATUS_NO_EVENT_PAIR = $C000014E;
STATUS_UNRECOGNIZED_VOLUME = $C000014F;
STATUS_SERIAL_NO_DEVICE_INITED = $C0000150;
STATUS_NO_SUCH_ALIAS = $C0000151;
STATUS_MEMBER_NOT_IN_ALIAS = $C0000152;
STATUS_MEMBER_IN_ALIAS = $C0000153;
STATUS_ALIAS_EXISTS = $C0000154;
STATUS_LOGON_NOT_GRANTED = $C0000155;
STATUS_TOO_MANY_SECRETS = $C0000156;
STATUS_SECRET_TOO_LONG = $C0000157;
STATUS_INTERNAL_DB_ERROR = $C0000158;
STATUS_FULLSCREEN_MODE = $C0000159;
STATUS_TOO_MANY_CONTEXT_IDS = $C000015A;
STATUS_LOGON_TYPE_NOT_GRANTED = $C000015B;
STATUS_NOT_REGISTRY_FILE = $C000015C;
STATUS_NT_CROSS_ENCRYPTION_REQUIRED = $C000015D;
STATUS_DOMAIN_CTRLR_CONFIG_ERROR = $C000015E;
STATUS_FT_MISSING_MEMBER = $C000015F;
STATUS_ILL_FORMED_SERVICE_ENTRY = $C0000160;
STATUS_ILLEGAL_CHARACTER = $C0000161;
STATUS_UNMAPPABLE_CHARACTER = $C0000162;
STATUS_UNDEFINED_CHARACTER = $C0000163;
STATUS_FLOPPY_VOLUME = $C0000164;
STATUS_FLOPPY_ID_MARK_NOT_FOUND = $C0000165;
STATUS_FLOPPY_WRONG_CYLINDER = $C0000166;
STATUS_FLOPPY_UNKNOWN_ERROR = $C0000167;
STATUS_FLOPPY_BAD_REGISTERS = $C0000168;
STATUS_DISK_RECALIBRATE_FAILED = $C0000169;
STATUS_DISK_OPERATION_FAILED = $C000016A;
STATUS_DISK_RESET_FAILED = $C000016B;
STATUS_SHARED_IRQ_BUSY = $C000016C;
STATUS_FT_ORPHANING = $C000016D;
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT = $C000016E;
STATUS_PARTITION_FAILURE = $C0000172;
STATUS_INVALID_BLOCK_LENGTH = $C0000173;
STATUS_DEVICE_NOT_PARTITIONED = $C0000174;
STATUS_UNABLE_TO_LOCK_MEDIA = $C0000175;
STATUS_UNABLE_TO_UNLOAD_MEDIA = $C0000176;
STATUS_EOM_OVERFLOW = $C0000177;
STATUS_NO_MEDIA = $C0000178;
STATUS_NO_SUCH_MEMBER = $C000017A;
STATUS_INVALID_MEMBER = $C000017B;
STATUS_KEY_DELETED = $C000017C;
STATUS_NO_LOG_SPACE = $C000017D;
STATUS_TOO_MANY_SIDS = $C000017E;
STATUS_LM_CROSS_ENCRYPTION_REQUIRED = $C000017F;
STATUS_KEY_HAS_CHILDREN = $C0000180;
STATUS_CHILD_MUST_BE_VOLATILE = $C0000181;
STATUS_DEVICE_CONFIGURATION_ERROR = $C0000182;
STATUS_DRIVER_INTERNAL_ERROR = $C0000183;
STATUS_INVALID_DEVICE_STATE = $C0000184;
STATUS_IO_DEVICE_ERROR = $C0000185;
STATUS_DEVICE_PROTOCOL_ERROR = $C0000186;
STATUS_BACKUP_CONTROLLER = $C0000187;
STATUS_LOG_FILE_FULL = $C0000188;
STATUS_TOO_LATE = $C0000189;
STATUS_NO_TRUST_LSA_SECRET = $C000018A;
STATUS_NO_TRUST_SAM_ACCOUNT = $C000018B;
STATUS_TRUSTED_DOMAIN_FAILURE = $C000018C;
STATUS_TRUSTED_RELATIONSHIP_FAILURE = $C000018D;
STATUS_EVENTLOG_FILE_CORRUPT = $C000018E;
STATUS_EVENTLOG_CANT_START = $C000018F;
STATUS_TRUST_FAILURE = $C0000190;
STATUS_MUTANT_LIMIT_EXCEEDED = $C0000191;
STATUS_NETLOGON_NOT_STARTED = $C0000192;
STATUS_ACCOUNT_EXPIRED = $C0000193;
STATUS_POSSIBLE_DEADLOCK = $C0000194;
STATUS_NETWORK_CREDENTIAL_CONFLICT = $C0000195;
STATUS_REMOTE_SESSION_LIMIT = $C0000196;
STATUS_EVENTLOG_FILE_CHANGED = $C0000197;
STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT = $C0000198;
STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT = $C0000199;
STATUS_NOLOGON_SERVER_TRUST_ACCOUNT = $C000019A;
STATUS_DOMAIN_TRUST_INCONSISTENT = $C000019B;
STATUS_FS_DRIVER_REQUIRED = $C000019C;
STATUS_NO_USER_SESSION_KEY = $C0000202;
STATUS_USER_SESSION_DELETED = $C0000203;
STATUS_RESOURCE_LANG_NOT_FOUND = $C0000204;
STATUS_INSUFF_SERVER_RESOURCES = $C0000205;
STATUS_INVALID_BUFFER_SIZE = $C0000206;
STATUS_INVALID_ADDRESS_COMPONENT = $C0000207;
STATUS_INVALID_ADDRESS_WILDCARD = $C0000208;
STATUS_TOO_MANY_ADDRESSES = $C0000209;
STATUS_ADDRESS_ALREADY_EXISTS = $C000020A;
STATUS_ADDRESS_CLOSED = $C000020B;
STATUS_CONNECTION_DISCONNECTED = $C000020C;
STATUS_CONNECTION_RESET = $C000020D;
STATUS_TOO_MANY_NODES = $C000020E;
STATUS_TRANSACTION_ABORTED = $C000020F;
STATUS_TRANSACTION_TIMED_OUT = $C0000210;
STATUS_TRANSACTION_NO_RELEASE = $C0000211;
STATUS_TRANSACTION_NO_MATCH = $C0000212;
STATUS_TRANSACTION_RESPONDED = $C0000213;
STATUS_TRANSACTION_INVALID_ID = $C0000214;
STATUS_TRANSACTION_INVALID_TYPE = $C0000215;
STATUS_NOT_SERVER_SESSION = $C0000216;
STATUS_NOT_CLIENT_SESSION = $C0000217;
STATUS_CANNOT_LOAD_REGISTRY_FILE = $C0000218;
STATUS_DEBUG_ATTACH_FAILED = $C0000219;
STATUS_SYSTEM_PROCESS_TERMINATED = $C000021A;
STATUS_DATA_NOT_ACCEPTED = $C000021B;
STATUS_NO_BROWSER_SERVERS_FOUND = $C000021C;
STATUS_VDM_HARD_ERROR = $C000021D;
STATUS_DRIVER_CANCEL_TIMEOUT = $C000021E;
STATUS_REPLY_MESSAGE_MISMATCH = $C000021F;
STATUS_MAPPED_ALIGNMENT = $C0000220;
STATUS_IMAGE_CHECKSUM_MISMATCH = $C0000221;
STATUS_LOST_WRITEBEHIND_DATA = $C0000222;
STATUS_CLIENT_SERVER_PARAMETERS_INVALID = $C0000223;
STATUS_PASSWORD_MUST_CHANGE = $C0000224;
STATUS_NOT_FOUND = $C0000225;
STATUS_NOT_TINY_STREAM = $C0000226;
STATUS_RECOVERY_FAILURE = $C0000227;
STATUS_STACK_OVERFLOW_READ = $C0000228;
STATUS_FAIL_CHECK = $C0000229;
STATUS_DUPLICATE_OBJECTID = $C000022A;
STATUS_OBJECTID_EXISTS = $C000022B;
STATUS_CONVERT_TO_LARGE = $C000022C;
STATUS_RETRY = $C000022D;
STATUS_FOUND_OUT_OF_SCOPE = $C000022E;
STATUS_ALLOCATE_BUCKET = $C000022F;
STATUS_PROPSET_NOT_FOUND = $C0000230;
STATUS_MARSHALL_OVERFLOW = $C0000231;
STATUS_INVALID_VARIANT = $C0000232;
STATUS_DOMAIN_CONTROLLER_NOT_FOUND = $C0000233;
STATUS_ACCOUNT_LOCKED_OUT = $C0000234;
STATUS_HANDLE_NOT_CLOSABLE = $C0000235;
STATUS_CONNECTION_REFUSED = $C0000236;
STATUS_GRACEFUL_DISCONNECT = $C0000237;
STATUS_ADDRESS_ALREADY_ASSOCIATED = $C0000238;
STATUS_ADDRESS_NOT_ASSOCIATED = $C0000239;
STATUS_CONNECTION_INVALID = $C000023A;
STATUS_CONNECTION_ACTIVE = $C000023B;
STATUS_NETWORK_UNREACHABLE = $C000023C;
STATUS_HOST_UNREACHABLE = $C000023D;
STATUS_PROTOCOL_UNREACHABLE = $C000023E;
STATUS_PORT_UNREACHABLE = $C000023F;
STATUS_REQUEST_ABORTED = $C0000240;
STATUS_CONNECTION_ABORTED = $C0000241;
STATUS_BAD_COMPRESSION_BUFFER = $C0000242;
STATUS_USER_MAPPED_FILE = $C0000243;
STATUS_AUDIT_FAILED = $C0000244;
STATUS_TIMER_RESOLUTION_NOT_SET = $C0000245;
STATUS_CONNECTION_COUNT_LIMIT = $C0000246;
STATUS_LOGIN_TIME_RESTRICTION = $C0000247;
STATUS_LOGIN_WKSTA_RESTRICTION = $C0000248;
STATUS_IMAGE_MP_UP_MISMATCH = $C0000249;
STATUS_INSUFFICIENT_LOGON_INFO = $C0000250;
STATUS_BAD_DLL_ENTRYPOINT = $C0000251;
STATUS_BAD_SERVICE_ENTRYPOINT = $C0000252;
STATUS_LPC_REPLY_LOST = $C0000253;
STATUS_IP_ADDRESS_CONFLICT1 = $C0000254;
STATUS_IP_ADDRESS_CONFLICT2 = $C0000255;
STATUS_REGISTRY_QUOTA_LIMIT = $C0000256;
STATUS_PATH_NOT_COVERED = $C0000257;
STATUS_NO_CALLBACK_ACTIVE = $C0000258;
STATUS_LICENSE_QUOTA_EXCEEDED = $C0000259;
STATUS_PWD_TOO_SHORT = $C000025A;
STATUS_PWD_TOO_RECENT = $C000025B;
STATUS_PWD_HISTORY_CONFLICT = $C000025C;
STATUS_PLUGPLAY_NO_DEVICE = $C000025E;
STATUS_UNSUPPORTED_COMPRESSION = $C000025F;
STATUS_INVALID_HW_PROFILE = $C0000260;
STATUS_INVALID_PLUGPLAY_DEVICE_PATH = $C0000261;
STATUS_DRIVER_ORDINAL_NOT_FOUND = $C0000262;
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND = $C0000263;
STATUS_RESOURCE_NOT_OWNED = $C0000264;
STATUS_TOO_MANY_LINKS = $C0000265;
STATUS_QUOTA_LIST_INCONSISTENT = $C0000266;
STATUS_FILE_IS_OFFLINE = $C0000267;
STATUS_EVALUATION_EXPIRATION = $C0000268;
STATUS_ILLEGAL_DLL_RELOCATION = $C0000269;
STATUS_LICENSE_VIOLATION = $C000026A;
STATUS_DLL_INIT_FAILED_LOGOFF = $C000026B;
STATUS_DRIVER_UNABLE_TO_LOAD = $C000026C;
STATUS_DFS_UNAVAILABLE = $C000026D;
STATUS_VOLUME_DISMOUNTED = $C000026E;
STATUS_WX86_INTERNAL_ERROR = $C000026F;
STATUS_WX86_FLOAT_STACK_CHECK = $C0000270;
STATUS_WOW_ASSERTION = $C0009898;
RPC_NT_INVALID_STRING_BINDING = $C0020001;
RPC_NT_WRONG_KIND_OF_BINDING = $C0020002;
RPC_NT_INVALID_BINDING = $C0020003;
RPC_NT_PROTSEQ_NOT_SUPPORTED = $C0020004;
RPC_NT_INVALID_RPC_PROTSEQ = $C0020005;
RPC_NT_INVALID_STRING_UUID = $C0020006;
RPC_NT_INVALID_ENDPOINT_FORMAT = $C0020007;
RPC_NT_INVALID_NET_ADDR = $C0020008;
RPC_NT_NO_ENDPOINT_FOUND = $C0020009;
RPC_NT_INVALID_TIMEOUT = $C002000A;
RPC_NT_OBJECT_NOT_FOUND = $C002000B;
RPC_NT_ALREADY_REGISTERED = $C002000C;
RPC_NT_TYPE_ALREADY_REGISTERED = $C002000D;
RPC_NT_ALREADY_LISTENING = $C002000E;
RPC_NT_NO_PROTSEQS_REGISTERED = $C002000F;
RPC_NT_NOT_LISTENING = $C0020010;
RPC_NT_UNKNOWN_MGR_TYPE = $C0020011;
RPC_NT_UNKNOWN_IF = $C0020012;
RPC_NT_NO_BINDINGS = $C0020013;
RPC_NT_NO_PROTSEQS = $C0020014;
RPC_NT_CANT_CREATE_ENDPOINT = $C0020015;
RPC_NT_OUT_OF_RESOURCES = $C0020016;
RPC_NT_SERVER_UNAVAILABLE = $C0020017;
RPC_NT_SERVER_TOO_BUSY = $C0020018;
RPC_NT_INVALID_NETWORK_OPTIONS = $C0020019;
RPC_NT_NO_CALL_ACTIVE = $C002001A;
RPC_NT_CALL_FAILED = $C002001B;
RPC_NT_CALL_FAILED_DNE = $C002001C;
RPC_NT_PROTOCOL_ERROR = $C002001D;
RPC_NT_UNSUPPORTED_TRANS_SYN = $C002001F;
RPC_NT_UNSUPPORTED_TYPE = $C0020021;
RPC_NT_INVALID_TAG = $C0020022;
RPC_NT_INVALID_BOUND = $C0020023;
RPC_NT_NO_ENTRY_NAME = $C0020024;
RPC_NT_INVALID_NAME_SYNTAX = $C0020025;
RPC_NT_UNSUPPORTED_NAME_SYNTAX = $C0020026;
RPC_NT_UUID_NO_ADDRESS = $C0020028;
RPC_NT_DUPLICATE_ENDPOINT = $C0020029;
RPC_NT_UNKNOWN_AUTHN_TYPE = $C002002A;
RPC_NT_MAX_CALLS_TOO_SMALL = $C002002B;
RPC_NT_STRING_TOO_LONG = $C002002C;
RPC_NT_PROTSEQ_NOT_FOUND = $C002002D;
RPC_NT_PROCNUM_OUT_OF_RANGE = $C002002E;
RPC_NT_BINDING_HAS_NO_AUTH = $C002002F;
RPC_NT_UNKNOWN_AUTHN_SERVICE = $C0020030;
RPC_NT_UNKNOWN_AUTHN_LEVEL = $C0020031;
RPC_NT_INVALID_AUTH_IDENTITY = $C0020032;
RPC_NT_UNKNOWN_AUTHZ_SERVICE = $C0020033;
EPT_NT_INVALID_ENTRY = $C0020034;
EPT_NT_CANT_PERFORM_OP = $C0020035;
EPT_NT_NOT_REGISTERED = $C0020036;
RPC_NT_NOTHING_TO_EXPORT = $C0020037;
RPC_NT_INCOMPLETE_NAME = $C0020038;
RPC_NT_INVALID_VERS_OPTION = $C0020039;
RPC_NT_NO_MORE_MEMBERS = $C002003A;
RPC_NT_NOT_ALL_OBJS_UNEXPORTED = $C002003B;
RPC_NT_INTERFACE_NOT_FOUND = $C002003C;
RPC_NT_ENTRY_ALREADY_EXISTS = $C002003D;
RPC_NT_ENTRY_NOT_FOUND = $C002003E;
RPC_NT_NAME_SERVICE_UNAVAILABLE = $C002003F;
RPC_NT_INVALID_NAF_ID = $C0020040;
RPC_NT_CANNOT_SUPPORT = $C0020041;
RPC_NT_NO_CONTEXT_AVAILABLE = $C0020042;
RPC_NT_INTERNAL_ERROR = $C0020043;
RPC_NT_ZERO_DIVIDE = $C0020044;
RPC_NT_ADDRESS_ERROR = $C0020045;
RPC_NT_FP_DIV_ZERO = $C0020046;
RPC_NT_FP_UNDERFLOW = $C0020047;
RPC_NT_FP_OVERFLOW = $C0020048;
RPC_NT_NO_MORE_ENTRIES = $C0030001;
RPC_NT_SS_CHAR_TRANS_OPEN_FAIL = $C0030002;
RPC_NT_SS_CHAR_TRANS_SHORT_FILE = $C0030003;
RPC_NT_SS_IN_NULL_CONTEXT = $C0030004;
RPC_NT_SS_CONTEXT_MISMATCH = $C0030005;
RPC_NT_SS_CONTEXT_DAMAGED = $C0030006;
RPC_NT_SS_HANDLES_MISMATCH = $C0030007;
RPC_NT_SS_CANNOT_GET_CALL_HANDLE = $C0030008;
RPC_NT_NULL_REF_POINTER = $C0030009;
RPC_NT_ENUM_VALUE_OUT_OF_RANGE = $C003000A;
RPC_NT_BYTE_COUNT_TOO_SMALL = $C003000B;
RPC_NT_BAD_STUB_DATA = $C003000C;
RPC_NT_CALL_IN_PROGRESS = $C0020049;
RPC_NT_NO_MORE_BINDINGS = $C002004A;
RPC_NT_GROUP_MEMBER_NOT_FOUND = $C002004B;
EPT_NT_CANT_CREATE = $C002004C;
RPC_NT_INVALID_OBJECT = $C002004D;
RPC_NT_NO_INTERFACES = $C002004F;
RPC_NT_CALL_CANCELLED = $C0020050;
RPC_NT_BINDING_INCOMPLETE = $C0020051;
RPC_NT_COMM_FAILURE = $C0020052;
RPC_NT_UNSUPPORTED_AUTHN_LEVEL = $C0020053;
RPC_NT_NO_PRINC_NAME = $C0020054;
RPC_NT_NOT_RPC_ERROR = $C0020055;
RPC_NT_UUID_LOCAL_ONLY = $40020056;
RPC_NT_SEC_PKG_ERROR = $C0020057;
RPC_NT_NOT_CANCELLED = $C0020058;
RPC_NT_INVALID_ES_ACTION = $C0030059;
RPC_NT_WRONG_ES_VERSION = $C003005A;
RPC_NT_WRONG_STUB_VERSION = $C003005B;
RPC_NT_INVALID_PIPE_OBJECT = $C003005C;
RPC_NT_INVALID_PIPE_OPERATION = $C003005D;
RPC_NT_WRONG_PIPE_VERSION = $C003005E;
RPC_NT_SEND_INCOMPLETE = $400200AF;
begin
end.