How to use DbgHelpCreateUserDump?

60 views Asked by At

I wanted to use this function to dump the memory of some processes for analysis, but I didn't find any instructions for this function online.

1

There are 1 answers

0
wizzwizz4 On

From the ReactOS source code (/dll/win32/dbghelp/rosstubs.c):

BOOL WINAPI
DbgHelpCreateUserDump(LPSTR pszFileName,
                      PDBGHELP_CREATE_USER_DUMP_CALLBACK Callback,
                      PVOID pUserData)
{
    UNIMPLEMENTED;
    return FALSE;
}

BOOL WINAPI
DbgHelpCreateUserDumpW(LPWSTR pszFileName,
                      PDBGHELP_CREATE_USER_DUMP_CALLBACK Callback,
                      PVOID pUserData)
{
    UNIMPLEMENTED;
    return FALSE;
}

See also Microsoft's documentation; FreePascal's documentation.

I haven't found anything more than the function's prototype. It does not look like this is part of the dbghelp public API. Consider using MiniDumpWriteDump instead.