MINIDUMP_CALLBACK_INPUT Structure

Debug Help Library

MINIDUMP_CALLBACK_INPUT Structure

Contains information used by the MiniDumpCallback function.

typedef struct _MINIDUMP_CALLBACK_INPUT {
ULONG ProcessId;
HANDLE ProcessHandle;
ULONG CallbackType;
union {
HRESULT Status;
MINIDUMP_THREAD_CALLBACK Thread;
MINIDUMP_THREAD_EX_CALLBACK ThreadEx;
MINIDUMP_MODULE_CALLBACK Module;
MINIDUMP_INCLUDE_THREAD_CALLBACK IncludeThread;
MINIDUMP_INCLUDE_MODULE_CALLBACK IncludeModule;
MINIDUMP_IO_CALLBACK Io;
MINIDUMP_READ_MEMORY_FAILURE_CALLBACK ReadMemoryFailure;
ULONG SecondaryFlags;
}; } MINIDUMP_CALLBACK_INPUT,
*PMINIDUMP_CALLBACK_INPUT;

Members

ProcessId

The identifier of the process that contains callback function.

This member is not used if CallbackType is IoStartCallback.

ProcessHandle

A handle to the process that contains the callback function.

This member is not used if CallbackType is IoStartCallback.

CallbackType

The type of callback function. This member can be one of the values in the MINIDUMP_CALLBACK_TYPE enumeration.

Status

If CallbackType is KernelMinidumpStatusCallback, the union is an HRESULT value that indicates the status of the kernel minidump write attempt.

Thread

If CallbackType is ThreadCallback, the union is a MINIDUMP_THREAD_CALLBACK structure.

ThreadEx

If CallbackType is ThreadExCallback, the union is a MINIDUMP_THREAD_EX_CALLBACK structure.

Module

If CallbackType is ModuleCallback, the union is a MINIDUMP_MODULE_CALLBACK structure.

IncludeThread

If CallbackType is IncludeThreadCallback, the union is a MINIDUMP_INCLUDE_THREAD_CALLBACK structure.

DbgHelp 6.2 and earlier:  This member is not available.
IncludeModule

If CallbackType is IncludeModuleCallback, the union is a MINIDUMP_INCLUDE_MODULE_CALLBACK structure.

DbgHelp 6.2 and earlier:  This member is not available.
Io

If CallbackType is IoStartCallback, IoWriteAllCallback, or IoFinishCallback, the union is a MINIDUMP_IO_CALLBACK structure.

DbgHelp 6.4 and earlier:  This member is not available.
ReadMemoryFailure

If CallbackType is ReadMemoryFailureCallback, the union is a MINIDUMP_READ_MEMORY_FAILURE_CALLBACK structure.

DbgHelp 6.4 and earlier:  This member is not available.
SecondaryFlags

Contains a value from the MINIDUMP_SECONDARY_FLAGS enumeration type.

DbgHelp 6.5 and earlier:  This member is not available.

Remarks

If CallbackType is CancelCallback or MemoryCallback, the ProcessId, ProcessHandle, and CallbackType members are valid but no other input is specified.

Requirements

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in DbgHelp.h.

See Also

MINIDUMP_CALLBACK_TYPE
MINIDUMP_INCLUDE_MODULE_CALLBACK
MINIDUMP_INCLUDE_THREAD_CALLBACK
MINIDUMP_IO_CALLBACK
MINIDUMP_MODULE_CALLBACK
MINIDUMP_READ_MEMORY_FAILURE_CALLBACK
MINIDUMP_THREAD_CALLBACK
MINIDUMP_THREAD_EX_CALLBACK
MiniDumpCallback


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.