#include <sal.h>
#include <no_sal2.h>
#include <windef.h>
#include <ntstatus.h>
#include <winioctl.h>
#include <ntnls.h>
Go to the source code of this file.
|
#define | _NTDEF_ |
|
#define | _NTDEF_H |
|
#define | WIN32_NO_STATUS |
|
#define | NTOS_MODE_USER |
|
#define | FASTCALL |
|
#define | NTAPI_INLINE NTAPI |
|
#define | ALIGN_DOWN_BY(size, align) ((ULONG_PTR)(size) & ~((ULONG_PTR)(align) - 1)) |
|
#define | ALIGN_UP_BY(size, align) (ALIGN_DOWN_BY(((ULONG_PTR)(size) + align - 1), align)) |
|
#define | ALIGN_DOWN_POINTER_BY(ptr, align) ((PVOID)ALIGN_DOWN_BY(ptr, align)) |
|
#define | ALIGN_UP_POINTER_BY(ptr, align) ((PVOID)ALIGN_UP_BY(ptr, align)) |
|
#define | ALIGN_DOWN(size, type) ALIGN_DOWN_BY(size, sizeof(type)) |
|
#define | ALIGN_UP(size, type) ALIGN_UP_BY(size, sizeof(type)) |
|
#define | ALIGN_DOWN_POINTER(ptr, type) ALIGN_DOWN_POINTER_BY(ptr, sizeof(type)) |
|
#define | ALIGN_UP_POINTER(ptr, type) ALIGN_UP_POINTER_BY(ptr, sizeof(type)) |
|
#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 | MINCHAR 0x80 |
|
#define | MAXCHAR 0x7f |
|
#define | MINSHORT 0x8000 |
|
#define | MAXSHORT 0x7fff |
|
#define | MINLONG 0x80000000 |
|
#define | MAXLONG 0x7fffffff |
|
#define | MAXUCHAR 0xff |
|
#define | MAXUSHORT 0xffff |
|
#define | MAXULONG 0xffffffff |
|
◆ _NTDEF_
◆ _NTDEF_H
◆ ALIGN_DOWN
◆ ALIGN_DOWN_BY
◆ ALIGN_DOWN_POINTER
◆ ALIGN_DOWN_POINTER_BY
◆ ALIGN_UP
◆ ALIGN_UP_BY
◆ ALIGN_UP_POINTER
◆ ALIGN_UP_POINTER_BY
◆ FASTCALL
◆ MAXCHAR
◆ MAXLONG
◆ MAXSHORT
◆ MAXUCHAR
◆ MAXULONG
◆ MAXUSHORT
◆ MINCHAR
◆ MINLONG
◆ MINSHORT
◆ NT_ERROR
◆ NT_INFORMATION
◆ NT_SUCCESS
◆ NT_WARNING
◆ NTAPI_INLINE
◆ NTOS_MODE_USER
◆ WIN32_NO_STATUS
◆ ANSI_STRING
◆ ANSI_STRING32
◆ ANSI_STRING64
◆ CANSI_STRING
◆ CINT
◆ CLIENT_ID
◆ CLONG
◆ CSHORT
◆ CSTRING
◆ KPRIORITY
◆ OBJECT_ATTRIBUTES
◆ OEM_STRING
◆ PANSI_STRING
◆ PANSI_STRING32
◆ PANSI_STRING64
◆ PCANSI_STRING
◆ PCLIENT_ID
◆ PCOEM_STRING
◆ PCSHORT
◆ PCSTRING
◆ PCSZ
◆ PCUNICODE_STRING
◆ PHYSICAL_ADDRESS
◆ PNTSTATUS
◆ POBJECT_ATTRIBUTES
◆ POEM_STRING
◆ PPHYSICAL_ADDRESS
◆ PSTRING
◆ PSTRING32
◆ PSTRING64
◆ PUNICODE_STRING
◆ PUNICODE_STRING32
◆ PUNICODE_STRING64
◆ STRING
◆ STRING32
◆ STRING64
◆ UNICODE_STRING
◆ UNICODE_STRING32
◆ UNICODE_STRING64
◆ _Return_type_success_()
typedef _Return_type_success_ |
( |
return >= |
0 | ) |
|