Commit 737b9e5a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same…

winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one.
parent 0cfe42b7
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment