winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one.

This commit is contained in:
Dmitry Timoshkov 2007-05-23 16:35:52 +09:00 committed by Alexandre Julliard
parent 0cfe42b7da
commit 737b9e5acd
2 changed files with 6 additions and 6 deletions

View File

@ -144,7 +144,7 @@ NTSTATUS WINAPI NtQueryInformationProcess(
if ((ret = wine_server_call( req )) == STATUS_SUCCESS)
{
pbi.ExitStatus = reply->exit_code;
pbi.PebBaseAddress = (DWORD)reply->peb;
pbi.PebBaseAddress = reply->peb;
pbi.AffinityMask = reply->affinity;
pbi.BasePriority = reply->priority;
pbi.UniqueProcessId = reply->pid;

View File

@ -958,12 +958,12 @@ typedef struct _OBJECT_BASIC_INFORMATION {
typedef struct _PROCESS_BASIC_INFORMATION {
#ifdef __WINESRC__
DWORD ExitStatus;
DWORD PebBaseAddress;
DWORD_PTR ExitStatus;
PPEB PebBaseAddress;
DWORD_PTR AffinityMask;
DWORD BasePriority;
ULONG UniqueProcessId;
ULONG InheritedFromUniqueProcessId;
DWORD_PTR BasePriority;
ULONG_PTR UniqueProcessId;
ULONG_PTR InheritedFromUniqueProcessId;
#else
PVOID Reserved1;
PPEB PebBaseAddress;