Alexandre Julliard : include: Fix the PROCESSENTRY32 structure on 64-bit.
Alexandre Julliard
julliard at winehq.org
Sun Jan 4 09:09:07 CST 2009
Module: wine
Branch: master
Commit: 03f9519711415d77625dfe16c0197b2a3973519d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=03f9519711415d77625dfe16c0197b2a3973519d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sun Jan 4 14:10:33 2009 +0100
include: Fix the PROCESSENTRY32 structure on 64-bit.
---
include/tlhelp32.h | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/include/tlhelp32.h b/include/tlhelp32.h
index cc5a237..4b4d224 100644
--- a/include/tlhelp32.h
+++ b/include/tlhelp32.h
@@ -60,30 +60,30 @@ BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32);
typedef struct tagPROCESSENTRY32
{
- DWORD dwSize;
- DWORD cntUsage;
- DWORD th32ProcessID;
- DWORD th32DefaultHeapID;
- DWORD th32ModuleID;
- DWORD cntThreads;
- DWORD th32ParentProcessID;
- LONG pcPriClassBase;
- DWORD dwFlags;
- char szExeFile[MAX_PATH];
+ DWORD dwSize;
+ DWORD cntUsage;
+ DWORD th32ProcessID;
+ ULONG_PTR th32DefaultHeapID;
+ DWORD th32ModuleID;
+ DWORD cntThreads;
+ DWORD th32ParentProcessID;
+ LONG pcPriClassBase;
+ DWORD dwFlags;
+ char szExeFile[MAX_PATH];
} PROCESSENTRY32, *PPROCESSENTRY32, *LPPROCESSENTRY32;
typedef struct tagPROCESSENTRY32W
{
- DWORD dwSize;
- DWORD cntUsage;
- DWORD th32ProcessID;
- DWORD th32DefaultHeapID;
- DWORD th32ModuleID;
- DWORD cntThreads;
- DWORD th32ParentProcessID;
- LONG pcPriClassBase;
- DWORD dwFlags;
- WCHAR szExeFile[MAX_PATH];
+ DWORD dwSize;
+ DWORD cntUsage;
+ DWORD th32ProcessID;
+ ULONG_PTR th32DefaultHeapID;
+ DWORD th32ModuleID;
+ DWORD cntThreads;
+ DWORD th32ParentProcessID;
+ LONG pcPriClassBase;
+ DWORD dwFlags;
+ WCHAR szExeFile[MAX_PATH];
} PROCESSENTRY32W, *PPROCESSENTRY32W, *LPPROCESSENTRY32W;
BOOL WINAPI Process32First(HANDLE,LPPROCESSENTRY32);
More information about the wine-cvs
mailing list