MODULE_WRITE_FLAGS Enumeration

Debug Help Library

MODULE_WRITE_FLAGS Enumeration

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

typedef enum _MODULE_WRITE_FLAGS
{
  ModuleWriteModule
ModuleWriteModule

Only module information will be written to the minidump file.

= 0x0001, ModuleWriteDataSeg
ModuleWriteDataSeg

Module and data segment information will be written to the minidump file. This value will only be set if the MiniDumpWithDataSegs enumeration value from MINIDUMP_TYPE is set.

= 0x0002, ModuleWriteMiscRecord
ModuleWriteMiscRecord

Module, data segment, and miscellaneous record information will be written to the minidump file.

= 0x0004, ModuleWriteCvRecord
ModuleWriteCvRecord

CodeView information will be written to the minidump file. Some debuggers need the CodeView information to properly locate symbols.

= 0x0008, ModuleReferencedByMemory
ModuleReferencedByMemory

Indicates that a module was referenced by a pointer on the stack or backing store of a thread in the minidump. This value is valid only if the DumpType parameter of the MiniDumpWriteDump function includes MiniDumpScanMemory.

= 0x0010, ModuleWriteTlsData
ModuleWriteTlsData

Per-module automatic TLS data is written to the minidump file. (Note that automatic TLS data is created using __declspec(thread) while TlsAlloc creates dynamic TLS data). This value is valid only if the DumpType parameter of the MiniDumpWriteDump function includes MiniDumpWithProcessThreadData.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x0020, ModuleWriteCodeSegs
ModuleWriteCodeSegs

Code segment information will be written to the minidump file. This value will only be set if the MiniDumpWithCodeSegs enumeration value from MINIDUMP_TYPE is set.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x0040 }MODULE_WRITE_FLAGS;

Constants

ModuleWriteModule

Only module information will be written to the minidump file.

ModuleWriteDataSeg

Module and data segment information will be written to the minidump file. This value will only be set if the MiniDumpWithDataSegs enumeration value from MINIDUMP_TYPE is set.

ModuleWriteMiscRecord

Module, data segment, and miscellaneous record information will be written to the minidump file.

ModuleWriteCvRecord

CodeView information will be written to the minidump file. Some debuggers need the CodeView information to properly locate symbols.

ModuleReferencedByMemory

Indicates that a module was referenced by a pointer on the stack or backing store of a thread in the minidump. This value is valid only if the DumpType parameter of the MiniDumpWriteDump function includes MiniDumpScanMemory.

ModuleWriteTlsData

Per-module automatic TLS data is written to the minidump file. (Note that automatic TLS data is created using __declspec(thread) while TlsAlloc creates dynamic TLS data). This value is valid only if the DumpType parameter of the MiniDumpWriteDump function includes MiniDumpWithProcessThreadData.

DbgHelp 6.1 and earlier:  This value is not supported.
ModuleWriteCodeSegs

Code segment information will be written to the minidump file. This value will only be set if the MiniDumpWithCodeSegs enumeration value from MINIDUMP_TYPE is set.

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.