mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
- 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:
parent
b9ad186036
commit
988ffc77d4
3 changed files with 6 additions and 2 deletions
|
@ -756,7 +756,7 @@ typedef struct _MEMORY_BASIC_INFORMATION
|
|||
PVOID BaseAddress;
|
||||
PVOID AllocationBase;
|
||||
ULONG AllocationProtect;
|
||||
ULONG RegionSize;
|
||||
SIZE_T RegionSize;
|
||||
ULONG State;
|
||||
ULONG Protect;
|
||||
ULONG Type;
|
||||
|
|
|
@ -54,7 +54,11 @@ extern "C" {
|
|||
|
||||
|
||||
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__)
|
||||
|
|
|
@ -3241,7 +3241,7 @@ typedef struct _MEMORY_BASIC_INFORMATION {
|
|||
PVOID BaseAddress;
|
||||
PVOID AllocationBase;
|
||||
DWORD AllocationProtect;
|
||||
DWORD RegionSize;
|
||||
SIZE_T RegionSize;
|
||||
DWORD State;
|
||||
DWORD Protect;
|
||||
DWORD Type;
|
||||
|
|
Loading…
Reference in a new issue