Commit 03f95197 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Fix the PROCESSENTRY32 structure on 64-bit.

parent 935a406b
...@@ -60,30 +60,30 @@ BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32); ...@@ -60,30 +60,30 @@ BOOL WINAPI Thread32Next(HANDLE,LPTHREADENTRY32);
typedef struct tagPROCESSENTRY32 typedef struct tagPROCESSENTRY32
{ {
DWORD dwSize; DWORD dwSize;
DWORD cntUsage; DWORD cntUsage;
DWORD th32ProcessID; DWORD th32ProcessID;
DWORD th32DefaultHeapID; ULONG_PTR th32DefaultHeapID;
DWORD th32ModuleID; DWORD th32ModuleID;
DWORD cntThreads; DWORD cntThreads;
DWORD th32ParentProcessID; DWORD th32ParentProcessID;
LONG pcPriClassBase; LONG pcPriClassBase;
DWORD dwFlags; DWORD dwFlags;
char szExeFile[MAX_PATH]; char szExeFile[MAX_PATH];
} PROCESSENTRY32, *PPROCESSENTRY32, *LPPROCESSENTRY32; } PROCESSENTRY32, *PPROCESSENTRY32, *LPPROCESSENTRY32;
typedef struct tagPROCESSENTRY32W typedef struct tagPROCESSENTRY32W
{ {
DWORD dwSize; DWORD dwSize;
DWORD cntUsage; DWORD cntUsage;
DWORD th32ProcessID; DWORD th32ProcessID;
DWORD th32DefaultHeapID; ULONG_PTR th32DefaultHeapID;
DWORD th32ModuleID; DWORD th32ModuleID;
DWORD cntThreads; DWORD cntThreads;
DWORD th32ParentProcessID; DWORD th32ParentProcessID;
LONG pcPriClassBase; LONG pcPriClassBase;
DWORD dwFlags; DWORD dwFlags;
WCHAR szExeFile[MAX_PATH]; WCHAR szExeFile[MAX_PATH];
} PROCESSENTRY32W, *PPROCESSENTRY32W, *LPPROCESSENTRY32W; } PROCESSENTRY32W, *PPROCESSENTRY32W, *LPPROCESSENTRY32W;
BOOL WINAPI Process32First(HANDLE,LPPROCESSENTRY32); BOOL WINAPI Process32First(HANDLE,LPPROCESSENTRY32);
......
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