MINIDUMP_CALLBACK_ROUTINE callback function (minidumpapiset.h)

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(
  [in]      PVOID CallbackParam,
  [in]      PMINIDUMP_CALLBACK_INPUT CallbackInput,
  [in, out] PMINIDUMP_CALLBACK_OUTPUT CallbackOutput
)
{...}

Parameters

[in] CallbackParam

An application-defined parameter value.

[in] CallbackInput

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

[in, out] 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

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

See also

DbgHelp Functions

MINIDUMP_CALLBACK_INFORMATION

MiniDumpWriteDump