Author: tkreuzer
Date: Tue Mar 30 07:22:15 2010
New Revision: 46581
URL:
http://svn.reactos.org/svn/reactos?rev=46581&view=rev
Log:
Simplify definition of PIMAGE_NT_HEADERS
Modified:
branches/header-work/include/ddk/ntimage.h
Modified: branches/header-work/include/ddk/ntimage.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/ntimage…
==============================================================================
--- branches/header-work/include/ddk/ntimage.h [iso-8859-1] (original)
+++ branches/header-work/include/ddk/ntimage.h [iso-8859-1] Tue Mar 30 07:22:15 2010
@@ -403,22 +403,15 @@
} IMAGE_NT_HEADERS32;
#ifdef _WIN64
-typedef IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS;
+typedef IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS;
#else
-typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
+typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
#endif
#ifndef _NTDDK_
-
-typedef struct _IMAGE_NT_HEADERS *PIMAGE_NT_HEADERS32;
-typedef struct _IMAGE_NT_HEADERS64 *PIMAGE_NT_HEADERS64;
-
-#ifdef _WIN64
-typedef PIMAGE_NT_HEADERS64 PIMAGE_NT_HEADERS;
-#else
-typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS;
-#endif
-
+typedef IMAGE_NT_HEADERS32 *PIMAGE_NT_HEADERS32;
+typedef IMAGE_NT_HEADERS64 *PIMAGE_NT_HEADERS64;
+typedef IMAGE_NT_HEADERS *PIMAGE_NT_HEADERS;
#endif /* _NTDDK_ */
//