mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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 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;
|
||||||
|
|
|
@ -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__)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue