MODULE_WRITE_FLAGS Enumeration

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

Syntax

typedef enum _MODULE_WRITE_FLAGS
{
    ModuleWriteModule = 0x0001,
    ModuleWriteDataSeg = 0x0002,
    ModuleWriteMiscRecord = 0x0004,
    ModuleWriteCvRecord = 0x0008,
    ModuleReferencedByMemory = 0x0010,
    ModuleWriteTlsData = 0x0020,
    ModuleWriteCodeSegs = 0x0040
} MODULE_WRITE_FLAGS;  

Constants

Constant Description
ModuleWriteModuleOnly module information will be written to the minidump file.
ModuleWriteDataSegModule 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.
ModuleWriteMiscRecordModule, data segment, and miscellaneous record information will be written to the minidump file.
ModuleWriteCvRecordCodeView information will be written to the minidump file. Some debuggers need the CodeView information to properly locate symbols.
ModuleReferencedByMemoryIndicates 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.
ModuleWriteTlsDataPer-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.
ModuleWriteCodeSegsCode 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

Header: Declared in dbghelp.h.

See also

MINIDUMP_CALLBACK_OUTPUT

MiniDumpWriteDump