- 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.

svn path=/trunk/; revision=42513
This commit is contained in:
Stefan Ginsberg 2009-08-08 13:32:15 +00:00
parent b9ad186036
commit 988ffc77d4
3 changed files with 6 additions and 2 deletions

View file

@ -756,7 +756,7 @@ typedef struct _MEMORY_BASIC_INFORMATION
PVOID BaseAddress; PVOID BaseAddress;
PVOID AllocationBase; PVOID AllocationBase;
ULONG AllocationProtect; ULONG AllocationProtect;
ULONG RegionSize; SIZE_T RegionSize;
ULONG State; ULONG State;
ULONG Protect; ULONG Protect;
ULONG Type; ULONG Type;

View file

@ -54,7 +54,11 @@ extern "C" {
typedef void * I_RPC_HANDLE; typedef void * I_RPC_HANDLE;
#ifndef __ROS_LONG64__
typedef long RPC_STATUS; typedef long RPC_STATUS;
#else
typedef int RPC_STATUS;
#endif
#define __RPC_FAR #define __RPC_FAR
#if defined(__RPC_WIN32__) || defined(__RPC_WIN64__) #if defined(__RPC_WIN32__) || defined(__RPC_WIN64__)

View file

@ -3241,7 +3241,7 @@ typedef struct _MEMORY_BASIC_INFORMATION {
PVOID BaseAddress; PVOID BaseAddress;
PVOID AllocationBase; PVOID AllocationBase;
DWORD AllocationProtect; DWORD AllocationProtect;
DWORD RegionSize; SIZE_T RegionSize;
DWORD State; DWORD State;
DWORD Protect; DWORD Protect;
DWORD Type; DWORD Type;