Commit 1566bec5 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Add HEAPENTRY32 and the related APIs.

parent 588c5387
...@@ -146,7 +146,8 @@ BOOL WINAPI Module32NextW(HANDLE,LPMODULEENTRY32W); ...@@ -146,7 +146,8 @@ BOOL WINAPI Module32NextW(HANDLE,LPMODULEENTRY32W);
#define LPMODULEENTRY32 LPMODULEENTRY32W #define LPMODULEENTRY32 LPMODULEENTRY32W
#endif #endif
typedef struct tagHEAPLIST32 { typedef struct tagHEAPLIST32
{
SIZE_T dwSize; SIZE_T dwSize;
DWORD th32ProcessID; DWORD th32ProcessID;
ULONG_PTR th32HeapID; ULONG_PTR th32HeapID;
...@@ -154,8 +155,25 @@ typedef struct tagHEAPLIST32 { ...@@ -154,8 +155,25 @@ typedef struct tagHEAPLIST32 {
} HEAPLIST32, *PHEAPLIST32, *LPHEAPLIST32; } HEAPLIST32, *PHEAPLIST32, *LPHEAPLIST32;
BOOL WINAPI Heap32ListFirst(HANDLE,LPHEAPLIST32); BOOL WINAPI Heap32ListFirst(HANDLE,LPHEAPLIST32);
BOOL WINAPI Heap32ListNext(HANDLE,LPHEAPLIST32);
BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,SIZE_T,SIZE_T*); BOOL WINAPI Toolhelp32ReadProcessMemory(DWORD,LPCVOID,LPVOID,SIZE_T,SIZE_T*);
typedef struct tagHEAPENTRY32
{
SIZE_T dwSize;
HANDLE hHandle;
ULONG_PTR dwAddress;
SIZE_T dwBlockSize;
DWORD dwFlags;
DWORD dwLockCount;
DWORD dwResvd;
DWORD th32ProcessID;
ULONG_PTR th32HeapID;
} HEAPENTRY32, *PHEAPENTRY32, *LPHEAPENTRY32;
BOOL WINAPI Heap32First(LPHEAPENTRY32,DWORD,ULONG_PTR);
BOOL WINAPI Heap32Next(LPHEAPENTRY32);
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
#endif #endif
......
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