Commit faab0c78 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

imagehlp: Fix the PTRANSLATE_ADDRESS_ROUTINE() and PREAD_PROCESS_MEMORY_ROUTINE() prototypes.

parent 3407307a
...@@ -226,7 +226,7 @@ typedef struct _ADDRESS { ...@@ -226,7 +226,7 @@ typedef struct _ADDRESS {
DWORD Offset; DWORD Offset;
WORD Segment; WORD Segment;
ADDRESS_MODE Mode; ADDRESS_MODE Mode;
} ADDRESS, *PADDRESS; } ADDRESS, *LPADDRESS;
typedef struct _ADDRESS64 { typedef struct _ADDRESS64 {
DWORD64 Offset; DWORD64 Offset;
...@@ -729,7 +729,7 @@ typedef BOOL (CALLBACK *DIGEST_FUNCTION)( ...@@ -729,7 +729,7 @@ typedef BOOL (CALLBACK *DIGEST_FUNCTION)(
); );
typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE)( typedef BOOL (CALLBACK *PREAD_PROCESS_MEMORY_ROUTINE)(
HANDLE hProcess, LPCVOID lpBaseAddress, PVOID lpBuffer, HANDLE hProcess, DWORD lpBaseAddress, PVOID lpBuffer,
DWORD nSize, PDWORD lpNumberOfBytesRead DWORD nSize, PDWORD lpNumberOfBytesRead
); );
...@@ -753,7 +753,7 @@ typedef DWORD (CALLBACK *PGET_MODULE_BASE_ROUTINE64)( ...@@ -753,7 +753,7 @@ typedef DWORD (CALLBACK *PGET_MODULE_BASE_ROUTINE64)(
HANDLE hProcess, DWORD64 ReturnAddress); HANDLE hProcess, DWORD64 ReturnAddress);
typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE)( typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE)(
HANDLE hProcess, HANDLE hThread, PADDRESS lpaddr HANDLE hProcess, HANDLE hThread, LPADDRESS lpaddr
); );
typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)( typedef DWORD (CALLBACK *PTRANSLATE_ADDRESS_ROUTINE64)(
......
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