dbghelp: Fix the PENUMLOADED_MODULES_CALLBACK() prototype.
This commit is contained in:
parent
4040ecee2b
commit
a399e3bcc4
|
@ -211,7 +211,7 @@ BOOL WINAPI SymGetSearchPath(HANDLE hProcess, PSTR szSearchPath,
|
|||
* SymInitialize helper: loads in dbghelp all known (and loaded modules)
|
||||
* this assumes that hProcess is a handle on a valid process
|
||||
*/
|
||||
static BOOL WINAPI process_invade_cb(char* name, DWORD base, DWORD size, void* user)
|
||||
static BOOL WINAPI process_invade_cb(PCSTR name, ULONG base, ULONG size, PVOID user)
|
||||
{
|
||||
char tmp[MAX_PATH];
|
||||
HANDLE hProcess = (HANDLE)user;
|
||||
|
|
|
@ -792,7 +792,7 @@ BOOL WINAPI MiniDumpReadDumpStream(PVOID, ULONG, PMINIDUMP_DIRECTORY*, PVOID*,
|
|||
#define SLMFLAG_VIRTUAL 0x1
|
||||
#define SLMFLAG_NO_SYMBOLS 0x4
|
||||
|
||||
typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK)(PSTR, ULONG, ULONG, PVOID);
|
||||
typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK)(PCSTR, ULONG, ULONG, PVOID);
|
||||
BOOL WINAPI EnumerateLoadedModules(HANDLE, PENUMLOADED_MODULES_CALLBACK, PVOID);
|
||||
typedef BOOL (CALLBACK *PENUMLOADED_MODULES_CALLBACK64)(PCSTR, DWORD64, ULONG, PVOID);
|
||||
BOOL WINAPI EnumerateLoadedModules64(HANDLE, PENUMLOADED_MODULES_CALLBACK64, PVOID);
|
||||
|
|
Loading…
Reference in New Issue