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( ...@@ -144,7 +144,7 @@ NTSTATUS WINAPI NtQueryInformationProcess(
if ((ret = wine_server_call( req )) == STATUS_SUCCESS) if ((ret = wine_server_call( req )) == STATUS_SUCCESS)
{ {
pbi.ExitStatus = reply->exit_code; pbi.ExitStatus = reply->exit_code;
pbi.PebBaseAddress = (DWORD)reply->peb; pbi.PebBaseAddress = reply->peb;
pbi.AffinityMask = reply->affinity; pbi.AffinityMask = reply->affinity;
pbi.BasePriority = reply->priority; pbi.BasePriority = reply->priority;
pbi.UniqueProcessId = reply->pid; pbi.UniqueProcessId = reply->pid;
......
...@@ -958,12 +958,12 @@ typedef struct _OBJECT_BASIC_INFORMATION { ...@@ -958,12 +958,12 @@ typedef struct _OBJECT_BASIC_INFORMATION {
typedef struct _PROCESS_BASIC_INFORMATION { typedef struct _PROCESS_BASIC_INFORMATION {
#ifdef __WINESRC__ #ifdef __WINESRC__
DWORD ExitStatus; DWORD_PTR ExitStatus;
DWORD PebBaseAddress; PPEB PebBaseAddress;
DWORD_PTR AffinityMask; DWORD_PTR AffinityMask;
DWORD BasePriority; DWORD_PTR BasePriority;
ULONG UniqueProcessId; ULONG_PTR UniqueProcessId;
ULONG InheritedFromUniqueProcessId; ULONG_PTR InheritedFromUniqueProcessId;
#else #else
PVOID Reserved1; PVOID Reserved1;
PPEB PebBaseAddress; 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