Data Structures |
| struct | PRTL_BITMAP |
| struct | PRTL_BITMAP_RUN |
| union | LARGE_INTEGER |
| struct | PLIST_ENTRY |
| struct | PANSI_STRING |
| struct | PUNICODE_STRING |
Defines |
| #define | __fastcall __attribute__((fastcall)) |
| #define | __cdecl __attribute__((cdecl)) |
| #define | __stdcall __attribute__((stdcall)) |
| #define | UNIMPLEMENTED { printf("%s unimplemented\n", __FUNCTION__); exit(1); } |
| #define | ASSERT(x) assert(x) |
| #define | ASSERTMSG(x, m) assert(x) |
| #define | DPRINT if (0) printf |
| #define | DPRINT1 printf |
| #define | NTAPI |
| #define | WINAPI |
| #define | IN |
| #define | OUT |
| #define | OPTIONAL |
| #define | FALSE 0 |
| #define | TRUE 1 |
| #define | ANYSIZE_ARRAY 1 |
| #define | MAXUSHORT USHRT_MAX |
| #define | LOBYTE(w) ((BYTE)(w)) |
| #define | HIBYTE(w) ((BYTE)(((WORD)(w)>>8)&0xFF)) |
| #define | LOWORD(l) ((WORD)((DWORD_PTR)(l))) |
| #define | HIWORD(l) ((WORD)(((DWORD_PTR)(l)>>16)&0xFFFF)) |
| #define | MAKEWORD(a, b) ((WORD)(((BYTE)(a))|(((WORD)((BYTE)(b)))<<8))) |
| #define | MAKELONG(a, b) ((LONG)(((WORD)(a))|(((DWORD)((WORD)(b)))<<16))) |
| #define | MAXULONG 0xFFFFFFFF |
| #define | NT_SUCCESS(x) ((x)>=0) |
| #define | FIELD_OFFSET(t, f) ((LONG)(LONG_PTR)&(((t*) 0)->f)) |
| #define | RTL_CONSTANT_STRING(s) { sizeof(s)-sizeof((s)[0]), sizeof(s), s } |
| #define | CONTAINING_RECORD(address, type, field) ((type *)(((ULONG_PTR)address) - (ULONG_PTR)(&(((type *)0)->field)))) |
| #define | RtlZeroMemory(Destination, Length) memset(Destination, 0, Length) |
| #define | RtlCopyMemory(Destination, Source, Length) memcpy(Destination, Source, Length) |
| #define | RtlMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length) |
| #define | MAKELANGID(p, s) ((((WORD)(s))<<10)|(WORD)(p)) |
| #define | PRIMARYLANGID(l) ((WORD)(l)&0x3ff) |
| #define | SUBLANGID(l) ((WORD)(l)>>10) |
| #define | SUBLANG_NEUTRAL 0x00 |
| #define | __INTERNAL_DEBUG |
| #define | RTL_H |
Typedefs |
| typedef void | VOID |
| typedef void * | PVOID |
| typedef char | CHAR |
| typedef char | CCHAR |
| typedef char * | PCHAR |
| typedef char * | PSTR |
| typedef const char * | PCSTR |
| typedef const char * | LPCSTR |
| typedef unsigned char | UCHAR |
| typedef unsigned char * | PUCHAR |
| typedef unsigned char | BYTE |
| typedef unsigned char * | LPBYTE |
| typedef unsigned char | BOOLEAN |
| typedef unsigned char * | PBOOLEAN |
| typedef short | SHORT |
| typedef short * | PSHORT |
| typedef unsigned short | USHORT |
| typedef unsigned short * | PUSHORT |
| typedef unsigned short | WORD |
| typedef unsigned short * | PWORD |
| typedef unsigned short * | LPWORD |
| typedef unsigned short | WCHAR |
| typedef unsigned short * | PWCHAR |
| typedef unsigned short * | PWSTR |
| typedef unsigned short * | LPWSTR |
| typedef const unsigned short * | PCWSTR |
| typedef const unsigned short * | LPCWSTR |
| typedef int | INT |
| typedef int | LONG |
| typedef int * | PLONG |
| typedef int * | LPLONG |
| typedef int | BOOL |
| typedef unsigned int | UINT |
| typedef unsigned int * | PUINT |
| typedef unsigned int * | LPUINT |
| typedef unsigned int | ULONG |
| typedef unsigned int * | PULONG |
| typedef unsigned int | DWORD |
| typedef unsigned int * | LPDWORD |
| typedef long | LONG_PTR |
| typedef long * | PLONG_PTR |
| typedef long | INT_PTR |
| typedef long * | PINT_PTR |
| typedef unsigned long | ULONG_PTR |
| typedef unsigned long | DWORD_PTR |
| typedef unsigned long * | PULONG_PTR |
| typedef unsigned long | UINT_PTR |
| typedef unsigned long * | PUINT_PTR |
| typedef long long | LONGLONG |
| typedef unsigned long long | ULONGLONG |
| typedef PVOID | HANDLE |
| typedef PVOID | HKEY |
| typedef PVOID * | PHKEY |
| typedef INT | NTSTATUS |
| typedef INT | POOL_TYPE |
| typedef LONG | HRESULT |
| typedef ULONG_PTR | SIZE_T |
| typedef ULONG_PTR * | PSIZE_T |
| typedef WORD | LANGID |
| typedef const UNICODE_STRING * | PCUNICODE_STRING |
Functions |
| static __inline VOID | InitializeListHead (IN PLIST_ENTRY ListHead) |
| static __inline VOID | InsertHeadList (IN PLIST_ENTRY ListHead, IN PLIST_ENTRY Entry) |
| static __inline VOID | InsertTailList (IN PLIST_ENTRY ListHead, IN PLIST_ENTRY Entry) |
| static __inline BOOLEAN | IsListEmpty (IN const LIST_ENTRY *ListHead) |
| static __inline BOOLEAN | RemoveEntryList (IN PLIST_ENTRY Entry) |
| static __inline PLIST_ENTRY | RemoveHeadList (IN PLIST_ENTRY ListHead) |
| static __inline PLIST_ENTRY | RemoveTailList (IN PLIST_ENTRY ListHead) |