Crashpad
Classes | Macros
winnt.h File Reference
#include <stdint.h>

Classes

struct  XSTATE_FEATURE
 The location of a single state component within an XSAVE area. More...
 
struct  IMAGE_DEBUG_MISC
 Miscellaneous debugging record. More...
 

Macros

#define EXCEPTION_MAXIMUM_PARAMETERS   15
 The maximum number of exception parameters present in the MINIDUMP_EXCEPTION::ExceptionInformation array.
 
#define MAXIMUM_XSTATE_FEATURES   (64)
 The maximum number of distinct identifiable features that could possibly be carried in an XSAVE area. More...
 
VER_SUITE_*

Installable product values for MINIDUMP_SYSTEM_INFO::SuiteMask.

#define VER_SUITE_SMALLBUSINESS   0x0001
 
#define VER_SUITE_ENTERPRISE   0x0002
 
#define VER_SUITE_BACKOFFICE   0x0004
 
#define VER_SUITE_COMMUNICATIONS   0x0008
 
#define VER_SUITE_TERMINAL   0x0010
 
#define VER_SUITE_SMALLBUSINESS_RESTRICTED   0x0020
 
#define VER_SUITE_EMBEDDEDNT   0x0040
 
#define VER_SUITE_DATACENTER   0x0080
 
#define VER_SUITE_SINGLEUSERTS   0x0100
 
#define VER_SUITE_PERSONAL   0x0200
 
#define VER_SUITE_BLADE   0x0400
 
#define VER_SUITE_EMBEDDED_RESTRICTED   0x0800
 
#define VER_SUITE_SECURITY_APPLIANCE   0x1000
 
#define VER_SUITE_STORAGE_SERVER   0x2000
 
#define VER_SUITE_COMPUTE_SERVER   0x4000
 
#define VER_SUITE_WH_SERVER   0x8000
 
PROCESSOR_ARCHITECTURE_*
#define PROCESSOR_ARCHITECTURE_INTEL   0
 
#define PROCESSOR_ARCHITECTURE_MIPS   1
 
#define PROCESSOR_ARCHITECTURE_ALPHA   2
 
#define PROCESSOR_ARCHITECTURE_PPC   3
 
#define PROCESSOR_ARCHITECTURE_SHX   4
 
#define PROCESSOR_ARCHITECTURE_ARM   5
 
#define PROCESSOR_ARCHITECTURE_IA64   6
 
#define PROCESSOR_ARCHITECTURE_ALPHA64   7
 
#define PROCESSOR_ARCHITECTURE_MSIL   8
 
#define PROCESSOR_ARCHITECTURE_AMD64   9
 
#define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64   10
 
#define PROCESSOR_ARCHITECTURE_NEUTRAL   11
 
#define PROCESSOR_ARCHITECTURE_ARM64   12
 
#define PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64   13
 
#define PROCESSOR_ARCHITECTURE_UNKNOWN   0xffff
 
PF_*
#define PF_FLOATING_POINT_PRECISION_ERRATA   0
 
#define PF_FLOATING_POINT_EMULATED   1
 
#define PF_COMPARE_EXCHANGE_DOUBLE   2
 
#define PF_MMX_INSTRUCTIONS_AVAILABLE   3
 
#define PF_PPC_MOVEMEM_64BIT_OK   4
 
#define PF_ALPHA_BYTE_INSTRUCTIONS   5
 
#define PF_XMMI_INSTRUCTIONS_AVAILABLE   6
 
#define PF_3DNOW_INSTRUCTIONS_AVAILABLE   7
 
#define PF_RDTSC_INSTRUCTION_AVAILABLE   8
 
#define PF_PAE_ENABLED   9
 
#define PF_XMMI64_INSTRUCTIONS_AVAILABLE   10
 
#define PF_SSE_DAZ_MODE_AVAILABLE   11
 
#define PF_NX_ENABLED   12
 
#define PF_SSE3_INSTRUCTIONS_AVAILABLE   13
 
#define PF_COMPARE_EXCHANGE128   14
 
#define PF_COMPARE64_EXCHANGE128   15
 
#define PF_CHANNELS_ENABLED   16
 
#define PF_XSAVE_ENABLED   17
 
#define PF_ARM_VFP_32_REGISTERS_AVAILABLE   18
 
#define PF_ARM_NEON_INSTRUCTIONS_AVAILABLE   19
 
#define PF_SECOND_LEVEL_ADDRESS_TRANSLATION   20
 
#define PF_VIRT_FIRMWARE_ENABLED   21
 
#define PF_RDWRFSGSBASE_AVAILABLE   22
 
#define PF_FASTFAIL_AVAILABLE   23
 
#define PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE   24
 
#define PF_ARM_64BIT_LOADSTORE_ATOMIC   25
 
#define PF_ARM_EXTERNAL_CACHE_AVAILABLE   26
 
#define PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE   27
 
#define PF_RDRAND_INSTRUCTION_AVAILABLE   28
 
#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE   29
 
#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE   30
 
#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE   31
 
#define PF_RDTSCP_INSTRUCTION_AVAILABLE   32
 
PAGE_*
#define PAGE_NOACCESS   0x1
 
#define PAGE_READONLY   0x2
 
#define PAGE_READWRITE   0x4
 
#define PAGE_WRITECOPY   0x8
 
#define PAGE_EXECUTE   0x10
 
#define PAGE_EXECUTE_READ   0x20
 
#define PAGE_EXECUTE_READWRITE   0x40
 
#define PAGE_EXECUTE_WRITECOPY   0x80
 
#define PAGE_GUARD   0x100
 
#define PAGE_NOCACHE   0x200
 
#define PAGE_WRITECOMBINE   0x400
 
MEM_*

Memory state and type constants for MINIDUMP_MEMORY_INFO::State and MINIDUMP_MEMORY_INFO::Type.

#define MEM_COMMIT   0x1000
 
#define MEM_RESERVE   0x2000
 
#define MEM_DECOMMIT   0x4000
 
#define MEM_RELEASE   0x8000
 
#define MEM_FREE   0x10000
 
#define MEM_PRIVATE   0x20000
 
#define MEM_MAPPED   0x40000
 
#define MEM_RESET   0x80000
 
IMAGE_DEBUG_MISC_*

Data type values for IMAGE_DEBUG_MISC::DataType.

#define IMAGE_DEBUG_MISC_EXENAME   1
 A pointer to a .dbg file. More...
 
VER_NT_*

Operating system type values for MINIDUMP_SYSTEM_INFO::ProductType.

See also
crashpad::MinidumpOSType
#define VER_NT_WORKSTATION   1
 
#define VER_NT_DOMAIN_CONTROLLER   2
 
#define VER_NT_SERVER   3
 
VER_PLATFORM_*

Operating system family values for MINIDUMP_SYSTEM_INFO::PlatformId.

See also
crashpad::MinidumpOS
#define VER_PLATFORM_WIN32s   0
 
#define VER_PLATFORM_WIN32_WINDOWS   1
 
#define VER_PLATFORM_WIN32_NT   2
 

Macro Definition Documentation

◆ IMAGE_DEBUG_MISC_EXENAME

#define IMAGE_DEBUG_MISC_EXENAME   1

A pointer to a .dbg file.

IMAGE_DEBUG_MISC::Data will contain the path or file name of the .dbg file associated with the module.

◆ MAXIMUM_XSTATE_FEATURES

#define MAXIMUM_XSTATE_FEATURES   (64)

The maximum number of distinct identifiable features that could possibly be carried in an XSAVE area.

This corresponds to the number of bits in the XSAVE state-component bitmap, XSAVE_BV. See Intel Software Developer’s Manual, Volume 1: Basic Architecture (253665-060), 13.4.2 “XSAVE Header”.