#include <pshpack4.h>
#include <poppack.h>
Go to the source code of this file.
|
| #define | NOTHING |
| |
| #define | NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0) |
| |
| #define | NT_INFORMATION(Status) ((((ULONG)(Status)) >> 30) == 1) |
| |
| #define | NT_WARNING(Status) ((((ULONG)(Status)) >> 30) == 2) |
| |
| #define | NT_ERROR(Status) ((((ULONG)(Status)) >> 30) == 3) |
| |
| #define | NT_FACILITY_MASK 0xfff |
| |
| #define | NT_FACILITY_SHIFT 16 |
| |
| #define | NT_FACILITY(Status) ((((ULONG)(Status)) >> NT_FACILITY_SHIFT) & NT_FACILITY_MASK) |
| |
| #define | NT_NTWIN32(Status) (NT_FACILITY(Status) == FACILITY_NTWIN32) |
| |
| #define | WIN32_FROM_NTSTATUS(Status) (((ULONG)(Status)) & 0xffff) |
| |
| #define | FASTCALL __fastcall |
| |
| #define | RTL_CONSTANT_STRING(s) { sizeof(s) - sizeof((s)[0]), sizeof(s), s } |
| |
| #define | RTL_BALANCED_NODE_RESERVED_PARENT_MASK 3 |
| |
| #define | RTL_BALANCED_NODE_GET_PARENT_POINTER(Node) ((PRTL_BALANCED_NODE)((Node)->ParentValue & ~RTL_BALANCED_NODE_RESERVED_PARENT_MASK)) |
| |
| #define | OBJ_INHERIT 0x00000002 |
| |
| #define | OBJ_PERMANENT 0x00000010 |
| |
| #define | OBJ_EXCLUSIVE 0x00000020 |
| |
| #define | OBJ_CASE_INSENSITIVE 0x00000040 |
| |
| #define | OBJ_OPENIF 0x00000080 |
| |
| #define | OBJ_OPENLINK 0x00000100 |
| |
| #define | OBJ_KERNEL_HANDLE 0x00000200 |
| |
| #define | OBJ_FORCE_ACCESS_CHECK 0x00000400 |
| |
| #define | OBJ_VALID_ATTRIBUTES 0x000007f2 |
| |
| #define | InitializeObjectAttributes(p, n, a, r, s) |
| |
| #define | RTL_CONSTANT_OBJECT_ATTRIBUTES(n, a) { sizeof(OBJECT_ATTRIBUTES), NULL, n, a, NULL, NULL } |
| |
| #define | RTL_INIT_OBJECT_ATTRIBUTES(n, a) RTL_CONSTANT_OBJECT_ATTRIBUTES(n, a) |
| |
|
| enum | _EVENT_TYPE { NotificationEvent,
SynchronizationEvent
} |
| |
| enum | _TIMER_TYPE { NotificationTimer,
SynchronizationTimer
} |
| |
| enum | _WAIT_TYPE { WaitAll,
WaitAny
} |
| |
| enum | _NT_PRODUCT_TYPE { NtProductWinNt = 1,
NtProductLanManNt,
NtProductServer
} |
| |
| enum | _SUITE_TYPE {
SmallBusiness,
Enterprise,
BackOffice,
CommunicationServer,
TerminalServer,
SmallBusinessRestricted,
EmbeddedNT,
DataCenter,
SingleUserTS,
Personal,
Blade,
EmbeddedRestricted,
SecurityAppliance,
StorageServer,
ComputeServer,
WHServer,
PhoneNT,
MaxSuiteType
} |
| |
| #define FASTCALL __fastcall |
| #define InitializeObjectAttributes |
( |
|
p, |
|
|
|
n, |
|
|
|
a, |
|
|
|
r, |
|
|
|
s |
|
) |
| |
Value:{ \
(p)->RootDirectory = r; \
(p)->Attributes = a; \
(p)->ObjectName = n; \
(p)->SecurityDescriptor = s; \
(p)->SecurityQualityOfService = NULL; \
}
Definition at line 198 of file ntbasic.h.
| #define NT_ERROR |
( |
|
Status | ) |
((((ULONG)(Status)) >> 30) == 3) |
| #define NT_FACILITY_MASK 0xfff |
| #define NT_FACILITY_SHIFT 16 |
| #define NT_INFORMATION |
( |
|
Status | ) |
((((ULONG)(Status)) >> 30) == 1) |
| #define NT_NTWIN32 |
( |
|
Status | ) |
(NT_FACILITY(Status) == FACILITY_NTWIN32) |
| #define NT_SUCCESS |
( |
|
Status | ) |
(((NTSTATUS)(Status)) >= 0) |
| #define NT_WARNING |
( |
|
Status | ) |
((((ULONG)(Status)) >> 30) == 2) |
| #define OBJ_CASE_INSENSITIVE 0x00000040 |
| #define OBJ_EXCLUSIVE 0x00000020 |
| #define OBJ_FORCE_ACCESS_CHECK 0x00000400 |
| #define OBJ_INHERIT 0x00000002 |
| #define OBJ_KERNEL_HANDLE 0x00000200 |
| #define OBJ_OPENIF 0x00000080 |
| #define OBJ_OPENLINK 0x00000100 |
| #define OBJ_PERMANENT 0x00000010 |
| #define OBJ_VALID_ATTRIBUTES 0x000007f2 |
| #define RTL_BALANCED_NODE_RESERVED_PARENT_MASK 3 |
| #define RTL_CONSTANT_OBJECT_ATTRIBUTES |
( |
|
n, |
|
|
|
a |
|
) |
| { sizeof(OBJECT_ATTRIBUTES), NULL, n, a, NULL, NULL } |
| #define RTL_CONSTANT_STRING |
( |
|
s | ) |
{ sizeof(s) - sizeof((s)[0]), sizeof(s), s } |
| #define WIN32_FROM_NTSTATUS |
( |
|
Status | ) |
(((ULONG)(Status)) & 0xffff) |
- Enumerator:
| NotificationEvent |
|
| SynchronizationEvent |
|
Definition at line 80 of file ntbasic.h.
- Enumerator:
| NtProductWinNt |
|
| NtProductLanManNt |
|
| NtProductServer |
|
Definition at line 238 of file ntbasic.h.
- Enumerator:
| SmallBusiness |
|
| Enterprise |
|
| BackOffice |
|
| CommunicationServer |
|
| TerminalServer |
|
| SmallBusinessRestricted |
|
| EmbeddedNT |
|
| DataCenter |
|
| SingleUserTS |
|
| Personal |
|
| Blade |
|
| EmbeddedRestricted |
|
| SecurityAppliance |
|
| StorageServer |
|
| ComputeServer |
|
| WHServer |
|
| PhoneNT |
|
| MaxSuiteType |
|
Definition at line 245 of file ntbasic.h.
- Enumerator:
| NotificationTimer |
|
| SynchronizationTimer |
|
Definition at line 86 of file ntbasic.h.
| typedef _Success_ |
( |
return >= |
0 | ) |
|
| struct DECLSPEC_ALIGN |
( |
MEMORY_ALLOCATION_ALIGNMENT |
| ) |
|
|
read |