Re-generated windows bindings

main
ko1N 5 months ago
parent 614e7d931d
commit bf61f2b214

@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.69.1 */ /* automatically generated by rust-bindgen 0.69.4 */
#[repr(C)] #[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
@ -20576,6 +20576,7 @@ pub const LC_STATISTICS_ID_GETOPTION: u32 = 5;
pub const LC_STATISTICS_ID_SETOPTION: u32 = 6; pub const LC_STATISTICS_ID_SETOPTION: u32 = 6;
pub const LC_STATISTICS_ID_COMMAND: u32 = 7; pub const LC_STATISTICS_ID_COMMAND: u32 = 7;
pub const LC_STATISTICS_ID_MAX: u32 = 7; pub const LC_STATISTICS_ID_MAX: u32 = 7;
pub const LC_VMM_VERSION: u32 = 518979585;
pub type va_list = *mut ::std::os::raw::c_char; pub type va_list = *mut ::std::os::raw::c_char;
extern "C" { extern "C" {
pub fn __va_start(arg1: *mut *mut ::std::os::raw::c_char, ...); pub fn __va_start(arg1: *mut *mut ::std::os::raw::c_char, ...);
@ -23274,7 +23275,6 @@ pub union _KERNEL_CET_CONTEXT__bindgen_ty_1 {
pub __bindgen_anon_1: _KERNEL_CET_CONTEXT__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _KERNEL_CET_CONTEXT__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(2))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _KERNEL_CET_CONTEXT__bindgen_ty_1__bindgen_ty_1 { pub struct _KERNEL_CET_CONTEXT__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u16; 0], pub _bitfield_align_1: [u16; 0],
@ -35234,7 +35234,6 @@ pub union _RATE_QUOTA_LIMIT {
pub __bindgen_anon_1: _RATE_QUOTA_LIMIT__bindgen_ty_1, pub __bindgen_anon_1: _RATE_QUOTA_LIMIT__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _RATE_QUOTA_LIMIT__bindgen_ty_1 { pub struct _RATE_QUOTA_LIMIT__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -35601,7 +35600,6 @@ pub union _PROCESS_MITIGATION_ASLR_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_ASLR_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_ASLR_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_ASLR_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_ASLR_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -35777,7 +35775,6 @@ pub union _PROCESS_MITIGATION_DEP_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_DEP_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_DEP_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_DEP_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_DEP_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -35932,7 +35929,6 @@ pub union _PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY__bindgen_ty_1 {
_PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY__bindgen_ty_1__bindgen_ty_1, _PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36089,7 +36085,6 @@ pub union _PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY__bindgen_ty_1 {
_PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1, _PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36246,7 +36241,6 @@ pub union _PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY__bindgen_ty_1 {
_PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1, _PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36389,7 +36383,6 @@ pub union _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_DYNAMIC_CODE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36570,7 +36563,6 @@ pub union _PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36773,7 +36765,6 @@ pub union _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -36974,7 +36965,6 @@ pub union _PROCESS_MITIGATION_FONT_DISABLE_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_FONT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_FONT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_FONT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_FONT_DISABLE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -37124,7 +37114,6 @@ pub union _PROCESS_MITIGATION_IMAGE_LOAD_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_IMAGE_LOAD_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_IMAGE_LOAD_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_IMAGE_LOAD_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_IMAGE_LOAD_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -37320,7 +37309,6 @@ pub union _PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -37458,7 +37446,6 @@ pub union _PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY__bindgen_ty_1 {
_PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY__bindgen_ty_1__bindgen_ty_1, _PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -37778,7 +37765,6 @@ pub union _PROCESS_MITIGATION_CHILD_PROCESS_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_CHILD_PROCESS_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_CHILD_PROCESS_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_CHILD_PROCESS_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_CHILD_PROCESS_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -37946,7 +37932,6 @@ pub union _PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY__bindgen_ty_1 {
_PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY__bindgen_ty_1__bindgen_ty_1, _PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -38139,7 +38124,6 @@ pub union _PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -38427,7 +38411,6 @@ pub union _PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: _PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct _PROCESS_MITIGATION_REDIRECTION_TRUST_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -42161,7 +42144,7 @@ pub union _SYSTEM_CPU_SET_INFORMATION__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1
pub __bindgen_anon_1: pub __bindgen_anon_1:
_SYSTEM_CPU_SET_INFORMATION__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, _SYSTEM_CPU_SET_INFORMATION__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _SYSTEM_CPU_SET_INFORMATION__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { pub struct _SYSTEM_CPU_SET_INFORMATION__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -43540,7 +43523,6 @@ pub struct MEM_EXTENDED_PARAMETER {
pub __bindgen_anon_2: MEM_EXTENDED_PARAMETER__bindgen_ty_2, pub __bindgen_anon_2: MEM_EXTENDED_PARAMETER__bindgen_ty_2,
} }
#[repr(C)] #[repr(C)]
#[repr(align(8))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct MEM_EXTENDED_PARAMETER__bindgen_ty_1 { pub struct MEM_EXTENDED_PARAMETER__bindgen_ty_1 {
pub _bitfield_align_1: [u64; 0], pub _bitfield_align_1: [u64; 0],
@ -49512,7 +49494,6 @@ pub union PROCESSOR_IDLESTATE_POLICY__bindgen_ty_1 {
pub __bindgen_anon_1: PROCESSOR_IDLESTATE_POLICY__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: PROCESSOR_IDLESTATE_POLICY__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(2))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct PROCESSOR_IDLESTATE_POLICY__bindgen_ty_1__bindgen_ty_1 { pub struct PROCESSOR_IDLESTATE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u16; 0], pub _bitfield_align_1: [u16; 0],
@ -49973,7 +49954,7 @@ pub union PROCESSOR_PERFSTATE_POLICY__bindgen_ty_1__bindgen_ty_1 {
pub AsBYTE: BYTE, pub AsBYTE: BYTE,
pub __bindgen_anon_1: PROCESSOR_PERFSTATE_POLICY__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: PROCESSOR_PERFSTATE_POLICY__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct PROCESSOR_PERFSTATE_POLICY__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { pub struct PROCESSOR_PERFSTATE_POLICY__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -56148,7 +56129,6 @@ pub union _IMAGE_DELAYLOAD_DESCRIPTOR__bindgen_ty_1 {
pub __bindgen_anon_1: _IMAGE_DELAYLOAD_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _IMAGE_DELAYLOAD_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_DELAYLOAD_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1 { pub struct _IMAGE_DELAYLOAD_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -56446,7 +56426,6 @@ pub union _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_1 {
pub Id: WORD, pub Id: WORD,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_1__bindgen_ty_1 { pub struct _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -56560,7 +56539,6 @@ pub union _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_2 {
pub __bindgen_anon_1: _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_2__bindgen_ty_1, pub __bindgen_anon_1: _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_2__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_2__bindgen_ty_1 { pub struct _IMAGE_RESOURCE_DIRECTORY_ENTRY__bindgen_ty_2__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -57299,7 +57277,7 @@ fn bindgen_test_layout__IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER() {
} }
pub type IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER = _IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER; pub type IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER = _IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER;
pub type PIMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER = *mut IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER; pub type PIMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER = *mut IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER;
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { pub struct _IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -57384,7 +57362,7 @@ pub type IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION =
_IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION; _IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION;
pub type PIMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION = pub type PIMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION =
*mut IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION; *mut IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION;
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { pub struct _IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -57501,7 +57479,7 @@ pub type IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION =
_IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION; _IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION;
pub type PIMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION = pub type PIMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION =
*mut IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION; *mut IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION;
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { pub struct _IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -59578,7 +59556,6 @@ pub union IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA {
pub __bindgen_anon_1: IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA__bindgen_ty_1, pub __bindgen_anon_1: IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA__bindgen_ty_1 { pub struct IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -62211,7 +62188,6 @@ fn bindgen_test_layout__SLIST_HEADER__bindgen_ty_1() {
); );
} }
#[repr(C)] #[repr(C)]
#[repr(align(8))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _SLIST_HEADER__bindgen_ty_2 { pub struct _SLIST_HEADER__bindgen_ty_2 {
pub _bitfield_align_1: [u64; 0], pub _bitfield_align_1: [u64; 0],
@ -67724,7 +67700,6 @@ pub union _TP_CALLBACK_ENVIRON_V3__bindgen_ty_1 {
pub s: _TP_CALLBACK_ENVIRON_V3__bindgen_ty_1__bindgen_ty_1, pub s: _TP_CALLBACK_ENVIRON_V3__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _TP_CALLBACK_ENVIRON_V3__bindgen_ty_1__bindgen_ty_1 { pub struct _TP_CALLBACK_ENVIRON_V3__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -75667,7 +75642,6 @@ pub union WIN32_MEMORY_REGION_INFORMATION__bindgen_ty_1 {
pub __bindgen_anon_1: WIN32_MEMORY_REGION_INFORMATION__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: WIN32_MEMORY_REGION_INFORMATION__bindgen_ty_1__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct WIN32_MEMORY_REGION_INFORMATION__bindgen_ty_1__bindgen_ty_1 { pub struct WIN32_MEMORY_REGION_INFORMATION__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -94323,7 +94297,6 @@ pub union DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS__bindgen_ty_1__bindgen_ty_1 { pub struct DISPLAYCONFIG_TARGET_DEVICE_NAME_FLAGS__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -94747,7 +94720,6 @@ pub union DISPLAYCONFIG_SET_TARGET_PERSISTENCE__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE__bindgen_ty_1__bindgen_ty_1 { pub struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -94889,7 +94861,6 @@ pub union DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION__bindgen_ty_1__bindgen_ty_1 { pub struct DISPLAYCONFIG_SUPPORT_VIRTUAL_RESOLUTION__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -95050,7 +95021,6 @@ pub union _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO__bindgen_ty_1__bindgen_ty_1 { pub struct _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -95264,7 +95234,6 @@ pub union _DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE__bindgen_ty_1__bindgen_ty_1 { pub struct _DISPLAYCONFIG_SET_ADVANCED_COLOR_STATE__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -95452,7 +95421,6 @@ pub union _DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION__bindgen_ty_1__bindgen_ty_1 { pub struct _DISPLAYCONFIG_GET_MONITOR_SPECIALIZATION__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -95635,7 +95603,6 @@ pub union _DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION__bindgen_ty_1 {
pub value: UINT32, pub value: UINT32,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION__bindgen_ty_1__bindgen_ty_1 { pub struct _DISPLAYCONFIG_SET_MONITOR_SPECIALIZATION__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -194544,7 +194511,7 @@ pub union _STORAGE_MINIPORT_DESCRIPTOR__bindgen_ty_1 {
pub __bindgen_anon_1: _STORAGE_MINIPORT_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1, pub __bindgen_anon_1: _STORAGE_MINIPORT_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1,
pub AsBYTE: BYTE, pub AsBYTE: BYTE,
} }
#[repr(C, packed)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _STORAGE_MINIPORT_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1 { pub struct _STORAGE_MINIPORT_DESCRIPTOR__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u8; 0], pub _bitfield_align_1: [u8; 0],
@ -196537,7 +196504,6 @@ pub union _STORAGE_PROTOCOL_DATA_SUBVALUE_GET_LOG_PAGE {
pub AsUlong: DWORD, pub AsUlong: DWORD,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _STORAGE_PROTOCOL_DATA_SUBVALUE_GET_LOG_PAGE__bindgen_ty_1 { pub struct _STORAGE_PROTOCOL_DATA_SUBVALUE_GET_LOG_PAGE__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -199406,7 +199372,6 @@ pub struct _STORAGE_HW_ENDURANCE_INFO {
pub ByteWriteCount: [BYTE; 16usize], pub ByteWriteCount: [BYTE; 16usize],
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _STORAGE_HW_ENDURANCE_INFO__bindgen_ty_1 { pub struct _STORAGE_HW_ENDURANCE_INFO__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -203479,7 +203444,6 @@ pub struct _STORAGE_REINITIALIZE_MEDIA {
pub SanitizeOption: _STORAGE_REINITIALIZE_MEDIA__bindgen_ty_1, pub SanitizeOption: _STORAGE_REINITIALIZE_MEDIA__bindgen_ty_1,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _STORAGE_REINITIALIZE_MEDIA__bindgen_ty_1 { pub struct _STORAGE_REINITIALIZE_MEDIA__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -207380,7 +207344,6 @@ pub struct _SCM_BUS_RUNTIME_FW_ACTIVATION_INFO {
pub PlatformSupportedMaxIOAccessQuiesceTimeInUSecs: DWORDLONG, pub PlatformSupportedMaxIOAccessQuiesceTimeInUSecs: DWORDLONG,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _SCM_BUS_RUNTIME_FW_ACTIVATION_INFO__bindgen_ty_1 { pub struct _SCM_BUS_RUNTIME_FW_ACTIVATION_INFO__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -207615,7 +207578,6 @@ pub struct _SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO {
pub DeviceSize: DWORDLONG, pub DeviceSize: DWORDLONG,
} }
#[repr(C)] #[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct _SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO__bindgen_ty_1 { pub struct _SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO__bindgen_ty_1 {
pub _bitfield_align_1: [u32; 0], pub _bitfield_align_1: [u32; 0],
@ -327843,6 +327805,93 @@ pub type PLC_TLP_FUNCTION_CALLBACK = ::std::option::Option<
>; >;
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct tdLC_VMM {
pub dwVersion: DWORD,
pub hVMM: HANDLE,
pub hVMMVM: HANDLE,
pub pfnVMMDLL_ConfigGet: PVOID,
pub pfnVMMDLL_VmMemReadScatter: PVOID,
pub pfnVMMDLL_VmMemWriteScatter: PVOID,
}
#[test]
fn bindgen_test_layout_tdLC_VMM() {
const UNINIT: ::std::mem::MaybeUninit<tdLC_VMM> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<tdLC_VMM>(),
48usize,
concat!("Size of: ", stringify!(tdLC_VMM))
);
assert_eq!(
::std::mem::align_of::<tdLC_VMM>(),
8usize,
concat!("Alignment of ", stringify!(tdLC_VMM))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).dwVersion) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(dwVersion)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).hVMM) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(hVMM)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).hVMMVM) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(hVMMVM)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).pfnVMMDLL_ConfigGet) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(pfnVMMDLL_ConfigGet)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).pfnVMMDLL_VmMemReadScatter) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(pfnVMMDLL_VmMemReadScatter)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).pfnVMMDLL_VmMemWriteScatter) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(tdLC_VMM),
"::",
stringify!(pfnVMMDLL_VmMemWriteScatter)
)
);
}
pub type LC_VMM = tdLC_VMM;
pub type PLC_VMM = *mut tdLC_VMM;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct tdLC_BAR { pub struct tdLC_BAR {
pub fValid: BOOL, pub fValid: BOOL,
pub fIO: BOOL, pub fIO: BOOL,

Loading…
Cancel
Save