THREAD_WRITE_FLAGS Enumeration

Identifies the type of thread information that will be written to the minidump file by the MiniDumpWriteDump function.

Syntax

typedef enum _THREAD_WRITE_FLAGS
{
    ThreadWriteThread = 0x0001,
    ThreadWriteStack = 0x0002,
    ThreadWriteContext = 0x0004,
    ThreadWriteBackingStore = 0x0008,
    ThreadWriteInstructionWindow = 0x0010,
    ThreadWriteThreadData = 0x0020,
    ThreadWriteThreadInfo = 0x0040
} THREAD_WRITE_FLAGS;  

Constants

Constant Description
ThreadWriteThreadOnly basic thread information will be written to the minidump file.
ThreadWriteStackBasic thread and thread stack information will be written to the minidump file.
ThreadWriteContextThe entire thread context will be written to the minidump file.
ThreadWriteBackingStore

Intel Itanium:

The backing store memory of every thread will be written to the minidump file.
ThreadWriteInstructionWindowA small amount of memory surrounding each thread's instruction pointer will be written to the minidump file. This allows instructions near a thread's instruction pointer to be disassembled even if an executable image matching the module cannot be found.
ThreadWriteThreadDataWhen the minidump type includes MiniDumpWithProcessThreadData, this flag is set. The callback function can clear this flag to control which threads provide complete thread data in the minidump file.

DbgHelp 5.1:

This value is not supported.
ThreadWriteThreadInfoWhen the minidump type includes MiniDumpWithThreadInfo, this flag is set. The callback function can clear this flag to control which threads provide thread state information in the minidump file. For more information, see MINIDUMP_THREAD_INFO.

DbgHelp 6.1 and earlier:

This value is not supported.

Requirements

Header: Declared in dbghelp.h.

See also

MINIDUMP_CALLBACK_OUTPUT

MiniDumpWriteDump