From 737b9e5acd62b22cd75dd58f8448402b98305817 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 23 May 2007 16:35:52 +0900 Subject: [PATCH] winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one. --- dlls/ntdll/process.c | 2 +- include/winternl.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/ntdll/process.c b/dlls/ntdll/process.c index a03b23e0e9e..39ca74a3afa 100644 --- a/dlls/ntdll/process.c +++ b/dlls/ntdll/process.c @@ -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; diff --git a/include/winternl.h b/include/winternl.h index 06885b31ef0..55943484bdd 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -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; -- 2.11.4.GIT