MINIDUMP_TYPE Enumeration

Debug Help Library

MINIDUMP_TYPE Enumeration

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

typedef enum _MINIDUMP_TYPE
{
  MiniDumpNormal
MiniDumpNormal

Include just the information necessary to capture stack traces for all existing threads in a process.

= 0x00000000, MiniDumpWithDataSegs
MiniDumpWithDataSegs

Include the data sections from all loaded modules. This results in the inclusion of global variables, which can make the minidump file significantly larger. For per-module control, use the ModuleWriteDataSeg enumeration value from MODULE_WRITE_FLAGS.

= 0x00000001, MiniDumpWithFullMemory
MiniDumpWithFullMemory

Include all accessible memory in the process. The raw memory data is included at the end, so that the initial structures can be mapped directly without the raw memory information. This option can result in a very large file.

= 0x00000002, MiniDumpWithHandleData
MiniDumpWithHandleData

Include high-level information about the operating system handles that are active when the minidump is made.

= 0x00000004, MiniDumpFilterMemory
MiniDumpFilterMemory

Stack and backing store memory written to the minidump file should be filtered to remove all but the pointer values necessary to reconstruct a stack trace. Typically, this removes any private information.

= 0x00000008, MiniDumpScanMemory
MiniDumpScanMemory

Stack and backing store memory should be scanned for pointer references to modules in the module list. If a module is referenced by stack or backing store memory, the ModuleWriteFlags member of the MINIDUMP_CALLBACK_OUTPUT structure is set to ModuleReferencedByMemory.

= 0x00000010, MiniDumpWithUnloadedModules
MiniDumpWithUnloadedModules

Include information from the list of modules that were recently unloaded, if this information is maintained by the operating system.

Windows Server 2003 and Windows XP:  The operating system does not maintain information for unloaded modules until Windows Server 2003 SP1 and Windows XP SP2.
DbgHelp 5.1:  This value is not supported.
= 0x00000020, MiniDumpWithIndirectlyReferencedMemory
MiniDumpWithIndirectlyReferencedMemory

Include pages with data referenced by locals or other stack memory. This option can increase the size of the minidump file significantly.

DbgHelp 5.1:  This value is not supported.
= 0x00000040, MiniDumpFilterModulePaths
MiniDumpFilterModulePaths

Filter module paths for information such as user names or important directories. This option may prevent the system from locating the image file and should be used only in special situations.

DbgHelp 5.1:  This value is not supported.
= 0x00000080, MiniDumpWithProcessThreadData
MiniDumpWithProcessThreadData

Include complete per-process and per-thread information from the operating system.

DbgHelp 5.1:  This value is not supported.
= 0x00000100, MiniDumpWithPrivateReadWriteMemory
MiniDumpWithPrivateReadWriteMemory

Scan the virtual address space for other types of memory to be included.

DbgHelp 5.1:  This value is not supported.
= 0x00000200, MiniDumpWithoutOptionalData
MiniDumpWithoutOptionalData

Reduce the data that is dumped by eliminating memory regions that are not essential to meet criteria specified for the dump. This can avoid dumping memory that may contain data that is private to the user. However, it is not a guarantee that no private information will be present.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x00000400, MiniDumpWithFullMemoryInfo
MiniDumpWithFullMemoryInfo

Include memory region information. For more information, see MINIDUMP_MEMORY_INFO_LIST.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x00000800, MiniDumpWithThreadInfo
MiniDumpWithThreadInfo

Include thread state information. For more information, see MINIDUMP_THREAD_INFO_LIST.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x00001000, MiniDumpWithCodeSegs
MiniDumpWithCodeSegs

Include all code and code-related sections from loaded modules to capture executable content. For per-module control, use the ModuleWriteCodeSegs enumeration value from MODULE_WRITE_FLAGS.

DbgHelp 6.1 and earlier:  This value is not supported.
= 0x00002000 }MINIDUMP_TYPE;

Constants

MiniDumpNormal

Include just the information necessary to capture stack traces for all existing threads in a process.

MiniDumpWithDataSegs

Include the data sections from all loaded modules. This results in the inclusion of global variables, which can make the minidump file significantly larger. For per-module control, use the ModuleWriteDataSeg enumeration value from MODULE_WRITE_FLAGS.

MiniDumpWithFullMemory

Include all accessible memory in the process. The raw memory data is included at the end, so that the initial structures can be mapped directly without the raw memory information. This option can result in a very large file.

MiniDumpWithHandleData

Include high-level information about the operating system handles that are active when the minidump is made.

MiniDumpFilterMemory

Stack and backing store memory written to the minidump file should be filtered to remove all but the pointer values necessary to reconstruct a stack trace. Typically, this removes any private information.

MiniDumpScanMemory

Stack and backing store memory should be scanned for pointer references to modules in the module list. If a module is referenced by stack or backing store memory, the ModuleWriteFlags member of the MINIDUMP_CALLBACK_OUTPUT structure is set to ModuleReferencedByMemory.

MiniDumpWithUnloadedModules

Include information from the list of modules that were recently unloaded, if this information is maintained by the operating system.

Windows Server 2003 and Windows XP:  The operating system does not maintain information for unloaded modules until Windows Server 2003 SP1 and Windows XP SP2.
DbgHelp 5.1:  This value is not supported.
MiniDumpWithIndirectlyReferencedMemory

Include pages with data referenced by locals or other stack memory. This option can increase the size of the minidump file significantly.

DbgHelp 5.1:  This value is not supported.
MiniDumpFilterModulePaths

Filter module paths for information such as user names or important directories. This option may prevent the system from locating the image file and should be used only in special situations.

DbgHelp 5.1:  This value is not supported.
MiniDumpWithProcessThreadData

Include complete per-process and per-thread information from the operating system.

DbgHelp 5.1:  This value is not supported.
MiniDumpWithPrivateReadWriteMemory

Scan the virtual address space for other types of memory to be included.

DbgHelp 5.1:  This value is not supported.
MiniDumpWithoutOptionalData

Reduce the data that is dumped by eliminating memory regions that are not essential to meet criteria specified for the dump. This can avoid dumping memory that may contain data that is private to the user. However, it is not a guarantee that no private information will be present.

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

Include memory region information. For more information, see MINIDUMP_MEMORY_INFO_LIST.

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

Include thread state information. For more information, see MINIDUMP_THREAD_INFO_LIST.

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

Include all code and code-related sections from loaded modules to capture executable content. For per-module control, use the ModuleWriteCodeSegs enumeration value from MODULE_WRITE_FLAGS.

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

MiniDumpWriteDump

Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.