mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
Define PPEB in ntddk.h
svn path=/trunk/; revision=46568
This commit is contained in:
parent
f3e748eef0
commit
6a86d097cb
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue