Author: sginsberg
Date: Sat Aug 8 15:32:15 2009
New Revision: 42513
URL:
http://svn.reactos.org/svn/reactos?rev=42513&view=rev
Log:
- Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
- Make RPC_STATUS respect __ROS_LONG64__ -- fixes a bunch of format warnings in the rpcrt4
Winetest.
Modified:
trunk/reactos/include/ndk/mmtypes.h
trunk/reactos/include/psdk/rpc.h
trunk/reactos/include/psdk/winnt.h
Modified: trunk/reactos/include/ndk/mmtypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/mmtypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] Sat Aug 8 15:32:15 2009
@@ -756,7 +756,7 @@
PVOID BaseAddress;
PVOID AllocationBase;
ULONG AllocationProtect;
- ULONG RegionSize;
+ SIZE_T RegionSize;
ULONG State;
ULONG Protect;
ULONG Type;
Modified: trunk/reactos/include/psdk/rpc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/rpc.h?rev=425…
==============================================================================
--- trunk/reactos/include/psdk/rpc.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/rpc.h [iso-8859-1] Sat Aug 8 15:32:15 2009
@@ -54,7 +54,11 @@
typedef void * I_RPC_HANDLE;
+#ifndef __ROS_LONG64__
typedef long RPC_STATUS;
+#else
+typedef int RPC_STATUS;
+#endif
#define __RPC_FAR
#if defined(__RPC_WIN32__) || defined(__RPC_WIN64__)
Modified: trunk/reactos/include/psdk/winnt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=4…
==============================================================================
--- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Sat Aug 8 15:32:15 2009
@@ -3241,7 +3241,7 @@
PVOID BaseAddress;
PVOID AllocationBase;
DWORD AllocationProtect;
- DWORD RegionSize;
+ SIZE_T RegionSize;
DWORD State;
DWORD Protect;
DWORD Type;