Dmitry Timoshkov : winternl.h:
Make the fields of the PROCESS_BASIC_INFORMATION structure use same
type width as a PSDK one .
Alexandre Julliard
julliard at wine.codeweavers.com
Wed May 23 08:10:57 CDT 2007
Module: wine
Branch: master
Commit: 737b9e5acd62b22cd75dd58f8448402b98305817
URL: http://source.winehq.org/git/wine.git/?a=commit;h=737b9e5acd62b22cd75dd58f8448402b98305817
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Wed May 23 16:35:52 2007 +0900
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 a03b23e..39ca74a 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 06885b3..5594348 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;
More information about the wine-cvs
mailing list