Define PPEB in ntddk.h

svn path=/trunk/; revision=46568
This commit is contained in:
Timo Kreuzer 2010-03-29 11:40:06 +00:00
parent f3e748eef0
commit 6a86d097cb
2 changed files with 7 additions and 1 deletions

View file

@ -70,6 +70,8 @@ typedef GUID UUID;
typedef struct _BUS_HANDLER *PBUS_HANDLER;
typedef struct _PEB *PPEB;
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
#define EXCEPTION_EXECUTE_FAULT 8

View file

@ -1,4 +1,3 @@
#define PASTE2(x,y) x##y
#define PASTE(x,y) PASTE2(x,y)
@ -19,6 +18,10 @@
#define GDI_HANDLE_BUFFER_SIZE 34
#endif
#if defined(_NTDDK_INCLUDED_) || defined(_NTIFS_)
#define PPEB PPEB_RENAMED
#endif
typedef struct STRUCT(_PEB)
{
BOOLEAN InheritedAddressSpace;
@ -152,6 +155,7 @@ typedef struct STRUCT(_PEB)
#endif
} STRUCT(PEB), *STRUCT(PPEB);
#undef PPEB
#if defined(_WIN64) && !defined(EXPLICIT_32BIT)
C_ASSERT(FIELD_OFFSET(STRUCT(PEB), Mutant) == 0x08);