MINIDUMP_CALLBACK_ROUTINE callback function

An application-defined callback function used with MiniDumpWriteDump. It receives extended minidump information.

The MINIDUMP_CALLBACK_ROUTINE type defines a pointer to this callback function. MiniDumpCallback is a placeholder for the application-defined function name.

Syntax

MINIDUMP_CALLBACK_ROUTINE MinidumpCallbackRoutine;

BOOL MinidumpCallbackRoutine(
  PVOID CallbackParam,
  PMINIDUMP_CALLBACK_INPUT CallbackInput,
  PMINIDUMP_CALLBACK_OUTPUT CallbackOutput
)
{...}

Parameters

CallbackParam

An application-defined parameter value.

CallbackInput

A pointer to a MINIDUMP_CALLBACK_INPUT structure that specifies extended minidump information.

CallbackOutput

A pointer to a MINIDUMP_CALLBACK_OUTPUT structure that receives application-defined information from the callback function.

Return Value

If the function succeeds, return TRUE; otherwise, return FALSE.

Requirements

   
Target Platform Windows
Header minidumpapiset.h (include DbgHelp.h)
Redistributable DbgHelp.dll 5.1 or later

See Also

DbgHelp Functions

MINIDUMP_CALLBACK_INFORMATION

MiniDumpWriteDump