THREAD_WRITE_FLAGS Enumeration

Debug Help Library

THREAD_WRITE_FLAGS Enumeration

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

typedef enum _THREAD_WRITE_FLAGS
{
  ThreadWriteThread
ThreadWriteThread

Only basic thread information will be written to the minidump file.

= 0x0001, ThreadWriteStack
ThreadWriteStack

Basic thread and thread stack information will be written to the minidump file.

= 0x0002, ThreadWriteContext
ThreadWriteContext

The entire thread context will be written to the minidump file.

= 0x0004, ThreadWriteBackingStore
ThreadWriteBackingStore
Intel IPF:  The backing store memory of every thread will be written to the minidump file.
= 0x0008, ThreadWriteInstructionWindow
ThreadWriteInstructionWindow

A 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.

= 0x0010, ThreadWriteThreadData
ThreadWriteThreadData

When 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.
= 0x0020, ThreadWriteThreadInfo
ThreadWriteThreadInfo

When 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.
= 0x0040 }THREAD_WRITE_FLAGS;

Constants

ThreadWriteThread

Only basic thread information will be written to the minidump file.

ThreadWriteStack

Basic thread and thread stack information will be written to the minidump file.

ThreadWriteContext

The entire thread context will be written to the minidump file.

ThreadWriteBackingStore
Intel IPF:  The backing store memory of every thread will be written to the minidump file.
ThreadWriteInstructionWindow

A 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.

ThreadWriteThreadData

When 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.
ThreadWriteThreadInfo

When 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

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in DbgHelp.h.

See Also

MINIDUMP_CALLBACK_OUTPUTMiniDumpWriteDump


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.