More STATUS_ codes.
This commit is contained in:
parent
e55430203e
commit
bc3c4d4fca
210
include/winnt.h
210
include/winnt.h
|
@ -746,26 +746,119 @@ typedef HANDLE *PHANDLE;
|
||||||
#define STATUS_USER_APC 0x000000C0
|
#define STATUS_USER_APC 0x000000C0
|
||||||
#define STATUS_TIMEOUT 0x00000102
|
#define STATUS_TIMEOUT 0x00000102
|
||||||
#define STATUS_PENDING 0x00000103
|
#define STATUS_PENDING 0x00000103
|
||||||
|
|
||||||
#define STATUS_GUARD_PAGE_VIOLATION 0x80000001
|
#define STATUS_GUARD_PAGE_VIOLATION 0x80000001
|
||||||
#define STATUS_DATATYPE_MISALIGNMENT 0x80000002
|
#define STATUS_DATATYPE_MISALIGNMENT 0x80000002
|
||||||
#define STATUS_BREAKPOINT 0x80000003
|
#define STATUS_BREAKPOINT 0x80000003
|
||||||
#define STATUS_SINGLE_STEP 0x80000004
|
#define STATUS_SINGLE_STEP 0x80000004
|
||||||
#define STATUS_BUFFER_OVERFLOW 0x80000005
|
#define STATUS_BUFFER_OVERFLOW 0x80000005
|
||||||
|
#define STATUS_NO_MORE_FILES 0x80000006
|
||||||
|
#define STATUS_WAKE_SYSTEM_DEBUGGER 0x80000007
|
||||||
|
|
||||||
|
#define STATUS_HANDLES_CLOSED 0x8000000A
|
||||||
|
#define STATUS_NO_INHERITANCE 0x8000000B
|
||||||
|
#define STATUS_GUID_SUBSTITUTION_MADE 0x8000000C
|
||||||
|
#define STATUS_PARTIAL_COPY 0x8000000D
|
||||||
|
#define STATUS_DEVICE_PAPER_EMPTY 0x8000000E
|
||||||
|
#define STATUS_DEVICE_POWERED_OFF 0x8000000F
|
||||||
|
#define STATUS_DEVICE_OFF_LINE 0x80000010
|
||||||
|
#define STATUS_DEVICE_BUSY 0x80000011
|
||||||
|
#define STATUS_NO_MORE_EAS 0x80000012
|
||||||
|
#define STATUS_INVALID_EA_NAME 0x80000013
|
||||||
|
#define STATUS_EA_LIST_INCONSISTENT 0x80000014
|
||||||
|
#define STATUS_INVALID_EA_FLAG 0x80000015
|
||||||
|
#define STATUS_VERIFY_REQUIRED 0x80000016
|
||||||
|
#define STATUS_EXTRANEOUS_INFORMATION 0x80000017
|
||||||
|
#define STATUS_RXACT_COMMIT_NECESSARY 0x80000018
|
||||||
|
#define STATUS_NO_MORE_ENTRIES 0x8000001A
|
||||||
|
#define STATUS_FILEMARK_DETECTED 0x8000001B
|
||||||
|
#define STATUS_MEDIA_CHANGED 0x8000001C
|
||||||
|
#define STATUS_BUS_RESET 0x8000001D
|
||||||
|
#define STATUS_END_OF_MEDIA 0x8000001E
|
||||||
|
#define STATUS_BEGINNING_OF_MEDIA 0x8000001F
|
||||||
|
#define STATUS_MEDIA_CHECK 0x80000020
|
||||||
|
#define STATUS_SETMARK_DETECTED 0x80000021
|
||||||
|
#define STATUS_NO_DATA_DETECTED 0x80000022
|
||||||
|
#define STATUS_REDIRECTOR_HAS_OPEN_HANDLES 0x80000023
|
||||||
|
#define STATUS_SERVER_HAS_OPEN_HANDLES 0x80000024
|
||||||
|
#define STATUS_ALREADY_DISCONNECTED 0x80000025
|
||||||
|
#define STATUS_LONGJUMP 0x80000026
|
||||||
|
|
||||||
#define STATUS_UNSUCCESSFUL 0xC0000001
|
#define STATUS_UNSUCCESSFUL 0xC0000001
|
||||||
|
#define STATUS_NOT_IMPLEMENTED 0xC0000002
|
||||||
|
#define STATUS_INVALID_INFO_CLASS 0xC0000003
|
||||||
|
#define STATUS_INFO_LENGTH_MISMATCH 0xC0000004
|
||||||
#define STATUS_ACCESS_VIOLATION 0xC0000005
|
#define STATUS_ACCESS_VIOLATION 0xC0000005
|
||||||
#define STATUS_IN_PAGE_ERROR 0xC0000006
|
#define STATUS_IN_PAGE_ERROR 0xC0000006
|
||||||
|
#define STATUS_PAGEFILE_QUOTA 0xC0000007
|
||||||
|
#define STATUS_INVALID_HANDLE 0xC0000008
|
||||||
|
#define STATUS_BAD_INITIAL_STACK 0xC0000009
|
||||||
|
#define STATUS_BAD_INITIAL_PC 0xC000000A
|
||||||
|
#define STATUS_INVALID_CID 0xC000000B
|
||||||
|
#define STATUS_TIMER_NOT_CANCELED 0xC000000C
|
||||||
#define STATUS_INVALID_PARAMETER 0xC000000D
|
#define STATUS_INVALID_PARAMETER 0xC000000D
|
||||||
|
#define STATUS_NO_SUCH_DEVICE 0xC000000E
|
||||||
|
#define STATUS_NO_SUCH_FILE 0xC000000F
|
||||||
|
#define STATUS_INVALID_DEVICE_REQUEST 0xC0000010
|
||||||
|
#define STATUS_END_OF_FILE 0xC0000011
|
||||||
|
#define STATUS_WRONG_VOLUME 0xC0000012
|
||||||
|
#define STATUS_NO_MEDIA_IN_DEVICE 0xC0000013
|
||||||
|
#define STATUS_UNRECOGNIZED_MEDIA 0xC0000014
|
||||||
|
#define STATUS_NONEXISTENT_SECTOR 0xC0000015
|
||||||
|
#define STATUS_MORE_PROCESSING_REQUIRED 0xC0000016
|
||||||
#define STATUS_NO_MEMORY 0xC0000017
|
#define STATUS_NO_MEMORY 0xC0000017
|
||||||
#define STATUS_CONFLICTING_ADDRESSES 0xC0000018
|
#define STATUS_CONFLICTING_ADDRESSES 0xC0000018
|
||||||
|
#define STATUS_NOT_MAPPED_VIEW 0xC0000019
|
||||||
|
#define STATUS_UNABLE_TO_FREE_VM 0xC000001A
|
||||||
|
#define STATUS_UNABLE_TO_DELETE_SECTION 0xC000001B
|
||||||
|
#define STATUS_INVALID_SYSTEM_SERVICE 0xC000001C
|
||||||
#define STATUS_ILLEGAL_INSTRUCTION 0xC000001D
|
#define STATUS_ILLEGAL_INSTRUCTION 0xC000001D
|
||||||
|
#define STATUS_INVALID_LOCK_SEQUENCE 0xC000001E
|
||||||
|
#define STATUS_INVALID_VIEW_SIZE 0xC000001F
|
||||||
|
#define STATUS_INVALID_FILE_FOR_SECTION 0xC0000020
|
||||||
|
#define STATUS_ALREADY_COMMITTED 0xC0000021
|
||||||
|
#define STATUS_ACCESS_DENIED 0xC0000022
|
||||||
#define STATUS_BUFFER_TOO_SMALL 0xC0000023
|
#define STATUS_BUFFER_TOO_SMALL 0xC0000023
|
||||||
|
#define STATUS_OBJECT_TYPE_MISMATCH 0xC0000024
|
||||||
#define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025
|
#define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025
|
||||||
#define STATUS_INVALID_DISPOSITION 0xC0000026
|
#define STATUS_INVALID_DISPOSITION 0xC0000026
|
||||||
#define STATUS_UNWIND 0xC0000027
|
#define STATUS_UNWIND 0xC0000027
|
||||||
#define STATUS_BAD_STACK 0xC0000028
|
#define STATUS_BAD_STACK 0xC0000028
|
||||||
#define STATUS_INVALID_UNWIND_TARGET 0xC0000029
|
#define STATUS_INVALID_UNWIND_TARGET 0xC0000029
|
||||||
|
#define STATUS_NOT_LOCKED 0xC000002A
|
||||||
|
#define STATUS_PARITY_ERROR 0xC000002B
|
||||||
|
#define STATUS_UNABLE_TO_DECOMMIT_VM 0xC000002C
|
||||||
|
#define STATUS_NOT_COMMITTED 0xC000002D
|
||||||
|
#define STATUS_INVALID_PORT_ATTRIBUTES 0xC000002E
|
||||||
|
#define STATUS_PORT_MESSAGE_TOO_LONG 0xC000002F
|
||||||
|
#define STATUS_INVALID_PARAMETER_MIX 0xC0000030
|
||||||
|
#define STATUS_INVALID_QUOTA_LOWER 0xC0000031
|
||||||
|
#define STATUS_DISK_CORRUPT_ERROR 0xC0000032
|
||||||
|
#define STATUS_OBJECT_NAME_INVALID 0xC0000033
|
||||||
|
#define STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034
|
||||||
|
#define STATUS_OBJECT_NAME_COLLISION 0xC0000035
|
||||||
|
#define STATUS_PORT_DISCONNECTED 0xC0000037
|
||||||
|
#define STATUS_DEVICE_ALREADY_ATTACHED 0xC0000038
|
||||||
|
#define STATUS_OBJECT_PATH_INVALID 0xC0000039
|
||||||
|
#define STATUS_OBJECT_PATH_NOT_FOUND 0xC000003A
|
||||||
|
#define STATUS_PATH_SYNTAX_BAD 0xC000003B
|
||||||
|
#define STATUS_DATA_OVERRUN 0xC000003C
|
||||||
|
#define STATUS_DATA_LATE_ERROR 0xC000003D
|
||||||
|
#define STATUS_DATA_ERROR 0xC000003E
|
||||||
|
#define STATUS_CRC_ERROR 0xC000003F
|
||||||
|
#define STATUS_SECTION_TOO_BIG 0xC0000040
|
||||||
|
#define STATUS_PORT_CONNECTION_REFUSED 0xC0000041
|
||||||
|
#define STATUS_INVALID_PORT_HANDLE 0xC0000042
|
||||||
|
#define STATUS_SHARING_VIOLATION 0xC0000043
|
||||||
|
#define STATUS_QUOTA_EXCEEDED 0xC0000044
|
||||||
|
#define STATUS_INVALID_PAGE_PROTECTION 0xC0000045
|
||||||
|
#define STATUS_MUTANT_NOT_OWNED 0xC0000046
|
||||||
|
#define STATUS_SEMAPHORE_LIMIT_EXCEEDED 0xC0000047
|
||||||
|
#define STATUS_PORT_ALREADY_SET 0xC0000048
|
||||||
|
|
||||||
#define STATUS_UNKNOWN_REVISION 0xC0000058
|
#define STATUS_UNKNOWN_REVISION 0xC0000058
|
||||||
#define STATUS_INVALID_SECURITY_DESCR 0xC0000079
|
#define STATUS_INVALID_SECURITY_DESCR 0xC0000079
|
||||||
|
#define STATUS_SECTION_NOT_EXTENDED 0xC0000087
|
||||||
#define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C
|
#define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C
|
||||||
#define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D
|
#define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D
|
||||||
#define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E
|
#define STATUS_FLOAT_DIVIDE_BY_ZERO 0xC000008E
|
||||||
|
@ -780,6 +873,51 @@ typedef HANDLE *PHANDLE;
|
||||||
#define STATUS_INVALID_PARAMETER_2 0xC00000F0
|
#define STATUS_INVALID_PARAMETER_2 0xC00000F0
|
||||||
#define STATUS_STACK_OVERFLOW 0xC00000FD
|
#define STATUS_STACK_OVERFLOW 0xC00000FD
|
||||||
#define STATUS_CONTROL_C_EXIT 0xC000013A
|
#define STATUS_CONTROL_C_EXIT 0xC000013A
|
||||||
|
#define STATUS_NOT_REGISTRY_FILE 0xC000015C
|
||||||
|
#define STATUS_PARTITION_FAILURE 0xC0000172
|
||||||
|
#define STATUS_INVALID_BLOCK_LENGTH 0xC0000173
|
||||||
|
#define STATUS_DEVICE_NOT_PARTITIONED 0xC0000174
|
||||||
|
#define STATUS_UNABLE_TO_LOCK_MEDIA 0xC0000175
|
||||||
|
#define STATUS_UNABLE_TO_UNLOAD_MEDIA 0xC0000176
|
||||||
|
#define STATUS_EOM_OVERFLOW 0xC0000177
|
||||||
|
#define STATUS_NO_MEDIA 0xC0000178
|
||||||
|
#define STATUS_NO_SUCH_MEMBER 0xC000017A
|
||||||
|
#define STATUS_INVALID_MEMBER 0xC000017B
|
||||||
|
#define STATUS_KEY_DELETED 0xC000017C
|
||||||
|
#define STATUS_NO_LOG_SPACE 0xC000017D
|
||||||
|
#define STATUS_TOO_MANY_SIDS 0xC000017E
|
||||||
|
#define STATUS_LM_CROSS_ENCRYPTION_REQUIRED 0xC000017F
|
||||||
|
#define STATUS_KEY_HAS_CHILDREN 0xC0000180
|
||||||
|
#define STATUS_CHILD_MUST_BE_VOLATILE 0xC0000181
|
||||||
|
#define STATUS_DEVICE_CONFIGURATION_ERROR0xC0000182
|
||||||
|
#define STATUS_DRIVER_INTERNAL_ERROR 0xC0000183
|
||||||
|
#define STATUS_INVALID_DEVICE_STATE 0xC0000184
|
||||||
|
#define STATUS_IO_DEVICE_ERROR 0xC0000185
|
||||||
|
#define STATUS_DEVICE_PROTOCOL_ERROR 0xC0000186
|
||||||
|
#define STATUS_BACKUP_CONTROLLER 0xC0000187
|
||||||
|
#define STATUS_LOG_FILE_FULL 0xC0000188
|
||||||
|
#define STATUS_TOO_LATE 0xC0000189
|
||||||
|
#define STATUS_NO_TRUST_LSA_SECRET 0xC000018A
|
||||||
|
#define STATUS_NO_TRUST_SAM_ACCOUNT 0xC000018B
|
||||||
|
#define STATUS_TRUSTED_DOMAIN_FAILURE 0xC000018C
|
||||||
|
#define STATUS_TRUSTED_RELATIONSHIP_FAILURE 0xC000018D
|
||||||
|
#define STATUS_EVENTLOG_FILE_CORRUPT 0xC000018E
|
||||||
|
#define STATUS_EVENTLOG_CANT_START 0xC000018F
|
||||||
|
#define STATUS_TRUST_FAILURE 0xC0000190
|
||||||
|
#define STATUS_MUTANT_LIMIT_EXCEEDED 0xC0000191
|
||||||
|
#define STATUS_NETLOGON_NOT_STARTED 0xC0000192
|
||||||
|
#define STATUS_ACCOUNT_EXPIRED 0xC0000193
|
||||||
|
#define STATUS_POSSIBLE_DEADLOCK 0xC0000194
|
||||||
|
#define STATUS_NETWORK_CREDENTIAL_CONFLICT 0xC0000195
|
||||||
|
#define STATUS_REMOTE_SESSION_LIMIT 0xC0000196
|
||||||
|
#define STATUS_EVENTLOG_FILE_CHANGED 0xC0000197
|
||||||
|
#define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 0xC0000198
|
||||||
|
#define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT 0xC0000199
|
||||||
|
#define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT 0xC000019A
|
||||||
|
#define STATUS_DOMAIN_TRUST_INCONSISTENT 0xC000019B
|
||||||
|
#define STATUS_FS_DRIVER_REQUIRED 0xC000019C
|
||||||
|
|
||||||
|
#define STATUS_RESOURCE_LANG_NOT_FOUND 0xC0000204
|
||||||
|
|
||||||
#define MAXIMUM_WAIT_OBJECTS 64
|
#define MAXIMUM_WAIT_OBJECTS 64
|
||||||
#define MAXIMUM_SUSPEND_COUNT 127
|
#define MAXIMUM_SUSPEND_COUNT 127
|
||||||
|
@ -884,6 +1022,20 @@ WINAPI SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter );
|
||||||
#define DBG_CONTROL_BREAK 0x40010008
|
#define DBG_CONTROL_BREAK 0x40010008
|
||||||
#define DBG_EXCEPTION_NOT_HANDLED 0x80010001
|
#define DBG_EXCEPTION_NOT_HANDLED 0x80010001
|
||||||
|
|
||||||
|
typedef struct _NT_TIB
|
||||||
|
{
|
||||||
|
struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList;
|
||||||
|
PVOID StackBase;
|
||||||
|
PVOID StackLimit;
|
||||||
|
PVOID SubSystemTib;
|
||||||
|
union {
|
||||||
|
PVOID FiberData;
|
||||||
|
DWORD Version;
|
||||||
|
} DUMMYUNIONNAME;
|
||||||
|
PVOID ArbitraryUserPointer;
|
||||||
|
struct _NT_TIB *Self;
|
||||||
|
} NT_TIB, *PNT_TIB;
|
||||||
|
|
||||||
struct _TEB;
|
struct _TEB;
|
||||||
|
|
||||||
#ifdef __WINE__
|
#ifdef __WINE__
|
||||||
|
@ -981,6 +1133,14 @@ typedef struct _SID {
|
||||||
* ACL
|
* ACL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define ACL_REVISION1 1
|
||||||
|
#define ACL_REVISION2 2
|
||||||
|
#define ACL_REVISION3 3
|
||||||
|
#define ACL_REVISION4 4
|
||||||
|
|
||||||
|
#define MIN_ACL_REVISION ACL_REVISION2
|
||||||
|
#define MAX_ACL_REVISION ACL_REVISION4
|
||||||
|
|
||||||
typedef struct _ACL {
|
typedef struct _ACL {
|
||||||
BYTE AclRevision;
|
BYTE AclRevision;
|
||||||
BYTE Sbz1;
|
BYTE Sbz1;
|
||||||
|
@ -1006,6 +1166,16 @@ typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
|
||||||
typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
||||||
|
|
||||||
/* The security descriptor structure */
|
/* The security descriptor structure */
|
||||||
|
typedef struct {
|
||||||
|
BYTE Revision;
|
||||||
|
BYTE Sbz1;
|
||||||
|
SECURITY_DESCRIPTOR_CONTROL Control;
|
||||||
|
DWORD Owner;
|
||||||
|
DWORD Group;
|
||||||
|
DWORD Sacl;
|
||||||
|
DWORD Dacl;
|
||||||
|
} SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
BYTE Revision;
|
BYTE Revision;
|
||||||
BYTE Sbz1;
|
BYTE Sbz1;
|
||||||
|
@ -1058,22 +1228,30 @@ typedef struct _SID_AND_ATTRIBUTES {
|
||||||
|
|
||||||
/* S-1-5 */
|
/* S-1-5 */
|
||||||
#define SECURITY_NT_AUTHORITY {0,0,0,0,0,5}
|
#define SECURITY_NT_AUTHORITY {0,0,0,0,0,5}
|
||||||
#define SECURITY_DIALUP_RID (0x00000001L)
|
#define SECURITY_DIALUP_RID 0x00000001L
|
||||||
#define SECURITY_NETWORK_RID (0x00000002L)
|
#define SECURITY_NETWORK_RID 0x00000002L
|
||||||
#define SECURITY_BATCH_RID (0x00000003L)
|
#define SECURITY_BATCH_RID 0x00000003L
|
||||||
#define SECURITY_INTERACTIVE_RID (0x00000004L)
|
#define SECURITY_INTERACTIVE_RID 0x00000004L
|
||||||
#define SECURITY_LOGON_IDS_RID (0x00000005L)
|
#define SECURITY_LOGON_IDS_RID 0x00000005L
|
||||||
#define SECURITY_SERVICE_RID (0x00000006L)
|
#define SECURITY_SERVICE_RID 0x00000006L
|
||||||
#define SECURITY_ANONYMOUS_LOGON_RID (0x00000007L)
|
#define SECURITY_ANONYMOUS_LOGON_RID 0x00000007L
|
||||||
#define SECURITY_PROXY_RID (0x00000008L)
|
#define SECURITY_PROXY_RID 0x00000008L
|
||||||
#define SECURITY_ENTERPRISE_CONTROLLERS_RID (0x00000009L)
|
#define SECURITY_ENTERPRISE_CONTROLLERS_RID 0x00000009L
|
||||||
#define SECURITY_PRINCIPAL_SELF_RID (0x0000000AL)
|
#define SECURITY_PRINCIPAL_SELF_RID 0x0000000AL
|
||||||
#define SECURITY_AUTHENTICATED_USER_RID (0x0000000BL)
|
#define SECURITY_AUTHENTICATED_USER_RID 0x0000000BL
|
||||||
#define SECURITY_RESTRICTED_CODE_RID (0x0000000CL)
|
#define SECURITY_RESTRICTED_CODE_RID 0x0000000CL
|
||||||
#define SECURITY_TERMINAL_SERVER_RID (0x0000000DL)
|
#define SECURITY_TERMINAL_SERVER_RID 0x0000000DL
|
||||||
#define SECURITY_LOCAL_SYSTEM_RID (0x00000012L)
|
#define SECURITY_LOCAL_SYSTEM_RID 0x00000012L
|
||||||
#define SECURITY_NT_NON_UNIQUE (0x00000015L)
|
#define SECURITY_NT_NON_UNIQUE 0x00000015L
|
||||||
#define SECURITY_BUILTIN_DOMAIN_RID (0x00000020L)
|
#define SECURITY_BUILTIN_DOMAIN_RID 0x00000020L
|
||||||
|
|
||||||
|
#define DOMAIN_GROUP_RID_ADMINS 0x00000200L
|
||||||
|
#define DOMAIN_GROUP_RID_USERS 0x00000201L
|
||||||
|
#define DOMAIN_GROUP_RID_GUESTS 0x00000202L
|
||||||
|
|
||||||
|
#define DOMAIN_ALIAS_RID_ADMINS 0x00000220L
|
||||||
|
#define DOMAIN_ALIAS_RID_USERS 0x00000221L
|
||||||
|
#define DOMAIN_ALIAS_RID_GUESTS 0x00000222L
|
||||||
|
|
||||||
#define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID
|
#define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue