pub const DBG_ATTACH: u32 = 14u32; pub const DBG_BREAK: u32 = 6u32; pub const DBG_DIVOVERFLOW: u32 = 8u32; pub const DBG_DLLSTART: u32 = 12u32; pub const DBG_DLLSTOP: u32 = 13u32; pub const DBG_GPFAULT: u32 = 7u32; pub const DBG_GPFAULT2: u32 = 21u32; pub const DBG_INIT: u32 = 20u32; pub const DBG_INSTRFAULT: u32 = 9u32; pub const DBG_MODFREE: u32 = 4u32; pub const DBG_MODLOAD: u32 = 3u32; pub const DBG_MODMOVE: u32 = 19u32; pub const DBG_SEGFREE: u32 = 2u32; pub const DBG_SEGLOAD: u32 = 0u32; pub const DBG_SEGMOVE: u32 = 1u32; pub const DBG_SINGLESTEP: u32 = 5u32; pub const DBG_STACKFAULT: u32 = 16u32; pub const DBG_TASKSTART: u32 = 10u32; pub const DBG_TASKSTOP: u32 = 11u32; pub const DBG_TEMPBP: u32 = 18u32; pub const DBG_TOOLHELP: u32 = 15u32; pub const DBG_WOWINIT: u32 = 17u32; pub const GD_ACCELERATORS: u32 = 9u32; pub const GD_BITMAP: u32 = 2u32; pub const GD_CURSOR: u32 = 12u32; pub const GD_CURSORCOMPONENT: u32 = 1u32; pub const GD_DIALOG: u32 = 5u32; pub const GD_ERRTABLE: u32 = 11u32; pub const GD_FONT: u32 = 8u32; pub const GD_FONTDIR: u32 = 7u32; pub const GD_ICON: u32 = 14u32; pub const GD_ICONCOMPONENT: u32 = 3u32; pub const GD_MAX_RESOURCE: u32 = 15u32; pub const GD_MENU: u32 = 4u32; pub const GD_NAMETABLE: u32 = 15u32; pub const GD_RCDATA: u32 = 10u32; pub const GD_STRING: u32 = 6u32; pub const GD_USERDEFINED: u32 = 0u32; pub const GLOBAL_ALL: u32 = 0u32; pub const GLOBAL_FREE: u32 = 2u32; pub const GLOBAL_LRU: u32 = 1u32; pub const GT_BURGERMASTER: u32 = 10u32; pub const GT_CODE: u32 = 3u32; pub const GT_DATA: u32 = 2u32; pub const GT_DGROUP: u32 = 1u32; pub const GT_FREE: u32 = 7u32; pub const GT_INTERNAL: u32 = 8u32; pub const GT_MODULE: u32 = 6u32; pub const GT_RESOURCE: u32 = 5u32; pub const GT_SENTINEL: u32 = 9u32; pub const GT_TASK: u32 = 4u32; pub const GT_UNKNOWN: u32 = 0u32; pub const MAX_MODULE_NAME: u32 = 9u32; pub const MAX_PATH16: u32 = 255u32; pub const SN_CODE: u32 = 0u32; pub const SN_DATA: u32 = 1u32; pub const SN_V86: u32 = 2u32; pub const STATUS_VDM_EVENT: i32 = 1073741829i32; pub const V86FLAGS_ALIGNMENT: u32 = 262144u32; pub const V86FLAGS_AUXCARRY: u32 = 16u32; pub const V86FLAGS_CARRY: u32 = 1u32; pub const V86FLAGS_DIRECTION: u32 = 1024u32; pub const V86FLAGS_INTERRUPT: u32 = 512u32; pub const V86FLAGS_IOPL: u32 = 12288u32; pub const V86FLAGS_IOPL_BITS: u32 = 18u32; pub const V86FLAGS_OVERFLOW: u32 = 2048u32; pub const V86FLAGS_PARITY: u32 = 4u32; pub const V86FLAGS_RESUME: u32 = 65536u32; pub const V86FLAGS_SIGN: u32 = 128u32; pub const V86FLAGS_TRACE: u32 = 256u32; pub const V86FLAGS_V86: u32 = 131072u32; pub const V86FLAGS_ZERO: u32 = 64u32; pub const VDMADDR_PM16: u32 = 4u32; pub const VDMADDR_PM32: u32 = 16u32; pub const VDMADDR_V86: u32 = 2u32; pub const VDMCONTEXT_i386: u32 = 65536u32; pub const VDMCONTEXT_i486: u32 = 65536u32; pub const VDMDBG_BREAK_DEBUGGER: u32 = 16u32; pub const VDMDBG_BREAK_DIVIDEBYZERO: u32 = 256u32; pub const VDMDBG_BREAK_DOSTASK: u32 = 1u32; pub const VDMDBG_BREAK_EXCEPTIONS: u32 = 8u32; pub const VDMDBG_BREAK_LOADDLL: u32 = 4u32; pub const VDMDBG_BREAK_WOWTASK: u32 = 2u32; pub const VDMDBG_INITIAL_FLAGS: u32 = 256u32; pub const VDMDBG_MAX_SYMBOL_BUFFER: u32 = 256u32; pub const VDMDBG_TRACE_HISTORY: u32 = 128u32; pub const VDMEVENT_ALLFLAGS: u32 = 57344u32; pub const VDMEVENT_NEEDS_INTERACTIVE: u32 = 32768u32; pub const VDMEVENT_PE: u32 = 8192u32; pub const VDMEVENT_PM16: u32 = 2u32; pub const VDMEVENT_V86: u32 = 1u32; pub const VDMEVENT_VERBOSE: u32 = 16384u32; pub const VDM_KGDT_R3_CODE: u32 = 24u32; pub const VDM_MAXIMUM_SUPPORTED_EXTENSION: u32 = 512u32; pub const WOW_SYSTEM: u32 = 1u32; #[repr(C, packed(4))] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub struct GLOBALENTRY { pub dwSize: u32, pub dwAddress: u32, pub dwBlockSize: u32, pub hBlock: super::super::Foundation::HANDLE, pub wcLock: u16, pub wcPageLock: u16, pub wFlags: u16, pub wHeapPresent: super::super::Foundation::BOOL, pub hOwner: super::super::Foundation::HANDLE, pub wType: u16, pub wData: u16, pub dwNext: u32, pub dwNextAlt: u32, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for GLOBALENTRY {} #[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for GLOBALENTRY { fn clone(&self) -> Self { *self } } #[repr(C)] pub struct IMAGE_NOTE { pub Module: [u8; 10], pub FileName: [u8; 256], pub hModule: u16, pub hTask: u16, } impl ::core::marker::Copy for IMAGE_NOTE {} impl ::core::clone::Clone for IMAGE_NOTE { fn clone(&self) -> Self { *self } } #[repr(C, packed(4))] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub struct MODULEENTRY { pub dwSize: u32, pub szModule: [u8; 10], pub hModule: super::super::Foundation::HANDLE, pub wcUsage: u16, pub szExePath: [u8; 256], pub wNext: u16, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for MODULEENTRY {} #[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for MODULEENTRY { fn clone(&self) -> Self { *self } } #[repr(C)] pub struct SEGMENT_NOTE { pub Selector1: u16, pub Selector2: u16, pub Segment: u16, pub Module: [u8; 10], pub FileName: [u8; 256], pub Type: u16, pub Length: u32, } impl ::core::marker::Copy for SEGMENT_NOTE {} impl ::core::clone::Clone for SEGMENT_NOTE { fn clone(&self) -> Self { *self } } #[repr(C)] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub struct TEMP_BP_NOTE { pub Seg: u16, pub Offset: u32, pub bPM: super::super::Foundation::BOOL, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for TEMP_BP_NOTE {} #[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for TEMP_BP_NOTE { fn clone(&self) -> Self { *self } } #[repr(C)] #[doc = "Required features: `\"Win32_System_Kernel\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Kernel")] pub struct VDMCONTEXT { pub ContextFlags: u32, pub Dr0: u32, pub Dr1: u32, pub Dr2: u32, pub Dr3: u32, pub Dr6: u32, pub Dr7: u32, pub FloatSave: super::Kernel::FLOATING_SAVE_AREA, pub SegGs: u32, pub SegFs: u32, pub SegEs: u32, pub SegDs: u32, pub Edi: u32, pub Esi: u32, pub Ebx: u32, pub Edx: u32, pub Ecx: u32, pub Eax: u32, pub Ebp: u32, pub Eip: u32, pub SegCs: u32, pub EFlags: u32, pub Esp: u32, pub SegSs: u32, pub ExtendedRegisters: [u8; 512], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Kernel")] impl ::core::marker::Copy for VDMCONTEXT {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Kernel")] impl ::core::clone::Clone for VDMCONTEXT { fn clone(&self) -> Self { *self } } #[repr(C)] #[doc = "Required features: `\"Win32_System_Kernel\"`"] #[cfg(feature = "Win32_System_Kernel")] pub struct VDMCONTEXT_WITHOUT_XSAVE { pub ContextFlags: u32, pub Dr0: u32, pub Dr1: u32, pub Dr2: u32, pub Dr3: u32, pub Dr6: u32, pub Dr7: u32, pub FloatSave: super::Kernel::FLOATING_SAVE_AREA, pub SegGs: u32, pub SegFs: u32, pub SegEs: u32, pub SegDs: u32, pub Edi: u32, pub Esi: u32, pub Ebx: u32, pub Edx: u32, pub Ecx: u32, pub Eax: u32, pub Ebp: u32, pub Eip: u32, pub SegCs: u32, pub EFlags: u32, pub Esp: u32, pub SegSs: u32, } #[cfg(feature = "Win32_System_Kernel")] impl ::core::marker::Copy for VDMCONTEXT_WITHOUT_XSAVE {} #[cfg(feature = "Win32_System_Kernel")] impl ::core::clone::Clone for VDMCONTEXT_WITHOUT_XSAVE { fn clone(&self) -> Self { *self } } #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct VDMLDT_ENTRY { pub LimitLow: u16, pub BaseLow: u16, pub HighWord: VDMLDT_ENTRY_0, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for VDMLDT_ENTRY {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::clone::Clone for VDMLDT_ENTRY { fn clone(&self) -> Self { *self } } #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub union VDMLDT_ENTRY_0 { pub Bytes: VDMLDT_ENTRY_0_1, pub Bits: VDMLDT_ENTRY_0_0, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for VDMLDT_ENTRY_0 {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::clone::Clone for VDMLDT_ENTRY_0 { fn clone(&self) -> Self { *self } } #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct VDMLDT_ENTRY_0_0 { pub _bitfield: u32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for VDMLDT_ENTRY_0_0 {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::clone::Clone for VDMLDT_ENTRY_0_0 { fn clone(&self) -> Self { *self } } #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct VDMLDT_ENTRY_0_1 { pub BaseMid: u8, pub Flags1: u8, pub Flags2: u8, pub BaseHi: u8, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for VDMLDT_ENTRY_0_1 {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::clone::Clone for VDMLDT_ENTRY_0_1 { fn clone(&self) -> Self { *self } } #[repr(C)] pub struct VDM_SEGINFO { pub Selector: u16, pub SegNumber: u16, pub Length: u32, pub Type: u16, pub ModuleName: [u8; 9], pub FileName: [u8; 255], } impl ::core::marker::Copy for VDM_SEGINFO {} impl ::core::clone::Clone for VDM_SEGINFO { fn clone(&self) -> Self { *self } } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type DEBUGEVENTPROC = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type PROCESSENUMPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type TASKENUMPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type TASKENUMPROCEX = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMBREAKTHREADPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMDETECTWOWPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMENUMPROCESSWOWPROC = ::core::option::Option i32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMENUMTASKWOWEXPROC = ::core::option::Option i32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMENUMTASKWOWPROC = ::core::option::Option i32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETADDREXPRESSIONPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMGETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"] #[cfg(target_arch = "x86")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] pub type VDMGETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETDBGFLAGSPROC = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETMODULESELECTORPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETPOINTERPROC = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETSEGMENTINFOPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETSELECTORMODULEPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMGETSYMBOLPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_Foundation")] pub type VDMGETTHREADSELECTORENTRYPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`"] #[cfg(target_arch = "x86")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] pub type VDMGETTHREADSELECTORENTRYPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type VDMGLOBALFIRSTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type VDMGLOBALNEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMISMODULELOADEDPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMKILLWOWPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type VDMMODULEFIRSTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type VDMMODULENEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Threading\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Threading"))] pub type VDMPROCESSEXCEPTIONPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] pub type VDMSETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"] #[cfg(target_arch = "x86")] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] pub type VDMSETCONTEXTPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMSETDBGFLAGSPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMSTARTTASKINWOWPROC = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type VDMTERMINATETASKINWOWPROC = ::core::option::Option super::super::Foundation::BOOL>;