Author: tkreuzer
Date: Mon Mar 29 13:40:06 2010
New Revision: 46568
URL:
http://svn.reactos.org/svn/reactos?rev=46568&view=rev
Log:
Define PPEB in ntddk.h
Modified:
trunk/reactos/include/ddk/ntddk.h
trunk/reactos/include/ndk/peb_teb.h
Modified: trunk/reactos/include/ddk/ntddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddk.h?rev=46…
==============================================================================
--- trunk/reactos/include/ddk/ntddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntddk.h [iso-8859-1] Mon Mar 29 13:40:06 2010
@@ -69,6 +69,8 @@
typedef GUID UUID;
typedef struct _BUS_HANDLER *PBUS_HANDLER;
+
+typedef struct _PEB *PPEB;
#define EXCEPTION_READ_FAULT 0
#define EXCEPTION_WRITE_FAULT 1
Modified: trunk/reactos/include/ndk/peb_teb.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/peb_teb.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/peb_teb.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/peb_teb.h [iso-8859-1] Mon Mar 29 13:40:06 2010
@@ -1,4 +1,3 @@
-
#define PASTE2(x,y) x##y
#define PASTE(x,y) PASTE2(x,y)
@@ -17,6 +16,10 @@
#define GDI_HANDLE_BUFFER_SIZE 60
#else
#define GDI_HANDLE_BUFFER_SIZE 34
+#endif
+
+#if defined(_NTDDK_INCLUDED_) || defined(_NTIFS_)
+#define PPEB PPEB_RENAMED
#endif
typedef struct STRUCT(_PEB)
@@ -152,6 +155,7 @@
#endif
} STRUCT(PEB), *STRUCT(PPEB);
+#undef PPEB
#if defined(_WIN64) && !defined(EXPLICIT_32BIT)
C_ASSERT(FIELD_OFFSET(STRUCT(PEB), Mutant) == 0x08);