diff --git a/crates/libs/bindgen/default/Windows.Wdk.winmd b/crates/libs/bindgen/default/Windows.Wdk.winmd index 560cbcd319..05d7172953 100644 Binary files a/crates/libs/bindgen/default/Windows.Wdk.winmd and b/crates/libs/bindgen/default/Windows.Wdk.winmd differ diff --git a/crates/libs/bindgen/default/Windows.Win32.winmd b/crates/libs/bindgen/default/Windows.Win32.winmd index a4c012b2f0..6e97065876 100644 Binary files a/crates/libs/bindgen/default/Windows.Win32.winmd and b/crates/libs/bindgen/default/Windows.Win32.winmd differ diff --git a/crates/libs/bindgen/default/readme.md b/crates/libs/bindgen/default/readme.md index e941dee920..c2e82c6372 100644 --- a/crates/libs/bindgen/default/readme.md +++ b/crates/libs/bindgen/default/readme.md @@ -4,11 +4,11 @@ like [ILSpy](https://github.com/icsharpcode/ILSpy). ## Windows.Win32.winmd - Source: https://www.nuget.org/packages/Microsoft.Windows.SDK.Win32Metadata/ -- Version: 55.0.45 +- Version: 56.0.13 ## Windows.Wdk.winmd - Source: https://www.nuget.org/packages/Microsoft.Windows.WDK.Win32Metadata/ -- Version: 0.8.2 +- Version: 0.9.9 ## Windows.winmd - Source: https://www.nuget.org/packages/Microsoft.Windows.SDK.Contracts diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index 5f9642bde8..57ce96b5d0 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -24,9 +24,14 @@ default = [] docs = [] # generated features Wdk = [] +Wdk_Devices = ["Wdk"] +Wdk_Devices_HumanInterfaceDevice = ["Wdk_Devices"] Wdk_Foundation = ["Wdk"] Wdk_Graphics = ["Wdk"] Wdk_Graphics_Direct3D = ["Wdk_Graphics"] +Wdk_NetworkManagement = ["Wdk"] +Wdk_NetworkManagement_Ndis = ["Wdk_NetworkManagement"] +Wdk_NetworkManagement_WindowsFilteringPlatform = ["Wdk_NetworkManagement"] Wdk_Storage = ["Wdk"] Wdk_Storage_FileSystem = ["Wdk_Storage"] Wdk_Storage_FileSystem_Minifilters = ["Wdk_Storage_FileSystem"] diff --git a/crates/libs/sys/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/sys/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs new file mode 100644 index 0000000000..8d36175507 --- /dev/null +++ b/crates/libs/sys/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs @@ -0,0 +1,61 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("vhfum.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VhfAsyncOperationComplete(vhfoperationhandle : *const ::core::ffi::c_void, completionstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("vhfum.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VhfCreate(vhfconfig : *const VHF_CONFIG, vhfhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("vhfum.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VhfDelete(vhfhandle : *const ::core::ffi::c_void, wait : super::super::super::Win32::Foundation:: BOOLEAN)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("vhfum.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VhfReadReportSubmit(vhfhandle : *const ::core::ffi::c_void, hidtransferpacket : *const HID_XFER_PACKET) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("vhfum.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VhfStart(vhfhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[repr(C)] +pub struct HID_XFER_PACKET { + pub reportBuffer: *mut u8, + pub reportBufferLen: u32, + pub reportId: u8, +} +impl ::core::marker::Copy for HID_XFER_PACKET {} +impl ::core::clone::Clone for HID_XFER_PACKET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct VHF_CONFIG { + pub Size: u32, + pub VhfClientContext: *mut ::core::ffi::c_void, + pub OperationContextSize: u32, + pub FileHandle: super::super::super::Win32::Foundation::HANDLE, + pub VendorID: u16, + pub ProductID: u16, + pub VersionNumber: u16, + pub ContainerID: ::windows_sys::core::GUID, + pub InstanceIDLength: u16, + pub InstanceID: ::windows_sys::core::PWSTR, + pub ReportDescriptorLength: u16, + pub ReportDescriptor: *mut u8, + pub EvtVhfReadyForNextReadReport: PEVT_VHF_READY_FOR_NEXT_READ_REPORT, + pub EvtVhfAsyncOperationGetFeature: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationSetFeature: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationWriteReport: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationGetInputReport: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfCleanup: PEVT_VHF_CLEANUP, + pub HardwareIDsLength: u16, + pub HardwareIDs: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for VHF_CONFIG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for VHF_CONFIG { + fn clone(&self) -> Self { + *self + } +} +pub type EVT_VHF_ASYNC_OPERATION = ::core::option::Option; +pub type EVT_VHF_CLEANUP = ::core::option::Option; +pub type EVT_VHF_READY_FOR_NEXT_READ_REPORT = ::core::option::Option; +pub type PEVT_VHF_ASYNC_OPERATION = ::core::option::Option; +pub type PEVT_VHF_CLEANUP = ::core::option::Option; +pub type PEVT_VHF_READY_FOR_NEXT_READ_REPORT = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Wdk/Devices/mod.rs b/crates/libs/sys/src/Windows/Wdk/Devices/mod.rs new file mode 100644 index 0000000000..ead04b488e --- /dev/null +++ b/crates/libs/sys/src/Windows/Wdk/Devices/mod.rs @@ -0,0 +1,3 @@ +#[cfg(feature = "Wdk_Devices_HumanInterfaceDevice")] +#[doc = "Required features: `\"Wdk_Devices_HumanInterfaceDevice\"`"] +pub mod HumanInterfaceDevice; diff --git a/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs index 889dc684d1..3daa2824e9 100644 --- a/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs @@ -29,6 +29,10 @@ pub const LockQueueUnusedSpare8: KSPIN_LOCK_QUEUE_NUMBER = 8i32; pub const LockQueueVacbLock: KSPIN_LOCK_QUEUE_NUMBER = 4i32; pub const MaxIoPriorityTypes: IO_PRIORITY_HINT = 5i32; pub const MaxPoolType: POOL_TYPE = 7i32; +pub const NTSTRSAFE_MAX_CCH: u32 = 2147483647u32; +pub const NTSTRSAFE_MAX_LENGTH: u32 = 2147483646u32; +pub const NTSTRSAFE_UNICODE_STRING_MAX_CCH: u32 = 32767u32; +pub const NTSTRSAFE_USE_SECURE_CRT: u32 = 0u32; pub const NonPagedPool: POOL_TYPE = 0i32; pub const NonPagedPoolBase: POOL_TYPE = 0i32; pub const NonPagedPoolBaseCacheAligned: POOL_TYPE = 4i32; @@ -51,6 +55,30 @@ pub const PagedPool: POOL_TYPE = 1i32; pub const PagedPoolCacheAligned: POOL_TYPE = 5i32; pub const PagedPoolCacheAlignedSession: POOL_TYPE = 37i32; pub const PagedPoolSession: POOL_TYPE = 33i32; +pub const STRSAFE_FILL_BEHIND: u32 = 512u32; +pub const STRSAFE_FILL_BEHIND_NULL: u32 = 512u32; +pub const STRSAFE_FILL_ON_FAILURE: u32 = 1024u32; +pub const STRSAFE_IGNORE_NULLS: u32 = 256u32; +pub const STRSAFE_NO_TRUNCATION: u32 = 4096u32; +pub const STRSAFE_NULL_ON_FAILURE: u32 = 2048u32; +pub const STRSAFE_ZERO_LENGTH_ON_FAILURE: u32 = 2048u32; +pub const __WARNING_BANNED_API_USAGE: u32 = 28719u32; +pub const __WARNING_CYCLOMATIC_COMPLEXITY: u32 = 28734u32; +pub const __WARNING_DEREF_NULL_PTR: u32 = 6011u32; +pub const __WARNING_HIGH_PRIORITY_OVERFLOW_POSTCONDITION: u32 = 26045u32; +pub const __WARNING_INCORRECT_ANNOTATION: u32 = 26007u32; +pub const __WARNING_INVALID_PARAM_VALUE_1: u32 = 6387u32; +pub const __WARNING_INVALID_PARAM_VALUE_3: u32 = 28183u32; +pub const __WARNING_MISSING_ZERO_TERMINATION2: u32 = 6054u32; +pub const __WARNING_POSTCONDITION_NULLTERMINATION_VIOLATION: u32 = 26036u32; +pub const __WARNING_POST_EXPECTED: u32 = 28210u32; +pub const __WARNING_POTENTIAL_BUFFER_OVERFLOW_HIGH_PRIORITY: u32 = 26015u32; +pub const __WARNING_POTENTIAL_RANGE_POSTCONDITION_VIOLATION: u32 = 26071u32; +pub const __WARNING_PRECONDITION_NULLTERMINATION_VIOLATION: u32 = 26035u32; +pub const __WARNING_RANGE_POSTCONDITION_VIOLATION: u32 = 26061u32; +pub const __WARNING_RETURNING_BAD_RESULT: u32 = 28196u32; +pub const __WARNING_RETURN_UNINIT_VAR: u32 = 6101u32; +pub const __WARNING_USING_UNINIT_VAR: u32 = 6001u32; pub type IO_PRIORITY_HINT = i32; pub type KSPIN_LOCK_QUEUE_NUMBER = i32; pub type OBJECT_INFORMATION_CLASS = i32; @@ -499,7 +527,7 @@ pub type DMA_COMMON_BUFFER_VECTOR = isize; #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct DRIVER_EXTENSION { pub DriverObject: *mut DRIVER_OBJECT, - pub AddDevice: PDRIVER_ADD_DEVICE, + pub AddDevice: *mut DRIVER_ADD_DEVICE, pub Count: u32, pub ServiceKeyName: super::super::Win32::Foundation::UNICODE_STRING, } @@ -526,10 +554,10 @@ pub struct DRIVER_OBJECT { pub DriverName: super::super::Win32::Foundation::UNICODE_STRING, pub HardwareDatabase: *mut super::super::Win32::Foundation::UNICODE_STRING, pub FastIoDispatch: *mut FAST_IO_DISPATCH, - pub DriverInit: PDRIVER_INITIALIZE, - pub DriverStartIo: PDRIVER_STARTIO, - pub DriverUnload: PDRIVER_UNLOAD, - pub MajorFunction: [PDRIVER_DISPATCH; 28], + pub DriverInit: *mut DRIVER_INITIALIZE, + pub DriverStartIo: *mut DRIVER_STARTIO, + pub DriverUnload: *mut DRIVER_UNLOAD, + pub MajorFunction: [*mut DRIVER_DISPATCH; 28], } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for DRIVER_OBJECT {} @@ -613,41 +641,41 @@ impl ::core::clone::Clone for ERESOURCE_1 { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct FAST_IO_DISPATCH { pub SizeOfFastIoDispatch: u32, - pub FastIoCheckIfPossible: PFAST_IO_CHECK_IF_POSSIBLE, - pub FastIoRead: PFAST_IO_READ, - pub FastIoWrite: PFAST_IO_WRITE, - pub FastIoQueryBasicInfo: PFAST_IO_QUERY_BASIC_INFO, - pub FastIoQueryStandardInfo: PFAST_IO_QUERY_STANDARD_INFO, - pub FastIoLock: PFAST_IO_LOCK, - pub FastIoUnlockSingle: PFAST_IO_UNLOCK_SINGLE, - pub FastIoUnlockAll: PFAST_IO_UNLOCK_ALL, - pub FastIoUnlockAllByKey: PFAST_IO_UNLOCK_ALL_BY_KEY, - pub FastIoDeviceControl: PFAST_IO_DEVICE_CONTROL, - pub AcquireFileForNtCreateSection: PFAST_IO_ACQUIRE_FILE, - pub ReleaseFileForNtCreateSection: PFAST_IO_RELEASE_FILE, - pub FastIoDetachDevice: PFAST_IO_DETACH_DEVICE, - pub FastIoQueryNetworkOpenInfo: PFAST_IO_QUERY_NETWORK_OPEN_INFO, - pub AcquireForModWrite: PFAST_IO_ACQUIRE_FOR_MOD_WRITE, - pub MdlRead: PFAST_IO_MDL_READ, - pub MdlReadComplete: PFAST_IO_MDL_READ_COMPLETE, - pub PrepareMdlWrite: PFAST_IO_PREPARE_MDL_WRITE, - pub MdlWriteComplete: PFAST_IO_MDL_WRITE_COMPLETE, - pub FastIoReadCompressed: PFAST_IO_READ_COMPRESSED, - pub FastIoWriteCompressed: PFAST_IO_WRITE_COMPRESSED, - pub MdlReadCompleteCompressed: PFAST_IO_MDL_READ_COMPLETE_COMPRESSED, - pub MdlWriteCompleteCompressed: PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED, - pub FastIoQueryOpen: PFAST_IO_QUERY_OPEN, - pub ReleaseForModWrite: PFAST_IO_RELEASE_FOR_MOD_WRITE, - pub AcquireForCcFlush: PFAST_IO_ACQUIRE_FOR_CCFLUSH, - pub ReleaseForCcFlush: PFAST_IO_RELEASE_FOR_CCFLUSH, + pub FastIoCheckIfPossible: *mut FAST_IO_CHECK_IF_POSSIBLE, + pub FastIoRead: *mut FAST_IO_READ, + pub FastIoWrite: *mut FAST_IO_WRITE, + pub FastIoQueryBasicInfo: *mut FAST_IO_QUERY_BASIC_INFO, + pub FastIoQueryStandardInfo: *mut FAST_IO_QUERY_STANDARD_INFO, + pub FastIoLock: *mut FAST_IO_LOCK, + pub FastIoUnlockSingle: *mut FAST_IO_UNLOCK_SINGLE, + pub FastIoUnlockAll: *mut FAST_IO_UNLOCK_ALL, + pub FastIoUnlockAllByKey: *mut FAST_IO_UNLOCK_ALL_BY_KEY, + pub FastIoDeviceControl: *mut FAST_IO_DEVICE_CONTROL, + pub AcquireFileForNtCreateSection: *mut FAST_IO_ACQUIRE_FILE, + pub ReleaseFileForNtCreateSection: *mut FAST_IO_RELEASE_FILE, + pub FastIoDetachDevice: *mut FAST_IO_DETACH_DEVICE, + pub FastIoQueryNetworkOpenInfo: *mut FAST_IO_QUERY_NETWORK_OPEN_INFO, + pub AcquireForModWrite: *mut FAST_IO_ACQUIRE_FOR_MOD_WRITE, + pub MdlRead: *mut FAST_IO_MDL_READ, + pub MdlReadComplete: *mut FAST_IO_MDL_READ_COMPLETE, + pub PrepareMdlWrite: *mut FAST_IO_PREPARE_MDL_WRITE, + pub MdlWriteComplete: *mut FAST_IO_MDL_WRITE_COMPLETE, + pub FastIoReadCompressed: *mut FAST_IO_READ_COMPRESSED, + pub FastIoWriteCompressed: *mut FAST_IO_WRITE_COMPRESSED, + pub MdlReadCompleteCompressed: *mut FAST_IO_MDL_READ_COMPLETE_COMPRESSED, + pub MdlWriteCompleteCompressed: *mut FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED, + pub FastIoQueryOpen: *mut FAST_IO_QUERY_OPEN, + pub ReleaseForModWrite: *mut FAST_IO_RELEASE_FOR_MOD_WRITE, + pub AcquireForCcFlush: *mut FAST_IO_ACQUIRE_FOR_CCFLUSH, + pub ReleaseForCcFlush: *mut FAST_IO_RELEASE_FOR_CCFLUSH, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for FAST_IO_DISPATCH {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for FAST_IO_DISPATCH { fn clone(&self) -> Self { *self @@ -1499,7 +1527,7 @@ pub struct IRP { pub Anonymous: IRP_0, pub UserEvent: *mut KEVENT, pub Overlay: IRP_2, - pub CancelRoutine: PDRIVER_CANCEL, + pub CancelRoutine: *mut DRIVER_CANCEL, pub UserBuffer: *mut ::core::ffi::c_void, pub Tail: IRP_3, } @@ -2129,93 +2157,120 @@ impl ::core::clone::Clone for WORK_QUEUE_ITEM { pub type _DEVICE_OBJECT_POWER_EXTENSION = isize; pub type _IORING_OBJECT = isize; pub type _SCSI_REQUEST_BLOCK = isize; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_ADD_DEVICE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_CANCEL = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_CONTROL = ::core::option::Option super::System::SystemServices::IO_ALLOCATION_ACTION>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_DISPATCH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_DISPATCH_PAGED = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_FS_NOTIFICATION = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_INITIALIZE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_ADD_DEVICE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_CANCEL = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_DISPATCH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_INITIALIZE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_STARTIO = ::core::option::Option; -pub type PDRIVER_UNLOAD = ::core::option::Option; -pub type PFAST_IO_ACQUIRE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -pub type PFAST_IO_DETACH_DEVICE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_LOCK = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_OPEN = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_READ_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -pub type PFAST_IO_RELEASE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_ALL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +pub type DRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_REINITIALIZE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_STARTIO = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_UNLOAD = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FILE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_DETACH_DEVICE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_LOCK = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_OPEN = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_READ_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FILE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_ALL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; pub type PFREE_FUNCTION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs new file mode 100644 index 0000000000..f9285aee8d --- /dev/null +++ b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -0,0 +1,4827 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisAcquireReadWriteLock(lock : *mut NDIS_RW_LOCK, fwrite : super::super::super::Win32::Foundation:: BOOLEAN, lockstate : *mut LOCK_STATE)); +::windows_targets::link!("ndis.sys" "system" fn NdisAllocateMemoryWithTag(virtualaddress : *mut *mut ::core::ffi::c_void, length : u32, tag : u32) -> i32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisCancelTimer(timer : *const NDIS_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); +::windows_targets::link!("ndis.sys" "system" fn NdisClAddParty(ndisvchandle : *const ::core::ffi::c_void, protocolpartycontext : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS, ndispartyhandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClCloseAddressFamily(ndisafhandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClCloseCall(ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClDeregisterSap(ndissaphandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClDropParty(ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisClGetProtocolVcContextFromTapiCallId(tapicallid : super::super::super::Win32::Foundation:: UNICODE_STRING, protocolvccontext : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClIncomingCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisClMakeCall(ndisvchandle : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS, protocolpartycontext : *const ::core::ffi::c_void, ndispartyhandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClModifyCallQoS(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisClRegisterSap(ndisafhandle : *const ::core::ffi::c_void, protocolsapcontext : *const ::core::ffi::c_void, sap : *const CO_SAP, ndissaphandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCloseConfiguration(configurationhandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCloseFile(filehandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmActivateVc(ndisvchandle : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCmAddPartyComplete(status : i32, ndispartyhandle : *const ::core::ffi::c_void, callmgrpartycontext : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmCloseAddressFamilyComplete(status : i32, ndisafhandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmCloseCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDeactivateVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDeregisterSapComplete(status : i32, ndissaphandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchCallConnected(ndisvchandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCall(ndissaphandle : *const ::core::ffi::c_void, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCallQoSChange(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCloseCall(closestatus : i32, ndisvchandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingDropParty(dropstatus : i32, ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmDropPartyComplete(status : i32, ndispartyhandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmMakeCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void, callmgrpartycontext : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmModifyCallQoSComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmOpenAddressFamilyComplete(status : i32, ndisafhandle : *const ::core::ffi::c_void, callmgrafcontext : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisCmRegisterSapComplete(status : i32, ndissaphandle : *const ::core::ffi::c_void, callmgrsapcontext : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisCoAssignInstanceName(ndisvchandle : *const ::core::ffi::c_void, baseinstancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vcinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCoCreateVc(ndisbindinghandle : *const ::core::ffi::c_void, ndisafhandle : *const ::core::ffi::c_void, protocolvccontext : *const ::core::ffi::c_void, ndisvchandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCoDeleteVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisCoGetTapiCallId(ndisvchandle : *const ::core::ffi::c_void, tapicallid : *mut VAR_STRING) -> i32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] fn NdisCompleteDmaTransfer(status : *mut i32, ndisdmahandle : *mut ::core::ffi::c_void, buffer : *mut super::super::Foundation:: MDL, offset : u32, length : u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN)); +#[cfg(feature = "Wdk_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`"] fn NdisCopyBuffer(status : *mut i32, buffer : *mut *mut super::super::Foundation:: MDL, poolhandle : *const ::core::ffi::c_void, memorydescriptor : *const ::core::ffi::c_void, offset : u32, length : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisDeregisterTdiCallBack()); +::windows_targets::link!("ndis.sys" "system" fn NdisFreeMemory(virtualaddress : *const ::core::ffi::c_void, length : u32, memoryflags : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisGeneratePartialCancelId() -> u8); +::windows_targets::link!("ndis.sys" "system" fn NdisGetCurrentProcessorCounts(pidlecount : *mut u32, pkernelanduser : *mut u32, pindex : *mut u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisGetCurrentProcessorCpuUsage(pcpuusage : *mut u32)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisGetRoutineAddress(ndisroutinename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> *mut ::core::ffi::c_void); +::windows_targets::link!("ndis.sys" "system" fn NdisGetSharedDataAlignment() -> u32); +::windows_targets::link!("ndis.sys" "system" fn NdisGetVersion() -> u32); +::windows_targets::link!("ndis.sys" "system" fn NdisIMAssociateMiniport(driverhandle : *const ::core::ffi::c_void, protocolhandle : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisIMCancelInitializeDeviceInstance(driverhandle : *const ::core::ffi::c_void, deviceinstance : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisIMDeInitializeDeviceInstance(ndisminiporthandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisIMGetBindingContext(ndisbindinghandle : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisIMInitializeDeviceInstanceEx(driverhandle : *const ::core::ffi::c_void, driverinstance : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicecontext : *const ::core::ffi::c_void) -> i32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisInitializeEvent(event : *mut NDIS_EVENT)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisInitializeReadWriteLock(lock : *mut NDIS_RW_LOCK)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisInitializeString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : *const u8)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisInitializeTimer(timer : *mut NDIS_TIMER, timerfunction : PNDIS_TIMER_FUNCTION, functioncontext : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisMAllocateSharedMemory(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, virtualaddress : *mut *mut ::core::ffi::c_void, physicaladdress : *mut i64)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisMAllocateSharedMemoryAsync(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, context : *const ::core::ffi::c_void) -> i32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisMCancelTimer(timer : *const NDIS_MINIPORT_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); +::windows_targets::link!("ndis.sys" "system" fn NdisMCloseLog(loghandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisMCmActivateVc(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMCmCreateVc(miniportadapterhandle : *const ::core::ffi::c_void, ndisafhandle : *const ::core::ffi::c_void, miniportvccontext : *const ::core::ffi::c_void, ndisvchandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMCmDeactivateVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMCmDeleteVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMCmRegisterAddressFamily(miniportadapterhandle : *mut ::core::ffi::c_void, addressfamily : *mut CO_ADDRESS_FAMILY, cmcharacteristics : *mut NDIS_CALL_MANAGER_CHARACTERISTICS, sizeofcmcharacteristics : u32) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMCoActivateVcComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); +::windows_targets::link!("ndis.sys" "system" fn NdisMCoDeactivateVcComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisMCreateLog(miniportadapterhandle : *const ::core::ffi::c_void, size : u32, loghandle : *mut *mut ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMDeregisterDmaChannel(miniportdmahandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisMDeregisterIoPortRange(miniportadapterhandle : *const ::core::ffi::c_void, initialport : u32, numberofports : u32, portoffset : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisMFlushLog(loghandle : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisMFreeSharedMemory(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, virtualaddress : *const ::core::ffi::c_void, physicaladdress : i64)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn NdisMGetDeviceProperty(miniportadapterhandle : *const ::core::ffi::c_void, physicaldeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, functionaldeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, nextdeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, allocatedresources : *mut *mut super::super::System::SystemServices:: CM_RESOURCE_LIST, allocatedresourcestranslated : *mut *mut super::super::System::SystemServices:: CM_RESOURCE_LIST)); +::windows_targets::link!("ndis.sys" "system" fn NdisMGetDmaAlignment(miniportadapterhandle : *const ::core::ffi::c_void) -> u32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisMInitializeTimer(timer : *const NDIS_MINIPORT_TIMER, miniportadapterhandle : *const ::core::ffi::c_void, timerfunction : PNDIS_TIMER_FUNCTION, functioncontext : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisMMapIoSpace(virtualaddress : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, physicaladdress : i64, length : u32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisMQueryAdapterInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, miniporthandle : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMReadDmaCounter(miniportdmahandle : *const ::core::ffi::c_void) -> u32); +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`"] fn NdisMRegisterDmaChannel(miniportdmahandle : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, dmachannel : u32, dma32bitaddresses : super::super::super::Win32::Foundation:: BOOLEAN, dmadescription : *const NDIS_DMA_DESCRIPTION, maximumlength : u32) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMRegisterIoPortRange(portoffset : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, initialport : u32, numberofports : u32) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMRemoveMiniport(miniporthandle : *const ::core::ffi::c_void) -> i32); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisMSetPeriodicTimer(timer : *const NDIS_MINIPORT_TIMER, millisecondperiod : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisMSleep(microsecondstosleep : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisMUnmapIoSpace(miniportadapterhandle : *const ::core::ffi::c_void, virtualaddress : *const ::core::ffi::c_void, length : u32)); +::windows_targets::link!("ndis.sys" "system" fn NdisMWriteLogData(loghandle : *const ::core::ffi::c_void, logbuffer : *const ::core::ffi::c_void, logbuffersize : u32) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisMapFile(status : *mut i32, mappedbuffer : *mut *mut ::core::ffi::c_void, filehandle : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisOpenConfigurationKeyByIndex(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, index : u32, keyname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, keyhandle : *mut *mut ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisOpenConfigurationKeyByName(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, subkeyname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, subkeyhandle : *mut *mut ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisOpenFile(status : *mut i32, filehandle : *mut *mut ::core::ffi::c_void, filelength : *mut u32, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, highestacceptableaddress : i64)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisQueryAdapterInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, ndisbindinghandle : *const ::core::ffi::c_void) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisQueryBindInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, bindingcontext : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("ndis.sys" "system" fn NdisReEnumerateProtocolBindings(ndisprotocolhandle : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisReadConfiguration(status : *mut i32, parametervalue : *mut *mut NDIS_CONFIGURATION_PARAMETER, configurationhandle : *const ::core::ffi::c_void, keyword : *const super::super::super::Win32::Foundation:: UNICODE_STRING, parametertype : NDIS_PARAMETER_TYPE)); +::windows_targets::link!("ndis.sys" "system" fn NdisReadNetworkAddress(status : *mut i32, networkaddress : *mut *mut ::core::ffi::c_void, networkaddresslength : *mut u32, configurationhandle : *const ::core::ffi::c_void)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisRegisterTdiCallBack(registercallback : TDI_REGISTER_CALLBACK, pnphandler : TDI_PNP_HANDLER)); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisReleaseReadWriteLock(lock : *mut NDIS_RW_LOCK, lockstate : *const LOCK_STATE)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisResetEvent(event : *const NDIS_EVENT)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisSetEvent(event : *const NDIS_EVENT)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisSetPeriodicTimer(ndistimer : *const NDIS_TIMER, millisecondsperiod : u32)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisSetTimer(timer : *const NDIS_TIMER, millisecondstodelay : u32)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisSetTimerEx(ndistimer : *const NDIS_TIMER, millisecondstodelay : u32, functioncontext : *const ::core::ffi::c_void)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] fn NdisSetupDmaTransfer(status : *mut i32, ndisdmahandle : *mut ::core::ffi::c_void, buffer : *mut super::super::Foundation:: MDL, offset : u32, length : u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN)); +::windows_targets::link!("ndis.sys" "system" fn NdisSystemProcessorCount() -> i8); +::windows_targets::link!("ndis.sys" "system" fn NdisUnmapFile(filehandle : *const ::core::ffi::c_void)); +::windows_targets::link!("ndis.sys" "system" fn NdisUpdateSharedMemory(ndisadapterhandle : *mut ::core::ffi::c_void, length : u32, virtualaddress : *mut ::core::ffi::c_void, physicaladdress : i64)); +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn NdisWaitEvent(event : *const NDIS_EVENT, mstowait : u32) -> super::super::super::Win32::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ndis.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdisWriteConfiguration(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, keyword : *const super::super::super::Win32::Foundation:: UNICODE_STRING, parametervalue : *const NDIS_CONFIGURATION_PARAMETER)); +::windows_targets::link!("ndis.sys" "cdecl" fn NdisWriteErrorLogEntry(ndisadapterhandle : *const ::core::ffi::c_void, errorcode : u32, numberoferrorvalues : u32, ...)); +::windows_targets::link!("ndis.sys" "system" fn NdisWriteEventLogEntry(loghandle : *const ::core::ffi::c_void, eventcode : i32, uniqueeventvalue : u32, numstrings : u16, stringslist : *const ::core::ffi::c_void, datasize : u32, data : *const ::core::ffi::c_void) -> i32); +pub const AUTHENTICATE: OFFLOAD_OPERATION_E = 1i32; +pub const BINARY_COMPATIBLE: u32 = 0u32; +pub const BROADCAST_VC: u32 = 8u32; +pub const CALL_PARAMETERS_CHANGED: u32 = 2u32; +pub const CLOCK_NETWORK_DERIVED: u32 = 2u32; +pub const CLOCK_PRECISION: u32 = 4u32; +pub const CO_ADDRESS_FAMILY_PROXY: u32 = 2147483648u32; +pub const CO_SEND_FLAG_SET_DISCARD_ELIBILITY: u32 = 1u32; +pub const CRYPTO_GENERIC_ERROR: u32 = 1u32; +pub const CRYPTO_INVALID_PACKET_SYNTAX: u32 = 6u32; +pub const CRYPTO_INVALID_PROTOCOL: u32 = 7u32; +pub const CRYPTO_SUCCESS: u32 = 0u32; +pub const CRYPTO_TRANSPORT_AH_AUTH_FAILED: u32 = 2u32; +pub const CRYPTO_TRANSPORT_ESP_AUTH_FAILED: u32 = 3u32; +pub const CRYPTO_TUNNEL_AH_AUTH_FAILED: u32 = 4u32; +pub const CRYPTO_TUNNEL_ESP_AUTH_FAILED: u32 = 5u32; +pub const CachedNetBufferList: NDIS_PER_PACKET_INFO = 10i32; +pub const ClassificationHandlePacketInfo: NDIS_PER_PACKET_INFO = 3i32; +pub const DD_NDIS_DEVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Device\\NDIS"); +pub const DOT11_RSN_KCK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_KEK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_MAX_CIPHER_KEY_LENGTH: u32 = 32u32; +pub const EAPOL_REQUEST_ID_WOL_FLAG_MUST_ENCRYPT: u32 = 1u32; +pub const ENCRYPT: OFFLOAD_OPERATION_E = 2i32; +pub const ERRED_PACKET_INDICATION: u32 = 1u32; +pub const ETHERNET_LENGTH_OF_ADDRESS: u32 = 6u32; +pub const GUID_NDIS_NDK_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7969ba4d_dd80_4bc7_b3e6_68043997e519); +pub const GUID_NDIS_NDK_STATE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x530c69c9_2f51_49de_a1af_088d54ffa474); +pub const INDICATE_END_OF_TX: u32 = 32u32; +pub const INDICATE_ERRED_PACKETS: u32 = 16u32; +pub const IOCTL_NDIS_RESERVED5: u32 = 1507380u32; +pub const IOCTL_NDIS_RESERVED6: u32 = 1540152u32; +pub const IPSEC_OFFLOAD_V2_AND_TCP_CHECKSUM_COEXISTENCE: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AND_UDP_CHECKSUM_COEXISTENCE: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_MD5: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_1: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_256: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_3_DES_CBC: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_128: u32 = 64u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_192: u32 = 128u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_256: u32 = 256u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_DES_CBC: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_NONE: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_ESN_SA: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_INBOUND: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_IPv6: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_MAX_EXTENSION_HEADERS: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_TRANSPORT_OVER_UDP_ESP_ENCAPSULATION_TUNNEL: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_NONE: u32 = 0u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TRANSPORT: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TRANSPORT_OVER_TUNNEL: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TUNNEL: u32 = 2u32; +pub const IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_IKE: u32 = 4u32; +pub const IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_OTHER: u32 = 64u32; +pub const IPSEC_TPT_UDPESP_ENCAPTYPE_IKE: u32 = 1u32; +pub const IPSEC_TPT_UDPESP_ENCAPTYPE_OTHER: u32 = 16u32; +pub const IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_IKE: u32 = 8u32; +pub const IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_OTHER: u32 = 128u32; +pub const IPSEC_TUN_UDPESP_ENCAPTYPE_IKE: u32 = 2u32; +pub const IPSEC_TUN_UDPESP_ENCAPTYPE_OTHER: u32 = 32u32; +pub const Ieee8021QInfo: NDIS_PER_PACKET_INFO = 6i32; +pub const IpSecPacketInfo: NDIS_PER_PACKET_INFO = 1i32; +pub const MAXIMUM_IP_OPER_STATUS_ADDRESS_FAMILIES_SUPPORTED: u32 = 32u32; +pub const MAX_HASHES: u32 = 4u32; +pub const MULTIPOINT_VC: u32 = 16u32; +pub const MaxPerPacketInfo: NDIS_PER_PACKET_INFO = 12i32; +pub const NBL_FLAGS_MINIPORT_RESERVED: u32 = 61440u32; +pub const NBL_FLAGS_NDIS_RESERVED: u32 = 4092u32; +pub const NBL_FLAGS_PROTOCOL_RESERVED: u32 = 4293918723u32; +pub const NBL_FLAGS_SCRATCH: u32 = 983040u32; +pub const NBL_PROT_RSVD_FLAGS: u32 = 4293918723u32; +pub const NDIS630_MINIPORT: u32 = 1u32; +pub const NDIS685_MINIPORT: u32 = 1u32; +pub const NDIS_802_11_AI_REQFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_REQFI_CURRENTAPADDRESS: u32 = 4u32; +pub const NDIS_802_11_AI_REQFI_LISTENINTERVAL: u32 = 2u32; +pub const NDIS_802_11_AI_RESFI_ASSOCIATIONID: u32 = 4u32; +pub const NDIS_802_11_AI_RESFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_RESFI_STATUSCODE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS: u32 = 15u32; +pub const NDIS_802_11_AUTH_REQUEST_GROUP_ERROR: u32 = 14u32; +pub const NDIS_802_11_AUTH_REQUEST_KEYUPDATE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR: u32 = 6u32; +pub const NDIS_802_11_AUTH_REQUEST_REAUTH: u32 = 1u32; +pub const NDIS_802_11_LENGTH_RATES: u32 = 8u32; +pub const NDIS_802_11_LENGTH_RATES_EX: u32 = 16u32; +pub const NDIS_802_11_LENGTH_SSID: u32 = 32u32; +pub const NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED: u32 = 1u32; +pub const NDIS_802_3_MAC_OPTION_PRIORITY: u32 = 1u32; +pub const NDIS_ANY_NUMBER_OF_NBLS: u32 = 4294967295u32; +pub const NDIS_ATTRIBUTE_BUS_MASTER: u32 = 8u32; +pub const NDIS_ATTRIBUTE_DESERIALIZE: u32 = 32u32; +pub const NDIS_ATTRIBUTE_DO_NOT_BIND_TO_ALL_CO: u32 = 1024u32; +pub const NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT: u32 = 1u32; +pub const NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT: u32 = 2u32; +pub const NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS: u32 = 4u32; +pub const NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER: u32 = 16u32; +pub const NDIS_ATTRIBUTE_MINIPORT_PADS_SHORT_PACKETS: u32 = 2048u32; +pub const NDIS_ATTRIBUTE_NOT_CO_NDIS: u32 = 256u32; +pub const NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND: u32 = 64u32; +pub const NDIS_ATTRIBUTE_SURPRISE_REMOVE_OK: u32 = 128u32; +pub const NDIS_ATTRIBUTE_USES_SAFE_BUFFER_APIS: u32 = 512u32; +pub const NDIS_BIND_FAILED_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NDIS_BIND_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_BIND_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_BIND_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_BIND_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_CLONE_FLAGS_RESERVED: u32 = 1u32; +pub const NDIS_CLONE_FLAGS_USE_ORIGINAL_MDLS: u32 = 2u32; +pub const NDIS_CONFIGURATION_OBJECT_REVISION_1: u32 = 1u32; +pub const NDIS_CONFIG_FLAG_FILTER_INSTANCE_CONFIGURATION: u32 = 1u32; +pub const NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_CO_CLIENT_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED: u32 = 1u32; +pub const NDIS_DEFAULT_RECEIVE_FILTER_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_GROUP_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_ID: u32 = 0u32; +pub const NDIS_DEFAULT_SWITCH_ID: u32 = 0u32; +pub const NDIS_DEFAULT_VPORT_ID: u32 = 0u32; +pub const NDIS_DEVICE_OBJECT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_DEVICE_TYPE_ENDPOINT: u32 = 1u32; +pub const NDIS_DEVICE_WAKE_ON_MAGIC_PACKET_ENABLE: u32 = 4u32; +pub const NDIS_DEVICE_WAKE_ON_PATTERN_MATCH_ENABLE: u32 = 2u32; +pub const NDIS_DEVICE_WAKE_UP_ENABLE: u32 = 1u32; +pub const NDIS_DRIVER_FLAGS_RESERVED: u32 = 8u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV4: u32 = 1u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV6: u32 = 4u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV4: u32 = 2u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV6: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3: u32 = 2u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q: u32 = 4u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q_IN_OOB: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_LLC_SNAP_ROUTED: u32 = 16u32; +pub const NDIS_ENCAPSULATION_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATION_NULL: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_GRE_MAC: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_VXLAN: u32 = 2u32; +pub const NDIS_ENUM_FILTERS_REVISION_1: u32 = 1u32; +pub const NDIS_ETH_TYPE_802_1Q: u32 = 33024u32; +pub const NDIS_ETH_TYPE_802_1X: u32 = 34958u32; +pub const NDIS_ETH_TYPE_ARP: u32 = 2054u32; +pub const NDIS_ETH_TYPE_IPV4: u32 = 2048u32; +pub const NDIS_ETH_TYPE_IPV6: u32 = 34525u32; +pub const NDIS_ETH_TYPE_SLOW_PROTOCOL: u32 = 34825u32; +pub const NDIS_FILTER_ATTACH_FLAGS_IGNORE_MANDATORY: u32 = 1u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_FILTER_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_3: u32 = 3u32; +pub const NDIS_FILTER_DRIVER_MANDATORY: u32 = 1u32; +pub const NDIS_FILTER_DRIVER_SUPPORTS_CURRENT_MAC_ADDRESS_CHANGE: u32 = 2u32; +pub const NDIS_FILTER_DRIVER_SUPPORTS_L2_MTU_SIZE_CHANGE: u32 = 4u32; +pub const NDIS_FILTER_INTERFACE_IM_FILTER: u32 = 1u32; +pub const NDIS_FILTER_INTERFACE_LW_FILTER: u32 = 2u32; +pub const NDIS_FILTER_INTERFACE_RECEIVE_BYPASS: u32 = 8u32; +pub const NDIS_FILTER_INTERFACE_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_INTERFACE_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_INTERFACE_SEND_BYPASS: u32 = 4u32; +pub const NDIS_FILTER_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_FILTER_MINIMUM_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_FILTER_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_FILTER_MINOR_VERSION: u32 = 87u32; +pub const NDIS_FILTER_PARTIAL_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FLAGS_DONT_LOOPBACK: u32 = 128u32; +pub const NDIS_FLAGS_DOUBLE_BUFFERED: u32 = 2048u32; +pub const NDIS_FLAGS_IS_LOOPBACK_PACKET: u32 = 256u32; +pub const NDIS_FLAGS_LOOPBACK_ONLY: u32 = 512u32; +pub const NDIS_FLAGS_MULTICAST_PACKET: u32 = 16u32; +pub const NDIS_FLAGS_PADDED: u32 = 65536u32; +pub const NDIS_FLAGS_PROTOCOL_ID_MASK: u32 = 15u32; +pub const NDIS_FLAGS_RESERVED2: u32 = 32u32; +pub const NDIS_FLAGS_RESERVED3: u32 = 64u32; +pub const NDIS_FLAGS_RESERVED4: u32 = 1024u32; +pub const NDIS_FLAGS_SENT_AT_DPC: u32 = 4096u32; +pub const NDIS_FLAGS_USES_ORIGINAL_PACKET: u32 = 16384u32; +pub const NDIS_FLAGS_USES_SG_BUFFER_LIST: u32 = 8192u32; +pub const NDIS_FLAGS_XLATE_AT_TOP: u32 = 131072u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_GRE: u32 = 4u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_IP: u32 = 2u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NOT_ENCAPSULATED: u32 = 1u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NVGRE: u32 = 8u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_VXLAN: u32 = 16u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_RDMA_FLOW: u32 = 1u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ESP: u32 = 2048u32; +pub const NDIS_GFP_HEADER_PRESENT_ETHERNET: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ICMP: u32 = 32u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV4: u32 = 2u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV6: u32 = 4u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_GRE_ENCAP: u32 = 256u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_IP_ENCAP: u32 = 128u32; +pub const NDIS_GFP_HEADER_PRESENT_NO_ENCAP: u32 = 64u32; +pub const NDIS_GFP_HEADER_PRESENT_NVGRE_ENCAP: u32 = 512u32; +pub const NDIS_GFP_HEADER_PRESENT_TCP: u32 = 8u32; +pub const NDIS_GFP_HEADER_PRESENT_UDP: u32 = 16u32; +pub const NDIS_GFP_HEADER_PRESENT_VXLAN_ENCAP: u32 = 1024u32; +pub const NDIS_GFP_UNDEFINED_PROFILE_ID: u32 = 0u32; +pub const NDIS_GFP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_CLIENT_SPECIFIED_ADDRESS: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_GET_VALUES: u32 = 2u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_UPDATE_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_LAST_ACTION: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_ALL_PROFILES: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_EMFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_ALL_VPORT_FLOW_ENTRIES: u32 = 33554432u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_FIN_FLAG_SET: u32 = 2097152u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_RST_FLAG_SET: u32 = 4194304u32; +pub const NDIS_GFT_EMFE_COPY_ALL_PACKETS: u32 = 65536u32; +pub const NDIS_GFT_EMFE_COPY_CONDITION_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_EMFE_COPY_FIRST_PACKET: u32 = 131072u32; +pub const NDIS_GFT_EMFE_COPY_WHEN_TCP_FLAG_SET: u32 = 262144u32; +pub const NDIS_GFT_EMFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_EMFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_EMFE_COUNTER_TRACK_TCP_FLOW: u32 = 8u32; +pub const NDIS_GFT_EMFE_CUSTOM_ACTION_PRESENT: u32 = 524288u32; +pub const NDIS_GFT_EMFE_MATCH_AND_ACTION_MUST_BE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_EMFE_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 1048576u32; +pub const NDIS_GFT_EMFE_RDMA_FLOW: u32 = 4u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 8192u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 32768u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 4096u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16384u32; +pub const NDIS_GFT_EXACT_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_NIC_SWITCH_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_TABLE_FLOW_ENTRIES: u32 = 2u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_VPORT_FLOW_ENTRIES: u32 = 4u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_COUNTER_VALUES: u32 = 65536u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_DEFINED: u32 = 16u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_RANGE_DEFINED: u32 = 8u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ALL_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FREE_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HTP_COPY_ALL_PACKETS: u32 = 16u32; +pub const NDIS_GFT_HTP_COPY_FIRST_PACKET: u32 = 32u32; +pub const NDIS_GFT_HTP_COPY_WHEN_TCP_FLAG_SET: u32 = 64u32; +pub const NDIS_GFT_HTP_CUSTOM_ACTION_PRESENT: u32 = 128u32; +pub const NDIS_GFT_HTP_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 256u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 1u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 4u32; +pub const NDIS_GFT_MAX_COUNTER_OBJECTS_PER_FLOW_ENTRY: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_8021P_PRIORITY_MASK: u32 = 131072u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ADD_FLOW_ENTRY_DEACTIVATED_PREFERRED: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ALLOW: u32 = 262144u32; +pub const NDIS_GFT_OFFLOAD_CAPS_CLIENT_SPECIFIED_MEMORY_MAPPED_COUNTERS: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COMBINED_COUNTER_AND_STATE: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_ALL: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_FIRST: u32 = 512u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_WHEN_TCP_FLAG_SET: u32 = 1024u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DESIGNATED_EXCEPTION_VPORT: u32 = 32768u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DROP: u32 = 524288u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DSCP_MASK: u32 = 65536u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_AGGREGATE_COUNTERS: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_EXACT_MATCH: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_WILDCARD_MATCH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_EXACT_MATCH: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_WILDCARD_MATCH: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_EXACT_MATCH: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_WILDCARD_MATCH: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_IGNORE_ACTION_SUPPORTED: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_AGGREGATE_COUNTERS: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_EXACT_MATCH: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_WILDCARD_MATCH: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_PAKCET_AND_BYTE_COUNTERS: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_AFTER_HEADER_TRANSPOSITION: u32 = 8192u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 4096u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MODIFY: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_FLOW_ENTRY_COUNTERS: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_PACKET_COUNTER_UPDATE: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_VPORT_EXCEPTION_VPORT: u32 = 16384u32; +pub const NDIS_GFT_OFFLOAD_CAPS_POP: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PUSH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_RATE_LIMITING_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_SAMPLE: u32 = 2048u32; +pub const NDIS_GFT_OFFLOAD_CAPS_TRACK_TCP_FLOW_STATE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_INFO_COPY_PACKET: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_INFO_DIRECTION_INGRESS: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_INFO_EXCEPTION_PACKET: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_INFO_SAMPLE_PACKET: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_CUSTOM_PROVIDER_RESERVED: u32 = 4278190080u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_ENABLE_OFFLOAD: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_RESERVED_CUSTOM_ACTIONS: u32 = 256u32; +pub const NDIS_GFT_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INCLUDE_EXTERNAL_VPPORT: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_UNDEFINED_COUNTER_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_CUSTOM_ACTION: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_FLOW_ENTRY_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_TABLE_ID: u32 = 0u32; +pub const NDIS_GFT_VPORT_DSCP_FLAGS_CHANGED: u32 = 67108864u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_RX: u32 = 1u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_TX: u32 = 2u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_CHANGED: u32 = 8388608u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_RX: u32 = 4u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_TX: u32 = 8u32; +pub const NDIS_GFT_VPORT_ENABLE: u32 = 1u32; +pub const NDIS_GFT_VPORT_ENABLE_STATE_CHANGED: u32 = 1048576u32; +pub const NDIS_GFT_VPORT_EXCEPTION_VPORT_CHANGED: u32 = 2097152u32; +pub const NDIS_GFT_VPORT_MAX_DSCP_MASK_COUNTER_OBJECTS: u32 = 64u32; +pub const NDIS_GFT_VPORT_MAX_PRIORITY_MASK_COUNTER_OBJECTS: u32 = 8u32; +pub const NDIS_GFT_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_VPORT_PARAMS_CHANGE_MASK: u32 = 4293918720u32; +pub const NDIS_GFT_VPORT_PARAMS_CUSTOM_PROVIDER_RESERVED: u32 = 1044480u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN: u32 = 2u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN_NOT_IN_SRC_PORT_RANGE: u32 = 4u32; +pub const NDIS_GFT_VPORT_PRIORITY_MASK_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_VPORT_SAMPLING_RATE_CHANGED: u32 = 4194304u32; +pub const NDIS_GFT_VPORT_VXLAN_SETTINGS_CHANGED: u32 = 33554432u32; +pub const NDIS_GFT_WCFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COPY_ALL_PACKETS: u32 = 32u32; +pub const NDIS_GFT_WCFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_WCFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_WCFE_CUSTOM_ACTION_PRESENT: u32 = 64u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 4u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_WILDCARD_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_HARDWARE_CROSSTIMESTAMP_REVISION_1: u32 = 1u32; +pub const NDIS_HASH_FUNCTION_MASK: u32 = 255u32; +pub const NDIS_HASH_IPV4: u32 = 256u32; +pub const NDIS_HASH_IPV6: u32 = 1024u32; +pub const NDIS_HASH_IPV6_EX: u32 = 2048u32; +pub const NDIS_HASH_TCP_IPV4: u32 = 512u32; +pub const NDIS_HASH_TCP_IPV6: u32 = 4096u32; +pub const NDIS_HASH_TCP_IPV6_EX: u32 = 8192u32; +pub const NDIS_HASH_TYPE_MASK: u32 = 16776960u32; +pub const NDIS_HASH_UDP_IPV4: u32 = 16384u32; +pub const NDIS_HASH_UDP_IPV6: u32 = 32768u32; +pub const NDIS_HASH_UDP_IPV6_EX: u32 = 65536u32; +pub const NDIS_HD_SPLIT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV4_OPTIONS: u32 = 2u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV6_EXTENSION_HEADERS: u32 = 4u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_TCP_OPTIONS: u32 = 8u32; +pub const NDIS_HD_SPLIT_COMBINE_ALL_HEADERS: u32 = 1u32; +pub const NDIS_HD_SPLIT_CURRENT_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_HD_SPLIT_ENABLE_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_FLAG_HYPERVISOR_PRESENT: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_INTERMEDIATE_DRIVER: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_REINITIALIZE: u32 = 2u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_ADD_SA_EX_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_ADD_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_DELETE_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_UPDATE_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATUS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_ISOLATION_NAME_MAX_STRING_SIZE: u32 = 127u32; +pub const NDIS_ISOLATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_ADD_PF_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_ENUMERATE_PFS_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_PF_ENUM_ELEMENT_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_QUERY_PF_INFORMATION_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_REMOVE_PF_REVISION_1: u32 = 1u32; +pub const NDIS_LARGE_SEND_OFFLOAD_MAX_HEADER_LENGTH: u32 = 128u32; +pub const NDIS_LEGACY_DRIVER: u32 = 1u32; +pub const NDIS_LEGACY_MINIPORT: u32 = 1u32; +pub const NDIS_LEGACY_PROTOCOL: u32 = 1u32; +pub const NDIS_LINK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_DUPLEX_AUTO_NEGOTIATED: u32 = 4u32; +pub const NDIS_LINK_STATE_PAUSE_FUNCTIONS_AUTO_NEGOTIATED: u32 = 8u32; +pub const NDIS_LINK_STATE_RCV_LINK_SPEED_AUTO_NEGOTIATED: u32 = 2u32; +pub const NDIS_LINK_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_XMIT_LINK_SPEED_AUTO_NEGOTIATED: u32 = 1u32; +pub const NDIS_MAC_OPTION_8021P_PRIORITY: u32 = 64u32; +pub const NDIS_MAC_OPTION_8021Q_VLAN: u32 = 512u32; +pub const NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA: u32 = 1u32; +pub const NDIS_MAC_OPTION_EOTX_INDICATION: u32 = 32u32; +pub const NDIS_MAC_OPTION_FULL_DUPLEX: u32 = 16u32; +pub const NDIS_MAC_OPTION_NO_LOOPBACK: u32 = 8u32; +pub const NDIS_MAC_OPTION_RECEIVE_AT_DPC: u32 = 256u32; +pub const NDIS_MAC_OPTION_RECEIVE_SERIALIZED: u32 = 2u32; +pub const NDIS_MAC_OPTION_RESERVED: u32 = 2147483648u32; +pub const NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE: u32 = 128u32; +pub const NDIS_MAC_OPTION_TRANSFERS_NOT_PEND: u32 = 4u32; +pub const NDIS_MAXIMUM_PORTS: u32 = 16777216u32; +pub const NDIS_MAX_LOOKAHEAD_SIZE_ACCESSED_UNDEFINED: i32 = -1i32; +pub const NDIS_MAX_PROCESSOR_COUNT: u32 = 64u32; +pub const NDIS_MEDIA_CAP_RECEIVE: u32 = 2u32; +pub const NDIS_MEDIA_CAP_TRANSMIT: u32 = 1u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_EAPOL: u32 = 2147549185u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_FCOE: u32 = 2147549184u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_LLDP: u32 = 2147549186u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_TIMESYNC: u32 = 2147549187u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_TUNDL: u32 = 65537u32; +pub const NDIS_MEMORY_CONTIGUOUS: u32 = 1u32; +pub const NDIS_MEMORY_NONCACHED: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_4: u32 = 4u32; +pub const NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ATTRIBUTES_BUS_MASTER: u32 = 64u32; +pub const NDIS_MINIPORT_ATTRIBUTES_CONTROLS_DEFAULT_PORT: u32 = 128u32; +pub const NDIS_MINIPORT_ATTRIBUTES_DO_NOT_BIND_TO_ALL_CO: u32 = 16u32; +pub const NDIS_MINIPORT_ATTRIBUTES_HARDWARE_DEVICE: u32 = 1u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM: u32 = 2u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NOT_CO_NDIS: u32 = 8u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND: u32 = 32u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_OID_INTERCEPT_ON_NONDEFAULT_PORTS: u32 = 512u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_PAUSE_ON_SUSPEND: u32 = 256u32; +pub const NDIS_MINIPORT_ATTRIBUTES_REGISTER_BUGCHECK_CALLBACK: u32 = 1024u32; +pub const NDIS_MINIPORT_ATTRIBUTES_SURPRISE_REMOVE_OK: u32 = 4u32; +pub const NDIS_MINIPORT_CO_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_INIT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_INTERRUPT_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_MINIPORT_MINIMUM_MAJOR_VERSION: u32 = 5u32; +pub const NDIS_MINIPORT_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_MINIPORT_MINOR_VERSION: u32 = 87u32; +pub const NDIS_MINIPORT_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_PNP_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_SS_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MIN_API: u32 = 1024u32; +pub const NDIS_MONITOR_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_MSIX_CONFIG_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_M_MAX_LOOKAHEAD: u32 = 526u32; +pub const NDIS_NBL_FLAGS_CAPTURE_TIMESTAMP_ON_TRANSMIT: u32 = 65536u32; +pub const NDIS_NBL_FLAGS_HD_SPLIT: u32 = 256u32; +pub const NDIS_NBL_FLAGS_IS_IPV4: u32 = 512u32; +pub const NDIS_NBL_FLAGS_IS_IPV6: u32 = 1024u32; +pub const NDIS_NBL_FLAGS_IS_LOOPBACK_PACKET: u32 = 32768u32; +pub const NDIS_NBL_FLAGS_IS_TCP: u32 = 2048u32; +pub const NDIS_NBL_FLAGS_IS_UDP: u32 = 4096u32; +pub const NDIS_NBL_FLAGS_RECV_READ_ONLY: u32 = 2u32; +pub const NDIS_NBL_FLAGS_SEND_READ_ONLY: u32 = 1u32; +pub const NDIS_NBL_FLAGS_SPLIT_AT_UPPER_LAYER_PROTOCOL_HEADER: u32 = 8192u32; +pub const NDIS_NBL_FLAGS_SPLIT_AT_UPPER_LAYER_PROTOCOL_PAYLOAD: u32 = 16384u32; +pub const NDIS_NBL_MEDIA_SPECIFIC_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_CONNECTIONS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_LOCAL_ENDPOINTS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_NIC_SWITCH_CAPS_ASYMMETRIC_QUEUE_PAIRS_FOR_NONDEFAULT_VPORT_SUPPORTED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_CAPS_NIC_SWITCH_WITHOUT_IOV_SUPPORTED: u32 = 64u32; +pub const NDIS_NIC_SWITCH_CAPS_PER_VPORT_INTERRUPT_MODERATION_SUPPORTED: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_ON_PF_VPORTS_SUPPORTED: u32 = 128u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PARAMETERS_PER_PF_VPORT_SUPPORTED: u32 = 32u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_FUNCTION_SUPPORTED: u32 = 512u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_KEY_SUPPORTED: u32 = 2048u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_TYPE_SUPPORTED: u32 = 1024u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SIZE_RESTRICTED: u32 = 4096u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SUPPORTED: u32 = 256u32; +pub const NDIS_NIC_SWITCH_CAPS_SINGLE_VPORT_POOL: u32 = 16u32; +pub const NDIS_NIC_SWITCH_CAPS_VF_RSS_SUPPORTED: u32 = 8u32; +pub const NDIS_NIC_SWITCH_CAPS_VLAN_SUPPORTED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_FREE_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_DEFAULT_NUMBER_OF_QUEUE_PAIRS_FOR_DEFAULT_VPORT: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_SWITCH_NAME_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_FUNCTION: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_GFT_ENABLED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_ENFORCE_MAX_SG_LIST: u32 = 32768u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_INT_MOD_CHANGED: u32 = 262144u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NAME_CHANGED: u32 = 131072u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NDK_PARAMS_CHANGED: u32 = 2097152u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NUM_QUEUE_PAIRS_CHANGED: u32 = 8388608u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PROCESSOR_AFFINITY_CHANGED: u32 = 1048576u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_QOS_SQ_ID_CHANGED: u32 = 4194304u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_STATE_CHANGED: u32 = 524288u32; +pub const NDIS_NT: u32 = 1u32; +pub const NDIS_OBJECT_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_BIND_PARAMETERS: u32 = 134u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 147u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 142u32; +pub const NDIS_OBJECT_TYPE_CONFIGURATION_OBJECT: u32 = 169u32; +pub const NDIS_OBJECT_TYPE_CO_CALL_MANAGER_OPTIONAL_HANDLERS: u32 = 165u32; +pub const NDIS_OBJECT_TYPE_CO_CLIENT_OPTIONAL_HANDLERS: u32 = 166u32; +pub const NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS: u32 = 145u32; +pub const NDIS_OBJECT_TYPE_CO_PROTOCOL_CHARACTERISTICS: u32 = 144u32; +pub const NDIS_OBJECT_TYPE_DEFAULT: u32 = 128u32; +pub const NDIS_OBJECT_TYPE_DEVICE_OBJECT_ATTRIBUTES: u32 = 133u32; +pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_OBJECT: u32 = 170u32; +pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTACH_PARAMETERS: u32 = 153u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTRIBUTES: u32 = 141u32; +pub const NDIS_OBJECT_TYPE_FILTER_DRIVER_CHARACTERISTICS: u32 = 139u32; +pub const NDIS_OBJECT_TYPE_FILTER_PARTIAL_CHARACTERISTICS: u32 = 140u32; +pub const NDIS_OBJECT_TYPE_FILTER_PAUSE_PARAMETERS: u32 = 154u32; +pub const NDIS_OBJECT_TYPE_FILTER_RESTART_PARAMETERS: u32 = 155u32; +pub const NDIS_OBJECT_TYPE_HD_SPLIT_ATTRIBUTES: u32 = 171u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES: u32 = 159u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES: u32 = 175u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES: u32 = 161u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NDK_ATTRIBUTES: u32 = 179u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES: u32 = 160u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES: u32 = 197u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES: u32 = 158u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES: u32 = 164u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DEVICE_POWER_NOTIFICATION: u32 = 198u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS: u32 = 138u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INIT_PARAMETERS: u32 = 129u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INTERRUPT: u32 = 132u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS: u32 = 146u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_SS_CHARACTERISTICS: u32 = 180u32; +pub const NDIS_OBJECT_TYPE_NDK_PROVIDER_CHARACTERISTICS: u32 = 178u32; +pub const NDIS_OBJECT_TYPE_NSI_COMPARTMENT_RW_STRUCT: u32 = 173u32; +pub const NDIS_OBJECT_TYPE_NSI_INTERFACE_PERSIST_RW_STRUCT: u32 = 174u32; +pub const NDIS_OBJECT_TYPE_NSI_NETWORK_RW_STRUCT: u32 = 172u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD: u32 = 167u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD_ENCAPSULATION: u32 = 168u32; +pub const NDIS_OBJECT_TYPE_OID_REQUEST: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_OPEN_PARAMETERS: u32 = 135u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_2: u32 = 2u32; +pub const NDIS_OBJECT_TYPE_PD_RECEIVE_QUEUE: u32 = 191u32; +pub const NDIS_OBJECT_TYPE_PD_TRANSMIT_QUEUE: u32 = 190u32; +pub const NDIS_OBJECT_TYPE_PORT_CHARACTERISTICS: u32 = 156u32; +pub const NDIS_OBJECT_TYPE_PORT_STATE: u32 = 157u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_DRIVER_CHARACTERISTICS: u32 = 149u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_RESTART_PARAMETERS: u32 = 163u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 148u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 143u32; +pub const NDIS_OBJECT_TYPE_QOS_CAPABILITIES: u32 = 181u32; +pub const NDIS_OBJECT_TYPE_QOS_CLASSIFICATION_ELEMENT: u32 = 183u32; +pub const NDIS_OBJECT_TYPE_QOS_PARAMETERS: u32 = 182u32; +pub const NDIS_OBJECT_TYPE_REQUEST_EX: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_RESTART_GENERAL_ATTRIBUTES: u32 = 162u32; +pub const NDIS_OBJECT_TYPE_RSS_CAPABILITIES: u32 = 136u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS: u32 = 137u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS_V2: u32 = 200u32; +pub const NDIS_OBJECT_TYPE_RSS_PROCESSOR_INFO: u32 = 177u32; +pub const NDIS_OBJECT_TYPE_RSS_SET_INDIRECTION_ENTRIES: u32 = 201u32; +pub const NDIS_OBJECT_TYPE_SG_DMA_DESCRIPTION: u32 = 131u32; +pub const NDIS_OBJECT_TYPE_SHARED_MEMORY_PROVIDER_CHARACTERISTICS: u32 = 176u32; +pub const NDIS_OBJECT_TYPE_STATUS_INDICATION: u32 = 152u32; +pub const NDIS_OBJECT_TYPE_SWITCH_OPTIONAL_HANDLERS: u32 = 184u32; +pub const NDIS_OBJECT_TYPE_TIMER_CHARACTERISTICS: u32 = 151u32; +pub const NDIS_OFFLOAD_ENCAPSULATION_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_FLAGS_GROUP_CHECKSUM_CAPABILITIES: u32 = 1u32; +pub const NDIS_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_RX_ENABLED_TX_DISABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_SKIP_REGISTRY_UPDATE: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_ENABLED_RX_DISABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_REVISION_6: u32 = 6u32; +pub const NDIS_OFFLOAD_REVISION_7: u32 = 7u32; +pub const NDIS_OFFLOAD_SET_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_SET_OFF: u32 = 2u32; +pub const NDIS_OFFLOAD_SET_ON: u32 = 1u32; +pub const NDIS_OFFLOAD_SUPPORTED: u32 = 1u32; +pub const NDIS_OID_REQUEST_FLAGS_VPORT_ID_VALID: u32 = 1u32; +pub const NDIS_OID_REQUEST_NDIS_RESERVED_SIZE: u32 = 16u32; +pub const NDIS_OID_REQUEST_REVISION_1: u32 = 1u32; +pub const NDIS_OID_REQUEST_REVISION_2: u32 = 2u32; +pub const NDIS_OID_REQUEST_TIMEOUT_INFINITE: u32 = 0u32; +pub const NDIS_OPEN_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_OPEN_RECEIVE_NOT_REENTRANT: u32 = 1u32; +pub const NDIS_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PACKET_TYPE_ALL_FUNCTIONAL: u32 = 8192u32; +pub const NDIS_PACKET_TYPE_ALL_LOCAL: u32 = 128u32; +pub const NDIS_PACKET_TYPE_ALL_MULTICAST: u32 = 4u32; +pub const NDIS_PACKET_TYPE_BROADCAST: u32 = 8u32; +pub const NDIS_PACKET_TYPE_DIRECTED: u32 = 1u32; +pub const NDIS_PACKET_TYPE_FUNCTIONAL: u32 = 16384u32; +pub const NDIS_PACKET_TYPE_GROUP: u32 = 4096u32; +pub const NDIS_PACKET_TYPE_MAC_FRAME: u32 = 32768u32; +pub const NDIS_PACKET_TYPE_MULTICAST: u32 = 2u32; +pub const NDIS_PACKET_TYPE_NO_LOCAL: u32 = 65536u32; +pub const NDIS_PACKET_TYPE_PROMISCUOUS: u32 = 32u32; +pub const NDIS_PACKET_TYPE_SMT: u32 = 64u32; +pub const NDIS_PACKET_TYPE_SOURCE_ROUTING: u32 = 16u32; +pub const NDIS_PAUSE_ATTACH_FILTER: u32 = 16u32; +pub const NDIS_PAUSE_BIND_PROTOCOL: u32 = 4u32; +pub const NDIS_PAUSE_DETACH_FILTER: u32 = 32u32; +pub const NDIS_PAUSE_FILTER_RESTART_STACK: u32 = 64u32; +pub const NDIS_PAUSE_LOW_POWER: u32 = 2u32; +pub const NDIS_PAUSE_MINIPORT_DEVICE_REMOVE: u32 = 128u32; +pub const NDIS_PAUSE_NDIS_INTERNAL: u32 = 1u32; +pub const NDIS_PAUSE_UNBIND_PROTOCOL: u32 = 8u32; +pub const NDIS_PD_ACQUIRE_QUEUES_FLAG_DRAIN_NOTIFICATION: u32 = 1u32; +pub const NDIS_PD_ACQUIRE_QUEUES_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CAPS_DRAIN_NOTIFICATIONS_SUPPORTED: u32 = 2u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_COUNT_SUPPORTED: u32 = 8u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_INTERVAL_SUPPORTED: u32 = 4u32; +pub const NDIS_PD_CAPS_RECEIVE_FILTER_COUNTERS_SUPPORTED: u32 = 1u32; +pub const NDIS_PD_CLOSE_PROVIDER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_PD_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_OPEN_PROVIDER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_PROVIDER_DISPATCH_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_DISPATCH_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_FLAG_DRAIN_NOTIFICATION: u32 = 1u32; +pub const NDIS_PD_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_PM_MAX_PATTERN_ID: u32 = 65535u32; +pub const NDIS_PM_MAX_STRING_SIZE: u32 = 64u32; +pub const NDIS_PM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_PM_PRIVATE_PATTERN_ID: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_ENABLED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_SUPPORTED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_ENABLED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_ENABLED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_ENABLED: u32 = 16u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_LINK_CHANGE_ENABLED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_CONNECT_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_ENABLED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_PACKET_INDICATION_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_PACKET_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WAKE_REASON_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_ENABLED: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_ENABLED: u32 = 65536u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_SUPPORTED: u32 = 65536u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_ENABLED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_ENABLED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_SUPPORTED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_ENABLED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_ENABLED: u32 = 8u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_SUPPORTED: u32 = 8u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_ENABLED: u32 = 2u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_2: u32 = 2u32; +pub const NDIS_PM_WOL_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_WOL_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_WOL_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PNP_WAKE_UP_LINK_CHANGE: u32 = 4u32; +pub const NDIS_PNP_WAKE_UP_MAGIC_PACKET: u32 = 1u32; +pub const NDIS_PNP_WAKE_UP_PATTERN_MATCH: u32 = 2u32; +pub const NDIS_POLL_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_POLL_DATA_REVISION_1: u32 = 1u32; +pub const NDIS_POLL_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_AUTHENTICATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHAR_USE_DEFAULT_AUTH_SETTINGS: u32 = 1u32; +pub const NDIS_PORT_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_CO_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_DRIVER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_DRIVER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_PROTOCOL_DRIVER_SUPPORTS_CURRENT_MAC_ADDRESS_CHANGE: u32 = 2u32; +pub const NDIS_PROTOCOL_DRIVER_SUPPORTS_L2_MTU_SIZE_CHANGE: u32 = 4u32; +pub const NDIS_PROTOCOL_ID_DEFAULT: u32 = 0u32; +pub const NDIS_PROTOCOL_ID_IP6: u32 = 3u32; +pub const NDIS_PROTOCOL_ID_IPX: u32 = 6u32; +pub const NDIS_PROTOCOL_ID_MASK: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_MAX: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_NBF: u32 = 7u32; +pub const NDIS_PROTOCOL_ID_TCP_IP: u32 = 2u32; +pub const NDIS_PROTOCOL_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_PROTOCOL_MINIMUM_MAJOR_VERSION: u32 = 4u32; +pub const NDIS_PROTOCOL_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_PROTOCOL_MINOR_VERSION: u32 = 87u32; +pub const NDIS_PROTOCOL_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PROT_OPTION_ESTIMATED_LENGTH: u32 = 1u32; +pub const NDIS_PROT_OPTION_NO_LOOPBACK: u32 = 2u32; +pub const NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT: u32 = 4u32; +pub const NDIS_PROT_OPTION_SEND_RESTRICTED: u32 = 8u32; +pub const NDIS_QOS_ACTION_MAXIMUM: u32 = 1u32; +pub const NDIS_QOS_ACTION_PRIORITY: u32 = 0u32; +pub const NDIS_QOS_CAPABILITIES_CEE_DCBX_SUPPORTED: u32 = 4u32; +pub const NDIS_QOS_CAPABILITIES_IEEE_DCBX_SUPPORTED: u32 = 8u32; +pub const NDIS_QOS_CAPABILITIES_MACSEC_BYPASS_SUPPORTED: u32 = 2u32; +pub const NDIS_QOS_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CAPABILITIES_STRICT_TSA_SUPPORTED: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ELEMENT_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ENFORCED_BY_MINIPORT: u32 = 16777216u32; +pub const NDIS_QOS_CLASSIFICATION_SET_BY_MINIPORT_MASK: u32 = 4278190080u32; +pub const NDIS_QOS_CONDITION_DEFAULT: u32 = 1u32; +pub const NDIS_QOS_CONDITION_ETHERTYPE: u32 = 5u32; +pub const NDIS_QOS_CONDITION_MAXIMUM: u32 = 7u32; +pub const NDIS_QOS_CONDITION_NETDIRECT_PORT: u32 = 6u32; +pub const NDIS_QOS_CONDITION_RESERVED: u32 = 0u32; +pub const NDIS_QOS_CONDITION_TCP_OR_UDP_PORT: u32 = 4u32; +pub const NDIS_QOS_CONDITION_TCP_PORT: u32 = 2u32; +pub const NDIS_QOS_CONDITION_UDP_PORT: u32 = 3u32; +pub const NDIS_QOS_DEFAULT_SQ_ID: u32 = 0u32; +pub const NDIS_QOS_MAXIMUM_PRIORITIES: u32 = 8u32; +pub const NDIS_QOS_MAXIMUM_TRAFFIC_CLASSES: u32 = 8u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_GFT_SQ: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_STANDARD_SQ: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CHANGED: u32 = 65536u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CONFIGURED: u32 = 131072u32; +pub const NDIS_QOS_PARAMETERS_ETS_CHANGED: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_ETS_CONFIGURED: u32 = 2u32; +pub const NDIS_QOS_PARAMETERS_PFC_CHANGED: u32 = 256u32; +pub const NDIS_QOS_PARAMETERS_PFC_CONFIGURED: u32 = 512u32; +pub const NDIS_QOS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_WILLING: u32 = 2147483648u32; +pub const NDIS_QOS_SQ_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_SQ_RECEIVE_CAP_ENABLED: u32 = 4u32; +pub const NDIS_QOS_SQ_STATS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_CAP_ENABLED: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_RESERVATION_ENABLED: u32 = 2u32; +pub const NDIS_QOS_TSA_CBS: u32 = 1u32; +pub const NDIS_QOS_TSA_ETS: u32 = 2u32; +pub const NDIS_QOS_TSA_MAXIMUM: u32 = 3u32; +pub const NDIS_QOS_TSA_STRICT: u32 = 0u32; +pub const NDIS_RECEIVE_FILTER_ANY_VLAN_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_OPERATION_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SPA_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_TPA_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_CLEAR_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_FOR_DEFAULT_QUEUE_SUPPORTED: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_FIELD_MAC_HEADER_VLAN_UNTAGGED_OR_ZERO: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_FLAGS_RESERVED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_MIN_OF_QUEUES_MODE: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_SUM_OF_QUEUES_MODE: u32 = 128u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_VPORT_ID_SPECIFIED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INTERRUPT_VECTOR_COALESCING_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_LOOKAHEAD_SPLIT_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_DEST_ADDR_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PACKET_TYPE_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PRIORITY_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PROTOCOL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SOURCE_ADDR_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_VLAN_ID_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_MOVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MSI_X_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_FILTERS_ENABLED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_SUPPORTED_ON_DEFAULT_QUEUE: u32 = 256u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION_GRE: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_QUEUE_STATE_CHANGE_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_RESERVED: u32 = 254u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_EQUAL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_MASK_EQUAL_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_NOT_EQUAL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_DEST_PORT_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_VMQ_FILTERS_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUES_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_RECEIVE_FLAGS_MORE_NBLS: u32 = 8192u32; +pub const NDIS_RECEIVE_FLAGS_PERFECT_FILTERED: u32 = 1024u32; +pub const NDIS_RECEIVE_FLAGS_RESOURCES: u32 = 2u32; +pub const NDIS_RECEIVE_FLAGS_SHARED_MEMORY_INFO_VALID: u32 = 4096u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_ETHER_TYPE: u32 = 256u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_QUEUE: u32 = 2048u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_VLAN: u32 = 512u32; +pub const NDIS_RECEIVE_FLAGS_SWITCH_DESTINATION_GROUP: u32 = 16384u32; +pub const NDIS_RECEIVE_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 32768u32; +pub const NDIS_RECEIVE_HASH_FLAG_ENABLE_HASH: u32 = 1u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_KEY_UNCHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_HASH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_FREE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_INTERRUPT_COALESCING_DOMAIN_ID_CHANGED: u32 = 1048576u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_LOOKAHEAD_SPLIT_REQUIRED: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_NAME_CHANGED: u32 = 524288u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PER_QUEUE_RECEIVE_INDICATION: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PROCESSOR_AFFINITY_CHANGED: u32 = 131072u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_QOS_SQ_ID_CHANGED: u32 = 2097152u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_SUGGESTED_RECV_BUFFER_NUMBERS_CHANGED: u32 = 262144u32; +pub const NDIS_RECEIVE_QUEUE_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_V2_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_ENABLE_RSS: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_INFO_CHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_KEY_CHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_ENTRIES_CHANGED: u32 = 16u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_QUEUES_CHANGED: u32 = 8u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_MAX_LOOKAHEAD_ACCESSED_DEFINED: u32 = 1u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_RETURN_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_RETURN_FLAGS_SINGLE_QUEUE: u32 = 2u32; +pub const NDIS_RETURN_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 4u32; +pub const NDIS_RING_AUTO_REMOVAL_ERROR: u32 = 1024u32; +pub const NDIS_RING_COUNTER_OVERFLOW: u32 = 256u32; +pub const NDIS_RING_HARD_ERROR: u32 = 16384u32; +pub const NDIS_RING_LOBE_WIRE_FAULT: u32 = 2048u32; +pub const NDIS_RING_REMOVE_RECEIVED: u32 = 512u32; +pub const NDIS_RING_RING_RECOVERY: u32 = 64u32; +pub const NDIS_RING_SIGNAL_LOSS: u32 = 32768u32; +pub const NDIS_RING_SINGLE_STATION: u32 = 128u32; +pub const NDIS_RING_SOFT_ERROR: u32 = 8192u32; +pub const NDIS_RING_TRANSMIT_BEACON: u32 = 4096u32; +pub const NDIS_ROUTING_DOMAIN_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_ROUTING_DOMAIN_ISOLATION_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_RSC_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_DPC: u32 = 67108864u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_ISR: u32 = 33554432u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV4: u32 = 256u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6: u32 = 512u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6_EX: u32 = 1024u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV4: u32 = 2048u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6: u32 = 4096u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6_EX: u32 = 8192u32; +pub const NDIS_RSS_CAPS_MESSAGE_SIGNALED_INTERRUPTS: u32 = 16777216u32; +pub const NDIS_RSS_CAPS_RSS_AVAILABLE_ON_PORTS: u32 = 268435456u32; +pub const NDIS_RSS_CAPS_SUPPORTS_INDEPENDENT_ENTRY_MOVE: u32 = 1073741824u32; +pub const NDIS_RSS_CAPS_SUPPORTS_MSI_X: u32 = 536870912u32; +pub const NDIS_RSS_CAPS_USING_MSI_X: u32 = 134217728u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_2: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_3: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_INDIRECTION_TABLE_MAX_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_INDIRECTION_TABLE_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_PARAM_FLAG_BASE_CPU_UNCHANGED: u32 = 1u32; +pub const NDIS_RSS_PARAM_FLAG_DEFAULT_PROCESSOR_UNCHANGED: u32 = 32u32; +pub const NDIS_RSS_PARAM_FLAG_DISABLE_RSS: u32 = 16u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_KEY_UNCHANGED: u32 = 8u32; +pub const NDIS_RSS_PARAM_FLAG_ITABLE_UNCHANGED: u32 = 4u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRIES_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_DEFAULT_PROCESSOR: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_PRIMARY_PROCESSOR: u32 = 1u32; +pub const NDIS_RUNTIME_VERSION_60: u32 = 393216u32; +pub const NDIS_RWL_AT_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SCATTER_GATHER_LIST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SEND_COMPLETE_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SEND_COMPLETE_FLAGS_SINGLE_QUEUE: u32 = 2u32; +pub const NDIS_SEND_COMPLETE_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 4u32; +pub const NDIS_SEND_FLAGS_CHECK_FOR_LOOPBACK: u32 = 2u32; +pub const NDIS_SEND_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SEND_FLAGS_SINGLE_QUEUE: u32 = 4u32; +pub const NDIS_SEND_FLAGS_SWITCH_DESTINATION_GROUP: u32 = 16u32; +pub const NDIS_SEND_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 32u32; +pub const NDIS_SG_DMA_64_BIT_ADDRESS: u32 = 1u32; +pub const NDIS_SG_DMA_DESCRIPTION_REVISION_1: u32 = 1u32; +pub const NDIS_SG_DMA_DESCRIPTION_REVISION_2: u32 = 2u32; +pub const NDIS_SG_DMA_HYBRID_DMA: u32 = 4u32; +pub const NDIS_SG_DMA_V3_HAL_API: u32 = 2u32; +pub const NDIS_SG_LIST_WRITE_TO_DEVICE: u64 = 1u64; +pub const NDIS_SHARED_MEMORY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SHARED_MEMORY_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_SHARED_MEMORY_PROVIDER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_SHARED_MEMORY_PROVIDER_CHAR_SUPPORTS_PF_VPORTS: u32 = 1u32; +pub const NDIS_SHARED_MEM_PARAMETERS_CONTIGOUS: u32 = 1u32; +pub const NDIS_SHARED_MEM_PARAMETERS_CONTIGUOUS: u32 = 1u32; +pub const NDIS_SIZEOF_NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 240u32; +pub const NDIS_SRIOV_BAR_RESOURCES_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_PF_MINIPORT: u32 = 2u32; +pub const NDIS_SRIOV_CAPS_SRIOV_SUPPORTED: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_VF_MINIPORT: u32 = 4u32; +pub const NDIS_SRIOV_CONFIG_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_OVERLYING_ADAPTER_INFO_VERSION_1: u32 = 1u32; +pub const NDIS_SRIOV_PF_LUID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_PROBED_BARS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_RESET_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_INVALIDATE_CONFIG_BLOCK_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_SERIAL_NUMBER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_STATISTICS_BROADCAST_BYTES_RCV_SUPPORTED: u32 = 32768u32; +pub const NDIS_STATISTICS_BROADCAST_BYTES_XMIT_SUPPORTED: u32 = 512u32; +pub const NDIS_STATISTICS_BROADCAST_FRAMES_RCV_SUPPORTED: u32 = 65536u32; +pub const NDIS_STATISTICS_BROADCAST_FRAMES_XMIT_SUPPORTED: u32 = 1024u32; +pub const NDIS_STATISTICS_BYTES_RCV_SUPPORTED: u32 = 524288u32; +pub const NDIS_STATISTICS_BYTES_XMIT_SUPPORTED: u32 = 1048576u32; +pub const NDIS_STATISTICS_DIRECTED_BYTES_RCV_SUPPORTED: u32 = 2048u32; +pub const NDIS_STATISTICS_DIRECTED_BYTES_XMIT_SUPPORTED: u32 = 32u32; +pub const NDIS_STATISTICS_DIRECTED_FRAMES_RCV_SUPPORTED: u32 = 4096u32; +pub const NDIS_STATISTICS_DIRECTED_FRAMES_XMIT_SUPPORTED: u32 = 64u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_RCV: u32 = 262144u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_XMIT: u32 = 2097152u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_RCV: u32 = 4u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_XMIT: u32 = 256u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_RCV: u32 = 8u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_XMIT: u32 = 512u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_RCV: u32 = 65536u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_XMIT: u32 = 524288u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_RCV: u32 = 1u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_XMIT: u32 = 64u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_RCV: u32 = 131072u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_XMIT: u32 = 1048576u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_RCV: u32 = 2u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_XMIT: u32 = 128u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_DISCARDS: u32 = 16u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_ERROR: u32 = 32u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_DISCARDS: u32 = 32768u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_ERROR: u32 = 1024u32; +pub const NDIS_STATISTICS_GEN_STATISTICS_SUPPORTED: u32 = 4194304u32; +pub const NDIS_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_STATISTICS_MULTICAST_BYTES_RCV_SUPPORTED: u32 = 8192u32; +pub const NDIS_STATISTICS_MULTICAST_BYTES_XMIT_SUPPORTED: u32 = 128u32; +pub const NDIS_STATISTICS_MULTICAST_FRAMES_RCV_SUPPORTED: u32 = 16384u32; +pub const NDIS_STATISTICS_MULTICAST_FRAMES_XMIT_SUPPORTED: u32 = 256u32; +pub const NDIS_STATISTICS_RCV_CRC_ERROR_SUPPORTED: u32 = 131072u32; +pub const NDIS_STATISTICS_RCV_DISCARDS_SUPPORTED: u32 = 2097152u32; +pub const NDIS_STATISTICS_RCV_ERROR_SUPPORTED: u32 = 8u32; +pub const NDIS_STATISTICS_RCV_NO_BUFFER_SUPPORTED: u32 = 16u32; +pub const NDIS_STATISTICS_RCV_OK_SUPPORTED: u32 = 2u32; +pub const NDIS_STATISTICS_TRANSMIT_QUEUE_LENGTH_SUPPORTED: u32 = 262144u32; +pub const NDIS_STATISTICS_XMIT_DISCARDS_SUPPORTED: u32 = 134217728u32; +pub const NDIS_STATISTICS_XMIT_ERROR_SUPPORTED: u32 = 4u32; +pub const NDIS_STATISTICS_XMIT_OK_SUPPORTED: u32 = 1u32; +pub const NDIS_STATUS_INDICATION_FLAGS_MEDIA_CONNECT_TO_CONNECT: u32 = 4096u32; +pub const NDIS_STATUS_INDICATION_FLAGS_NDIS_RESERVED: u32 = 4095u32; +pub const NDIS_STATUS_INDICATION_REVISION_1: u32 = 1u32; +pub const NDIS_SUPPORT_60_COMPATIBLE_API: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS6: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS61: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS620: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS630: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS640: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS650: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS651: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS660: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS670: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS680: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS681: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS682: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS683: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS684: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS685: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS686: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS687: u32 = 1u32; +pub const NDIS_SWITCH_COPY_NBL_INFO_FLAGS_PRESERVE_DESTINATIONS: u32 = 1u32; +pub const NDIS_SWITCH_COPY_NBL_INFO_FLAGS_PRESERVE_SWITCH_INFO_ONLY: u32 = 2u32; +pub const NDIS_SWITCH_DEFAULT_NIC_INDEX: u32 = 0u32; +pub const NDIS_SWITCH_DEFAULT_PORT_ID: u32 = 0u32; +pub const NDIS_SWITCH_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NET_BUFFER_LIST_CONTEXT_TYPE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_MAPPED_NIC_UPDATED: u32 = 4u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_INITIALIZING: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED: u32 = 2u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED_LM: u32 = 16u32; +pub const NDIS_SWITCH_NIC_OID_REQUEST_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_NIC_STATUS_INDICATION_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_OBJECT_SERIALIZATION_VERSION_1: u32 = 1u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_PD_RESERVED_SIZE: u32 = 14u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_RESTORING_PORT: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_UNTRUSTED_INTERNAL_PORT: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ISOLATION_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ROUTING_DOMAIN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PROPERTY_VLAN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_REPORT_FILTERED_NBL_FLAGS_IS_INCOMING: u32 = 1u32; +pub const NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1: u32 = 1u32; +pub const NDIS_SYSTEM_PROCESSOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_TASK_OFFLOAD_VERSION: u32 = 1u32; +pub const NDIS_TASK_TCP_LARGE_SEND_V0: u32 = 0u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_IPv4: u32 = 0u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_IPv6: u32 = 1u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_V1_TYPE: u32 = 0u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_V2_TYPE: u32 = 1u32; +pub const NDIS_TCP_RECV_SEG_COALESC_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_TIMER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_TIMESTAMP_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_UDP_SEGMENTATION_OFFLOAD_IPV4: u32 = 0u32; +pub const NDIS_UDP_SEGMENTATION_OFFLOAD_IPV6: u32 = 1u32; +pub const NDIS_WDF: u32 = 1u32; +pub const NDIS_WDM: u32 = 0u32; +pub const NDIS_WDM_DRIVER: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_ENABLED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_SUPPORTED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_ENABLED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_SUPPORTED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_ENABLED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_SUPPORTED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_ENABLED: u32 = 1u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_SUPPORTED: u32 = 1u32; +pub const NDIS_WMI_DEFAULT_METHOD_ID: u32 = 1u32; +pub const NDIS_WMI_ENUM_ADAPTER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_EVENT_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_METHOD_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_OBJECT_TYPE_ENUM_ADAPTER: u32 = 4u32; +pub const NDIS_WMI_OBJECT_TYPE_EVENT: u32 = 3u32; +pub const NDIS_WMI_OBJECT_TYPE_METHOD: u32 = 2u32; +pub const NDIS_WMI_OBJECT_TYPE_OUTPUT_INFO: u32 = 5u32; +pub const NDIS_WMI_OBJECT_TYPE_SET: u32 = 1u32; +pub const NDIS_WMI_PM_ACTIVE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_PM_ADMIN_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_SET_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_ENABLED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_SUPPORTED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_ENABLED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_SUPPORTED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_ENABLED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_SUPPORTED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_ENABLED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_SUPPORTED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_ENABLED: u32 = 4u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_SUPPORTED: u32 = 4u32; +pub const NET_BUFFER_LIST_POOL_FLAG_VERIFY: u32 = 1u32; +pub const NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NET_BUFFER_POOL_FLAG_VERIFY: u32 = 1u32; +pub const NET_BUFFER_POOL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NET_BUFFER_POOL_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NET_DEVICE_PNP_EVENT_REVISION_1: u32 = 1u32; +pub const NET_EVENT_FLAGS_VPORT_ID_VALID: u32 = 2u32; +pub const NET_EVENT_HALT_MINIPORT_ON_LOW_POWER: u32 = 1u32; +pub const NET_PNP_EVENT_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NET_PNP_EVENT_NOTIFICATION_REVISION_2: u32 = 2u32; +pub const Ndis802_11AuthModeAutoSwitch: NDIS_802_11_AUTHENTICATION_MODE = 2i32; +pub const Ndis802_11AuthModeMax: NDIS_802_11_AUTHENTICATION_MODE = 11i32; +pub const Ndis802_11AuthModeOpen: NDIS_802_11_AUTHENTICATION_MODE = 0i32; +pub const Ndis802_11AuthModeShared: NDIS_802_11_AUTHENTICATION_MODE = 1i32; +pub const Ndis802_11AuthModeWPA: NDIS_802_11_AUTHENTICATION_MODE = 3i32; +pub const Ndis802_11AuthModeWPA2: NDIS_802_11_AUTHENTICATION_MODE = 6i32; +pub const Ndis802_11AuthModeWPA2PSK: NDIS_802_11_AUTHENTICATION_MODE = 7i32; +pub const Ndis802_11AuthModeWPA3: NDIS_802_11_AUTHENTICATION_MODE = 8i32; +pub const Ndis802_11AuthModeWPA3Ent: NDIS_802_11_AUTHENTICATION_MODE = 10i32; +pub const Ndis802_11AuthModeWPA3Ent192: NDIS_802_11_AUTHENTICATION_MODE = 8i32; +pub const Ndis802_11AuthModeWPA3SAE: NDIS_802_11_AUTHENTICATION_MODE = 9i32; +pub const Ndis802_11AuthModeWPANone: NDIS_802_11_AUTHENTICATION_MODE = 5i32; +pub const Ndis802_11AuthModeWPAPSK: NDIS_802_11_AUTHENTICATION_MODE = 4i32; +pub const Ndis802_11AutoUnknown: NDIS_802_11_NETWORK_INFRASTRUCTURE = 2i32; +pub const Ndis802_11Automode: NDIS_802_11_NETWORK_TYPE = 4i32; +pub const Ndis802_11DS: NDIS_802_11_NETWORK_TYPE = 1i32; +pub const Ndis802_11Encryption1Enabled: NDIS_802_11_WEP_STATUS = 0i32; +pub const Ndis802_11Encryption1KeyAbsent: NDIS_802_11_WEP_STATUS = 2i32; +pub const Ndis802_11Encryption2Enabled: NDIS_802_11_WEP_STATUS = 4i32; +pub const Ndis802_11Encryption2KeyAbsent: NDIS_802_11_WEP_STATUS = 5i32; +pub const Ndis802_11Encryption3Enabled: NDIS_802_11_WEP_STATUS = 6i32; +pub const Ndis802_11Encryption3KeyAbsent: NDIS_802_11_WEP_STATUS = 7i32; +pub const Ndis802_11EncryptionDisabled: NDIS_802_11_WEP_STATUS = 1i32; +pub const Ndis802_11EncryptionNotSupported: NDIS_802_11_WEP_STATUS = 3i32; +pub const Ndis802_11FH: NDIS_802_11_NETWORK_TYPE = 0i32; +pub const Ndis802_11IBSS: NDIS_802_11_NETWORK_INFRASTRUCTURE = 0i32; +pub const Ndis802_11Infrastructure: NDIS_802_11_NETWORK_INFRASTRUCTURE = 1i32; +pub const Ndis802_11InfrastructureMax: NDIS_802_11_NETWORK_INFRASTRUCTURE = 3i32; +pub const Ndis802_11MediaStreamOff: NDIS_802_11_MEDIA_STREAM_MODE = 0i32; +pub const Ndis802_11MediaStreamOn: NDIS_802_11_MEDIA_STREAM_MODE = 1i32; +pub const Ndis802_11NetworkTypeMax: NDIS_802_11_NETWORK_TYPE = 5i32; +pub const Ndis802_11OFDM24: NDIS_802_11_NETWORK_TYPE = 3i32; +pub const Ndis802_11OFDM5: NDIS_802_11_NETWORK_TYPE = 2i32; +pub const Ndis802_11PowerModeCAM: NDIS_802_11_POWER_MODE = 0i32; +pub const Ndis802_11PowerModeFast_PSP: NDIS_802_11_POWER_MODE = 2i32; +pub const Ndis802_11PowerModeMAX_PSP: NDIS_802_11_POWER_MODE = 1i32; +pub const Ndis802_11PowerModeMax: NDIS_802_11_POWER_MODE = 3i32; +pub const Ndis802_11PrivFilter8021xWEP: NDIS_802_11_PRIVACY_FILTER = 1i32; +pub const Ndis802_11PrivFilterAcceptAll: NDIS_802_11_PRIVACY_FILTER = 0i32; +pub const Ndis802_11RadioStatusHardwareOff: NDIS_802_11_RADIO_STATUS = 1i32; +pub const Ndis802_11RadioStatusHardwareSoftwareOff: NDIS_802_11_RADIO_STATUS = 3i32; +pub const Ndis802_11RadioStatusMax: NDIS_802_11_RADIO_STATUS = 4i32; +pub const Ndis802_11RadioStatusOn: NDIS_802_11_RADIO_STATUS = 0i32; +pub const Ndis802_11RadioStatusSoftwareOff: NDIS_802_11_RADIO_STATUS = 2i32; +pub const Ndis802_11ReloadWEPKeys: NDIS_802_11_RELOAD_DEFAULTS = 0i32; +pub const Ndis802_11StatusTypeMax: NDIS_802_11_STATUS_TYPE = 3i32; +pub const Ndis802_11StatusType_Authentication: NDIS_802_11_STATUS_TYPE = 0i32; +pub const Ndis802_11StatusType_MediaStreamMode: NDIS_802_11_STATUS_TYPE = 1i32; +pub const Ndis802_11StatusType_PMKID_CandidateList: NDIS_802_11_STATUS_TYPE = 2i32; +pub const Ndis802_11WEPDisabled: NDIS_802_11_WEP_STATUS = 1i32; +pub const Ndis802_11WEPEnabled: NDIS_802_11_WEP_STATUS = 0i32; +pub const Ndis802_11WEPKeyAbsent: NDIS_802_11_WEP_STATUS = 2i32; +pub const Ndis802_11WEPNotSupported: NDIS_802_11_WEP_STATUS = 3i32; +pub const NdisClass802_3Priority: NDIS_CLASS_ID = 0i32; +pub const NdisClassAtmAALInfo: NDIS_CLASS_ID = 3i32; +pub const NdisClassIrdaPacketInfo: NDIS_CLASS_ID = 2i32; +pub const NdisClassWirelessWanMbxMailbox: NDIS_CLASS_ID = 1i32; +pub const NdisDefinitelyNetworkChange: NDIS_NETWORK_CHANGE_TYPE = 2i32; +pub const NdisDevicePnPEventMaximum: NDIS_DEVICE_PNP_EVENT = 6i32; +pub const NdisDevicePnPEventPowerProfileChanged: NDIS_DEVICE_PNP_EVENT = 5i32; +pub const NdisDevicePnPEventQueryRemoved: NDIS_DEVICE_PNP_EVENT = 0i32; +pub const NdisDevicePnPEventQueryStopped: NDIS_DEVICE_PNP_EVENT = 3i32; +pub const NdisDevicePnPEventRemoved: NDIS_DEVICE_PNP_EVENT = 1i32; +pub const NdisDevicePnPEventStopped: NDIS_DEVICE_PNP_EVENT = 4i32; +pub const NdisDevicePnPEventSurpriseRemoved: NDIS_DEVICE_PNP_EVENT = 2i32; +pub const NdisDeviceStateD0: NDIS_DEVICE_POWER_STATE = 1i32; +pub const NdisDeviceStateD1: NDIS_DEVICE_POWER_STATE = 2i32; +pub const NdisDeviceStateD2: NDIS_DEVICE_POWER_STATE = 3i32; +pub const NdisDeviceStateD3: NDIS_DEVICE_POWER_STATE = 4i32; +pub const NdisDeviceStateMaximum: NDIS_DEVICE_POWER_STATE = 5i32; +pub const NdisDeviceStateUnspecified: NDIS_DEVICE_POWER_STATE = 0i32; +pub const NdisEnvironmentWindows: NDIS_ENVIRONMENT_TYPE = 0i32; +pub const NdisEnvironmentWindowsNt: NDIS_ENVIRONMENT_TYPE = 1i32; +pub const NdisFddiRingDetect: NDIS_FDDI_RING_MGT_STATE = 4i32; +pub const NdisFddiRingDirected: NDIS_FDDI_RING_MGT_STATE = 7i32; +pub const NdisFddiRingIsolated: NDIS_FDDI_RING_MGT_STATE = 1i32; +pub const NdisFddiRingNonOperational: NDIS_FDDI_RING_MGT_STATE = 2i32; +pub const NdisFddiRingNonOperationalDup: NDIS_FDDI_RING_MGT_STATE = 5i32; +pub const NdisFddiRingOperational: NDIS_FDDI_RING_MGT_STATE = 3i32; +pub const NdisFddiRingOperationalDup: NDIS_FDDI_RING_MGT_STATE = 6i32; +pub const NdisFddiRingTrace: NDIS_FDDI_RING_MGT_STATE = 8i32; +pub const NdisFddiStateActive: NDIS_FDDI_LCONNECTION_STATE = 9i32; +pub const NdisFddiStateBreak: NDIS_FDDI_LCONNECTION_STATE = 2i32; +pub const NdisFddiStateConnect: NDIS_FDDI_LCONNECTION_STATE = 4i32; +pub const NdisFddiStateJoin: NDIS_FDDI_LCONNECTION_STATE = 7i32; +pub const NdisFddiStateMaintenance: NDIS_FDDI_LCONNECTION_STATE = 10i32; +pub const NdisFddiStateNext: NDIS_FDDI_LCONNECTION_STATE = 5i32; +pub const NdisFddiStateOff: NDIS_FDDI_LCONNECTION_STATE = 1i32; +pub const NdisFddiStateSignal: NDIS_FDDI_LCONNECTION_STATE = 6i32; +pub const NdisFddiStateTrace: NDIS_FDDI_LCONNECTION_STATE = 3i32; +pub const NdisFddiStateVerify: NDIS_FDDI_LCONNECTION_STATE = 8i32; +pub const NdisFddiTypeCWrapA: NDIS_FDDI_ATTACHMENT_TYPE = 10i32; +pub const NdisFddiTypeCWrapB: NDIS_FDDI_ATTACHMENT_TYPE = 11i32; +pub const NdisFddiTypeCWrapS: NDIS_FDDI_ATTACHMENT_TYPE = 12i32; +pub const NdisFddiTypeIsolated: NDIS_FDDI_ATTACHMENT_TYPE = 1i32; +pub const NdisFddiTypeLocalA: NDIS_FDDI_ATTACHMENT_TYPE = 2i32; +pub const NdisFddiTypeLocalAB: NDIS_FDDI_ATTACHMENT_TYPE = 4i32; +pub const NdisFddiTypeLocalB: NDIS_FDDI_ATTACHMENT_TYPE = 3i32; +pub const NdisFddiTypeLocalS: NDIS_FDDI_ATTACHMENT_TYPE = 5i32; +pub const NdisFddiTypeThrough: NDIS_FDDI_ATTACHMENT_TYPE = 13i32; +pub const NdisFddiTypeWrapA: NDIS_FDDI_ATTACHMENT_TYPE = 6i32; +pub const NdisFddiTypeWrapAB: NDIS_FDDI_ATTACHMENT_TYPE = 8i32; +pub const NdisFddiTypeWrapB: NDIS_FDDI_ATTACHMENT_TYPE = 7i32; +pub const NdisFddiTypeWrapS: NDIS_FDDI_ATTACHMENT_TYPE = 9i32; +pub const NdisHardwareStatusClosing: NDIS_HARDWARE_STATUS = 3i32; +pub const NdisHardwareStatusInitializing: NDIS_HARDWARE_STATUS = 1i32; +pub const NdisHardwareStatusNotReady: NDIS_HARDWARE_STATUS = 4i32; +pub const NdisHardwareStatusReady: NDIS_HARDWARE_STATUS = 0i32; +pub const NdisHardwareStatusReset: NDIS_HARDWARE_STATUS = 2i32; +pub const NdisHashFunctionReserved1: u32 = 2u32; +pub const NdisHashFunctionReserved2: u32 = 4u32; +pub const NdisHashFunctionReserved3: u32 = 8u32; +pub const NdisHashFunctionToeplitz: u32 = 1u32; +pub const NdisInterface1394: NDIS_INTERFACE_TYPE = 18i32; +pub const NdisInterfaceCBus: NDIS_INTERFACE_TYPE = 9i32; +pub const NdisInterfaceEisa: NDIS_INTERFACE_TYPE = 2i32; +pub const NdisInterfaceInternal: NDIS_INTERFACE_TYPE = 0i32; +pub const NdisInterfaceInternalPowerBus: NDIS_INTERFACE_TYPE = 13i32; +pub const NdisInterfaceIrda: NDIS_INTERFACE_TYPE = 17i32; +pub const NdisInterfaceIsa: NDIS_INTERFACE_TYPE = 1i32; +pub const NdisInterfaceMPIBus: NDIS_INTERFACE_TYPE = 10i32; +pub const NdisInterfaceMPSABus: NDIS_INTERFACE_TYPE = 11i32; +pub const NdisInterfaceMca: NDIS_INTERFACE_TYPE = 3i32; +pub const NdisInterfacePNPBus: NDIS_INTERFACE_TYPE = 15i32; +pub const NdisInterfacePNPISABus: NDIS_INTERFACE_TYPE = 14i32; +pub const NdisInterfacePcMcia: NDIS_INTERFACE_TYPE = 8i32; +pub const NdisInterfacePci: NDIS_INTERFACE_TYPE = 5i32; +pub const NdisInterfaceProcessorInternal: NDIS_INTERFACE_TYPE = 12i32; +pub const NdisInterfaceTurboChannel: NDIS_INTERFACE_TYPE = 4i32; +pub const NdisInterfaceUSB: NDIS_INTERFACE_TYPE = 16i32; +pub const NdisInterruptModerationDisabled: NDIS_INTERRUPT_MODERATION = 3i32; +pub const NdisInterruptModerationEnabled: NDIS_INTERRUPT_MODERATION = 2i32; +pub const NdisInterruptModerationNotSupported: NDIS_INTERRUPT_MODERATION = 1i32; +pub const NdisInterruptModerationUnknown: NDIS_INTERRUPT_MODERATION = 0i32; +pub const NdisMaximumInterfaceType: NDIS_INTERFACE_TYPE = 19i32; +pub const NdisMediaStateConnected: NDIS_MEDIA_STATE = 0i32; +pub const NdisMediaStateDisconnected: NDIS_MEDIA_STATE = 1i32; +pub const NdisMedium1394: NDIS_MEDIUM = 13i32; +pub const NdisMedium802_3: NDIS_MEDIUM = 0i32; +pub const NdisMedium802_5: NDIS_MEDIUM = 1i32; +pub const NdisMediumArcnet878_2: NDIS_MEDIUM = 7i32; +pub const NdisMediumArcnetRaw: NDIS_MEDIUM = 6i32; +pub const NdisMediumAtm: NDIS_MEDIUM = 8i32; +pub const NdisMediumBpc: NDIS_MEDIUM = 11i32; +pub const NdisMediumCoWan: NDIS_MEDIUM = 12i32; +pub const NdisMediumDix: NDIS_MEDIUM = 5i32; +pub const NdisMediumFddi: NDIS_MEDIUM = 2i32; +pub const NdisMediumIP: NDIS_MEDIUM = 19i32; +pub const NdisMediumInfiniBand: NDIS_MEDIUM = 14i32; +pub const NdisMediumIrda: NDIS_MEDIUM = 10i32; +pub const NdisMediumLocalTalk: NDIS_MEDIUM = 4i32; +pub const NdisMediumLoopback: NDIS_MEDIUM = 17i32; +pub const NdisMediumMax: NDIS_MEDIUM = 20i32; +pub const NdisMediumNative802_11: NDIS_MEDIUM = 16i32; +pub const NdisMediumTunnel: NDIS_MEDIUM = 15i32; +pub const NdisMediumWan: NDIS_MEDIUM = 3i32; +pub const NdisMediumWiMAX: NDIS_MEDIUM = 18i32; +pub const NdisMediumWirelessWan: NDIS_MEDIUM = 9i32; +pub const NdisNetworkChangeFromMediaConnect: NDIS_NETWORK_CHANGE_TYPE = 3i32; +pub const NdisNetworkChangeMax: NDIS_NETWORK_CHANGE_TYPE = 4i32; +pub const NdisParameterBinary: NDIS_PARAMETER_TYPE = 4i32; +pub const NdisParameterHexInteger: NDIS_PARAMETER_TYPE = 1i32; +pub const NdisParameterInteger: NDIS_PARAMETER_TYPE = 0i32; +pub const NdisParameterMultiString: NDIS_PARAMETER_TYPE = 3i32; +pub const NdisParameterString: NDIS_PARAMETER_TYPE = 2i32; +pub const NdisPauseFunctionsReceiveOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 2i32; +pub const NdisPauseFunctionsSendAndReceive: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 3i32; +pub const NdisPauseFunctionsSendOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 1i32; +pub const NdisPauseFunctionsUnknown: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 4i32; +pub const NdisPauseFunctionsUnsupported: NDIS_SUPPORTED_PAUSE_FUNCTIONS = 0i32; +pub const NdisPhysicalMedium1394: NDIS_PHYSICAL_MEDIUM = 7i32; +pub const NdisPhysicalMedium802_3: NDIS_PHYSICAL_MEDIUM = 14i32; +pub const NdisPhysicalMedium802_5: NDIS_PHYSICAL_MEDIUM = 15i32; +pub const NdisPhysicalMediumBluetooth: NDIS_PHYSICAL_MEDIUM = 10i32; +pub const NdisPhysicalMediumCableModem: NDIS_PHYSICAL_MEDIUM = 2i32; +pub const NdisPhysicalMediumDSL: NDIS_PHYSICAL_MEDIUM = 5i32; +pub const NdisPhysicalMediumFibreChannel: NDIS_PHYSICAL_MEDIUM = 6i32; +pub const NdisPhysicalMediumInfiniband: NDIS_PHYSICAL_MEDIUM = 11i32; +pub const NdisPhysicalMediumIrda: NDIS_PHYSICAL_MEDIUM = 16i32; +pub const NdisPhysicalMediumMax: NDIS_PHYSICAL_MEDIUM = 21i32; +pub const NdisPhysicalMediumNative802_11: NDIS_PHYSICAL_MEDIUM = 9i32; +pub const NdisPhysicalMediumNative802_15_4: NDIS_PHYSICAL_MEDIUM = 20i32; +pub const NdisPhysicalMediumOther: NDIS_PHYSICAL_MEDIUM = 19i32; +pub const NdisPhysicalMediumPhoneLine: NDIS_PHYSICAL_MEDIUM = 3i32; +pub const NdisPhysicalMediumPowerLine: NDIS_PHYSICAL_MEDIUM = 4i32; +pub const NdisPhysicalMediumUWB: NDIS_PHYSICAL_MEDIUM = 13i32; +pub const NdisPhysicalMediumUnspecified: NDIS_PHYSICAL_MEDIUM = 0i32; +pub const NdisPhysicalMediumWiMax: NDIS_PHYSICAL_MEDIUM = 12i32; +pub const NdisPhysicalMediumWiredCoWan: NDIS_PHYSICAL_MEDIUM = 18i32; +pub const NdisPhysicalMediumWiredWAN: NDIS_PHYSICAL_MEDIUM = 17i32; +pub const NdisPhysicalMediumWirelessLan: NDIS_PHYSICAL_MEDIUM = 1i32; +pub const NdisPhysicalMediumWirelessWan: NDIS_PHYSICAL_MEDIUM = 8i32; +pub const NdisPortAuthorizationUnknown: NDIS_PORT_AUTHORIZATION_STATE = 0i32; +pub const NdisPortAuthorized: NDIS_PORT_AUTHORIZATION_STATE = 1i32; +pub const NdisPortControlStateControlled: NDIS_PORT_CONTROL_STATE = 1i32; +pub const NdisPortControlStateUncontrolled: NDIS_PORT_CONTROL_STATE = 2i32; +pub const NdisPortControlStateUnknown: NDIS_PORT_CONTROL_STATE = 0i32; +pub const NdisPortReauthorizing: NDIS_PORT_AUTHORIZATION_STATE = 3i32; +pub const NdisPortType8021xSupplicant: NDIS_PORT_TYPE = 3i32; +pub const NdisPortTypeBridge: NDIS_PORT_TYPE = 1i32; +pub const NdisPortTypeMax: NDIS_PORT_TYPE = 4i32; +pub const NdisPortTypeRasConnection: NDIS_PORT_TYPE = 2i32; +pub const NdisPortTypeUndefined: NDIS_PORT_TYPE = 0i32; +pub const NdisPortUnauthorized: NDIS_PORT_AUTHORIZATION_STATE = 2i32; +pub const NdisPossibleNetworkChange: NDIS_NETWORK_CHANGE_TYPE = 1i32; +pub const NdisPowerProfileAcOnLine: NDIS_POWER_PROFILE = 1i32; +pub const NdisPowerProfileBattery: NDIS_POWER_PROFILE = 0i32; +pub const NdisProcessorAlpha: NDIS_PROCESSOR_TYPE = 2i32; +pub const NdisProcessorAmd64: NDIS_PROCESSOR_TYPE = 4i32; +pub const NdisProcessorArm: NDIS_PROCESSOR_TYPE = 6i32; +pub const NdisProcessorArm64: NDIS_PROCESSOR_TYPE = 7i32; +pub const NdisProcessorIA64: NDIS_PROCESSOR_TYPE = 5i32; +pub const NdisProcessorMips: NDIS_PROCESSOR_TYPE = 1i32; +pub const NdisProcessorPpc: NDIS_PROCESSOR_TYPE = 3i32; +pub const NdisProcessorVendorAuthenticAMD: NDIS_PROCESSOR_VENDOR = 2i32; +pub const NdisProcessorVendorGenuinIntel: NDIS_PROCESSOR_VENDOR = 1i32; +pub const NdisProcessorVendorGenuineIntel: NDIS_PROCESSOR_VENDOR = 1i32; +pub const NdisProcessorVendorUnknown: NDIS_PROCESSOR_VENDOR = 0i32; +pub const NdisProcessorX86: NDIS_PROCESSOR_TYPE = 0i32; +pub const NdisRequestClose: NDIS_REQUEST_TYPE = 4i32; +pub const NdisRequestGeneric1: NDIS_REQUEST_TYPE = 8i32; +pub const NdisRequestGeneric2: NDIS_REQUEST_TYPE = 9i32; +pub const NdisRequestGeneric3: NDIS_REQUEST_TYPE = 10i32; +pub const NdisRequestGeneric4: NDIS_REQUEST_TYPE = 11i32; +pub const NdisRequestOpen: NDIS_REQUEST_TYPE = 3i32; +pub const NdisRequestQueryInformation: NDIS_REQUEST_TYPE = 0i32; +pub const NdisRequestQueryStatistics: NDIS_REQUEST_TYPE = 2i32; +pub const NdisRequestReset: NDIS_REQUEST_TYPE = 7i32; +pub const NdisRequestSend: NDIS_REQUEST_TYPE = 5i32; +pub const NdisRequestSetInformation: NDIS_REQUEST_TYPE = 1i32; +pub const NdisRequestTransferData: NDIS_REQUEST_TYPE = 6i32; +pub const NdisReserved: NDIS_PER_PACKET_INFO = 4i32; +pub const NdisRingStateClosed: NDIS_802_5_RING_STATE = 2i32; +pub const NdisRingStateClosing: NDIS_802_5_RING_STATE = 4i32; +pub const NdisRingStateOpenFailure: NDIS_802_5_RING_STATE = 5i32; +pub const NdisRingStateOpened: NDIS_802_5_RING_STATE = 1i32; +pub const NdisRingStateOpening: NDIS_802_5_RING_STATE = 3i32; +pub const NdisRingStateRingFailure: NDIS_802_5_RING_STATE = 6i32; +pub const NdisWanErrorControl: NDIS_WAN_QUALITY = 1i32; +pub const NdisWanHeaderEthernet: NDIS_WAN_HEADER_FORMAT = 1i32; +pub const NdisWanHeaderNative: NDIS_WAN_HEADER_FORMAT = 0i32; +pub const NdisWanMediumAgileVPN: NDIS_WAN_MEDIUM_SUBTYPE = 14i32; +pub const NdisWanMediumAtm: NDIS_WAN_MEDIUM_SUBTYPE = 5i32; +pub const NdisWanMediumFrameRelay: NDIS_WAN_MEDIUM_SUBTYPE = 4i32; +pub const NdisWanMediumGre: NDIS_WAN_MEDIUM_SUBTYPE = 15i32; +pub const NdisWanMediumHub: NDIS_WAN_MEDIUM_SUBTYPE = 0i32; +pub const NdisWanMediumIrda: NDIS_WAN_MEDIUM_SUBTYPE = 10i32; +pub const NdisWanMediumIsdn: NDIS_WAN_MEDIUM_SUBTYPE = 2i32; +pub const NdisWanMediumL2TP: NDIS_WAN_MEDIUM_SUBTYPE = 9i32; +pub const NdisWanMediumPPTP: NDIS_WAN_MEDIUM_SUBTYPE = 8i32; +pub const NdisWanMediumParallel: NDIS_WAN_MEDIUM_SUBTYPE = 11i32; +pub const NdisWanMediumPppoe: NDIS_WAN_MEDIUM_SUBTYPE = 12i32; +pub const NdisWanMediumSSTP: NDIS_WAN_MEDIUM_SUBTYPE = 13i32; +pub const NdisWanMediumSW56K: NDIS_WAN_MEDIUM_SUBTYPE = 7i32; +pub const NdisWanMediumSerial: NDIS_WAN_MEDIUM_SUBTYPE = 3i32; +pub const NdisWanMediumSonet: NDIS_WAN_MEDIUM_SUBTYPE = 6i32; +pub const NdisWanMediumSubTypeMax: NDIS_WAN_MEDIUM_SUBTYPE = 16i32; +pub const NdisWanMediumX_25: NDIS_WAN_MEDIUM_SUBTYPE = 1i32; +pub const NdisWanRaw: NDIS_WAN_QUALITY = 0i32; +pub const NdisWanReliable: NDIS_WAN_QUALITY = 2i32; +pub const OFFLOAD_INBOUND_SA: u32 = 1u32; +pub const OFFLOAD_IPSEC_CONF_3_DES: OFFLOAD_CONF_ALGO = 3i32; +pub const OFFLOAD_IPSEC_CONF_DES: OFFLOAD_CONF_ALGO = 1i32; +pub const OFFLOAD_IPSEC_CONF_MAX: OFFLOAD_CONF_ALGO = 4i32; +pub const OFFLOAD_IPSEC_CONF_NONE: OFFLOAD_CONF_ALGO = 0i32; +pub const OFFLOAD_IPSEC_CONF_RESERVED: OFFLOAD_CONF_ALGO = 2i32; +pub const OFFLOAD_IPSEC_INTEGRITY_MAX: OFFLOAD_INTEGRITY_ALGO = 3i32; +pub const OFFLOAD_IPSEC_INTEGRITY_MD5: OFFLOAD_INTEGRITY_ALGO = 1i32; +pub const OFFLOAD_IPSEC_INTEGRITY_NONE: OFFLOAD_INTEGRITY_ALGO = 0i32; +pub const OFFLOAD_IPSEC_INTEGRITY_SHA: OFFLOAD_INTEGRITY_ALGO = 2i32; +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_IKE: UDP_ENCAP_TYPE = 0i32; +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_OTHER: UDP_ENCAP_TYPE = 1i32; +pub const OFFLOAD_MAX_SAS: u32 = 3u32; +pub const OFFLOAD_OUTBOUND_SA: u32 = 2u32; +pub const OID_1394_LOCAL_NODE_INFO: u32 = 201392385u32; +pub const OID_1394_VC_INFO: u32 = 201392386u32; +pub const OID_802_11_ADD_KEY: u32 = 218169629u32; +pub const OID_802_11_ADD_WEP: u32 = 218169619u32; +pub const OID_802_11_ASSOCIATION_INFORMATION: u32 = 218169631u32; +pub const OID_802_11_AUTHENTICATION_MODE: u32 = 218169624u32; +pub const OID_802_11_BSSID: u32 = 218169601u32; +pub const OID_802_11_BSSID_LIST: u32 = 218169879u32; +pub const OID_802_11_BSSID_LIST_SCAN: u32 = 218169626u32; +pub const OID_802_11_CAPABILITY: u32 = 218169634u32; +pub const OID_802_11_CONFIGURATION: u32 = 218169873u32; +pub const OID_802_11_DESIRED_RATES: u32 = 218169872u32; +pub const OID_802_11_DISASSOCIATE: u32 = 218169621u32; +pub const OID_802_11_ENCRYPTION_STATUS: u32 = 218169627u32; +pub const OID_802_11_FRAGMENTATION_THRESHOLD: u32 = 218169865u32; +pub const OID_802_11_INFRASTRUCTURE_MODE: u32 = 218169608u32; +pub const OID_802_11_MEDIA_STREAM_MODE: u32 = 218169633u32; +pub const OID_802_11_NETWORK_TYPES_SUPPORTED: u32 = 218169859u32; +pub const OID_802_11_NETWORK_TYPE_IN_USE: u32 = 218169860u32; +pub const OID_802_11_NON_BCAST_SSID_LIST: u32 = 218169636u32; +pub const OID_802_11_NUMBER_OF_ANTENNAS: u32 = 218169867u32; +pub const OID_802_11_PMKID: u32 = 218169635u32; +pub const OID_802_11_POWER_MODE: u32 = 218169878u32; +pub const OID_802_11_PRIVACY_FILTER: u32 = 218169625u32; +pub const OID_802_11_RADIO_STATUS: u32 = 218169637u32; +pub const OID_802_11_RELOAD_DEFAULTS: u32 = 218169628u32; +pub const OID_802_11_REMOVE_KEY: u32 = 218169630u32; +pub const OID_802_11_REMOVE_WEP: u32 = 218169620u32; +pub const OID_802_11_RSSI: u32 = 218169862u32; +pub const OID_802_11_RSSI_TRIGGER: u32 = 218169863u32; +pub const OID_802_11_RTS_THRESHOLD: u32 = 218169866u32; +pub const OID_802_11_RX_ANTENNA_SELECTED: u32 = 218169868u32; +pub const OID_802_11_SSID: u32 = 218169602u32; +pub const OID_802_11_STATISTICS: u32 = 218235410u32; +pub const OID_802_11_SUPPORTED_RATES: u32 = 218169870u32; +pub const OID_802_11_TEST: u32 = 218169632u32; +pub const OID_802_11_TX_ANTENNA_SELECTED: u32 = 218169869u32; +pub const OID_802_11_TX_POWER_LEVEL: u32 = 218169861u32; +pub const OID_802_11_WEP_STATUS: u32 = 218169627u32; +pub const OID_802_3_ADD_MULTICAST_ADDRESS: u32 = 16843272u32; +pub const OID_802_3_CURRENT_ADDRESS: u32 = 16843010u32; +pub const OID_802_3_DELETE_MULTICAST_ADDRESS: u32 = 16843273u32; +pub const OID_802_3_MAC_OPTIONS: u32 = 16843013u32; +pub const OID_802_3_MAXIMUM_LIST_SIZE: u32 = 16843012u32; +pub const OID_802_3_MULTICAST_LIST: u32 = 16843011u32; +pub const OID_802_3_PERMANENT_ADDRESS: u32 = 16843009u32; +pub const OID_802_3_RCV_ERROR_ALIGNMENT: u32 = 16908545u32; +pub const OID_802_3_RCV_OVERRUN: u32 = 16908803u32; +pub const OID_802_3_XMIT_DEFERRED: u32 = 16908801u32; +pub const OID_802_3_XMIT_HEARTBEAT_FAILURE: u32 = 16908805u32; +pub const OID_802_3_XMIT_LATE_COLLISIONS: u32 = 16908807u32; +pub const OID_802_3_XMIT_MAX_COLLISIONS: u32 = 16908802u32; +pub const OID_802_3_XMIT_MORE_COLLISIONS: u32 = 16908547u32; +pub const OID_802_3_XMIT_ONE_COLLISION: u32 = 16908546u32; +pub const OID_802_3_XMIT_TIMES_CRS_LOST: u32 = 16908806u32; +pub const OID_802_3_XMIT_UNDERRUN: u32 = 16908804u32; +pub const OID_802_5_ABORT_DELIMETERS: u32 = 33686019u32; +pub const OID_802_5_AC_ERRORS: u32 = 33686018u32; +pub const OID_802_5_BURST_ERRORS: u32 = 33686017u32; +pub const OID_802_5_CURRENT_ADDRESS: u32 = 33620226u32; +pub const OID_802_5_CURRENT_FUNCTIONAL: u32 = 33620227u32; +pub const OID_802_5_CURRENT_GROUP: u32 = 33620228u32; +pub const OID_802_5_CURRENT_RING_STATE: u32 = 33620231u32; +pub const OID_802_5_CURRENT_RING_STATUS: u32 = 33620230u32; +pub const OID_802_5_FRAME_COPIED_ERRORS: u32 = 33686020u32; +pub const OID_802_5_FREQUENCY_ERRORS: u32 = 33686021u32; +pub const OID_802_5_INTERNAL_ERRORS: u32 = 33686023u32; +pub const OID_802_5_LAST_OPEN_STATUS: u32 = 33620229u32; +pub const OID_802_5_LINE_ERRORS: u32 = 33685761u32; +pub const OID_802_5_LOST_FRAMES: u32 = 33685762u32; +pub const OID_802_5_PERMANENT_ADDRESS: u32 = 33620225u32; +pub const OID_802_5_TOKEN_ERRORS: u32 = 33686022u32; +pub const OID_ARCNET_CURRENT_ADDRESS: u32 = 100729090u32; +pub const OID_ARCNET_PERMANENT_ADDRESS: u32 = 100729089u32; +pub const OID_ARCNET_RECONFIGURATIONS: u32 = 100794881u32; +pub const OID_ATM_ACQUIRE_ACCESS_NET_RESOURCES: u32 = 134283779u32; +pub const OID_ATM_ALIGNMENT_REQUIRED: u32 = 134283784u32; +pub const OID_ATM_ASSIGNED_VPI: u32 = 134283778u32; +pub const OID_ATM_CALL_ALERTING: u32 = 134283788u32; +pub const OID_ATM_CALL_NOTIFY: u32 = 134283790u32; +pub const OID_ATM_CALL_PROCEEDING: u32 = 134283787u32; +pub const OID_ATM_CELLS_HEC_ERROR: u32 = 134349314u32; +pub const OID_ATM_DIGITAL_BROADCAST_VPIVCI: u32 = 134283782u32; +pub const OID_ATM_GET_NEAREST_FLOW: u32 = 134283783u32; +pub const OID_ATM_HW_CURRENT_ADDRESS: u32 = 134283524u32; +pub const OID_ATM_ILMI_VPIVCI: u32 = 134283781u32; +pub const OID_ATM_LECS_ADDRESS: u32 = 134283785u32; +pub const OID_ATM_MAX_AAL0_PACKET_SIZE: u32 = 134283528u32; +pub const OID_ATM_MAX_AAL1_PACKET_SIZE: u32 = 134283529u32; +pub const OID_ATM_MAX_AAL34_PACKET_SIZE: u32 = 134283530u32; +pub const OID_ATM_MAX_AAL5_PACKET_SIZE: u32 = 134283531u32; +pub const OID_ATM_MAX_ACTIVE_VCI_BITS: u32 = 134283526u32; +pub const OID_ATM_MAX_ACTIVE_VCS: u32 = 134283525u32; +pub const OID_ATM_MAX_ACTIVE_VPI_BITS: u32 = 134283527u32; +pub const OID_ATM_MY_IP_NM_ADDRESS: u32 = 134283791u32; +pub const OID_ATM_PARTY_ALERTING: u32 = 134283789u32; +pub const OID_ATM_RCV_CELLS_DROPPED: u32 = 134349059u32; +pub const OID_ATM_RCV_CELLS_OK: u32 = 134349057u32; +pub const OID_ATM_RCV_INVALID_VPI_VCI: u32 = 134349313u32; +pub const OID_ATM_RCV_REASSEMBLY_ERROR: u32 = 134349315u32; +pub const OID_ATM_RELEASE_ACCESS_NET_RESOURCES: u32 = 134283780u32; +pub const OID_ATM_SERVICE_ADDRESS: u32 = 134283786u32; +pub const OID_ATM_SIGNALING_VPIVCI: u32 = 134283777u32; +pub const OID_ATM_SUPPORTED_AAL_TYPES: u32 = 134283523u32; +pub const OID_ATM_SUPPORTED_SERVICE_CATEGORY: u32 = 134283522u32; +pub const OID_ATM_SUPPORTED_VC_RATES: u32 = 134283521u32; +pub const OID_ATM_XMIT_CELLS_OK: u32 = 134349058u32; +pub const OID_CO_ADDRESS_CHANGE: u32 = 4261412871u32; +pub const OID_CO_ADD_ADDRESS: u32 = 4261412868u32; +pub const OID_CO_ADD_PVC: u32 = 4261412865u32; +pub const OID_CO_AF_CLOSE: u32 = 4261412874u32; +pub const OID_CO_DELETE_ADDRESS: u32 = 4261412869u32; +pub const OID_CO_DELETE_PVC: u32 = 4261412866u32; +pub const OID_CO_GET_ADDRESSES: u32 = 4261412870u32; +pub const OID_CO_GET_CALL_INFORMATION: u32 = 4261412867u32; +pub const OID_CO_SIGNALING_DISABLED: u32 = 4261412873u32; +pub const OID_CO_SIGNALING_ENABLED: u32 = 4261412872u32; +pub const OID_CO_TAPI_ADDRESS_CAPS: u32 = 4261416963u32; +pub const OID_CO_TAPI_CM_CAPS: u32 = 4261416961u32; +pub const OID_CO_TAPI_DONT_REPORT_DIGITS: u32 = 4261416969u32; +pub const OID_CO_TAPI_GET_CALL_DIAGNOSTICS: u32 = 4261416967u32; +pub const OID_CO_TAPI_LINE_CAPS: u32 = 4261416962u32; +pub const OID_CO_TAPI_REPORT_DIGITS: u32 = 4261416968u32; +pub const OID_CO_TAPI_TRANSLATE_NDIS_CALLPARAMS: u32 = 4261416965u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_CALLPARAMS: u32 = 4261416964u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_SAP: u32 = 4261416966u32; +pub const OID_FDDI_ATTACHMENT_TYPE: u32 = 50462977u32; +pub const OID_FDDI_DOWNSTREAM_NODE_LONG: u32 = 50462979u32; +pub const OID_FDDI_FRAMES_LOST: u32 = 50462981u32; +pub const OID_FDDI_FRAME_ERRORS: u32 = 50462980u32; +pub const OID_FDDI_IF_ADMIN_STATUS: u32 = 50528894u32; +pub const OID_FDDI_IF_DESCR: u32 = 50528889u32; +pub const OID_FDDI_IF_IN_DISCARDS: u32 = 50528900u32; +pub const OID_FDDI_IF_IN_ERRORS: u32 = 50528901u32; +pub const OID_FDDI_IF_IN_NUCAST_PKTS: u32 = 50528899u32; +pub const OID_FDDI_IF_IN_OCTETS: u32 = 50528897u32; +pub const OID_FDDI_IF_IN_UCAST_PKTS: u32 = 50528898u32; +pub const OID_FDDI_IF_IN_UNKNOWN_PROTOS: u32 = 50528902u32; +pub const OID_FDDI_IF_LAST_CHANGE: u32 = 50528896u32; +pub const OID_FDDI_IF_MTU: u32 = 50528891u32; +pub const OID_FDDI_IF_OPER_STATUS: u32 = 50528895u32; +pub const OID_FDDI_IF_OUT_DISCARDS: u32 = 50528906u32; +pub const OID_FDDI_IF_OUT_ERRORS: u32 = 50528907u32; +pub const OID_FDDI_IF_OUT_NUCAST_PKTS: u32 = 50528905u32; +pub const OID_FDDI_IF_OUT_OCTETS: u32 = 50528903u32; +pub const OID_FDDI_IF_OUT_QLEN: u32 = 50528908u32; +pub const OID_FDDI_IF_OUT_UCAST_PKTS: u32 = 50528904u32; +pub const OID_FDDI_IF_PHYS_ADDRESS: u32 = 50528893u32; +pub const OID_FDDI_IF_SPECIFIC: u32 = 50528909u32; +pub const OID_FDDI_IF_SPEED: u32 = 50528892u32; +pub const OID_FDDI_IF_TYPE: u32 = 50528890u32; +pub const OID_FDDI_LCONNECTION_STATE: u32 = 50462985u32; +pub const OID_FDDI_LCT_FAILURES: u32 = 50462983u32; +pub const OID_FDDI_LEM_REJECTS: u32 = 50462984u32; +pub const OID_FDDI_LONG_CURRENT_ADDR: u32 = 50397442u32; +pub const OID_FDDI_LONG_MAX_LIST_SIZE: u32 = 50397444u32; +pub const OID_FDDI_LONG_MULTICAST_LIST: u32 = 50397443u32; +pub const OID_FDDI_LONG_PERMANENT_ADDR: u32 = 50397441u32; +pub const OID_FDDI_MAC_AVAILABLE_PATHS: u32 = 50528803u32; +pub const OID_FDDI_MAC_BRIDGE_FUNCTIONS: u32 = 50528800u32; +pub const OID_FDDI_MAC_COPIED_CT: u32 = 50528828u32; +pub const OID_FDDI_MAC_CURRENT_PATH: u32 = 50528804u32; +pub const OID_FDDI_MAC_DA_FLAG: u32 = 50528842u32; +pub const OID_FDDI_MAC_DOWNSTREAM_NBR: u32 = 50528806u32; +pub const OID_FDDI_MAC_DOWNSTREAM_PORT_TYPE: u32 = 50528811u32; +pub const OID_FDDI_MAC_DUP_ADDRESS_TEST: u32 = 50528809u32; +pub const OID_FDDI_MAC_ERROR_CT: u32 = 50528831u32; +pub const OID_FDDI_MAC_FRAME_CT: u32 = 50528827u32; +pub const OID_FDDI_MAC_FRAME_ERROR_FLAG: u32 = 50528844u32; +pub const OID_FDDI_MAC_FRAME_ERROR_RATIO: u32 = 50528838u32; +pub const OID_FDDI_MAC_FRAME_ERROR_THRESHOLD: u32 = 50528837u32; +pub const OID_FDDI_MAC_FRAME_STATUS_FUNCTIONS: u32 = 50528799u32; +pub const OID_FDDI_MAC_HARDWARE_PRESENT: u32 = 50528847u32; +pub const OID_FDDI_MAC_INDEX: u32 = 50528812u32; +pub const OID_FDDI_MAC_LATE_CT: u32 = 50528835u32; +pub const OID_FDDI_MAC_LONG_GRP_ADDRESS: u32 = 50528814u32; +pub const OID_FDDI_MAC_LOST_CT: u32 = 50528832u32; +pub const OID_FDDI_MAC_MA_UNITDATA_AVAILABLE: u32 = 50528846u32; +pub const OID_FDDI_MAC_MA_UNITDATA_ENABLE: u32 = 50528848u32; +pub const OID_FDDI_MAC_NOT_COPIED_CT: u32 = 50528834u32; +pub const OID_FDDI_MAC_NOT_COPIED_FLAG: u32 = 50528845u32; +pub const OID_FDDI_MAC_NOT_COPIED_RATIO: u32 = 50528840u32; +pub const OID_FDDI_MAC_NOT_COPIED_THRESHOLD: u32 = 50528839u32; +pub const OID_FDDI_MAC_OLD_DOWNSTREAM_NBR: u32 = 50528808u32; +pub const OID_FDDI_MAC_OLD_UPSTREAM_NBR: u32 = 50528807u32; +pub const OID_FDDI_MAC_REQUESTED_PATHS: u32 = 50528810u32; +pub const OID_FDDI_MAC_RING_OP_CT: u32 = 50528836u32; +pub const OID_FDDI_MAC_RMT_STATE: u32 = 50528841u32; +pub const OID_FDDI_MAC_SHORT_GRP_ADDRESS: u32 = 50528815u32; +pub const OID_FDDI_MAC_SMT_ADDRESS: u32 = 50528813u32; +pub const OID_FDDI_MAC_TOKEN_CT: u32 = 50528830u32; +pub const OID_FDDI_MAC_TRANSMIT_CT: u32 = 50528829u32; +pub const OID_FDDI_MAC_TVX_CAPABILITY: u32 = 50528802u32; +pub const OID_FDDI_MAC_TVX_EXPIRED_CT: u32 = 50528833u32; +pub const OID_FDDI_MAC_TVX_VALUE: u32 = 50528819u32; +pub const OID_FDDI_MAC_T_MAX: u32 = 50528818u32; +pub const OID_FDDI_MAC_T_MAX_CAPABILITY: u32 = 50528801u32; +pub const OID_FDDI_MAC_T_NEG: u32 = 50528817u32; +pub const OID_FDDI_MAC_T_PRI0: u32 = 50528820u32; +pub const OID_FDDI_MAC_T_PRI1: u32 = 50528821u32; +pub const OID_FDDI_MAC_T_PRI2: u32 = 50528822u32; +pub const OID_FDDI_MAC_T_PRI3: u32 = 50528823u32; +pub const OID_FDDI_MAC_T_PRI4: u32 = 50528824u32; +pub const OID_FDDI_MAC_T_PRI5: u32 = 50528825u32; +pub const OID_FDDI_MAC_T_PRI6: u32 = 50528826u32; +pub const OID_FDDI_MAC_T_REQ: u32 = 50528816u32; +pub const OID_FDDI_MAC_UNDA_FLAG: u32 = 50528843u32; +pub const OID_FDDI_MAC_UPSTREAM_NBR: u32 = 50528805u32; +pub const OID_FDDI_PATH_CONFIGURATION: u32 = 50528854u32; +pub const OID_FDDI_PATH_INDEX: u32 = 50528849u32; +pub const OID_FDDI_PATH_MAX_T_REQ: u32 = 50528859u32; +pub const OID_FDDI_PATH_RING_LATENCY: u32 = 50528850u32; +pub const OID_FDDI_PATH_SBA_AVAILABLE: u32 = 50528856u32; +pub const OID_FDDI_PATH_SBA_OVERHEAD: u32 = 50528853u32; +pub const OID_FDDI_PATH_SBA_PAYLOAD: u32 = 50528852u32; +pub const OID_FDDI_PATH_TRACE_STATUS: u32 = 50528851u32; +pub const OID_FDDI_PATH_TVX_LOWER_BOUND: u32 = 50528857u32; +pub const OID_FDDI_PATH_T_MAX_LOWER_BOUND: u32 = 50528858u32; +pub const OID_FDDI_PATH_T_R_MODE: u32 = 50528855u32; +pub const OID_FDDI_PORT_ACTION: u32 = 50528888u32; +pub const OID_FDDI_PORT_AVAILABLE_PATHS: u32 = 50528867u32; +pub const OID_FDDI_PORT_BS_FLAG: u32 = 50528873u32; +pub const OID_FDDI_PORT_CONNECTION_CAPABILITIES: u32 = 50528870u32; +pub const OID_FDDI_PORT_CONNECTION_POLICIES: u32 = 50528862u32; +pub const OID_FDDI_PORT_CONNNECT_STATE: u32 = 50528882u32; +pub const OID_FDDI_PORT_CURRENT_PATH: u32 = 50528864u32; +pub const OID_FDDI_PORT_EB_ERROR_CT: u32 = 50528875u32; +pub const OID_FDDI_PORT_HARDWARE_PRESENT: u32 = 50528886u32; +pub const OID_FDDI_PORT_INDEX: u32 = 50528871u32; +pub const OID_FDDI_PORT_LCT_FAIL_CT: u32 = 50528876u32; +pub const OID_FDDI_PORT_LEM_CT: u32 = 50528879u32; +pub const OID_FDDI_PORT_LEM_REJECT_CT: u32 = 50528878u32; +pub const OID_FDDI_PORT_LER_ALARM: u32 = 50528881u32; +pub const OID_FDDI_PORT_LER_CUTOFF: u32 = 50528880u32; +pub const OID_FDDI_PORT_LER_ESTIMATE: u32 = 50528877u32; +pub const OID_FDDI_PORT_LER_FLAG: u32 = 50528885u32; +pub const OID_FDDI_PORT_MAC_INDICATED: u32 = 50528863u32; +pub const OID_FDDI_PORT_MAC_LOOP_TIME: u32 = 50528868u32; +pub const OID_FDDI_PORT_MAC_PLACEMENT: u32 = 50528866u32; +pub const OID_FDDI_PORT_MAINT_LS: u32 = 50528872u32; +pub const OID_FDDI_PORT_MY_TYPE: u32 = 50528860u32; +pub const OID_FDDI_PORT_NEIGHBOR_TYPE: u32 = 50528861u32; +pub const OID_FDDI_PORT_PCM_STATE: u32 = 50528883u32; +pub const OID_FDDI_PORT_PC_LS: u32 = 50528874u32; +pub const OID_FDDI_PORT_PC_WITHHOLD: u32 = 50528884u32; +pub const OID_FDDI_PORT_PMD_CLASS: u32 = 50528869u32; +pub const OID_FDDI_PORT_REQUESTED_PATHS: u32 = 50528865u32; +pub const OID_FDDI_RING_MGT_STATE: u32 = 50462982u32; +pub const OID_FDDI_SHORT_CURRENT_ADDR: u32 = 50397446u32; +pub const OID_FDDI_SHORT_MAX_LIST_SIZE: u32 = 50397448u32; +pub const OID_FDDI_SHORT_MULTICAST_LIST: u32 = 50397447u32; +pub const OID_FDDI_SHORT_PERMANENT_ADDR: u32 = 50397445u32; +pub const OID_FDDI_SMT_AVAILABLE_PATHS: u32 = 50528779u32; +pub const OID_FDDI_SMT_BYPASS_PRESENT: u32 = 50528788u32; +pub const OID_FDDI_SMT_CF_STATE: u32 = 50528790u32; +pub const OID_FDDI_SMT_CONFIG_CAPABILITIES: u32 = 50528780u32; +pub const OID_FDDI_SMT_CONFIG_POLICY: u32 = 50528781u32; +pub const OID_FDDI_SMT_CONNECTION_POLICY: u32 = 50528782u32; +pub const OID_FDDI_SMT_ECM_STATE: u32 = 50528789u32; +pub const OID_FDDI_SMT_HI_VERSION_ID: u32 = 50528771u32; +pub const OID_FDDI_SMT_HOLD_STATE: u32 = 50528791u32; +pub const OID_FDDI_SMT_LAST_SET_STATION_ID: u32 = 50528798u32; +pub const OID_FDDI_SMT_LO_VERSION_ID: u32 = 50528772u32; +pub const OID_FDDI_SMT_MAC_CT: u32 = 50528776u32; +pub const OID_FDDI_SMT_MAC_INDEXES: u32 = 50528787u32; +pub const OID_FDDI_SMT_MANUFACTURER_DATA: u32 = 50528773u32; +pub const OID_FDDI_SMT_MASTER_CT: u32 = 50528778u32; +pub const OID_FDDI_SMT_MIB_VERSION_ID: u32 = 50528775u32; +pub const OID_FDDI_SMT_MSG_TIME_STAMP: u32 = 50528795u32; +pub const OID_FDDI_SMT_NON_MASTER_CT: u32 = 50528777u32; +pub const OID_FDDI_SMT_OP_VERSION_ID: u32 = 50528770u32; +pub const OID_FDDI_SMT_PEER_WRAP_FLAG: u32 = 50528794u32; +pub const OID_FDDI_SMT_PORT_INDEXES: u32 = 50528786u32; +pub const OID_FDDI_SMT_REMOTE_DISCONNECT_FLAG: u32 = 50528792u32; +pub const OID_FDDI_SMT_SET_COUNT: u32 = 50528797u32; +pub const OID_FDDI_SMT_STATION_ACTION: u32 = 50528887u32; +pub const OID_FDDI_SMT_STATION_ID: u32 = 50528769u32; +pub const OID_FDDI_SMT_STATION_STATUS: u32 = 50528793u32; +pub const OID_FDDI_SMT_STAT_RPT_POLICY: u32 = 50528784u32; +pub const OID_FDDI_SMT_TRACE_MAX_EXPIRATION: u32 = 50528785u32; +pub const OID_FDDI_SMT_TRANSITION_TIME_STAMP: u32 = 50528796u32; +pub const OID_FDDI_SMT_T_NOTIFY: u32 = 50528783u32; +pub const OID_FDDI_SMT_USER_DATA: u32 = 50528774u32; +pub const OID_FDDI_UPSTREAM_NODE_LONG: u32 = 50462978u32; +pub const OID_FFP_ADAPTER_STATS: u32 = 4227990033u32; +pub const OID_FFP_CONTROL: u32 = 4227924498u32; +pub const OID_FFP_DATA: u32 = 4227924500u32; +pub const OID_FFP_DRIVER_STATS: u32 = 4227990032u32; +pub const OID_FFP_FLUSH: u32 = 4227924497u32; +pub const OID_FFP_PARAMS: u32 = 4227924499u32; +pub const OID_FFP_SUPPORT: u32 = 4227924496u32; +pub const OID_GEN_ADMIN_STATUS: u32 = 66184u32; +pub const OID_GEN_ALIAS: u32 = 66185u32; +pub const OID_GEN_BROADCAST_BYTES_RCV: u32 = 131595u32; +pub const OID_GEN_BROADCAST_BYTES_XMIT: u32 = 131589u32; +pub const OID_GEN_BROADCAST_FRAMES_RCV: u32 = 131596u32; +pub const OID_GEN_BROADCAST_FRAMES_XMIT: u32 = 131590u32; +pub const OID_GEN_BYTES_RCV: u32 = 131609u32; +pub const OID_GEN_BYTES_XMIT: u32 = 131610u32; +pub const OID_GEN_CO_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_CO_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_CO_BYTES_XMIT_OUTSTANDING: u32 = 131617u32; +pub const OID_GEN_CO_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_CO_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_CO_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_CO_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_CO_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_CO_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_CO_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_CO_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_CO_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_CO_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_CO_MINIMUM_LINK_SPEED: u32 = 131360u32; +pub const OID_GEN_CO_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_CO_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_CO_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_CO_RCV_PDUS_ERROR: u32 = 131332u32; +pub const OID_GEN_CO_RCV_PDUS_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_CO_RCV_PDUS_OK: u32 = 131330u32; +pub const OID_GEN_CO_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_CO_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_CO_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_CO_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_CO_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_CO_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_CO_XMIT_PDUS_ERROR: u32 = 131331u32; +pub const OID_GEN_CO_XMIT_PDUS_OK: u32 = 131329u32; +pub const OID_GEN_CURRENT_LOOKAHEAD: u32 = 65807u32; +pub const OID_GEN_CURRENT_PACKET_FILTER: u32 = 65806u32; +pub const OID_GEN_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_DIRECTED_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_DIRECTED_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_DIRECTED_FRAMES_RCV: u32 = 131592u32; +pub const OID_GEN_DIRECTED_FRAMES_XMIT: u32 = 131586u32; +pub const OID_GEN_DISCONTINUITY_TIME: u32 = 66178u32; +pub const OID_GEN_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_ENUMERATE_PORTS: u32 = 66061u32; +pub const OID_GEN_FRIENDLY_NAME: u32 = 131606u32; +pub const OID_GEN_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_HD_SPLIT_CURRENT_CONFIG: u32 = 66080u32; +pub const OID_GEN_HD_SPLIT_PARAMETERS: u32 = 66078u32; +pub const OID_GEN_INIT_TIME_MS: u32 = 131603u32; +pub const OID_GEN_INTERFACE_INFO: u32 = 66183u32; +pub const OID_GEN_INTERRUPT_MODERATION: u32 = 66057u32; +pub const OID_GEN_IP_OPER_STATUS: u32 = 66189u32; +pub const OID_GEN_ISOLATION_PARAMETERS: u32 = 66304u32; +pub const OID_GEN_LAST_CHANGE: u32 = 66177u32; +pub const OID_GEN_LINK_PARAMETERS: u32 = 66056u32; +pub const OID_GEN_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_LINK_SPEED_EX: u32 = 66187u32; +pub const OID_GEN_LINK_STATE: u32 = 66055u32; +pub const OID_GEN_MACHINE_NAME: u32 = 66074u32; +pub const OID_GEN_MAC_ADDRESS: u32 = 66053u32; +pub const OID_GEN_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_MAXIMUM_FRAME_SIZE: u32 = 65798u32; +pub const OID_GEN_MAXIMUM_LOOKAHEAD: u32 = 65797u32; +pub const OID_GEN_MAXIMUM_SEND_PACKETS: u32 = 65813u32; +pub const OID_GEN_MAXIMUM_TOTAL_SIZE: u32 = 65809u32; +pub const OID_GEN_MAX_LINK_SPEED: u32 = 66054u32; +pub const OID_GEN_MEDIA_CAPABILITIES: u32 = 66049u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS_EX: u32 = 66186u32; +pub const OID_GEN_MEDIA_DUPLEX_STATE: u32 = 66188u32; +pub const OID_GEN_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_MEDIA_SENSE_COUNTS: u32 = 131605u32; +pub const OID_GEN_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_MINIPORT_RESTART_ATTRIBUTES: u32 = 66077u32; +pub const OID_GEN_MULTICAST_BYTES_RCV: u32 = 131593u32; +pub const OID_GEN_MULTICAST_BYTES_XMIT: u32 = 131587u32; +pub const OID_GEN_MULTICAST_FRAMES_RCV: u32 = 131594u32; +pub const OID_GEN_MULTICAST_FRAMES_XMIT: u32 = 131588u32; +pub const OID_GEN_NDIS_RESERVED_1: u32 = 131607u32; +pub const OID_GEN_NDIS_RESERVED_2: u32 = 131608u32; +pub const OID_GEN_NDIS_RESERVED_3: u32 = 66058u32; +pub const OID_GEN_NDIS_RESERVED_4: u32 = 66059u32; +pub const OID_GEN_NDIS_RESERVED_5: u32 = 66060u32; +pub const OID_GEN_NDIS_RESERVED_6: u32 = 66066u32; +pub const OID_GEN_NDIS_RESERVED_7: u32 = 131614u32; +pub const OID_GEN_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_NETWORK_LAYER_ADDRESSES: u32 = 65816u32; +pub const OID_GEN_OPERATIONAL_STATUS: u32 = 66179u32; +pub const OID_GEN_PACKET_MONITOR: u32 = 66257u32; +pub const OID_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: u32 = 66065u32; +pub const OID_GEN_PHYSICAL_MEDIUM: u32 = 66050u32; +pub const OID_GEN_PHYSICAL_MEDIUM_EX: u32 = 66067u32; +pub const OID_GEN_PORT_AUTHENTICATION_PARAMETERS: u32 = 66063u32; +pub const OID_GEN_PORT_STATE: u32 = 66062u32; +pub const OID_GEN_PROMISCUOUS_MODE: u32 = 66176u32; +pub const OID_GEN_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_RCV_DISCARDS: u32 = 131611u32; +pub const OID_GEN_RCV_ERROR: u32 = 131332u32; +pub const OID_GEN_RCV_LINK_SPEED: u32 = 66181u32; +pub const OID_GEN_RCV_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_RCV_OK: u32 = 131330u32; +pub const OID_GEN_RECEIVE_BLOCK_SIZE: u32 = 65803u32; +pub const OID_GEN_RECEIVE_BUFFER_SPACE: u32 = 65801u32; +pub const OID_GEN_RECEIVE_HASH: u32 = 66079u32; +pub const OID_GEN_RECEIVE_SCALE_CAPABILITIES: u32 = 66051u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS: u32 = 66052u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS_V2: u32 = 66068u32; +pub const OID_GEN_RESET_COUNTS: u32 = 131604u32; +pub const OID_GEN_RNDIS_CONFIG_PARAMETER: u32 = 66075u32; +pub const OID_GEN_RSS_SET_INDIRECTION_TABLE_ENTRIES: u32 = 66240u32; +pub const OID_GEN_STATISTICS: u32 = 131334u32; +pub const OID_GEN_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_TIMEOUT_DPC_REQUEST_CAPABILITIES: u32 = 66064u32; +pub const OID_GEN_TRANSMIT_BLOCK_SIZE: u32 = 65802u32; +pub const OID_GEN_TRANSMIT_BUFFER_SPACE: u32 = 65800u32; +pub const OID_GEN_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_TRANSPORT_HEADER_OFFSET: u32 = 65817u32; +pub const OID_GEN_UNKNOWN_PROTOS: u32 = 66182u32; +pub const OID_GEN_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_VLAN_ID: u32 = 66076u32; +pub const OID_GEN_XMIT_DISCARDS: u32 = 131612u32; +pub const OID_GEN_XMIT_ERROR: u32 = 131331u32; +pub const OID_GEN_XMIT_LINK_SPEED: u32 = 66180u32; +pub const OID_GEN_XMIT_OK: u32 = 131329u32; +pub const OID_GFT_ACTIVATE_FLOW_ENTRIES: u32 = 66575u32; +pub const OID_GFT_ADD_FLOW_ENTRIES: u32 = 66572u32; +pub const OID_GFT_ALLOCATE_COUNTERS: u32 = 66567u32; +pub const OID_GFT_COUNTER_VALUES: u32 = 66570u32; +pub const OID_GFT_CREATE_LOGICAL_VPORT: u32 = 66584u32; +pub const OID_GFT_CREATE_TABLE: u32 = 66564u32; +pub const OID_GFT_CURRENT_CAPABILITIES: u32 = 66562u32; +pub const OID_GFT_DEACTIVATE_FLOW_ENTRIES: u32 = 66576u32; +pub const OID_GFT_DELETE_FLOW_ENTRIES: u32 = 66573u32; +pub const OID_GFT_DELETE_LOGICAL_VPORT: u32 = 66585u32; +pub const OID_GFT_DELETE_PROFILE: u32 = 66582u32; +pub const OID_GFT_DELETE_TABLE: u32 = 66565u32; +pub const OID_GFT_ENUM_COUNTERS: u32 = 66569u32; +pub const OID_GFT_ENUM_FLOW_ENTRIES: u32 = 66574u32; +pub const OID_GFT_ENUM_LOGICAL_VPORTS: u32 = 66586u32; +pub const OID_GFT_ENUM_PROFILES: u32 = 66581u32; +pub const OID_GFT_ENUM_TABLES: u32 = 66566u32; +pub const OID_GFT_EXACT_MATCH_PROFILE: u32 = 66578u32; +pub const OID_GFT_FLOW_ENTRY_PARAMETERS: u32 = 66577u32; +pub const OID_GFT_FREE_COUNTERS: u32 = 66568u32; +pub const OID_GFT_GLOBAL_PARAMETERS: u32 = 66563u32; +pub const OID_GFT_HARDWARE_CAPABILITIES: u32 = 66561u32; +pub const OID_GFT_HEADER_TRANSPOSITION_PROFILE: u32 = 66579u32; +pub const OID_GFT_STATISTICS: u32 = 66571u32; +pub const OID_GFT_VPORT_PARAMETERS: u32 = 66583u32; +pub const OID_GFT_WILDCARD_MATCH_PROFILE: u32 = 66580u32; +pub const OID_IP4_OFFLOAD_STATS: u32 = 4227924489u32; +pub const OID_IP6_OFFLOAD_STATS: u32 = 4227924490u32; +pub const OID_IRDA_EXTRA_RCV_BOFS: u32 = 167838208u32; +pub const OID_IRDA_LINK_SPEED: u32 = 167837955u32; +pub const OID_IRDA_MAX_RECEIVE_WINDOW_SIZE: u32 = 167838212u32; +pub const OID_IRDA_MAX_SEND_WINDOW_SIZE: u32 = 167838213u32; +pub const OID_IRDA_MAX_UNICAST_LIST_SIZE: u32 = 167838211u32; +pub const OID_IRDA_MEDIA_BUSY: u32 = 167837956u32; +pub const OID_IRDA_RATE_SNIFF: u32 = 167838209u32; +pub const OID_IRDA_RECEIVING: u32 = 167837952u32; +pub const OID_IRDA_RESERVED1: u32 = 167838218u32; +pub const OID_IRDA_RESERVED2: u32 = 167838223u32; +pub const OID_IRDA_SUPPORTED_SPEEDS: u32 = 167837954u32; +pub const OID_IRDA_TURNAROUND_TIME: u32 = 167837953u32; +pub const OID_IRDA_UNICAST_LIST: u32 = 167838210u32; +pub const OID_KDNET_ADD_PF: u32 = 131619u32; +pub const OID_KDNET_ENUMERATE_PFS: u32 = 131618u32; +pub const OID_KDNET_QUERY_PF_INFORMATION: u32 = 131621u32; +pub const OID_KDNET_REMOVE_PF: u32 = 131620u32; +pub const OID_LTALK_COLLISIONS: u32 = 84017666u32; +pub const OID_LTALK_CURRENT_NODE_ID: u32 = 83951874u32; +pub const OID_LTALK_DEFERS: u32 = 84017667u32; +pub const OID_LTALK_FCS_ERRORS: u32 = 84017670u32; +pub const OID_LTALK_IN_BROADCASTS: u32 = 84017409u32; +pub const OID_LTALK_IN_LENGTH_ERRORS: u32 = 84017410u32; +pub const OID_LTALK_NO_DATA_ERRORS: u32 = 84017668u32; +pub const OID_LTALK_OUT_NO_HANDLERS: u32 = 84017665u32; +pub const OID_LTALK_RANDOM_CTS_ERRORS: u32 = 84017669u32; +pub const OID_NDK_CONNECTIONS: u32 = 4228121091u32; +pub const OID_NDK_LOCAL_ENDPOINTS: u32 = 4228121092u32; +pub const OID_NDK_SET_STATE: u32 = 4228121089u32; +pub const OID_NDK_STATISTICS: u32 = 4228121090u32; +pub const OID_NIC_SWITCH_ALLOCATE_VF: u32 = 66117u32; +pub const OID_NIC_SWITCH_CREATE_SWITCH: u32 = 66103u32; +pub const OID_NIC_SWITCH_CREATE_VPORT: u32 = 66113u32; +pub const OID_NIC_SWITCH_CURRENT_CAPABILITIES: u32 = 66095u32; +pub const OID_NIC_SWITCH_DELETE_SWITCH: u32 = 66105u32; +pub const OID_NIC_SWITCH_DELETE_VPORT: u32 = 66116u32; +pub const OID_NIC_SWITCH_ENUM_SWITCHES: u32 = 66112u32; +pub const OID_NIC_SWITCH_ENUM_VFS: u32 = 66120u32; +pub const OID_NIC_SWITCH_ENUM_VPORTS: u32 = 66115u32; +pub const OID_NIC_SWITCH_FREE_VF: u32 = 66118u32; +pub const OID_NIC_SWITCH_HARDWARE_CAPABILITIES: u32 = 66094u32; +pub const OID_NIC_SWITCH_PARAMETERS: u32 = 66104u32; +pub const OID_NIC_SWITCH_VF_PARAMETERS: u32 = 66119u32; +pub const OID_NIC_SWITCH_VPORT_PARAMETERS: u32 = 66114u32; +pub const OID_OFFLOAD_ENCAPSULATION: u32 = 16843018u32; +pub const OID_PACKET_COALESCING_FILTER_MATCH_COUNT: u32 = 66101u32; +pub const OID_PD_CLOSE_PROVIDER: u32 = 66818u32; +pub const OID_PD_OPEN_PROVIDER: u32 = 66817u32; +pub const OID_PD_QUERY_CURRENT_CONFIG: u32 = 66819u32; +pub const OID_PM_ADD_PROTOCOL_OFFLOAD: u32 = 4244701453u32; +pub const OID_PM_ADD_WOL_PATTERN: u32 = 4244701450u32; +pub const OID_PM_CURRENT_CAPABILITIES: u32 = 4244701447u32; +pub const OID_PM_GET_PROTOCOL_OFFLOAD: u32 = 4244701454u32; +pub const OID_PM_HARDWARE_CAPABILITIES: u32 = 4244701448u32; +pub const OID_PM_PARAMETERS: u32 = 4244701449u32; +pub const OID_PM_PROTOCOL_OFFLOAD_LIST: u32 = 4244701456u32; +pub const OID_PM_REMOVE_PROTOCOL_OFFLOAD: u32 = 4244701455u32; +pub const OID_PM_REMOVE_WOL_PATTERN: u32 = 4244701451u32; +pub const OID_PM_RESERVED_1: u32 = 4244701457u32; +pub const OID_PM_WOL_PATTERN_LIST: u32 = 4244701452u32; +pub const OID_PNP_ADD_WAKE_UP_PATTERN: u32 = 4244701443u32; +pub const OID_PNP_CAPABILITIES: u32 = 4244701440u32; +pub const OID_PNP_ENABLE_WAKE_UP: u32 = 4244701446u32; +pub const OID_PNP_QUERY_POWER: u32 = 4244701442u32; +pub const OID_PNP_REMOVE_WAKE_UP_PATTERN: u32 = 4244701444u32; +pub const OID_PNP_SET_POWER: u32 = 4244701441u32; +pub const OID_PNP_WAKE_UP_ERROR: u32 = 4244767233u32; +pub const OID_PNP_WAKE_UP_OK: u32 = 4244767232u32; +pub const OID_PNP_WAKE_UP_PATTERN_LIST: u32 = 4244701445u32; +pub const OID_QOS_CURRENT_CAPABILITIES: u32 = 4228186114u32; +pub const OID_QOS_HARDWARE_CAPABILITIES: u32 = 4228186113u32; +pub const OID_QOS_OFFLOAD_CREATE_SQ: u32 = 67075u32; +pub const OID_QOS_OFFLOAD_CURRENT_CAPABILITIES: u32 = 67074u32; +pub const OID_QOS_OFFLOAD_DELETE_SQ: u32 = 67076u32; +pub const OID_QOS_OFFLOAD_ENUM_SQS: u32 = 67078u32; +pub const OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 67073u32; +pub const OID_QOS_OFFLOAD_SQ_STATS: u32 = 67079u32; +pub const OID_QOS_OFFLOAD_UPDATE_SQ: u32 = 67077u32; +pub const OID_QOS_OPERATIONAL_PARAMETERS: u32 = 4228186116u32; +pub const OID_QOS_PARAMETERS: u32 = 4228186115u32; +pub const OID_QOS_REMOTE_PARAMETERS: u32 = 4228186117u32; +pub const OID_QOS_RESERVED1: u32 = 4211147008u32; +pub const OID_QOS_RESERVED10: u32 = 4211147017u32; +pub const OID_QOS_RESERVED11: u32 = 4211147018u32; +pub const OID_QOS_RESERVED12: u32 = 4211147019u32; +pub const OID_QOS_RESERVED13: u32 = 4211147020u32; +pub const OID_QOS_RESERVED14: u32 = 4211147021u32; +pub const OID_QOS_RESERVED15: u32 = 4211147022u32; +pub const OID_QOS_RESERVED16: u32 = 4211147023u32; +pub const OID_QOS_RESERVED17: u32 = 4211147024u32; +pub const OID_QOS_RESERVED18: u32 = 4211147025u32; +pub const OID_QOS_RESERVED19: u32 = 4211147026u32; +pub const OID_QOS_RESERVED2: u32 = 4211147009u32; +pub const OID_QOS_RESERVED20: u32 = 4211147027u32; +pub const OID_QOS_RESERVED3: u32 = 4211147010u32; +pub const OID_QOS_RESERVED4: u32 = 4211147011u32; +pub const OID_QOS_RESERVED5: u32 = 4211147012u32; +pub const OID_QOS_RESERVED6: u32 = 4211147013u32; +pub const OID_QOS_RESERVED7: u32 = 4211147014u32; +pub const OID_QOS_RESERVED8: u32 = 4211147015u32; +pub const OID_QOS_RESERVED9: u32 = 4211147016u32; +pub const OID_RECEIVE_FILTER_ALLOCATE_QUEUE: u32 = 66083u32; +pub const OID_RECEIVE_FILTER_CLEAR_FILTER: u32 = 66088u32; +pub const OID_RECEIVE_FILTER_CURRENT_CAPABILITIES: u32 = 66093u32; +pub const OID_RECEIVE_FILTER_ENUM_FILTERS: u32 = 66089u32; +pub const OID_RECEIVE_FILTER_ENUM_QUEUES: u32 = 66085u32; +pub const OID_RECEIVE_FILTER_FREE_QUEUE: u32 = 66084u32; +pub const OID_RECEIVE_FILTER_GLOBAL_PARAMETERS: u32 = 66082u32; +pub const OID_RECEIVE_FILTER_HARDWARE_CAPABILITIES: u32 = 66081u32; +pub const OID_RECEIVE_FILTER_MOVE_FILTER: u32 = 66096u32; +pub const OID_RECEIVE_FILTER_PARAMETERS: u32 = 66090u32; +pub const OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE: u32 = 66091u32; +pub const OID_RECEIVE_FILTER_QUEUE_PARAMETERS: u32 = 66086u32; +pub const OID_RECEIVE_FILTER_SET_FILTER: u32 = 66087u32; +pub const OID_SRIOV_BAR_RESOURCES: u32 = 66137u32; +pub const OID_SRIOV_CONFIG_STATE: u32 = 66145u32; +pub const OID_SRIOV_CURRENT_CAPABILITIES: u32 = 66128u32; +pub const OID_SRIOV_HARDWARE_CAPABILITIES: u32 = 66121u32; +pub const OID_SRIOV_OVERLYING_ADAPTER_INFO: u32 = 66152u32; +pub const OID_SRIOV_PF_LUID: u32 = 66144u32; +pub const OID_SRIOV_PROBED_BARS: u32 = 66136u32; +pub const OID_SRIOV_READ_VF_CONFIG_BLOCK: u32 = 66131u32; +pub const OID_SRIOV_READ_VF_CONFIG_SPACE: u32 = 66129u32; +pub const OID_SRIOV_RESET_VF: u32 = 66133u32; +pub const OID_SRIOV_SET_VF_POWER_STATE: u32 = 66134u32; +pub const OID_SRIOV_VF_INVALIDATE_CONFIG_BLOCK: u32 = 66153u32; +pub const OID_SRIOV_VF_SERIAL_NUMBER: u32 = 66146u32; +pub const OID_SRIOV_VF_VENDOR_DEVICE_ID: u32 = 66135u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_BLOCK: u32 = 66132u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_SPACE: u32 = 66130u32; +pub const OID_SWITCH_FEATURE_STATUS_QUERY: u32 = 66151u32; +pub const OID_SWITCH_NIC_ARRAY: u32 = 66167u32; +pub const OID_SWITCH_NIC_CONNECT: u32 = 66171u32; +pub const OID_SWITCH_NIC_CREATE: u32 = 66170u32; +pub const OID_SWITCH_NIC_DELETE: u32 = 66173u32; +pub const OID_SWITCH_NIC_DIRECT_REQUEST: u32 = 66198u32; +pub const OID_SWITCH_NIC_DISCONNECT: u32 = 66172u32; +pub const OID_SWITCH_NIC_REQUEST: u32 = 66160u32; +pub const OID_SWITCH_NIC_RESTORE: u32 = 66194u32; +pub const OID_SWITCH_NIC_RESTORE_COMPLETE: u32 = 66195u32; +pub const OID_SWITCH_NIC_RESUME: u32 = 66200u32; +pub const OID_SWITCH_NIC_SAVE: u32 = 66192u32; +pub const OID_SWITCH_NIC_SAVE_COMPLETE: u32 = 66193u32; +pub const OID_SWITCH_NIC_SUSPEND: u32 = 66199u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_FINISHED: u32 = 66202u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_STARTED: u32 = 66201u32; +pub const OID_SWITCH_NIC_UPDATED: u32 = 66196u32; +pub const OID_SWITCH_PARAMETERS: u32 = 66165u32; +pub const OID_SWITCH_PORT_ARRAY: u32 = 66166u32; +pub const OID_SWITCH_PORT_CREATE: u32 = 66168u32; +pub const OID_SWITCH_PORT_DELETE: u32 = 66169u32; +pub const OID_SWITCH_PORT_FEATURE_STATUS_QUERY: u32 = 66174u32; +pub const OID_SWITCH_PORT_PROPERTY_ADD: u32 = 66161u32; +pub const OID_SWITCH_PORT_PROPERTY_DELETE: u32 = 66163u32; +pub const OID_SWITCH_PORT_PROPERTY_ENUM: u32 = 66164u32; +pub const OID_SWITCH_PORT_PROPERTY_UPDATE: u32 = 66162u32; +pub const OID_SWITCH_PORT_TEARDOWN: u32 = 66175u32; +pub const OID_SWITCH_PORT_UPDATED: u32 = 66197u32; +pub const OID_SWITCH_PROPERTY_ADD: u32 = 66147u32; +pub const OID_SWITCH_PROPERTY_DELETE: u32 = 66149u32; +pub const OID_SWITCH_PROPERTY_ENUM: u32 = 66150u32; +pub const OID_SWITCH_PROPERTY_UPDATE: u32 = 66148u32; +pub const OID_TAPI_ACCEPT: u32 = 117637377u32; +pub const OID_TAPI_ANSWER: u32 = 117637378u32; +pub const OID_TAPI_CLOSE: u32 = 117637379u32; +pub const OID_TAPI_CLOSE_CALL: u32 = 117637380u32; +pub const OID_TAPI_CONDITIONAL_MEDIA_DETECTION: u32 = 117637381u32; +pub const OID_TAPI_CONFIG_DIALOG: u32 = 117637382u32; +pub const OID_TAPI_DEV_SPECIFIC: u32 = 117637383u32; +pub const OID_TAPI_DIAL: u32 = 117637384u32; +pub const OID_TAPI_DROP: u32 = 117637385u32; +pub const OID_TAPI_GATHER_DIGITS: u32 = 117637411u32; +pub const OID_TAPI_GET_ADDRESS_CAPS: u32 = 117637386u32; +pub const OID_TAPI_GET_ADDRESS_ID: u32 = 117637387u32; +pub const OID_TAPI_GET_ADDRESS_STATUS: u32 = 117637388u32; +pub const OID_TAPI_GET_CALL_ADDRESS_ID: u32 = 117637389u32; +pub const OID_TAPI_GET_CALL_INFO: u32 = 117637390u32; +pub const OID_TAPI_GET_CALL_STATUS: u32 = 117637391u32; +pub const OID_TAPI_GET_DEV_CAPS: u32 = 117637392u32; +pub const OID_TAPI_GET_DEV_CONFIG: u32 = 117637393u32; +pub const OID_TAPI_GET_EXTENSION_ID: u32 = 117637394u32; +pub const OID_TAPI_GET_ID: u32 = 117637395u32; +pub const OID_TAPI_GET_LINE_DEV_STATUS: u32 = 117637396u32; +pub const OID_TAPI_MAKE_CALL: u32 = 117637397u32; +pub const OID_TAPI_MONITOR_DIGITS: u32 = 117637412u32; +pub const OID_TAPI_NEGOTIATE_EXT_VERSION: u32 = 117637398u32; +pub const OID_TAPI_OPEN: u32 = 117637399u32; +pub const OID_TAPI_PROVIDER_INITIALIZE: u32 = 117637400u32; +pub const OID_TAPI_PROVIDER_SHUTDOWN: u32 = 117637401u32; +pub const OID_TAPI_SECURE_CALL: u32 = 117637402u32; +pub const OID_TAPI_SELECT_EXT_VERSION: u32 = 117637403u32; +pub const OID_TAPI_SEND_USER_USER_INFO: u32 = 117637404u32; +pub const OID_TAPI_SET_APP_SPECIFIC: u32 = 117637405u32; +pub const OID_TAPI_SET_CALL_PARAMS: u32 = 117637406u32; +pub const OID_TAPI_SET_DEFAULT_MEDIA_DETECTION: u32 = 117637407u32; +pub const OID_TAPI_SET_DEV_CONFIG: u32 = 117637408u32; +pub const OID_TAPI_SET_MEDIA_MODE: u32 = 117637409u32; +pub const OID_TAPI_SET_STATUS_MESSAGES: u32 = 117637410u32; +pub const OID_TCP4_OFFLOAD_STATS: u32 = 4227924487u32; +pub const OID_TCP6_OFFLOAD_STATS: u32 = 4227924488u32; +pub const OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: u32 = 4227924494u32; +pub const OID_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924495u32; +pub const OID_TCP_CONNECTION_OFFLOAD_PARAMETERS: u32 = 4228055553u32; +pub const OID_TCP_OFFLOAD_CURRENT_CONFIG: u32 = 4227924491u32; +pub const OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924493u32; +pub const OID_TCP_OFFLOAD_PARAMETERS: u32 = 4227924492u32; +pub const OID_TCP_RSC_STATISTICS: u32 = 131613u32; +pub const OID_TCP_SAN_SUPPORT: u32 = 4227924484u32; +pub const OID_TCP_TASK_IPSEC_ADD_SA: u32 = 4227924482u32; +pub const OID_TCP_TASK_IPSEC_ADD_UDPESP_SA: u32 = 4227924485u32; +pub const OID_TCP_TASK_IPSEC_DELETE_SA: u32 = 4227924483u32; +pub const OID_TCP_TASK_IPSEC_DELETE_UDPESP_SA: u32 = 4227924486u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA: u32 = 4228055554u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA_EX: u32 = 4228055557u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_DELETE_SA: u32 = 4228055555u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_UPDATE_SA: u32 = 4228055556u32; +pub const OID_TCP_TASK_OFFLOAD: u32 = 4227924481u32; +pub const OID_TIMESTAMP_CAPABILITY: u32 = 10485761u32; +pub const OID_TIMESTAMP_CURRENT_CONFIG: u32 = 10485762u32; +pub const OID_TIMESTAMP_GET_CROSSTIMESTAMP: u32 = 10485763u32; +pub const OID_TUNNEL_INTERFACE_RELEASE_OID: u32 = 251724039u32; +pub const OID_TUNNEL_INTERFACE_SET_OID: u32 = 251724038u32; +pub const OID_VLAN_RESERVED1: u32 = 66097u32; +pub const OID_VLAN_RESERVED2: u32 = 66098u32; +pub const OID_VLAN_RESERVED3: u32 = 66099u32; +pub const OID_VLAN_RESERVED4: u32 = 66100u32; +pub const OID_WAN_CO_GET_COMP_INFO: u32 = 67175040u32; +pub const OID_WAN_CO_GET_INFO: u32 = 67174784u32; +pub const OID_WAN_CO_GET_LINK_INFO: u32 = 67174786u32; +pub const OID_WAN_CO_GET_STATS_INFO: u32 = 67175042u32; +pub const OID_WAN_CO_SET_COMP_INFO: u32 = 67175041u32; +pub const OID_WAN_CO_SET_LINK_INFO: u32 = 67174785u32; +pub const OID_WAN_CURRENT_ADDRESS: u32 = 67174658u32; +pub const OID_WAN_GET_BRIDGE_INFO: u32 = 67174922u32; +pub const OID_WAN_GET_COMP_INFO: u32 = 67174924u32; +pub const OID_WAN_GET_INFO: u32 = 67174663u32; +pub const OID_WAN_GET_LINK_INFO: u32 = 67174665u32; +pub const OID_WAN_GET_STATS_INFO: u32 = 67174926u32; +pub const OID_WAN_HEADER_FORMAT: u32 = 67174662u32; +pub const OID_WAN_LINE_COUNT: u32 = 67174666u32; +pub const OID_WAN_MEDIUM_SUBTYPE: u32 = 67174661u32; +pub const OID_WAN_PERMANENT_ADDRESS: u32 = 67174657u32; +pub const OID_WAN_PROTOCOL_CAPS: u32 = 67174667u32; +pub const OID_WAN_PROTOCOL_TYPE: u32 = 67174660u32; +pub const OID_WAN_QUALITY_OF_SERVICE: u32 = 67174659u32; +pub const OID_WAN_SET_BRIDGE_INFO: u32 = 67174923u32; +pub const OID_WAN_SET_COMP_INFO: u32 = 67174925u32; +pub const OID_WAN_SET_LINK_INFO: u32 = 67174664u32; +pub const OID_WWAN_AUTH_CHALLENGE: u32 = 234946837u32; +pub const OID_WWAN_BASE_STATIONS_INFO: u32 = 234946888u32; +pub const OID_WWAN_CONNECT: u32 = 234946828u32; +pub const OID_WWAN_CREATE_MAC: u32 = 234946854u32; +pub const OID_WWAN_DELETE_MAC: u32 = 234946855u32; +pub const OID_WWAN_DEVICE_BINDINGS: u32 = 234946865u32; +pub const OID_WWAN_DEVICE_CAPS: u32 = 234946817u32; +pub const OID_WWAN_DEVICE_CAPS_EX: u32 = 234946862u32; +pub const OID_WWAN_DEVICE_RESET: u32 = 234946887u32; +pub const OID_WWAN_DEVICE_SERVICE_COMMAND: u32 = 234946840u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION: u32 = 234946851u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION_WRITE: u32 = 234946852u32; +pub const OID_WWAN_DRIVER_CAPS: u32 = 234946816u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICES: u32 = 234946838u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICE_COMMANDS: u32 = 234946850u32; +pub const OID_WWAN_HOME_PROVIDER: u32 = 234946822u32; +pub const OID_WWAN_IMS_VOICE_STATE: u32 = 234946867u32; +pub const OID_WWAN_LOCATION_STATE: u32 = 234946869u32; +pub const OID_WWAN_LTE_ATTACH_CONFIG: u32 = 234946882u32; +pub const OID_WWAN_LTE_ATTACH_STATUS: u32 = 234946883u32; +pub const OID_WWAN_MBIM_VERSION: u32 = 234946860u32; +pub const OID_WWAN_MODEM_CONFIG_INFO: u32 = 234946884u32; +pub const OID_WWAN_MODEM_LOGGING_CONFIG: u32 = 234946891u32; +pub const OID_WWAN_MPDP: u32 = 234946889u32; +pub const OID_WWAN_NETWORK_BLACKLIST: u32 = 234946881u32; +pub const OID_WWAN_NETWORK_IDLE_HINT: u32 = 234946871u32; +pub const OID_WWAN_NETWORK_PARAMS: u32 = 234946893u32; +pub const OID_WWAN_NITZ: u32 = 234946870u32; +pub const OID_WWAN_PACKET_SERVICE: u32 = 234946826u32; +pub const OID_WWAN_PCO: u32 = 234946885u32; +pub const OID_WWAN_PIN: u32 = 234946820u32; +pub const OID_WWAN_PIN_EX: u32 = 234946849u32; +pub const OID_WWAN_PIN_EX2: u32 = 234946859u32; +pub const OID_WWAN_PIN_LIST: u32 = 234946821u32; +pub const OID_WWAN_PREFERRED_MULTICARRIER_PROVIDERS: u32 = 234946853u32; +pub const OID_WWAN_PREFERRED_PROVIDERS: u32 = 234946823u32; +pub const OID_WWAN_PRESHUTDOWN: u32 = 234946872u32; +pub const OID_WWAN_PROVISIONED_CONTEXTS: u32 = 234946829u32; +pub const OID_WWAN_PS_MEDIA_CONFIG: u32 = 234946878u32; +pub const OID_WWAN_RADIO_STATE: u32 = 234946819u32; +pub const OID_WWAN_READY_INFO: u32 = 234946818u32; +pub const OID_WWAN_REGISTER_PARAMS: u32 = 234946892u32; +pub const OID_WWAN_REGISTER_STATE: u32 = 234946825u32; +pub const OID_WWAN_REGISTER_STATE_EX: u32 = 234946866u32; +pub const OID_WWAN_SAR_CONFIG: u32 = 234946879u32; +pub const OID_WWAN_SAR_TRANSMISSION_STATUS: u32 = 234946880u32; +pub const OID_WWAN_SERVICE_ACTIVATION: u32 = 234946830u32; +pub const OID_WWAN_SIGNAL_STATE: u32 = 234946827u32; +pub const OID_WWAN_SIGNAL_STATE_EX: u32 = 234946868u32; +pub const OID_WWAN_SLOT_INFO_STATUS: u32 = 234946864u32; +pub const OID_WWAN_SMS_CONFIGURATION: u32 = 234946831u32; +pub const OID_WWAN_SMS_DELETE: u32 = 234946834u32; +pub const OID_WWAN_SMS_READ: u32 = 234946832u32; +pub const OID_WWAN_SMS_SEND: u32 = 234946833u32; +pub const OID_WWAN_SMS_STATUS: u32 = 234946835u32; +pub const OID_WWAN_SUBSCRIBE_DEVICE_SERVICE_EVENTS: u32 = 234946839u32; +pub const OID_WWAN_SYS_CAPS: u32 = 234946861u32; +pub const OID_WWAN_SYS_SLOTMAPPINGS: u32 = 234946863u32; +pub const OID_WWAN_UE_POLICY: u32 = 234946894u32; +pub const OID_WWAN_UICC_ACCESS_BINARY: u32 = 234946857u32; +pub const OID_WWAN_UICC_ACCESS_RECORD: u32 = 234946858u32; +pub const OID_WWAN_UICC_APDU: u32 = 234946876u32; +pub const OID_WWAN_UICC_APP_LIST: u32 = 234946890u32; +pub const OID_WWAN_UICC_ATR: u32 = 234946873u32; +pub const OID_WWAN_UICC_CLOSE_CHANNEL: u32 = 234946875u32; +pub const OID_WWAN_UICC_FILE_STATUS: u32 = 234946856u32; +pub const OID_WWAN_UICC_OPEN_CHANNEL: u32 = 234946874u32; +pub const OID_WWAN_UICC_RESET: u32 = 234946886u32; +pub const OID_WWAN_UICC_TERMINAL_CAPABILITY: u32 = 234946877u32; +pub const OID_WWAN_USSD: u32 = 234946841u32; +pub const OID_WWAN_VENDOR_SPECIFIC: u32 = 234946836u32; +pub const OID_WWAN_VISIBLE_PROVIDERS: u32 = 234946824u32; +pub const OID_XBOX_ACC_RESERVED0: u32 = 4194304000u32; +pub const OriginalNetBufferList: NDIS_PER_PACKET_INFO = 9i32; +pub const OriginalPacketInfo: NDIS_PER_PACKET_INFO = 7i32; +pub const PD_BUFFER_ATTR_BUILT_IN_DATA_BUFFER: u32 = 1u32; +pub const PD_BUFFER_FLAG_PARTIAL_PACKET_HEAD: u32 = 1u32; +pub const PD_BUFFER_MIN_RX_DATA_START_ALIGNMENT: u32 = 2u32; +pub const PD_BUFFER_MIN_RX_DATA_START_VALUE: u32 = 32u32; +pub const PD_BUFFER_MIN_TX_DATA_START_ALIGNMENT: u32 = 2u32; +pub const PERMANENT_VC: u32 = 1u32; +pub const PacketCancelId: NDIS_PER_PACKET_INFO = 8i32; +pub const QUERY_CALL_PARAMETERS: u32 = 4u32; +pub const READABLE_LOCAL_CLOCK: u32 = 1u32; +pub const RECEIVE_TIME_INDICATION: u32 = 1u32; +pub const RECEIVE_TIME_INDICATION_CAPABLE: u32 = 8u32; +pub const RECEIVE_VC: u32 = 8u32; +pub const RESERVE_RESOURCES_VC: u32 = 64u32; +pub const ROUND_DOWN_FLOW: u32 = 128u32; +pub const ROUND_UP_FLOW: u32 = 256u32; +pub const STRINGFORMAT_ASCII: u32 = 1u32; +pub const STRINGFORMAT_BINARY: u32 = 4u32; +pub const STRINGFORMAT_DBCS: u32 = 2u32; +pub const STRINGFORMAT_UNICODE: u32 = 3u32; +pub const ScatterGatherListPacketInfo: NDIS_PER_PACKET_INFO = 5i32; +pub const ShortPacketPaddingInfo: NDIS_PER_PACKET_INFO = 11i32; +pub const TIMED_SEND_CAPABLE: u32 = 16u32; +pub const TIME_STAMP_CAPABLE: u32 = 32u32; +pub const TRANSMIT_VC: u32 = 4u32; +pub const TRUNCATED_HASH_LEN: u32 = 12u32; +pub const TcpIpChecksumPacketInfo: NDIS_PER_PACKET_INFO = 0i32; +pub const TcpLargeSendPacketInfo: NDIS_PER_PACKET_INFO = 2i32; +pub const USE_TIME_STAMPS: u32 = 2u32; +pub const WAN_PROTOCOL_KEEPS_STATS: u32 = 1u32; +pub const fNDIS_GUID_ALLOW_READ: u32 = 32u32; +pub const fNDIS_GUID_ALLOW_WRITE: u32 = 64u32; +pub const fNDIS_GUID_ANSI_STRING: u32 = 4u32; +pub const fNDIS_GUID_ARRAY: u32 = 16u32; +pub const fNDIS_GUID_METHOD: u32 = 128u32; +pub const fNDIS_GUID_NDIS_RESERVED: u32 = 256u32; +pub const fNDIS_GUID_SUPPORT_COMMON_HEADER: u32 = 512u32; +pub const fNDIS_GUID_TO_OID: u32 = 1u32; +pub const fNDIS_GUID_TO_STATUS: u32 = 2u32; +pub const fNDIS_GUID_UNICODE_STRING: u32 = 8u32; +pub const fPACKET_ALLOCATED_BY_NDIS: u32 = 128u32; +pub const fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO: u32 = 64u32; +pub const fPACKET_WRAPPER_RESERVED: u32 = 63u32; +pub type NDIS_802_11_AUTHENTICATION_MODE = i32; +pub type NDIS_802_11_MEDIA_STREAM_MODE = i32; +pub type NDIS_802_11_NETWORK_INFRASTRUCTURE = i32; +pub type NDIS_802_11_NETWORK_TYPE = i32; +pub type NDIS_802_11_POWER_MODE = i32; +pub type NDIS_802_11_PRIVACY_FILTER = i32; +pub type NDIS_802_11_RADIO_STATUS = i32; +pub type NDIS_802_11_RELOAD_DEFAULTS = i32; +pub type NDIS_802_11_STATUS_TYPE = i32; +pub type NDIS_802_11_WEP_STATUS = i32; +pub type NDIS_802_5_RING_STATE = i32; +pub type NDIS_CLASS_ID = i32; +pub type NDIS_DEVICE_PNP_EVENT = i32; +pub type NDIS_DEVICE_POWER_STATE = i32; +pub type NDIS_ENVIRONMENT_TYPE = i32; +pub type NDIS_FDDI_ATTACHMENT_TYPE = i32; +pub type NDIS_FDDI_LCONNECTION_STATE = i32; +pub type NDIS_FDDI_RING_MGT_STATE = i32; +pub type NDIS_HARDWARE_STATUS = i32; +pub type NDIS_INTERFACE_TYPE = i32; +pub type NDIS_INTERRUPT_MODERATION = i32; +pub type NDIS_MEDIA_STATE = i32; +pub type NDIS_MEDIUM = i32; +pub type NDIS_NETWORK_CHANGE_TYPE = i32; +pub type NDIS_PARAMETER_TYPE = i32; +pub type NDIS_PER_PACKET_INFO = i32; +pub type NDIS_PHYSICAL_MEDIUM = i32; +pub type NDIS_PORT_AUTHORIZATION_STATE = i32; +pub type NDIS_PORT_CONTROL_STATE = i32; +pub type NDIS_PORT_TYPE = i32; +pub type NDIS_POWER_PROFILE = i32; +pub type NDIS_PROCESSOR_TYPE = i32; +pub type NDIS_PROCESSOR_VENDOR = i32; +pub type NDIS_REQUEST_TYPE = i32; +pub type NDIS_SUPPORTED_PAUSE_FUNCTIONS = i32; +pub type NDIS_WAN_HEADER_FORMAT = i32; +pub type NDIS_WAN_MEDIUM_SUBTYPE = i32; +pub type NDIS_WAN_QUALITY = i32; +pub type OFFLOAD_CONF_ALGO = i32; +pub type OFFLOAD_INTEGRITY_ALGO = i32; +pub type OFFLOAD_OPERATION_E = i32; +pub type UDP_ENCAP_TYPE = i32; +#[repr(C)] +pub struct BINARY_DATA { + pub Length: u16, + pub Buffer: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for BINARY_DATA {} +impl ::core::clone::Clone for BINARY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct BSSID_INFO { + pub BSSID: [u8; 6], + pub PMKID: [u8; 16], +} +impl ::core::marker::Copy for BSSID_INFO {} +impl ::core::clone::Clone for BSSID_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CO_ADDRESS { + pub AddressSize: u32, + pub Address: [u8; 1], +} +impl ::core::marker::Copy for CO_ADDRESS {} +impl ::core::clone::Clone for CO_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CO_ADDRESS_FAMILY { + pub AddressFamily: u32, + pub MajorVersion: u32, + pub MinorVersion: u32, +} +impl ::core::marker::Copy for CO_ADDRESS_FAMILY {} +impl ::core::clone::Clone for CO_ADDRESS_FAMILY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CO_ADDRESS_LIST { + pub NumberOfAddressesAvailable: u32, + pub NumberOfAddresses: u32, + pub AddressList: CO_ADDRESS, +} +impl ::core::marker::Copy for CO_ADDRESS_LIST {} +impl ::core::clone::Clone for CO_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct CO_CALL_MANAGER_PARAMETERS { + pub Transmit: super::super::super::Win32::Networking::WinSock::FLOWSPEC, + pub Receive: super::super::super::Win32::Networking::WinSock::FLOWSPEC, + pub CallMgrSpecific: CO_SPECIFIC_PARAMETERS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for CO_CALL_MANAGER_PARAMETERS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for CO_CALL_MANAGER_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +pub type CO_CALL_PARAMETERS = isize; +pub type CO_MEDIA_PARAMETERS = isize; +#[repr(C)] +pub struct CO_PVC { + pub NdisAfHandle: *mut ::core::ffi::c_void, + pub PvcParameters: CO_SPECIFIC_PARAMETERS, +} +impl ::core::marker::Copy for CO_PVC {} +impl ::core::clone::Clone for CO_PVC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CO_SAP { + pub SapType: u32, + pub SapLength: u32, + pub Sap: [u8; 1], +} +impl ::core::marker::Copy for CO_SAP {} +impl ::core::clone::Clone for CO_SAP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CO_SPECIFIC_PARAMETERS { + pub ParamType: u32, + pub Length: u32, + pub Parameters: [u8; 1], +} +impl ::core::marker::Copy for CO_SPECIFIC_PARAMETERS {} +impl ::core::clone::Clone for CO_SPECIFIC_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +pub type ETH_FILTER = isize; +#[repr(C)] +pub struct FILTERDBS { + pub Anonymous: FILTERDBS_0, + pub TrDB: *mut isize, + pub YYYDB: *mut ::core::ffi::c_void, + pub XXXDB: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for FILTERDBS {} +impl ::core::clone::Clone for FILTERDBS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union FILTERDBS_0 { + pub EthDB: *mut ETH_FILTER, + pub NullDB: *mut isize, +} +impl ::core::marker::Copy for FILTERDBS_0 {} +impl ::core::clone::Clone for FILTERDBS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GEN_GET_NETCARD_TIME { + pub ReadTime: u64, +} +impl ::core::marker::Copy for GEN_GET_NETCARD_TIME {} +impl ::core::clone::Clone for GEN_GET_NETCARD_TIME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct GEN_GET_TIME_CAPS { + pub Flags: u32, + pub ClockPrecision: u32, +} +impl ::core::marker::Copy for GEN_GET_TIME_CAPS {} +impl ::core::clone::Clone for GEN_GET_TIME_CAPS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LOCK_STATE { + pub LockState: u16, + pub OldIrql: u8, +} +impl ::core::marker::Copy for LOCK_STATE {} +impl ::core::clone::Clone for LOCK_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MEDIA_SPECIFIC_INFORMATION { + pub NextEntryOffset: u32, + pub ClassId: NDIS_CLASS_ID, + pub Size: u32, + pub ClassInformation: [u8; 1], +} +impl ::core::marker::Copy for MEDIA_SPECIFIC_INFORMATION {} +impl ::core::clone::Clone for MEDIA_SPECIFIC_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_REQFI { + pub Capabilities: u16, + pub ListenInterval: u16, + pub CurrentAPAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_AI_REQFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_REQFI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_RESFI { + pub Capabilities: u16, + pub StatusCode: u16, + pub AssociationId: u16, +} +impl ::core::marker::Copy for NDIS_802_11_AI_RESFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_RESFI { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_ASSOCIATION_INFORMATION { + pub Length: u32, + pub AvailableRequestFixedIEs: u16, + pub RequestFixedIEs: NDIS_802_11_AI_REQFI, + pub RequestIELength: u32, + pub OffsetRequestIEs: u32, + pub AvailableResponseFixedIEs: u16, + pub ResponseFixedIEs: NDIS_802_11_AI_RESFI, + pub ResponseIELength: u32, + pub OffsetResponseIEs: u32, +} +impl ::core::marker::Copy for NDIS_802_11_ASSOCIATION_INFORMATION {} +impl ::core::clone::Clone for NDIS_802_11_ASSOCIATION_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_ENCRYPTION { + pub AuthModeSupported: NDIS_802_11_AUTHENTICATION_MODE, + pub EncryptStatusSupported: NDIS_802_11_WEP_STATUS, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_ENCRYPTION {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_EVENT { + pub Status: NDIS_802_11_STATUS_INDICATION, + pub Request: [NDIS_802_11_AUTHENTICATION_REQUEST; 1], +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_EVENT {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_EVENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_REQUEST { + pub Length: u32, + pub Bssid: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_REQUEST {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST_EX { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID_EX; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST_EX {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CAPABILITY { + pub Length: u32, + pub Version: u32, + pub NoOfPMKIDs: u32, + pub NoOfAuthEncryptPairsSupported: u32, + pub AuthenticationEncryptionSupported: [NDIS_802_11_AUTHENTICATION_ENCRYPTION; 1], +} +impl ::core::marker::Copy for NDIS_802_11_CAPABILITY {} +impl ::core::clone::Clone for NDIS_802_11_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION { + pub Length: u32, + pub BeaconPeriod: u32, + pub ATIMWindow: u32, + pub DSConfig: u32, + pub FHConfig: NDIS_802_11_CONFIGURATION_FH, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION_FH { + pub Length: u32, + pub HopPattern: u32, + pub HopSet: u32, + pub DwellTime: u32, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION_FH {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION_FH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_FIXED_IEs { + pub Timestamp: [u8; 8], + pub BeaconInterval: u16, + pub Capabilities: u16, +} +impl ::core::marker::Copy for NDIS_802_11_FIXED_IEs {} +impl ::core::clone::Clone for NDIS_802_11_FIXED_IEs { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub BSSID: [u8; 6], + pub KeyRSC: u64, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_KEY {} +impl ::core::clone::Clone for NDIS_802_11_KEY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_NETWORK_TYPE_LIST { + pub NumberOfItems: u32, + pub NetworkType: [NDIS_802_11_NETWORK_TYPE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NETWORK_TYPE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NETWORK_TYPE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_NON_BCAST_SSID_LIST { + pub NumberOfItems: u32, + pub Non_Bcast_Ssid: [NDIS_802_11_SSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NON_BCAST_SSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NON_BCAST_SSID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID { + pub Length: u32, + pub BSSIDInfoCount: u32, + pub BSSIDInfo: [BSSID_INFO; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID {} +impl ::core::clone::Clone for NDIS_802_11_PMKID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID_CANDIDATE_LIST { + pub Version: u32, + pub NumCandidates: u32, + pub CandidateList: [PMKID_CANDIDATE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID_CANDIDATE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_REMOVE_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub BSSID: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_REMOVE_KEY {} +impl ::core::clone::Clone for NDIS_802_11_REMOVE_KEY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_SSID { + pub SsidLength: u32, + pub Ssid: [u8; 32], +} +impl ::core::marker::Copy for NDIS_802_11_SSID {} +impl ::core::clone::Clone for NDIS_802_11_SSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_STATISTICS { + pub Length: u32, + pub TransmittedFragmentCount: i64, + pub MulticastTransmittedFrameCount: i64, + pub FailedCount: i64, + pub RetryCount: i64, + pub MultipleRetryCount: i64, + pub RTSSuccessCount: i64, + pub RTSFailureCount: i64, + pub ACKFailureCount: i64, + pub FrameDuplicateCount: i64, + pub ReceivedFragmentCount: i64, + pub MulticastReceivedFrameCount: i64, + pub FCSErrorCount: i64, + pub TKIPLocalMICFailures: i64, + pub TKIPICVErrorCount: i64, + pub TKIPCounterMeasuresInvoked: i64, + pub TKIPReplays: i64, + pub CCMPFormatErrors: i64, + pub CCMPReplays: i64, + pub CCMPDecryptErrors: i64, + pub FourWayHandshakeFailures: i64, + pub WEPUndecryptableCount: i64, + pub WEPICVErrorCount: i64, + pub DecryptSuccessCount: i64, + pub DecryptFailureCount: i64, +} +impl ::core::marker::Copy for NDIS_802_11_STATISTICS {} +impl ::core::clone::Clone for NDIS_802_11_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_STATUS_INDICATION { + pub StatusType: NDIS_802_11_STATUS_TYPE, +} +impl ::core::marker::Copy for NDIS_802_11_STATUS_INDICATION {} +impl ::core::clone::Clone for NDIS_802_11_STATUS_INDICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_TEST { + pub Length: u32, + pub Type: u32, + pub Anonymous: NDIS_802_11_TEST_0, +} +impl ::core::marker::Copy for NDIS_802_11_TEST {} +impl ::core::clone::Clone for NDIS_802_11_TEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_802_11_TEST_0 { + pub AuthenticationEvent: NDIS_802_11_AUTHENTICATION_EVENT, + pub RssiTrigger: i32, +} +impl ::core::marker::Copy for NDIS_802_11_TEST_0 {} +impl ::core::clone::Clone for NDIS_802_11_TEST_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_VARIABLE_IEs { + pub ElementID: u8, + pub Length: u8, + pub data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_VARIABLE_IEs {} +impl ::core::clone::Clone for NDIS_802_11_VARIABLE_IEs { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_802_11_WEP { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_WEP {} +impl ::core::clone::Clone for NDIS_802_11_WEP { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_AF_LIST = isize; +pub type NDIS_CALL_MANAGER_CHARACTERISTICS = isize; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_CONFIGURATION_PARAMETER { + pub ParameterType: NDIS_PARAMETER_TYPE, + pub ParameterData: NDIS_CONFIGURATION_PARAMETER_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_CONFIGURATION_PARAMETER {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_CONFIGURATION_PARAMETER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_CONFIGURATION_PARAMETER_0 { + pub IntegerData: u32, + pub StringData: super::super::super::Win32::Foundation::UNICODE_STRING, + pub BinaryData: BINARY_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_CONFIGURATION_PARAMETER_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_CONFIGURATION_PARAMETER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_CO_DEVICE_PROFILE { + pub DeviceDescription: NDIS_VAR_DATA_DESC, + pub DevSpecificInfo: NDIS_VAR_DATA_DESC, + pub ulTAPISupplementaryPassThru: u32, + pub ulAddressModes: u32, + pub ulNumAddresses: u32, + pub ulBearerModes: u32, + pub ulMaxTxRate: u32, + pub ulMinTxRate: u32, + pub ulMaxRxRate: u32, + pub ulMinRxRate: u32, + pub ulMediaModes: u32, + pub ulGenerateToneModes: u32, + pub ulGenerateToneMaxNumFreq: u32, + pub ulGenerateDigitModes: u32, + pub ulMonitorToneMaxNumFreq: u32, + pub ulMonitorToneMaxNumEntries: u32, + pub ulMonitorDigitModes: u32, + pub ulGatherDigitsMinTimeout: u32, + pub ulGatherDigitsMaxTimeout: u32, + pub ulDevCapFlags: u32, + pub ulMaxNumActiveCalls: u32, + pub ulAnswerMode: u32, + pub ulUUIAcceptSize: u32, + pub ulUUIAnswerSize: u32, + pub ulUUIMakeCallSize: u32, + pub ulUUIDropSize: u32, + pub ulUUISendUserUserInfoSize: u32, + pub ulUUICallInfoSize: u32, +} +impl ::core::marker::Copy for NDIS_CO_DEVICE_PROFILE {} +impl ::core::clone::Clone for NDIS_CO_DEVICE_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_CO_LINK_SPEED { + pub Outbound: u32, + pub Inbound: u32, +} +impl ::core::marker::Copy for NDIS_CO_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_CO_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_DMA_BLOCK { + pub MapRegisterBase: *mut ::core::ffi::c_void, + pub AllocationEvent: super::super::Foundation::KEVENT, + pub SystemAdapterObject: *mut ::core::ffi::c_void, + pub Miniport: *mut ::core::ffi::c_void, + pub InProgress: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_DMA_BLOCK {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_DMA_BLOCK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`"] +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +pub struct NDIS_DMA_DESCRIPTION { + pub DemandMode: super::super::super::Win32::Foundation::BOOLEAN, + pub AutoInitialize: super::super::super::Win32::Foundation::BOOLEAN, + pub DmaChannelSpecified: super::super::super::Win32::Foundation::BOOLEAN, + pub DmaWidth: super::super::System::SystemServices::DMA_WIDTH, + pub DmaSpeed: super::super::System::SystemServices::DMA_SPEED, + pub DmaPort: u32, + pub DmaChannel: u32, +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::marker::Copy for NDIS_DMA_DESCRIPTION {} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::clone::Clone for NDIS_DMA_DESCRIPTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_EVENT { + pub Event: super::super::Foundation::KEVENT, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_EVENT {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_EVENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_GUID { + pub Guid: ::windows_sys::core::GUID, + pub Anonymous: NDIS_GUID_0, + pub Size: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_GUID {} +impl ::core::clone::Clone for NDIS_GUID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_GUID_0 { + pub Oid: u32, + pub Status: i32, +} +impl ::core::marker::Copy for NDIS_GUID_0 {} +impl ::core::clone::Clone for NDIS_GUID_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_HARDWARE_CROSSTIMESTAMP { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SystemTimestamp1: u64, + pub HardwareClockTimestamp: u64, + pub SystemTimestamp2: u64, +} +impl ::core::marker::Copy for NDIS_HARDWARE_CROSSTIMESTAMP {} +impl ::core::clone::Clone for NDIS_HARDWARE_CROSSTIMESTAMP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_INTERRUPT_MODERATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub InterruptModeration: NDIS_INTERRUPT_MODERATION, +} +impl ::core::marker::Copy for NDIS_INTERRUPT_MODERATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub IpOperationalStatus: NDIS_IP_OPER_STATUS, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATUS { + pub AddressFamily: u32, + pub OperationalStatus: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATUS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub NumberofAddressFamiliesReturned: u32, + pub IpOperationalStatus: [NDIS_IP_OPER_STATUS; 32], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_IRDA_PACKET_INFO { + pub ExtraBOFs: u32, + pub MinTurnAroundTime: u32, +} +impl ::core::marker::Copy for NDIS_IRDA_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_IRDA_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_LINK_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub MediaDuplexState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_LINK_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_LINK_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_LINK_SPEED { + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, +} +impl ::core::marker::Copy for NDIS_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_LINK_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub MediaDuplexState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_LINK_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_LINK_STATE { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_MINIPORT_BLOCK = isize; +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_MINIPORT_TIMER { + pub Timer: super::super::System::SystemServices::KTIMER, + pub Dpc: super::super::Foundation::KDPC, + pub MiniportTimerFunction: PNDIS_TIMER_FUNCTION, + pub MiniportTimerContext: *mut ::core::ffi::c_void, + pub Miniport: *mut NDIS_MINIPORT_BLOCK, + pub NextTimer: *mut NDIS_MINIPORT_TIMER, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_MINIPORT_TIMER {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_MINIPORT_TIMER { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_M_DRIVER_BLOCK = isize; +#[repr(C)] +pub struct NDIS_OBJECT_HEADER { + pub Type: u8, + pub Revision: u8, + pub Size: u16, +} +impl ::core::marker::Copy for NDIS_OBJECT_HEADER {} +impl ::core::clone::Clone for NDIS_OBJECT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD {} +impl ::core::clone::Clone for NDIS_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub IPv4Checksum: u8, + pub TCPIPv4Checksum: u8, + pub UDPIPv4Checksum: u8, + pub TCPIPv6Checksum: u8, + pub UDPIPv6Checksum: u8, + pub LsoV1: u8, + pub IPsecV1: u8, + pub LsoV2IPv4: u8, + pub LsoV2IPv6: u8, + pub TcpConnectionIPv4: u8, + pub TcpConnectionIPv6: u8, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD_PARAMETERS {} +impl ::core::clone::Clone for NDIS_OFFLOAD_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_OPEN_BLOCK = isize; +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub OperationalStatus: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PACKET_8021Q_INFO { + pub Anonymous: NDIS_PACKET_8021Q_INFO_0, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_PACKET_8021Q_INFO_0 { + pub TagHeader: NDIS_PACKET_8021Q_INFO_0_0, + pub Value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO_0 {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PACKET_8021Q_INFO_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO_0_0 {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + pub Header: NDIS_OBJECT_HEADER, + pub DeviceType: u32, + pub CurrentSpeedAndMode: u32, + pub CurrentPayloadSize: u32, + pub MaxPayloadSize: u32, + pub MaxReadRequestSize: u32, + pub CurrentLinkSpeed: u32, + pub CurrentLinkWidth: u32, + pub MaxLinkSpeed: u32, + pub MaxLinkWidth: u32, + pub PciExpressVersion: u32, + pub InterruptType: u32, + pub MaxInterruptMessages: u32, +} +impl ::core::marker::Copy for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} +impl ::core::clone::Clone for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_PD_COUNTER_HANDLE = isize; +pub type NDIS_PD_FILTER_HANDLE = isize; +pub type NDIS_PD_PROVIDER_HANDLE = isize; +#[repr(C)] +pub struct NDIS_PHYSICAL_ADDRESS_UNIT { + pub PhysicalAddress: i64, + pub Length: u32, +} +impl ::core::marker::Copy for NDIS_PHYSICAL_ADDRESS_UNIT {} +impl ::core::clone::Clone for NDIS_PHYSICAL_ADDRESS_UNIT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PM_PACKET_PATTERN { + pub Priority: u32, + pub Reserved: u32, + pub MaskSize: u32, + pub PatternOffset: u32, + pub PatternSize: u32, + pub PatternFlags: u32, +} +impl ::core::marker::Copy for NDIS_PM_PACKET_PATTERN {} +impl ::core::clone::Clone for NDIS_PM_PACKET_PATTERN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PM_WAKE_UP_CAPABILITIES { + pub MinMagicPacketWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinPatternWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinLinkChangeWakeUp: NDIS_DEVICE_POWER_STATE, +} +impl ::core::marker::Copy for NDIS_PM_WAKE_UP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PM_WAKE_UP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PNP_CAPABILITIES { + pub Flags: u32, + pub WakeUpCapabilities: NDIS_PM_WAKE_UP_CAPABILITIES, +} +impl ::core::marker::Copy for NDIS_PNP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PNP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_POLL_HANDLE = isize; +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT { + pub Next: *mut NDIS_PORT, + pub NdisReserved: *mut ::core::ffi::c_void, + pub MiniportReserved: *mut ::core::ffi::c_void, + pub ProtocolReserved: *mut ::core::ffi::c_void, + pub PortCharacteristics: NDIS_PORT_CHARACTERISTICS, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_ARRAY { + pub Header: NDIS_OBJECT_HEADER, + pub NumberOfPorts: u32, + pub OffsetFirstPort: u32, + pub ElementSize: u32, + pub Ports: [NDIS_PORT_CHARACTERISTICS; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_ARRAY {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_PORT_AUTHENTICATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +impl ::core::marker::Copy for NDIS_PORT_AUTHENTICATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_CHARACTERISTICS { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub Flags: u32, + pub Type: NDIS_PORT_TYPE, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_CHARACTERISTICS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_CHARACTERISTICS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub Flags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_STATE { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_PROTOCOL_BLOCK = isize; +#[repr(C)] +pub struct NDIS_RECEIVE_HASH_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub HashInformation: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_HASH_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_HASH_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub CapabilitiesFlags: u32, + pub NumberOfInterruptMessages: u32, + pub NumberOfReceiveQueues: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u16, + pub BaseCpuNumber: u16, + pub HashInformation: u32, + pub IndirectionTableSize: u16, + pub IndirectionTableOffset: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK { + pub Anonymous1: NDIS_RW_LOCK_0, + pub Anonymous2: NDIS_RW_LOCK_1, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_RW_LOCK_0 { + pub Anonymous: NDIS_RW_LOCK_0_0, + pub Reserved: [u8; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK_0_0 { + pub SpinLock: usize, + pub Context: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_RW_LOCK_1 { + pub RefCount: [NDIS_RW_LOCK_REFCOUNT; 32], + pub RefCountEx: [u32; 128], + pub Anonymous: NDIS_RW_LOCK_1_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK_1_0 { + pub RefCountLock: usize, + pub SharedRefCount: u32, + pub WriterWaiting: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_1_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_RW_LOCK_REFCOUNT { + pub RefCount: u32, + pub cacheLine: [u8; 16], +} +impl ::core::marker::Copy for NDIS_RW_LOCK_REFCOUNT {} +impl ::core::clone::Clone for NDIS_RW_LOCK_REFCOUNT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_SPIN_LOCK { + pub SpinLock: usize, + pub OldIrql: u8, +} +impl ::core::marker::Copy for NDIS_SPIN_LOCK {} +impl ::core::clone::Clone for NDIS_SPIN_LOCK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub SupportedStatistics: u32, + pub ifInDiscards: u64, + pub ifInErrors: u64, + pub ifHCInOctets: u64, + pub ifHCInUcastPkts: u64, + pub ifHCInMulticastPkts: u64, + pub ifHCInBroadcastPkts: u64, + pub ifHCOutOctets: u64, + pub ifHCOutUcastPkts: u64, + pub ifHCOutMulticastPkts: u64, + pub ifHCOutBroadcastPkts: u64, + pub ifOutErrors: u64, + pub ifOutDiscards: u64, + pub ifHCInUcastOctets: u64, + pub ifHCInMulticastOctets: u64, + pub ifHCInBroadcastOctets: u64, + pub ifHCOutUcastOctets: u64, + pub ifHCOutMulticastOctets: u64, + pub ifHCOutBroadcastOctets: u64, +} +impl ::core::marker::Copy for NDIS_STATISTICS_INFO {} +impl ::core::clone::Clone for NDIS_STATISTICS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE { + pub Oid: u32, + pub DataLength: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE_EX { + pub Oid: u32, + pub DataLength: u32, + pub Length: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE_EX {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub _bitfield: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + pub Anonymous: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + pub Transmit: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1, + pub Receive: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0, + pub Value: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub TimeoutArrayLength: u32, + pub TimeoutArray: [u32; 1], +} +impl ::core::marker::Copy for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_TIMER { + pub Timer: super::super::System::SystemServices::KTIMER, + pub Dpc: super::super::Foundation::KDPC, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_TIMER {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_TIMER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub HardwareClockFrequencyHz: u64, + pub CrossTimestamp: super::super::super::Win32::Foundation::BOOLEAN, + pub Reserved1: u64, + pub Reserved2: u64, + pub TimestampFlags: NDIS_TIMESTAMP_CAPABILITY_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITIES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITY_FLAGS { + pub PtpV2OverUdpIPv4EventMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4EventMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub TaggedTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllReceiveSw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllTransmitSw: super::super::super::Win32::Foundation::BOOLEAN, + pub TaggedTransmitSw: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITY_FLAGS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_VAR_DATA_DESC { + pub Length: u16, + pub MaximumLength: u16, + pub Offset: usize, +} +impl ::core::marker::Copy for NDIS_VAR_DATA_DESC {} +impl ::core::clone::Clone for NDIS_VAR_DATA_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WAN_FRAGMENT { + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_WAN_FRAGMENT {} +impl ::core::clone::Clone for NDIS_WAN_FRAGMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WAN_GET_STATS { + pub LocalAddress: [u8; 6], + pub BytesSent: u32, + pub BytesRcvd: u32, + pub FramesSent: u32, + pub FramesRcvd: u32, + pub CRCErrors: u32, + pub TimeoutErrors: u32, + pub AlignmentErrors: u32, + pub SerialOverrunErrors: u32, + pub FramingErrors: u32, + pub BufferOverrunErrors: u32, + pub BytesTransmittedUncompressed: u32, + pub BytesReceivedUncompressed: u32, + pub BytesTransmittedCompressed: u32, + pub BytesReceivedCompressed: u32, +} +impl ::core::marker::Copy for NDIS_WAN_GET_STATS {} +impl ::core::clone::Clone for NDIS_WAN_GET_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WAN_LINE_DOWN { + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_WAN_LINE_DOWN {} +impl ::core::clone::Clone for NDIS_WAN_LINE_DOWN { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_WAN_LINE_UP { + pub LinkSpeed: u32, + pub MaximumTotalSize: u32, + pub Quality: NDIS_WAN_QUALITY, + pub SendWindow: u16, + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], + pub ProtocolBufferLength: u32, + pub ProtocolBuffer: *mut u8, + pub ProtocolType: u16, + pub DeviceName: super::super::super::Win32::Foundation::UNICODE_STRING, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_WAN_LINE_UP {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_WAN_LINE_UP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WAN_PROTOCOL_CAPS { + pub Flags: u32, + pub Reserved: u32, +} +impl ::core::marker::Copy for NDIS_WAN_PROTOCOL_CAPS {} +impl ::core::clone::Clone for NDIS_WAN_PROTOCOL_CAPS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 8], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID_EX { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 16], + pub IELength: u32, + pub IEs: [u8; 1], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID_EX {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_ENUM_ADAPTER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub DeviceNameLength: u16, + pub DeviceName: [u8; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_ENUM_ADAPTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_EVENT_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub PortNumber: u32, + pub DeviceNameLength: u32, + pub DeviceNameOffset: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_EVENT_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_EVENT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_WMI_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_WMI_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_WMI_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + pub Md5: u32, + pub Sha_1: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + pub Des: u32, + pub Reserved: u32, + pub TripleDes: u32, + pub NullEsp: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_METHOD_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_METHOD_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_METHOD_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_WMI_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_OUTPUT_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SupportedRevision: u8, + pub DataOffset: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OUTPUT_INFO {} +impl ::core::clone::Clone for NDIS_WMI_OUTPUT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_SET_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_SET_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_SET_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub SupportIPv4: u32, + pub SupportIPv6: u32, + pub SupportIPv6ExtensionHeaders: u32, + pub SupportSack: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub TcpOptions: u32, + pub IpOptions: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NDIS_WORK_ITEM { + pub Context: *mut ::core::ffi::c_void, + pub Routine: NDIS_PROC, + pub WrapperReserved: [u8; 32], +} +impl ::core::marker::Copy for NDIS_WORK_ITEM {} +impl ::core::clone::Clone for NDIS_WORK_ITEM { + fn clone(&self) -> Self { + *self + } +} +pub type NDIS_WRAPPER_HANDLE = isize; +#[repr(C)] +pub struct NETWORK_ADDRESS { + pub AddressLength: u16, + pub AddressType: u16, + pub Address: [u8; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS {} +impl ::core::clone::Clone for NETWORK_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP { + pub sin_port: u16, + pub IN_ADDR: u32, + pub sin_zero: [u8; 8], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP6 { + pub sin6_port: u16, + pub sin6_flowinfo: u32, + pub sin6_addr: [u16; 8], + pub sin6_scope_id: u32, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP6 {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IPX { + pub NetworkAddress: u32, + pub NodeAddress: [u8; 6], + pub Socket: u16, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IPX {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IPX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_LIST { + pub AddressCount: i32, + pub AddressType: u16, + pub Address: [NETWORK_ADDRESS; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_LIST {} +impl ::core::clone::Clone for NETWORK_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +pub type NULL_FILTER = isize; +#[repr(C)] +pub struct OFFLOAD_ALGO_INFO { + pub algoIdentifier: u32, + pub algoKeylen: u32, + pub algoRounds: u32, +} +impl ::core::marker::Copy for OFFLOAD_ALGO_INFO {} +impl ::core::clone::Clone for OFFLOAD_ALGO_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DestAddr: u32, + pub DestMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DestPort: u16, + pub SrcTunnelAddr: u32, + pub DestTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_UDPESP_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DstAddr: u32, + pub DstMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DstPort: u16, + pub SrcTunnelAddr: u32, + pub DstTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub EncapTypeEntry: OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY, + pub EncapTypeEntryOffldHandle: super::super::super::Win32::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_SA { + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_UDPESP_SA { + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub EncapTypeEntryOffldHandle: super::super::super::Win32::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + pub UdpEncapType: UDP_ENCAP_TYPE, + pub DstEncapPort: u16, +} +impl ::core::marker::Copy for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} +impl ::core::clone::Clone for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OFFLOAD_SECURITY_ASSOCIATION { + pub Operation: OFFLOAD_OPERATION_E, + pub SPI: u32, + pub IntegrityAlgo: OFFLOAD_ALGO_INFO, + pub ConfAlgo: OFFLOAD_ALGO_INFO, + pub Reserved: OFFLOAD_ALGO_INFO, +} +impl ::core::marker::Copy for OFFLOAD_SECURITY_ASSOCIATION {} +impl ::core::clone::Clone for OFFLOAD_SECURITY_ASSOCIATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PMKID_CANDIDATE { + pub BSSID: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for PMKID_CANDIDATE {} +impl ::core::clone::Clone for PMKID_CANDIDATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct REFERENCE { + pub SpinLock: usize, + pub ReferenceCount: u16, + pub Closing: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for REFERENCE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for REFERENCE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct TRANSPORT_HEADER_OFFSET { + pub ProtocolType: u16, + pub HeaderOffset: u16, +} +impl ::core::marker::Copy for TRANSPORT_HEADER_OFFSET {} +impl ::core::clone::Clone for TRANSPORT_HEADER_OFFSET { + fn clone(&self) -> Self { + *self + } +} +pub type TR_FILTER = isize; +#[repr(C)] +pub struct VAR_STRING { + pub ulTotalSize: u32, + pub ulNeededSize: u32, + pub ulUsedSize: u32, + pub ulStringFormat: u32, + pub ulStringSize: u32, + pub ulStringOffset: u32, +} +impl ::core::marker::Copy for VAR_STRING {} +impl ::core::clone::Clone for VAR_STRING { + fn clone(&self) -> Self { + *self + } +} +pub type CL_ADD_PARTY_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_CALL_CONNECTED_HANDLER = ::core::option::Option; +pub type CL_CLOSE_AF_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_CLOSE_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_DEREG_SAP_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_DROP_PARTY_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_INCOMING_CALL_HANDLER = ::core::option::Option i32>; +pub type CL_INCOMING_CALL_QOS_CHANGE_HANDLER = ::core::option::Option; +pub type CL_INCOMING_CLOSE_CALL_HANDLER = ::core::option::Option; +pub type CL_INCOMING_DROP_PARTY_HANDLER = ::core::option::Option; +pub type CL_MAKE_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_MODIFY_CALL_QOS_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_OPEN_AF_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_REG_SAP_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_ACTIVATE_VC_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_ADD_PARTY_HANDLER = ::core::option::Option i32>; +pub type CM_CLOSE_AF_HANDLER = ::core::option::Option i32>; +pub type CM_CLOSE_CALL_HANDLER = ::core::option::Option i32>; +pub type CM_DEACTIVATE_VC_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_DEREG_SAP_HANDLER = ::core::option::Option i32>; +pub type CM_DROP_PARTY_HANDLER = ::core::option::Option i32>; +pub type CM_INCOMING_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_MAKE_CALL_HANDLER = ::core::option::Option i32>; +pub type CM_MODIFY_CALL_QOS_HANDLER = ::core::option::Option i32>; +pub type CM_OPEN_AF_HANDLER = ::core::option::Option i32>; +pub type CM_REG_SAP_HANDLER = ::core::option::Option i32>; +pub type CO_AF_REGISTER_NOTIFY_HANDLER = ::core::option::Option; +pub type CO_CREATE_VC_HANDLER = ::core::option::Option i32>; +pub type CO_DELETE_VC_HANDLER = ::core::option::Option i32>; +pub type MINIPORT_CO_ACTIVATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_CREATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_DEACTIVATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_DELETE_VC = ::core::option::Option i32>; +pub type NDIS_PROC = ::core::option::Option; +pub type NDIS_PROC_CALLBACK = ::core::option::Option; +pub type NDIS_TIMER_FUNCTION = ::core::option::Option; +pub type PNDIS_TIMER_FUNCTION = ::core::option::Option; +pub type PROTCOL_CO_AF_REGISTER_NOTIFY = ::core::option::Option; +pub type PROTOCOL_CL_ADD_PARTY_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_CALL_CONNECTED = ::core::option::Option; +pub type PROTOCOL_CL_CLOSE_AF_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_CLOSE_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_DEREGISTER_SAP_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_DROP_PARTY_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CL_INCOMING_CALL_QOS_CHANGE = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_CLOSE_CALL = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_DROP_PARTY = ::core::option::Option; +pub type PROTOCOL_CL_MAKE_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_MODIFY_CALL_QOS_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_OPEN_AF_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_REGISTER_SAP_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_ACTIVATE_VC_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_ADD_PARTY = ::core::option::Option i32>; +pub type PROTOCOL_CM_CLOSE_AF = ::core::option::Option i32>; +pub type PROTOCOL_CM_CLOSE_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_DEACTIVATE_VC_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_DEREGISTER_SAP = ::core::option::Option i32>; +pub type PROTOCOL_CM_DROP_PARTY = ::core::option::Option i32>; +pub type PROTOCOL_CM_INCOMING_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_MAKE_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_MODIFY_QOS_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_OPEN_AF = ::core::option::Option i32>; +pub type PROTOCOL_CM_REG_SAP = ::core::option::Option i32>; +pub type PROTOCOL_CO_AF_REGISTER_NOTIFY = ::core::option::Option; +pub type PROTOCOL_CO_CREATE_VC = ::core::option::Option i32>; +pub type PROTOCOL_CO_DELETE_VC = ::core::option::Option i32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TDI_PNP_HANDLER = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TDI_REGISTER_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type W_CO_ACTIVATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_CREATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_DEACTIVATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_DELETE_VC_HANDLER = ::core::option::Option i32>; diff --git a/crates/libs/sys/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs new file mode 100644 index 0000000000..6ea6308133 --- /dev/null +++ b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -0,0 +1,300 @@ +#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] +::windows_targets::link!("fwpkclnt.sys" "system" #[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmBfeStateGet0() -> super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SERVICE_STATE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpkclnt.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmBfeStateSubscribeChanges0(deviceobject : *mut ::core::ffi::c_void, callback : FWPM_SERVICE_STATE_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpkclnt.sys" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmBfeStateUnsubscribeChanges0(changehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmCalloutAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, callout : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmCalloutCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmCalloutDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmCalloutEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmCalloutGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u32, callout : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmCalloutGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, callout : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmCalloutGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmCalloutSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmConnectionCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmConnectionDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmConnectionEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmConnectionGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, connection : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmConnectionGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmConnectionSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmEngineClose0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmEngineGetOption0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, option : super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_ENGINE_OPTION, value : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWP_VALUE0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security", feature = "Win32_System_Rpc"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`, `\"Win32_System_Rpc\"`"] fn FwpmEngineOpen0(servername : ::windows_sys::core::PCWSTR, authnservice : u32, authidentity : *const super::super::super::Win32::System::Rpc:: SEC_WINNT_AUTH_IDENTITY_W, session : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION0, enginehandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmEngineSetOption0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, option : super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_ENGINE_OPTION, newvalue : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWP_VALUE0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmEngineSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmFilterAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, filter : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmFilterCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmFilterDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmFilterEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmFilterGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, filter : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmFilterGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, filter : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmFilterSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFreeMemory0(p : *mut *mut ::core::ffi::c_void)); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmIPsecTunnelAdd3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_sys::core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmIPsecTunnelDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmLayerCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmLayerDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmLayerEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmLayerGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u16, layer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmLayerGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, layer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmLayerGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmLayerSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmNetEventDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT3, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum4(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT4, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmNetEventEnum5(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT5, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventsGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmNetEventsSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, provider : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextAdd3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmProviderContextCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderContextDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextEnum3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetById3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetByKey3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmProviderCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmProviderDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmProviderEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmProviderGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, provider : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmProviderSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmSessionCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSessionDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmSessionEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn FwpmSubLayerAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, sublayer : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmSubLayerCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmSubLayerDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmSubLayerEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn FwpmSubLayerGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, sublayer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_sys::core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionAbort0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionBegin0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FwpmTransactionCommit0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecDospGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecDospGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, idpstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecDospSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecDospStateCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATE_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecDospStateDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecDospStateEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATE0, numentries : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ipsecstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecGetStatistics1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ipsecstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_STATISTICS1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextAddInbound0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, inboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextAddInbound1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, inboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextAddOutbound0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, outboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextAddOutbound1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, outboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextCreate0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, outboundtraffic : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_TRAFFIC0, inboundfilterid : *mut u64, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextCreate1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, outboundtraffic : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_TRAFFIC1, virtualiftunnelinfo : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_VIRTUAL_IF_TUNNEL_INFO0, inboundfilterid : *mut u64, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaContextExpire0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sacontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sacontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextGetSpi0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI0, inboundspi : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextGetSpi1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI1, inboundspi : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaContextSetSpi0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI1, inboundspi : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaContextUpdate0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u64, newvalues : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IPsecSaCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaDbGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IPsecSaDbSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IPsecSaDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_DETAILS0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IPsecSaEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_DETAILS1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ikeextstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextGetStatistics1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ikeextstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_STATISTICS1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] fn IkeextSaCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IkeextSaDbGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn IkeextSaDbSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IkeextSaDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS0) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_sys::core::GUID, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS1) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +::windows_targets::link!("fwpuclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] fn IkeextSaGetById2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_sys::core::GUID, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS2) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] +pub type FWPM_SERVICE_STATE_CHANGE_CALLBACK0 = ::core::option::Option; diff --git a/crates/libs/sys/src/Windows/Wdk/NetworkManagement/mod.rs b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/mod.rs new file mode 100644 index 0000000000..d67a76208a --- /dev/null +++ b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "Wdk_NetworkManagement_Ndis")] +#[doc = "Required features: `\"Wdk_NetworkManagement_Ndis\"`"] +pub mod Ndis; +#[cfg(feature = "Wdk_NetworkManagement_WindowsFilteringPlatform")] +#[doc = "Required features: `\"Wdk_NetworkManagement_WindowsFilteringPlatform\"`"] +pub mod WindowsFilteringPlatform; diff --git a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs index b9fcfe61be..93fb32aee8 100644 --- a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs @@ -590,6 +590,22 @@ pub const FLT_VALID_FILE_NAME_FORMATS: u32 = 255u32; pub const FLT_VALID_FILE_NAME_QUERY_METHODS: u32 = 65280u32; pub const FLT_VOLUME_CONTEXT: u32 = 1u32; pub const GUID_ECP_FLT_CREATEFILE_TARGET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xce08041d_f411_447f_b70d_ccee45c23fac); +pub const IRP_MJ_ACQUIRE_FOR_CC_FLUSH: u16 = 65531u16; +pub const IRP_MJ_ACQUIRE_FOR_MOD_WRITE: u16 = 65533u16; +pub const IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION: u16 = 65535u16; +pub const IRP_MJ_FAST_IO_CHECK_IF_POSSIBLE: u16 = 65523u16; +pub const IRP_MJ_MDL_READ: u16 = 65521u16; +pub const IRP_MJ_MDL_READ_COMPLETE: u16 = 65520u16; +pub const IRP_MJ_MDL_WRITE_COMPLETE: u16 = 65518u16; +pub const IRP_MJ_NETWORK_QUERY_OPEN: u16 = 65522u16; +pub const IRP_MJ_OPERATION_END: u16 = 128u16; +pub const IRP_MJ_PREPARE_MDL_WRITE: u16 = 65519u16; +pub const IRP_MJ_QUERY_OPEN: u16 = 65529u16; +pub const IRP_MJ_RELEASE_FOR_CC_FLUSH: u16 = 65530u16; +pub const IRP_MJ_RELEASE_FOR_MOD_WRITE: u16 = 65532u16; +pub const IRP_MJ_RELEASE_FOR_SECTION_SYNCHRONIZATION: u16 = 65534u16; +pub const IRP_MJ_VOLUME_DISMOUNT: u16 = 65516u16; +pub const IRP_MJ_VOLUME_MOUNT: u16 = 65517u16; pub const VOL_PROP_FL_DAX_VOLUME: u32 = 1u32; pub type FLT_CALLBACK_DATA_QUEUE_FLAGS = i32; pub type FLT_POSTOP_CALLBACK_STATUS = i32; diff --git a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs index 4ff43a9362..b673535e26 100644 --- a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -545,9 +545,9 @@ pub mod Minifilters; #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterFileSystem(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterFsRegistrationChangeMountAware(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION, synchronizewithmounts : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterFsRegistrationChangeMountAware(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION, synchronizewithmounts : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReleaseVpbSpinLock(irql : u8)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoReplaceFileObjectName(fileobject : *const super::super::Foundation:: FILE_OBJECT, newfilename : ::windows_sys::core::PCWSTR, filenamelength : u16) -> super::super::super::Win32::Foundation:: NTSTATUS); @@ -568,7 +568,7 @@ pub mod Minifilters; #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoUnregisterFileSystem(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoUnregisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION)); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoUnregisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoVerifyVolume(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, allowrawmount : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(feature = "Wdk_Foundation")] @@ -812,8 +812,6 @@ pub mod Minifilters; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlCompressChunks(uncompressedbuffer : *const u8, uncompressedbuffersize : u32, compressedbuffer : *mut u8, compressedbuffersize : u32, compresseddatainfo : *mut COMPRESSED_DATA_INFO, compresseddatainfolength : u32, workspace : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlConvertSidToUnicodeString(unicodestring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sid : super::super::super::Win32::Foundation:: PSID, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); -#[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlCopyLuid(destinationluid : *mut super::super::super::Win32::Foundation:: LUID, sourceluid : *const super::super::super::Win32::Foundation:: LUID)); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlCopySid(destinationsidlength : u32, destinationsid : super::super::super::Win32::Foundation:: PSID, sourcesid : super::super::super::Win32::Foundation:: PSID) -> super::super::super::Win32::Foundation:: NTSTATUS); @@ -1553,6 +1551,13 @@ pub const FSRTL_VOLUME_UNLOCK: u32 = 5u32; pub const FSRTL_VOLUME_WEARING_OUT: u32 = 9u32; pub const FSRTL_VOLUME_WORM_NEAR_FULL: u32 = 8u32; pub const FSRTL_WILD_CHARACTER: u32 = 8u32; +pub const FS_FILTER_ACQUIRE_FOR_CC_FLUSH: u16 = 65531u16; +pub const FS_FILTER_ACQUIRE_FOR_MOD_WRITE: u16 = 65533u16; +pub const FS_FILTER_ACQUIRE_FOR_SECTION_SYNCHRONIZATION: u16 = 65535u16; +pub const FS_FILTER_QUERY_OPEN: u16 = 65529u16; +pub const FS_FILTER_RELEASE_FOR_CC_FLUSH: u16 = 65530u16; +pub const FS_FILTER_RELEASE_FOR_MOD_WRITE: u16 = 65532u16; +pub const FS_FILTER_RELEASE_FOR_SECTION_SYNCHRONIZATION: u16 = 65534u16; pub const FS_FILTER_SECTION_SYNC_IMAGE_EXTENTS_ARE_NOT_RVA: u32 = 8u32; pub const FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_ACCESS: u32 = 1u32; pub const FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_WRITE: u32 = 2u32; @@ -6131,9 +6136,6 @@ impl ::core::clone::Clone for VOLUME_REFS_INFO_BUFFER { #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] pub type ALLOCATE_VIRTUAL_MEMORY_EX_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_FS_NOTIFICATION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type FREE_VIRTUAL_MEMORY_EX_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; @@ -6162,7 +6164,6 @@ pub type PCOMPLETE_LOCK_IRP_ROUTINE = ::core::option::Option; -pub type PDRIVER_FS_NOTIFICATION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type PFILTER_REPORT_CHANGE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; diff --git a/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs index a439dcc34a..10cf88f618 100644 --- a/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs @@ -343,8 +343,8 @@ ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FsRtlIsTotalDeviceFailure(status : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("hal.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HalAcquireDisplayOwnership(resetdisplayparameters : PHAL_RESET_DISPLAY_PARAMETERS)); -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_Kernel"))] -::windows_targets::link!("hal.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Kernel\"`"] fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS); +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +::windows_targets::link!("hal.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))] ::windows_targets::link!("hal.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`"] fn HalAllocateCommonBuffer(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, length : u32, logicaladdress : *mut i64, cacheenabled : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void); #[cfg(feature = "Win32_Storage_IscsiDisc")] @@ -390,9 +390,9 @@ #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] fn IoAcquireRemoveLockEx(removelock : *mut IO_REMOVE_LOCK, tag : *const ::core::ffi::c_void, file : ::windows_sys::core::PCSTR, line : u32, remlocksize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoAllocateController(controllerobject : *const CONTROLLER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void)); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoAllocateController(controllerobject : *const CONTROLLER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL, context : *const ::core::ffi::c_void)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoAllocateDriverObjectExtension(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, clientidentificationaddress : *const ::core::ffi::c_void, driverobjectextensionsize : u32, driverobjectextension : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateErrorLogEntry(ioobject : *const ::core::ffi::c_void, entrysize : u8) -> *mut ::core::ffi::c_void); @@ -655,17 +655,17 @@ ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IoRecordIoAttribution(opaquehandle : *mut ::core::ffi::c_void, attributioninformation : *const IO_ATTRIBUTION_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterBootDriverCallback(callbackfunction : PBOOT_DRIVER_CALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterBootDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterBootDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : *const super::super::Foundation:: DRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IoRegisterContainerNotification(notificationclass : IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction : PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation : *const ::core::ffi::c_void, notificationinformationlength : u32, callbackregistration : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterDeviceInterface(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, interfaceclassguid : *const ::windows_sys::core::GUID, referencestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, symboliclinkname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : *const super::super::Foundation:: DRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterLastChanceShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : *const super::super::Foundation:: DRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoRegisterShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntoskrnl.exe" "system" fn IoReleaseCancelSpinLock(irql : u8)); @@ -762,7 +762,7 @@ #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoStartNextPacketByKey(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, cancelable : super::super::super::Win32::Foundation:: BOOLEAN, key : u32)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoStartPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, key : *const u32, cancelfunction : super::super::Foundation:: PDRIVER_CANCEL)); +::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoStartPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, key : *const u32, cancelfunction : *const super::super::Foundation:: DRIVER_CANCEL)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] ::windows_targets::link!("ntoskrnl.exe" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] fn IoStartTimer(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT)); #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1597,7 +1597,6 @@ ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_System_Kernel\"`"] fn RtlCopyString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING)); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlCopyUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING)); -::windows_targets::link!("ntdll.dll" "system" fn RtlCrc64(buffer : *const ::core::ffi::c_void, size : usize, initialcrc : u64) -> u64); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlCreateHashTable(hashtable : *mut *mut RTL_DYNAMIC_HASH_TABLE, shift : u32, flags : u32) -> super::super::super::Win32::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] @@ -3921,6 +3920,13 @@ pub const PciAcsBitDisable: PCI_ACS_BIT = 2i32; pub const PciAcsBitDontCare: PCI_ACS_BIT = 3i32; pub const PciAcsBitEnable: PCI_ACS_BIT = 1i32; pub const PciAcsReserved: PCI_ACS_BIT = 0i32; +pub const PciAddressParityError: u16 = 6u16; +pub const PciBusDataParityError: u16 = 1u16; +pub const PciBusMasterAbort: u16 = 3u16; +pub const PciBusSystemError: u16 = 2u16; +pub const PciBusTimeOut: u16 = 4u16; +pub const PciBusUnknownError: u16 = 0u16; +pub const PciCommandParityError: u16 = 7u16; pub const PciConventional: PCI_HARDWARE_INTERFACE = 0i32; pub const PciDeviceD3Cold_Reason_Default_State_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = 8i32; pub const PciDeviceD3Cold_Reason_INF_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = 9i32; @@ -3942,6 +3948,7 @@ pub const PciExpressRootComplexIntegratedEndpoint: PCI_EXPRESS_DEVICE_TYPE = 9i3 pub const PciExpressRootPort: PCI_EXPRESS_DEVICE_TYPE = 4i32; pub const PciExpressToPciXBridge: PCI_EXPRESS_DEVICE_TYPE = 7i32; pub const PciExpressUpstreamSwitchPort: PCI_EXPRESS_DEVICE_TYPE = 5i32; +pub const PciMasterDataParityError: u16 = 5u16; pub const PciXMode1: PCI_HARDWARE_INTERFACE = 1i32; pub const PciXMode2: PCI_HARDWARE_INTERFACE = 2i32; pub const PciXToExpressBridge: PCI_EXPRESS_DEVICE_TYPE = 8i32; @@ -10036,7 +10043,7 @@ impl ::core::clone::Clone for MAP_REGISTER_ENTRY { #[doc = "Required features: `\"Wdk_Foundation\"`"] #[cfg(feature = "Wdk_Foundation")] pub struct MCA_DRIVER_INFO { - pub ExceptionCallback: PDRIVER_MCA_EXCEPTION_CALLBACK, + pub ExceptionCallback: isize, pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE, pub DeviceContext: *mut ::core::ffi::c_void, } @@ -16292,51 +16299,51 @@ impl ::core::clone::Clone for VM_COUNTERS_EX2 { } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct WAIT_CONTEXT_BLOCK { pub Anonymous: WAIT_CONTEXT_BLOCK_0, - pub DeviceRoutine: PDRIVER_CONTROL, + pub DeviceRoutine: *mut super::super::Foundation::DRIVER_CONTROL, pub DeviceContext: *mut ::core::ffi::c_void, pub NumberOfMapRegisters: u32, pub DeviceObject: *mut ::core::ffi::c_void, pub CurrentIrp: *mut ::core::ffi::c_void, pub BufferChainingDpc: *mut super::super::Foundation::KDPC, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub union WAIT_CONTEXT_BLOCK_0 { pub WaitQueueEntry: KDEVICE_QUEUE_ENTRY, pub Anonymous: WAIT_CONTEXT_BLOCK_0_0, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0 {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct WAIT_CONTEXT_BLOCK_0_0 { pub DmaWaitEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub NumberOfChannels: u32, pub _bitfield: u32, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0_0 {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0_0 { fn clone(&self) -> Self { *self @@ -19825,42 +19832,9 @@ pub type DEVICE_RESET_HANDLER = ::core::option::Option; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_ADD_DEVICE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_CANCEL = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_CONTROL = ::core::option::Option IO_ALLOCATION_ACTION>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_DISPATCH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_DISPATCH_PAGED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type DRIVER_DISPATCH_RAISED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_INITIALIZE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type DRIVER_LIST_CONTROL = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub type DRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_REINITIALIZE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_STARTIO = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_UNLOAD = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] pub type ENABLE_VIRTUALIZATION = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Win32_System_Diagnostics_Etw\"`"] #[cfg(feature = "Win32_System_Diagnostics_Etw")] @@ -19873,87 +19847,6 @@ pub type EXT_DELETE_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_DETACH_DEVICE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_LOCK = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_OPEN = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_READ = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_READ_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_ALL = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_WRITE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; pub type FPGA_BUS_SCAN = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -20165,10 +20058,10 @@ pub type NPEM_CONTROL_SET_STANDARD_CONTROL = ::core::option::Option; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PALLOCATE_ADAPTER_CHANNEL = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PALLOCATE_ADAPTER_CHANNEL = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PALLOCATE_ADAPTER_CHANNEL_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PALLOCATE_ADAPTER_CHANNEL_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type PALLOCATE_COMMON_BUFFER = ::core::option::Option *mut ::core::ffi::c_void>; @@ -20196,10 +20089,10 @@ pub type PBOUND_CALLBACK = ::core::option::Option pub type PBUILD_MDL_FROM_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PBUILD_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PBUILD_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PBUILD_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PBUILD_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type PCALCULATE_SCATTER_GATHER_LIST_SIZE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; @@ -20315,18 +20208,8 @@ pub type PDEVICE_RESET_COMPLETION = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PDMA_COMPLETION_ROUTINE = ::core::option::Option; pub type PDRIVER_CMC_EXCEPTION_CALLBACK = ::core::option::Option; -pub type PDRIVER_CONTROL = ::core::option::Option IO_ALLOCATION_ACTION>; pub type PDRIVER_CPE_EXCEPTION_CALLBACK = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_DISPATCH_PAGED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PDRIVER_EXCPTN_CALLBACK = ::core::option::Option; -pub type PDRIVER_LIST_CONTROL = ::core::option::Option; -pub type PDRIVER_MCA_EXCEPTION_CALLBACK = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_REINITIALIZE = ::core::option::Option; pub type PDRIVER_VERIFIER_THUNK_ROUTINE = ::core::option::Option usize>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -20442,10 +20325,10 @@ pub type PGET_IDLE_WAKE_INFO = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PGET_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PGET_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PGET_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PGET_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PGET_SDEV_IDENTIFIER = ::core::option::Option u64>; pub type PGET_SET_DEVICE_DATA = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Foundation\"`"] diff --git a/crates/libs/sys/src/Windows/Wdk/mod.rs b/crates/libs/sys/src/Windows/Wdk/mod.rs index f23f661261..3d03ff6f6c 100644 --- a/crates/libs/sys/src/Windows/Wdk/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/mod.rs @@ -1,9 +1,15 @@ +#[cfg(feature = "Wdk_Devices")] +#[doc = "Required features: `\"Wdk_Devices\"`"] +pub mod Devices; #[cfg(feature = "Wdk_Foundation")] #[doc = "Required features: `\"Wdk_Foundation\"`"] pub mod Foundation; #[cfg(feature = "Wdk_Graphics")] #[doc = "Required features: `\"Wdk_Graphics\"`"] pub mod Graphics; +#[cfg(feature = "Wdk_NetworkManagement")] +#[doc = "Required features: `\"Wdk_NetworkManagement\"`"] +pub mod NetworkManagement; #[cfg(feature = "Wdk_Storage")] #[doc = "Required features: `\"Wdk_Storage\"`"] pub mod Storage; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index 3d1a2ea84a..035f4dcbb5 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -112,8 +112,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_Alias_ExW(pszdeviceinterface : ::windows_sys::core::PCWSTR, aliasinterfaceguid : *const ::windows_sys::core::GUID, pszaliasdeviceinterface : ::windows_sys::core::PWSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListA(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, buffer : ::windows_sys::core::PSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListW(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, buffer : ::windows_sys::core::PWSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExA(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, buffer : ::windows_sys::core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExW(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, buffer : ::windows_sys::core::PWSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExA(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, buffer : ::windows_sys::core::PSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExW(interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, buffer : ::windows_sys::core::PWSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeA(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeW(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_Size_ExA(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); @@ -2485,101 +2485,101 @@ pub const SetupFileLogDiskTagfile: SetupFileLogInfo = 2i32; pub const SetupFileLogMax: SetupFileLogInfo = 5i32; pub const SetupFileLogOtherInfo: SetupFileLogInfo = 4i32; pub const SetupFileLogSourceFilename: SetupFileLogInfo = 0i32; -pub const fDD_BYTE: u32 = 0u32; -pub const fDD_BYTE_AND_WORD: u32 = 3u32; -pub const fDD_BusMaster: u32 = 4u32; -pub const fDD_DWORD: u32 = 2u32; -pub const fDD_NoBusMaster: u32 = 0u32; -pub const fDD_TypeA: u32 = 8u32; -pub const fDD_TypeB: u32 = 16u32; -pub const fDD_TypeF: u32 = 24u32; -pub const fDD_TypeStandard: u32 = 0u32; -pub const fDD_WORD: u32 = 1u32; -pub const fIOD_10_BIT_DECODE: u32 = 4u32; -pub const fIOD_12_BIT_DECODE: u32 = 8u32; -pub const fIOD_16_BIT_DECODE: u32 = 16u32; -pub const fIOD_DECODE: u32 = 252u32; -pub const fIOD_IO: u32 = 1u32; -pub const fIOD_Memory: u32 = 0u32; -pub const fIOD_PASSIVE_DECODE: u32 = 64u32; -pub const fIOD_PORT_BAR: u32 = 256u32; -pub const fIOD_POSITIVE_DECODE: u32 = 32u32; -pub const fIOD_PortType: u32 = 1u32; -pub const fIOD_WINDOW_DECODE: u32 = 128u32; -pub const fIRQD_Edge: u32 = 2u32; -pub const fIRQD_Exclusive: u32 = 0u32; -pub const fIRQD_Level: u32 = 0u32; -pub const fIRQD_Level_Bit: u32 = 1u32; -pub const fIRQD_Share: u32 = 1u32; -pub const fIRQD_Share_Bit: u32 = 0u32; -pub const fMD_24: u32 = 0u32; -pub const fMD_32: u32 = 2u32; -pub const fMD_32_24: u32 = 2u32; -pub const fMD_Cacheable: u32 = 32u32; -pub const fMD_CombinedWrite: u32 = 16u32; -pub const fMD_CombinedWriteAllowed: u32 = 16u32; -pub const fMD_CombinedWriteDisallowed: u32 = 0u32; -pub const fMD_MEMORY_BAR: u32 = 128u32; -pub const fMD_MemoryType: u32 = 1u32; -pub const fMD_NonCacheable: u32 = 0u32; -pub const fMD_Pref: u32 = 4u32; -pub const fMD_PrefetchAllowed: u32 = 4u32; -pub const fMD_PrefetchDisallowed: u32 = 0u32; -pub const fMD_Prefetchable: u32 = 4u32; -pub const fMD_RAM: u32 = 1u32; -pub const fMD_ROM: u32 = 0u32; -pub const fMD_ReadAllowed: u32 = 0u32; -pub const fMD_ReadDisallowed: u32 = 8u32; -pub const fMD_Readable: u32 = 8u32; -pub const fMD_WINDOW_DECODE: u32 = 64u32; -pub const fPCD_ATTRIBUTES_PER_WINDOW: u32 = 32768u32; -pub const fPCD_IO1_16: u32 = 65536u32; -pub const fPCD_IO1_SRC_16: u32 = 262144u32; -pub const fPCD_IO1_WS_16: u32 = 524288u32; -pub const fPCD_IO1_ZW_8: u32 = 131072u32; -pub const fPCD_IO2_16: u32 = 1048576u32; -pub const fPCD_IO2_SRC_16: u32 = 4194304u32; -pub const fPCD_IO2_WS_16: u32 = 8388608u32; -pub const fPCD_IO2_ZW_8: u32 = 2097152u32; -pub const fPCD_IO_16: u32 = 1u32; -pub const fPCD_IO_8: u32 = 0u32; -pub const fPCD_IO_SRC_16: u32 = 32u32; -pub const fPCD_IO_WS_16: u32 = 64u32; -pub const fPCD_IO_ZW_8: u32 = 16u32; -pub const fPCD_MEM1_16: u32 = 67108864u32; -pub const fPCD_MEM1_A: u32 = 4u32; -pub const fPCD_MEM1_WS_ONE: u32 = 16777216u32; -pub const fPCD_MEM1_WS_THREE: u32 = 50331648u32; -pub const fPCD_MEM1_WS_TWO: u32 = 33554432u32; -pub const fPCD_MEM2_16: u32 = 1073741824u32; -pub const fPCD_MEM2_A: u32 = 8u32; -pub const fPCD_MEM2_WS_ONE: u32 = 268435456u32; -pub const fPCD_MEM2_WS_THREE: u32 = 805306368u32; -pub const fPCD_MEM2_WS_TWO: u32 = 536870912u32; -pub const fPCD_MEM_16: u32 = 2u32; -pub const fPCD_MEM_8: u32 = 0u32; -pub const fPCD_MEM_A: u32 = 4u32; -pub const fPCD_MEM_WS_ONE: u32 = 256u32; -pub const fPCD_MEM_WS_THREE: u32 = 768u32; -pub const fPCD_MEM_WS_TWO: u32 = 512u32; -pub const fPMF_AUDIO_ENABLE: u32 = 8u32; -pub const mDD_BusMaster: u32 = 4u32; -pub const mDD_Type: u32 = 24u32; -pub const mDD_Width: u32 = 3u32; -pub const mIRQD_Edge_Level: u32 = 2u32; -pub const mIRQD_Share: u32 = 1u32; -pub const mMD_32_24: u32 = 2u32; -pub const mMD_Cacheable: u32 = 32u32; -pub const mMD_CombinedWrite: u32 = 16u32; -pub const mMD_MemoryType: u32 = 1u32; -pub const mMD_Prefetchable: u32 = 4u32; -pub const mMD_Readable: u32 = 8u32; -pub const mPCD_IO_8_16: u32 = 1u32; -pub const mPCD_MEM1_WS: u32 = 50331648u32; -pub const mPCD_MEM2_WS: u32 = 805306368u32; -pub const mPCD_MEM_8_16: u32 = 2u32; -pub const mPCD_MEM_A_C: u32 = 12u32; -pub const mPCD_MEM_WS: u32 = 768u32; +pub const fDD_BYTE: DD_FLAGS = 0u32; +pub const fDD_BYTE_AND_WORD: DD_FLAGS = 3u32; +pub const fDD_BusMaster: DD_FLAGS = 4u32; +pub const fDD_DWORD: DD_FLAGS = 2u32; +pub const fDD_NoBusMaster: DD_FLAGS = 0u32; +pub const fDD_TypeA: DD_FLAGS = 8u32; +pub const fDD_TypeB: DD_FLAGS = 16u32; +pub const fDD_TypeF: DD_FLAGS = 24u32; +pub const fDD_TypeStandard: DD_FLAGS = 0u32; +pub const fDD_WORD: DD_FLAGS = 1u32; +pub const fIOD_10_BIT_DECODE: IOD_DESFLAGS = 4u32; +pub const fIOD_12_BIT_DECODE: IOD_DESFLAGS = 8u32; +pub const fIOD_16_BIT_DECODE: IOD_DESFLAGS = 16u32; +pub const fIOD_DECODE: IOD_DESFLAGS = 252u32; +pub const fIOD_IO: IOD_DESFLAGS = 1u32; +pub const fIOD_Memory: IOD_DESFLAGS = 0u32; +pub const fIOD_PASSIVE_DECODE: IOD_DESFLAGS = 64u32; +pub const fIOD_PORT_BAR: IOD_DESFLAGS = 256u32; +pub const fIOD_POSITIVE_DECODE: IOD_DESFLAGS = 32u32; +pub const fIOD_PortType: IOD_DESFLAGS = 1u32; +pub const fIOD_WINDOW_DECODE: IOD_DESFLAGS = 128u32; +pub const fIRQD_Edge: IRQD_FLAGS = 2u32; +pub const fIRQD_Exclusive: IRQD_FLAGS = 0u32; +pub const fIRQD_Level: IRQD_FLAGS = 0u32; +pub const fIRQD_Level_Bit: IRQD_FLAGS = 1u32; +pub const fIRQD_Share: IRQD_FLAGS = 1u32; +pub const fIRQD_Share_Bit: IRQD_FLAGS = 0u32; +pub const fMD_24: MD_FLAGS = 0u32; +pub const fMD_32: MD_FLAGS = 2u32; +pub const fMD_32_24: MD_FLAGS = 2u32; +pub const fMD_Cacheable: MD_FLAGS = 32u32; +pub const fMD_CombinedWrite: MD_FLAGS = 16u32; +pub const fMD_CombinedWriteAllowed: MD_FLAGS = 16u32; +pub const fMD_CombinedWriteDisallowed: MD_FLAGS = 0u32; +pub const fMD_MEMORY_BAR: MD_FLAGS = 128u32; +pub const fMD_MemoryType: MD_FLAGS = 1u32; +pub const fMD_NonCacheable: MD_FLAGS = 0u32; +pub const fMD_Pref: MD_FLAGS = 4u32; +pub const fMD_PrefetchAllowed: MD_FLAGS = 4u32; +pub const fMD_PrefetchDisallowed: MD_FLAGS = 0u32; +pub const fMD_Prefetchable: MD_FLAGS = 4u32; +pub const fMD_RAM: MD_FLAGS = 1u32; +pub const fMD_ROM: MD_FLAGS = 0u32; +pub const fMD_ReadAllowed: MD_FLAGS = 0u32; +pub const fMD_ReadDisallowed: MD_FLAGS = 8u32; +pub const fMD_Readable: MD_FLAGS = 8u32; +pub const fMD_WINDOW_DECODE: MD_FLAGS = 64u32; +pub const fPCD_ATTRIBUTES_PER_WINDOW: PCD_FLAGS = 32768u32; +pub const fPCD_IO1_16: PCD_FLAGS = 65536u32; +pub const fPCD_IO1_SRC_16: PCD_FLAGS = 262144u32; +pub const fPCD_IO1_WS_16: PCD_FLAGS = 524288u32; +pub const fPCD_IO1_ZW_8: PCD_FLAGS = 131072u32; +pub const fPCD_IO2_16: PCD_FLAGS = 1048576u32; +pub const fPCD_IO2_SRC_16: PCD_FLAGS = 4194304u32; +pub const fPCD_IO2_WS_16: PCD_FLAGS = 8388608u32; +pub const fPCD_IO2_ZW_8: PCD_FLAGS = 2097152u32; +pub const fPCD_IO_16: PCD_FLAGS = 1u32; +pub const fPCD_IO_8: PCD_FLAGS = 0u32; +pub const fPCD_IO_SRC_16: PCD_FLAGS = 32u32; +pub const fPCD_IO_WS_16: PCD_FLAGS = 64u32; +pub const fPCD_IO_ZW_8: PCD_FLAGS = 16u32; +pub const fPCD_MEM1_16: PCD_FLAGS = 67108864u32; +pub const fPCD_MEM1_A: PCD_FLAGS = 4u32; +pub const fPCD_MEM1_WS_ONE: PCD_FLAGS = 16777216u32; +pub const fPCD_MEM1_WS_THREE: PCD_FLAGS = 50331648u32; +pub const fPCD_MEM1_WS_TWO: PCD_FLAGS = 33554432u32; +pub const fPCD_MEM2_16: PCD_FLAGS = 1073741824u32; +pub const fPCD_MEM2_A: PCD_FLAGS = 8u32; +pub const fPCD_MEM2_WS_ONE: PCD_FLAGS = 268435456u32; +pub const fPCD_MEM2_WS_THREE: PCD_FLAGS = 805306368u32; +pub const fPCD_MEM2_WS_TWO: PCD_FLAGS = 536870912u32; +pub const fPCD_MEM_16: PCD_FLAGS = 2u32; +pub const fPCD_MEM_8: PCD_FLAGS = 0u32; +pub const fPCD_MEM_A: PCD_FLAGS = 4u32; +pub const fPCD_MEM_WS_ONE: PCD_FLAGS = 256u32; +pub const fPCD_MEM_WS_THREE: PCD_FLAGS = 768u32; +pub const fPCD_MEM_WS_TWO: PCD_FLAGS = 512u32; +pub const fPMF_AUDIO_ENABLE: PMF_FLAGS = 8u32; +pub const mDD_BusMaster: DD_FLAGS = 4u32; +pub const mDD_Type: DD_FLAGS = 24u32; +pub const mDD_Width: DD_FLAGS = 3u32; +pub const mIRQD_Edge_Level: IRQD_FLAGS = 2u32; +pub const mIRQD_Share: IRQD_FLAGS = 1u32; +pub const mMD_32_24: MD_FLAGS = 2u32; +pub const mMD_Cacheable: MD_FLAGS = 32u32; +pub const mMD_CombinedWrite: MD_FLAGS = 16u32; +pub const mMD_MemoryType: MD_FLAGS = 1u32; +pub const mMD_Prefetchable: MD_FLAGS = 4u32; +pub const mMD_Readable: MD_FLAGS = 8u32; +pub const mPCD_IO_8_16: PCD_FLAGS = 1u32; +pub const mPCD_MEM1_WS: PCD_FLAGS = 50331648u32; +pub const mPCD_MEM2_WS: PCD_FLAGS = 805306368u32; +pub const mPCD_MEM_8_16: PCD_FLAGS = 2u32; +pub const mPCD_MEM_A_C: PCD_FLAGS = 12u32; +pub const mPCD_MEM_WS: PCD_FLAGS = 768u32; pub const mPMF_AUDIO_ENABLE: u32 = 8u32; pub type CM_CDFLAGS = u32; pub type CM_CDMASK = u32; @@ -2597,12 +2597,18 @@ pub type CM_REENUMERATE_FLAGS = u32; pub type CM_REMOVAL_POLICY = u32; pub type CM_RESTYPE = u32; pub type CONFIGRET = u32; +pub type DD_FLAGS = u32; pub type DIINSTALLDEVICE_FLAGS = u32; pub type DIINSTALLDRIVER_FLAGS = u32; pub type DIROLLBACKDRIVER_FLAGS = u32; pub type DIUNINSTALLDRIVER_FLAGS = u32; pub type INF_STYLE = u32; +pub type IOD_DESFLAGS = u32; +pub type IRQD_FLAGS = u32; +pub type MD_FLAGS = u32; pub type OEM_SOURCE_MEDIA_TYPE = u32; +pub type PCD_FLAGS = u32; +pub type PMF_FLAGS = u32; pub type PNP_VETO_TYPE = i32; pub type SETUPSCANFILEQUEUE_FLAGS = u32; pub type SETUP_DI_BUILD_DRIVER_DRIVER_TYPE = u32; @@ -3012,7 +3018,7 @@ impl ::core::clone::Clone for DEVPRIVATE_RESOURCE { pub struct DMA_DES { pub DD_Count: u32, pub DD_Type: u32, - pub DD_Flags: u32, + pub DD_Flags: DD_FLAGS, pub DD_Alloc_Chan: u32, } impl ::core::marker::Copy for DMA_DES {} @@ -3324,7 +3330,7 @@ pub struct IO_DES { pub IOD_Type: u32, pub IOD_Alloc_Base: u64, pub IOD_Alloc_End: u64, - pub IOD_DesFlags: u32, + pub IOD_DesFlags: IOD_DESFLAGS, } impl ::core::marker::Copy for IO_DES {} impl ::core::clone::Clone for IO_DES { @@ -3362,7 +3368,7 @@ impl ::core::clone::Clone for IO_RESOURCE { pub struct IRQ_DES_32 { pub IRQD_Count: u32, pub IRQD_Type: u32, - pub IRQD_Flags: u32, + pub IRQD_Flags: IRQD_FLAGS, pub IRQD_Alloc_Num: u32, pub IRQD_Affinity: u32, } @@ -3376,7 +3382,7 @@ impl ::core::clone::Clone for IRQ_DES_32 { pub struct IRQ_DES_64 { pub IRQD_Count: u32, pub IRQD_Type: u32, - pub IRQD_Flags: u32, + pub IRQD_Flags: IRQD_FLAGS, pub IRQD_Alloc_Num: u32, pub IRQD_Affinity: u64, } @@ -3426,7 +3432,7 @@ pub struct MEM_DES { pub MD_Type: u32, pub MD_Alloc_Base: u64, pub MD_Alloc_End: u64, - pub MD_Flags: u32, + pub MD_Flags: MD_FLAGS, pub MD_Reserved: u32, } impl ::core::marker::Copy for MEM_DES {} @@ -3506,7 +3512,7 @@ impl ::core::clone::Clone for MEM_RESOURCE { pub struct MFCARD_DES { pub PMF_Count: u32, pub PMF_Type: u32, - pub PMF_Flags: u32, + pub PMF_Flags: PMF_FLAGS, pub PMF_ConfigOptions: u8, pub PMF_IoResourceIndex: u8, pub PMF_Reserved: [u8; 2], @@ -3532,7 +3538,7 @@ impl ::core::clone::Clone for MFCARD_RESOURCE { pub struct PCCARD_DES { pub PCD_Count: u32, pub PCD_Type: u32, - pub PCD_Flags: u32, + pub PCD_Flags: PCD_FLAGS, pub PCD_ConfigIndex: u8, pub PCD_Reserved: [u8; 3], pub PCD_MemoryCardBase1: u32, diff --git a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs index 3cd989fe46..0780b75c91 100644 --- a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs @@ -6030,15 +6030,33 @@ pub const RPC_NT_WRONG_KIND_OF_BINDING: NTSTATUS = -1073610750i32; pub const RPC_NT_WRONG_PIPE_VERSION: NTSTATUS = -1073545122i32; pub const RPC_NT_WRONG_STUB_VERSION: NTSTATUS = -1073545125i32; pub const RPC_NT_ZERO_DIVIDE: NTSTATUS = -1073610684i32; +pub const RPC_S_ACCESS_DENIED: i32 = -1073741790i32; +pub const RPC_S_ASYNC_CALL_PENDING: i32 = 259i32; +pub const RPC_S_BUFFER_TOO_SMALL: i32 = -1073741789i32; pub const RPC_S_CALLPENDING: ::windows_sys::core::HRESULT = -2147417835i32; +pub const RPC_S_INVALID_ARG: i32 = -1073741811i32; +pub const RPC_S_INVALID_LEVEL: i32 = -1073741811i32; +pub const RPC_S_INVALID_SECURITY_DESC: i32 = -1073741703i32; +pub const RPC_S_NOT_ENOUGH_QUOTA: i32 = -1073741756i32; +pub const RPC_S_OUT_OF_MEMORY: i32 = -1073741801i32; +pub const RPC_S_OUT_OF_THREADS: i32 = -1073741801i32; +pub const RPC_S_SERVER_OUT_OF_MEMORY: i32 = -1073741307i32; +pub const RPC_S_UNKNOWN_PRINCIPAL: i32 = -1073741709i32; pub const RPC_S_WAITONTIMER: ::windows_sys::core::HRESULT = -2147417834i32; pub const RPC_X_BAD_STUB_DATA: i32 = 1783i32; pub const RPC_X_BYTE_COUNT_TOO_SMALL: i32 = 1782i32; pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE: i32 = 1781i32; +pub const RPC_X_ENUM_VALUE_TOO_LARGE: i32 = 1781i32; +pub const RPC_X_INVALID_BOUND: i32 = -1073610717i32; +pub const RPC_X_INVALID_BUFFER: i32 = -1073741306i32; pub const RPC_X_INVALID_ES_ACTION: i32 = 1827i32; pub const RPC_X_INVALID_PIPE_OBJECT: i32 = 1830i32; +pub const RPC_X_INVALID_PIPE_OPERATION: i32 = 1831i32; +pub const RPC_X_INVALID_TAG: i32 = -1073610718i32; +pub const RPC_X_NO_MEMORY: i32 = -1073741801i32; pub const RPC_X_NO_MORE_ENTRIES: i32 = 1772i32; pub const RPC_X_NULL_REF_POINTER: i32 = 1780i32; +pub const RPC_X_PIPE_APP_MEMORY: i32 = -1073741801i32; pub const RPC_X_PIPE_CLOSED: i32 = 1916i32; pub const RPC_X_PIPE_DISCIPLINE_ERROR: i32 = 1917i32; pub const RPC_X_PIPE_EMPTY: i32 = 1918i32; @@ -6046,6 +6064,7 @@ pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE: i32 = 1779i32; pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL: i32 = 1773i32; pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE: i32 = 1774i32; pub const RPC_X_SS_CONTEXT_DAMAGED: i32 = 1777i32; +pub const RPC_X_SS_CONTEXT_MISMATCH: i32 = -1073545211i32; pub const RPC_X_SS_HANDLES_MISMATCH: i32 = 1778i32; pub const RPC_X_SS_IN_NULL_CONTEXT: i32 = 1775i32; pub const RPC_X_WRONG_ES_VERSION: i32 = 1828i32; diff --git a/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs index 28d1ed84d7..4343272a56 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/HttpServer/mod.rs @@ -41,7 +41,7 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ::windows_targets::link!("httpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn HttpReceiveClientCertificate(requestqueuehandle : super::super::Foundation:: HANDLE, connectionid : u64, flags : u32, sslclientcertinfo : *mut HTTP_SSL_CLIENT_CERT_INFO, sslclientcertinfosize : u32, bytesreceived : *mut u32, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_IO"))] -::windows_targets::link!("httpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`"] fn HttpReceiveHttpRequest(requestqueuehandle : super::super::Foundation:: HANDLE, requestid : u64, flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer : *mut HTTP_REQUEST_V2, requestbufferlength : u32, bytesreturned : *mut u32, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); +::windows_targets::link!("httpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`"] fn HttpReceiveHttpRequest(requestqueuehandle : super::super::Foundation:: HANDLE, requestid : u64, flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer : *mut HTTP_REQUEST_V2, requestbufferlength : u32, bytesreturned : *mut u32, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] ::windows_targets::link!("httpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn HttpReceiveRequestEntityBody(requestqueuehandle : super::super::Foundation:: HANDLE, requestid : u64, flags : u32, entitybuffer : *mut ::core::ffi::c_void, entitybufferlength : u32, bytesreturned : *mut u32, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index ea32cf87d6..2be9ff1c86 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -1000,7 +1000,10 @@ pub const EVENT_SRCSPEW: u32 = 100u32; pub const EVENT_SRCSPEW_END: u32 = 199u32; pub const EVENT_SRCSPEW_START: u32 = 100u32; pub const EVENT_TRACING_FATAL_ERROR: BUGCHECK_ERROR = 285u32; +pub const EXCEPTION_CONTINUE_EXECUTION: i32 = -1i32; +pub const EXCEPTION_CONTINUE_SEARCH: i32 = 0i32; pub const EXCEPTION_DEBUG_EVENT: DEBUG_EVENT_CODE = 1u32; +pub const EXCEPTION_EXECUTE_HANDLER: i32 = 1i32; pub const EXCEPTION_ON_INVALID_STACK: BUGCHECK_ERROR = 426u32; pub const EXCEPTION_SCOPE_INVALID: BUGCHECK_ERROR = 333u32; pub const EXFAT_FILE_SYSTEM: BUGCHECK_ERROR = 300u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs index 1a63af87d0..63fd16c0b0 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Rpc/mod.rs @@ -1003,6 +1003,7 @@ pub const RPC_S_NO_PRINC_NAME: RPC_STATUS = 1822i32; pub const RPC_S_NO_PROTSEQS: RPC_STATUS = 1719i32; pub const RPC_S_NO_PROTSEQS_REGISTERED: RPC_STATUS = 1714i32; pub const RPC_S_OBJECT_NOT_FOUND: RPC_STATUS = 1710i32; +pub const RPC_S_OK: RPC_STATUS = 0i32; pub const RPC_S_OUT_OF_RESOURCES: RPC_STATUS = 1721i32; pub const RPC_S_PRF_ELT_NOT_ADDED: RPC_STATUS = 1926i32; pub const RPC_S_PRF_ELT_NOT_REMOVED: RPC_STATUS = 1927i32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs index b10094740d..fc82c383a7 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Accessibility/mod.rs @@ -340,31 +340,31 @@ pub const AnimationStyle_Other: AnimationStyle = -1i32; pub const AnimationStyle_Shimmer: AnimationStyle = 6i32; pub const AnimationStyle_SparkleText: AnimationStyle = 3i32; pub const AnnotationObjects_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x310910c8_7c6e_4f20_becd_4aaf6d191156); -pub const AnnotationType_AdvancedProofingIssue: UIA_ANNOTATIONTYPE = 60020u32; -pub const AnnotationType_Author: UIA_ANNOTATIONTYPE = 60019u32; -pub const AnnotationType_CircularReferenceError: UIA_ANNOTATIONTYPE = 60022u32; -pub const AnnotationType_Comment: UIA_ANNOTATIONTYPE = 60003u32; -pub const AnnotationType_ConflictingChange: UIA_ANNOTATIONTYPE = 60018u32; -pub const AnnotationType_DataValidationError: UIA_ANNOTATIONTYPE = 60021u32; -pub const AnnotationType_DeletionChange: UIA_ANNOTATIONTYPE = 60012u32; -pub const AnnotationType_EditingLockedChange: UIA_ANNOTATIONTYPE = 60016u32; -pub const AnnotationType_Endnote: UIA_ANNOTATIONTYPE = 60009u32; -pub const AnnotationType_ExternalChange: UIA_ANNOTATIONTYPE = 60017u32; -pub const AnnotationType_Footer: UIA_ANNOTATIONTYPE = 60007u32; -pub const AnnotationType_Footnote: UIA_ANNOTATIONTYPE = 60010u32; -pub const AnnotationType_FormatChange: UIA_ANNOTATIONTYPE = 60014u32; -pub const AnnotationType_FormulaError: UIA_ANNOTATIONTYPE = 60004u32; -pub const AnnotationType_GrammarError: UIA_ANNOTATIONTYPE = 60002u32; -pub const AnnotationType_Header: UIA_ANNOTATIONTYPE = 60006u32; -pub const AnnotationType_Highlighted: UIA_ANNOTATIONTYPE = 60008u32; -pub const AnnotationType_InsertionChange: UIA_ANNOTATIONTYPE = 60011u32; -pub const AnnotationType_Mathematics: UIA_ANNOTATIONTYPE = 60023u32; -pub const AnnotationType_MoveChange: UIA_ANNOTATIONTYPE = 60013u32; -pub const AnnotationType_Sensitive: UIA_ANNOTATIONTYPE = 60024u32; -pub const AnnotationType_SpellingError: UIA_ANNOTATIONTYPE = 60001u32; -pub const AnnotationType_TrackChanges: UIA_ANNOTATIONTYPE = 60005u32; -pub const AnnotationType_Unknown: UIA_ANNOTATIONTYPE = 60000u32; -pub const AnnotationType_UnsyncedChange: UIA_ANNOTATIONTYPE = 60015u32; +pub const AnnotationType_AdvancedProofingIssue: UIA_ANNOTATIONTYPE = 60020i32; +pub const AnnotationType_Author: UIA_ANNOTATIONTYPE = 60019i32; +pub const AnnotationType_CircularReferenceError: UIA_ANNOTATIONTYPE = 60022i32; +pub const AnnotationType_Comment: UIA_ANNOTATIONTYPE = 60003i32; +pub const AnnotationType_ConflictingChange: UIA_ANNOTATIONTYPE = 60018i32; +pub const AnnotationType_DataValidationError: UIA_ANNOTATIONTYPE = 60021i32; +pub const AnnotationType_DeletionChange: UIA_ANNOTATIONTYPE = 60012i32; +pub const AnnotationType_EditingLockedChange: UIA_ANNOTATIONTYPE = 60016i32; +pub const AnnotationType_Endnote: UIA_ANNOTATIONTYPE = 60009i32; +pub const AnnotationType_ExternalChange: UIA_ANNOTATIONTYPE = 60017i32; +pub const AnnotationType_Footer: UIA_ANNOTATIONTYPE = 60007i32; +pub const AnnotationType_Footnote: UIA_ANNOTATIONTYPE = 60010i32; +pub const AnnotationType_FormatChange: UIA_ANNOTATIONTYPE = 60014i32; +pub const AnnotationType_FormulaError: UIA_ANNOTATIONTYPE = 60004i32; +pub const AnnotationType_GrammarError: UIA_ANNOTATIONTYPE = 60002i32; +pub const AnnotationType_Header: UIA_ANNOTATIONTYPE = 60006i32; +pub const AnnotationType_Highlighted: UIA_ANNOTATIONTYPE = 60008i32; +pub const AnnotationType_InsertionChange: UIA_ANNOTATIONTYPE = 60011i32; +pub const AnnotationType_Mathematics: UIA_ANNOTATIONTYPE = 60023i32; +pub const AnnotationType_MoveChange: UIA_ANNOTATIONTYPE = 60013i32; +pub const AnnotationType_Sensitive: UIA_ANNOTATIONTYPE = 60024i32; +pub const AnnotationType_SpellingError: UIA_ANNOTATIONTYPE = 60001i32; +pub const AnnotationType_TrackChanges: UIA_ANNOTATIONTYPE = 60005i32; +pub const AnnotationType_Unknown: UIA_ANNOTATIONTYPE = 60000i32; +pub const AnnotationType_UnsyncedChange: UIA_ANNOTATIONTYPE = 60015i32; pub const AnnotationTypes_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64b71f76_53c4_4696_a219_20e940c9a176); pub const Annotation_AdvancedProofingIssue_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdac7b72c_c0f2_4b84_b90d_5fafc0f0ef1c); pub const Annotation_AnnotationTypeId_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x20ae484f_69ef_4c48_8f5b_c4938b206ac7); @@ -567,16 +567,16 @@ pub const HCF_OPTION_NOTHEMECHANGE: HIGHCONTRASTW_FLAGS = 4096u32; pub const HasKeyboardFocus_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcf8afd39_3f46_4800_9656_b2bf12529905); pub const HeaderItem_Control_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe6bc12cb_7c8e_49cf_b168_4a93a32bebb0); pub const Header_Control_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5b90cbce_78fb_4614_82b6_554d74718e67); -pub const HeadingLevel1: UIA_HEADINGLEVEL_ID = 80051u32; -pub const HeadingLevel2: UIA_HEADINGLEVEL_ID = 80052u32; -pub const HeadingLevel3: UIA_HEADINGLEVEL_ID = 80053u32; -pub const HeadingLevel4: UIA_HEADINGLEVEL_ID = 80054u32; -pub const HeadingLevel5: UIA_HEADINGLEVEL_ID = 80055u32; -pub const HeadingLevel6: UIA_HEADINGLEVEL_ID = 80056u32; -pub const HeadingLevel7: UIA_HEADINGLEVEL_ID = 80057u32; -pub const HeadingLevel8: UIA_HEADINGLEVEL_ID = 80058u32; -pub const HeadingLevel9: UIA_HEADINGLEVEL_ID = 80059u32; -pub const HeadingLevel_None: UIA_HEADINGLEVEL_ID = 80050u32; +pub const HeadingLevel1: UIA_HEADINGLEVEL_ID = 80051i32; +pub const HeadingLevel2: UIA_HEADINGLEVEL_ID = 80052i32; +pub const HeadingLevel3: UIA_HEADINGLEVEL_ID = 80053i32; +pub const HeadingLevel4: UIA_HEADINGLEVEL_ID = 80054i32; +pub const HeadingLevel5: UIA_HEADINGLEVEL_ID = 80055i32; +pub const HeadingLevel6: UIA_HEADINGLEVEL_ID = 80056i32; +pub const HeadingLevel7: UIA_HEADINGLEVEL_ID = 80057i32; +pub const HeadingLevel8: UIA_HEADINGLEVEL_ID = 80058i32; +pub const HeadingLevel9: UIA_HEADINGLEVEL_ID = 80059i32; +pub const HeadingLevel_None: UIA_HEADINGLEVEL_ID = 80050i32; pub const HeadingLevel_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x29084272_aaaf_4a30_8796_3c12f62b6bbb); pub const HelpText_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x08555685_0977_45c7_a7a6_abaf5684121a); pub const HorizontalTextAlignment_Centered: HorizontalTextAlignment = 1i32; @@ -977,39 +977,39 @@ pub const StructuredMarkup_CompositionComplete_Event_GUID: ::windows_sys::core:: pub const StructuredMarkup_Deleted_Event_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf9d0a020_e1c1_4ecf_b9aa_52efde7e41e1); pub const StructuredMarkup_Pattern_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xabbd0878_8665_4f5c_94fc_36e7d8bb706b); pub const StructuredMarkup_SelectionChanged_Event_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa7c815f7_ff9f_41c7_a3a7_ab6cbfdb4903); -pub const StyleId_BulletedList: UIA_STYLE_ID = 70015u32; +pub const StyleId_BulletedList: UIA_STYLE_ID = 70015i32; pub const StyleId_BulletedList_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5963ed64_6426_4632_8caf_a32ad402d91a); -pub const StyleId_Custom: UIA_STYLE_ID = 70000u32; +pub const StyleId_Custom: UIA_STYLE_ID = 70000i32; pub const StyleId_Custom_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xef2edd3e_a999_4b7c_a378_09bbd52a3516); -pub const StyleId_Emphasis: UIA_STYLE_ID = 70013u32; +pub const StyleId_Emphasis: UIA_STYLE_ID = 70013i32; pub const StyleId_Emphasis_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xca6e7dbe_355e_4820_95a0_925f041d3470); -pub const StyleId_Heading1: UIA_STYLE_ID = 70001u32; +pub const StyleId_Heading1: UIA_STYLE_ID = 70001i32; pub const StyleId_Heading1_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7f7e8f69_6866_4621_930c_9a5d0ca5961c); -pub const StyleId_Heading2: UIA_STYLE_ID = 70002u32; +pub const StyleId_Heading2: UIA_STYLE_ID = 70002i32; pub const StyleId_Heading2_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbaa9b241_5c69_469d_85ad_474737b52b14); -pub const StyleId_Heading3: UIA_STYLE_ID = 70003u32; +pub const StyleId_Heading3: UIA_STYLE_ID = 70003i32; pub const StyleId_Heading3_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbf8be9d2_d8b8_4ec5_8c52_9cfb0d035970); -pub const StyleId_Heading4: UIA_STYLE_ID = 70004u32; +pub const StyleId_Heading4: UIA_STYLE_ID = 70004i32; pub const StyleId_Heading4_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8436ffc0_9578_45fc_83a4_ff40053315dd); -pub const StyleId_Heading5: UIA_STYLE_ID = 70005u32; +pub const StyleId_Heading5: UIA_STYLE_ID = 70005i32; pub const StyleId_Heading5_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x909f424d_0dbf_406e_97bb_4e773d9798f7); -pub const StyleId_Heading6: UIA_STYLE_ID = 70006u32; +pub const StyleId_Heading6: UIA_STYLE_ID = 70006i32; pub const StyleId_Heading6_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x89d23459_5d5b_4824_a420_11d3ed82e40f); -pub const StyleId_Heading7: UIA_STYLE_ID = 70007u32; +pub const StyleId_Heading7: UIA_STYLE_ID = 70007i32; pub const StyleId_Heading7_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa3790473_e9ae_422d_b8e3_3b675c6181a4); -pub const StyleId_Heading8: UIA_STYLE_ID = 70008u32; +pub const StyleId_Heading8: UIA_STYLE_ID = 70008i32; pub const StyleId_Heading8_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2bc14145_a40c_4881_84ae_f2235685380c); -pub const StyleId_Heading9: UIA_STYLE_ID = 70009u32; +pub const StyleId_Heading9: UIA_STYLE_ID = 70009i32; pub const StyleId_Heading9_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc70d9133_bb2a_43d3_8ac6_33657884b0f0); -pub const StyleId_Normal: UIA_STYLE_ID = 70012u32; +pub const StyleId_Normal: UIA_STYLE_ID = 70012i32; pub const StyleId_Normal_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcd14d429_e45e_4475_a1c5_7f9e6be96eba); -pub const StyleId_NumberedList: UIA_STYLE_ID = 70016u32; +pub const StyleId_NumberedList: UIA_STYLE_ID = 70016i32; pub const StyleId_NumberedList_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1e96dbd5_64c3_43d0_b1ee_b53b06e3eddf); -pub const StyleId_Quote: UIA_STYLE_ID = 70014u32; +pub const StyleId_Quote: UIA_STYLE_ID = 70014i32; pub const StyleId_Quote_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5d1c21ea_8195_4f6c_87ea_5dabece64c1d); -pub const StyleId_Subtitle: UIA_STYLE_ID = 70011u32; +pub const StyleId_Subtitle: UIA_STYLE_ID = 70011i32; pub const StyleId_Subtitle_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb5d9fc17_5d6f_4420_b439_7cb19ad434e2); -pub const StyleId_Title: UIA_STYLE_ID = 70010u32; +pub const StyleId_Title: UIA_STYLE_ID = 70010i32; pub const StyleId_Title_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x15d8201a_ffcf_481f_b0a1_30b63be98f07); pub const Styles_ExtendedProperties_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf451cda0_ba0a_4681_b0b0_0dbdb53e58f3); pub const Styles_FillColor_Property_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x63eff97a_a1c5_4b1d_84eb_b765f2edd632); @@ -1160,67 +1160,67 @@ pub const TreeTraversalOptions_Default: TreeTraversalOptions = 0i32; pub const TreeTraversalOptions_LastToFirstOrder: TreeTraversalOptions = 2i32; pub const TreeTraversalOptions_PostOrder: TreeTraversalOptions = 1i32; pub const Tree_Control_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7561349c_d241_43f4_9908_b5f091bee611); -pub const UIA_AcceleratorKeyPropertyId: UIA_PROPERTY_ID = 30006u32; -pub const UIA_AccessKeyPropertyId: UIA_PROPERTY_ID = 30007u32; +pub const UIA_AcceleratorKeyPropertyId: UIA_PROPERTY_ID = 30006i32; +pub const UIA_AccessKeyPropertyId: UIA_PROPERTY_ID = 30007i32; pub const UIA_ActiveTextPositionChangedEventId: UIA_EVENT_ID = 20036i32; -pub const UIA_AfterParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40042u32; -pub const UIA_AnimationStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40000u32; -pub const UIA_AnnotationAnnotationTypeIdPropertyId: UIA_PROPERTY_ID = 30113u32; -pub const UIA_AnnotationAnnotationTypeNamePropertyId: UIA_PROPERTY_ID = 30114u32; -pub const UIA_AnnotationAuthorPropertyId: UIA_PROPERTY_ID = 30115u32; -pub const UIA_AnnotationDateTimePropertyId: UIA_PROPERTY_ID = 30116u32; -pub const UIA_AnnotationObjectsAttributeId: UIA_TEXTATTRIBUTE_ID = 40032u32; -pub const UIA_AnnotationObjectsPropertyId: UIA_PROPERTY_ID = 30156u32; -pub const UIA_AnnotationPatternId: UIA_PATTERN_ID = 10023u32; -pub const UIA_AnnotationTargetPropertyId: UIA_PROPERTY_ID = 30117u32; -pub const UIA_AnnotationTypesAttributeId: UIA_TEXTATTRIBUTE_ID = 40031u32; -pub const UIA_AnnotationTypesPropertyId: UIA_PROPERTY_ID = 30155u32; -pub const UIA_AppBarControlTypeId: UIA_CONTROLTYPE_ID = 50040u32; -pub const UIA_AriaPropertiesPropertyId: UIA_PROPERTY_ID = 30102u32; -pub const UIA_AriaRolePropertyId: UIA_PROPERTY_ID = 30101u32; +pub const UIA_AfterParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40042i32; +pub const UIA_AnimationStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40000i32; +pub const UIA_AnnotationAnnotationTypeIdPropertyId: UIA_PROPERTY_ID = 30113i32; +pub const UIA_AnnotationAnnotationTypeNamePropertyId: UIA_PROPERTY_ID = 30114i32; +pub const UIA_AnnotationAuthorPropertyId: UIA_PROPERTY_ID = 30115i32; +pub const UIA_AnnotationDateTimePropertyId: UIA_PROPERTY_ID = 30116i32; +pub const UIA_AnnotationObjectsAttributeId: UIA_TEXTATTRIBUTE_ID = 40032i32; +pub const UIA_AnnotationObjectsPropertyId: UIA_PROPERTY_ID = 30156i32; +pub const UIA_AnnotationPatternId: UIA_PATTERN_ID = 10023i32; +pub const UIA_AnnotationTargetPropertyId: UIA_PROPERTY_ID = 30117i32; +pub const UIA_AnnotationTypesAttributeId: UIA_TEXTATTRIBUTE_ID = 40031i32; +pub const UIA_AnnotationTypesPropertyId: UIA_PROPERTY_ID = 30155i32; +pub const UIA_AppBarControlTypeId: UIA_CONTROLTYPE_ID = 50040i32; +pub const UIA_AriaPropertiesPropertyId: UIA_PROPERTY_ID = 30102i32; +pub const UIA_AriaRolePropertyId: UIA_PROPERTY_ID = 30101i32; pub const UIA_AsyncContentLoadedEventId: UIA_EVENT_ID = 20006i32; pub const UIA_AutomationFocusChangedEventId: UIA_EVENT_ID = 20005i32; -pub const UIA_AutomationIdPropertyId: UIA_PROPERTY_ID = 30011u32; +pub const UIA_AutomationIdPropertyId: UIA_PROPERTY_ID = 30011i32; pub const UIA_AutomationPropertyChangedEventId: UIA_EVENT_ID = 20004i32; -pub const UIA_BackgroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40001u32; -pub const UIA_BeforeParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40041u32; -pub const UIA_BoundingRectanglePropertyId: UIA_PROPERTY_ID = 30001u32; -pub const UIA_BulletStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40002u32; -pub const UIA_ButtonControlTypeId: UIA_CONTROLTYPE_ID = 50000u32; -pub const UIA_CalendarControlTypeId: UIA_CONTROLTYPE_ID = 50001u32; -pub const UIA_CapStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40003u32; -pub const UIA_CaretBidiModeAttributeId: UIA_TEXTATTRIBUTE_ID = 40039u32; -pub const UIA_CaretPositionAttributeId: UIA_TEXTATTRIBUTE_ID = 40038u32; -pub const UIA_CenterPointPropertyId: UIA_PROPERTY_ID = 30165u32; +pub const UIA_BackgroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40001i32; +pub const UIA_BeforeParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40041i32; +pub const UIA_BoundingRectanglePropertyId: UIA_PROPERTY_ID = 30001i32; +pub const UIA_BulletStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40002i32; +pub const UIA_ButtonControlTypeId: UIA_CONTROLTYPE_ID = 50000i32; +pub const UIA_CalendarControlTypeId: UIA_CONTROLTYPE_ID = 50001i32; +pub const UIA_CapStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40003i32; +pub const UIA_CaretBidiModeAttributeId: UIA_TEXTATTRIBUTE_ID = 40039i32; +pub const UIA_CaretPositionAttributeId: UIA_TEXTATTRIBUTE_ID = 40038i32; +pub const UIA_CenterPointPropertyId: UIA_PROPERTY_ID = 30165i32; pub const UIA_ChangesEventId: UIA_EVENT_ID = 20034i32; -pub const UIA_CheckBoxControlTypeId: UIA_CONTROLTYPE_ID = 50002u32; -pub const UIA_ClassNamePropertyId: UIA_PROPERTY_ID = 30012u32; -pub const UIA_ClickablePointPropertyId: UIA_PROPERTY_ID = 30014u32; -pub const UIA_ComboBoxControlTypeId: UIA_CONTROLTYPE_ID = 50003u32; -pub const UIA_ControlTypePropertyId: UIA_PROPERTY_ID = 30003u32; -pub const UIA_ControllerForPropertyId: UIA_PROPERTY_ID = 30104u32; -pub const UIA_CultureAttributeId: UIA_TEXTATTRIBUTE_ID = 40004u32; -pub const UIA_CulturePropertyId: UIA_PROPERTY_ID = 30015u32; -pub const UIA_CustomControlTypeId: UIA_CONTROLTYPE_ID = 50025u32; -pub const UIA_CustomLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80000u32; -pub const UIA_CustomNavigationPatternId: UIA_PATTERN_ID = 10033u32; -pub const UIA_DataGridControlTypeId: UIA_CONTROLTYPE_ID = 50028u32; -pub const UIA_DataItemControlTypeId: UIA_CONTROLTYPE_ID = 50029u32; -pub const UIA_DescribedByPropertyId: UIA_PROPERTY_ID = 30105u32; -pub const UIA_DockDockPositionPropertyId: UIA_PROPERTY_ID = 30069u32; -pub const UIA_DockPatternId: UIA_PATTERN_ID = 10011u32; -pub const UIA_DocumentControlTypeId: UIA_CONTROLTYPE_ID = 50030u32; -pub const UIA_DragDropEffectPropertyId: UIA_PROPERTY_ID = 30139u32; -pub const UIA_DragDropEffectsPropertyId: UIA_PROPERTY_ID = 30140u32; -pub const UIA_DragGrabbedItemsPropertyId: UIA_PROPERTY_ID = 30144u32; -pub const UIA_DragIsGrabbedPropertyId: UIA_PROPERTY_ID = 30138u32; -pub const UIA_DragPatternId: UIA_PATTERN_ID = 10030u32; +pub const UIA_CheckBoxControlTypeId: UIA_CONTROLTYPE_ID = 50002i32; +pub const UIA_ClassNamePropertyId: UIA_PROPERTY_ID = 30012i32; +pub const UIA_ClickablePointPropertyId: UIA_PROPERTY_ID = 30014i32; +pub const UIA_ComboBoxControlTypeId: UIA_CONTROLTYPE_ID = 50003i32; +pub const UIA_ControlTypePropertyId: UIA_PROPERTY_ID = 30003i32; +pub const UIA_ControllerForPropertyId: UIA_PROPERTY_ID = 30104i32; +pub const UIA_CultureAttributeId: UIA_TEXTATTRIBUTE_ID = 40004i32; +pub const UIA_CulturePropertyId: UIA_PROPERTY_ID = 30015i32; +pub const UIA_CustomControlTypeId: UIA_CONTROLTYPE_ID = 50025i32; +pub const UIA_CustomLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80000i32; +pub const UIA_CustomNavigationPatternId: UIA_PATTERN_ID = 10033i32; +pub const UIA_DataGridControlTypeId: UIA_CONTROLTYPE_ID = 50028i32; +pub const UIA_DataItemControlTypeId: UIA_CONTROLTYPE_ID = 50029i32; +pub const UIA_DescribedByPropertyId: UIA_PROPERTY_ID = 30105i32; +pub const UIA_DockDockPositionPropertyId: UIA_PROPERTY_ID = 30069i32; +pub const UIA_DockPatternId: UIA_PATTERN_ID = 10011i32; +pub const UIA_DocumentControlTypeId: UIA_CONTROLTYPE_ID = 50030i32; +pub const UIA_DragDropEffectPropertyId: UIA_PROPERTY_ID = 30139i32; +pub const UIA_DragDropEffectsPropertyId: UIA_PROPERTY_ID = 30140i32; +pub const UIA_DragGrabbedItemsPropertyId: UIA_PROPERTY_ID = 30144i32; +pub const UIA_DragIsGrabbedPropertyId: UIA_PROPERTY_ID = 30138i32; +pub const UIA_DragPatternId: UIA_PATTERN_ID = 10030i32; pub const UIA_Drag_DragCancelEventId: UIA_EVENT_ID = 20027i32; pub const UIA_Drag_DragCompleteEventId: UIA_EVENT_ID = 20028i32; pub const UIA_Drag_DragStartEventId: UIA_EVENT_ID = 20026i32; -pub const UIA_DropTargetDropTargetEffectPropertyId: UIA_PROPERTY_ID = 30142u32; -pub const UIA_DropTargetDropTargetEffectsPropertyId: UIA_PROPERTY_ID = 30143u32; -pub const UIA_DropTargetPatternId: UIA_PATTERN_ID = 10031u32; +pub const UIA_DropTargetDropTargetEffectPropertyId: UIA_PROPERTY_ID = 30142i32; +pub const UIA_DropTargetDropTargetEffectsPropertyId: UIA_PROPERTY_ID = 30143i32; +pub const UIA_DropTargetPatternId: UIA_PATTERN_ID = 10031i32; pub const UIA_DropTarget_DragEnterEventId: UIA_EVENT_ID = 20029i32; pub const UIA_DropTarget_DragLeaveEventId: UIA_EVENT_ID = 20030i32; pub const UIA_DropTarget_DroppedEventId: UIA_EVENT_ID = 20031i32; @@ -1231,284 +1231,284 @@ pub const UIA_E_NOCLICKABLEPOINT: u32 = 2147746306u32; pub const UIA_E_NOTSUPPORTED: u32 = 2147746308u32; pub const UIA_E_PROXYASSEMBLYNOTLOADED: u32 = 2147746307u32; pub const UIA_E_TIMEOUT: u32 = 2148734213u32; -pub const UIA_EditControlTypeId: UIA_CONTROLTYPE_ID = 50004u32; -pub const UIA_ExpandCollapseExpandCollapseStatePropertyId: UIA_PROPERTY_ID = 30070u32; -pub const UIA_ExpandCollapsePatternId: UIA_PATTERN_ID = 10005u32; -pub const UIA_FillColorPropertyId: UIA_PROPERTY_ID = 30160u32; -pub const UIA_FillTypePropertyId: UIA_PROPERTY_ID = 30162u32; -pub const UIA_FlowsFromPropertyId: UIA_PROPERTY_ID = 30148u32; -pub const UIA_FlowsToPropertyId: UIA_PROPERTY_ID = 30106u32; -pub const UIA_FontNameAttributeId: UIA_TEXTATTRIBUTE_ID = 40005u32; -pub const UIA_FontSizeAttributeId: UIA_TEXTATTRIBUTE_ID = 40006u32; -pub const UIA_FontWeightAttributeId: UIA_TEXTATTRIBUTE_ID = 40007u32; -pub const UIA_ForegroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40008u32; -pub const UIA_FormLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80001u32; -pub const UIA_FrameworkIdPropertyId: UIA_PROPERTY_ID = 30024u32; -pub const UIA_FullDescriptionPropertyId: UIA_PROPERTY_ID = 30159u32; -pub const UIA_GridColumnCountPropertyId: UIA_PROPERTY_ID = 30063u32; -pub const UIA_GridItemColumnPropertyId: UIA_PROPERTY_ID = 30065u32; -pub const UIA_GridItemColumnSpanPropertyId: UIA_PROPERTY_ID = 30067u32; -pub const UIA_GridItemContainingGridPropertyId: UIA_PROPERTY_ID = 30068u32; -pub const UIA_GridItemPatternId: UIA_PATTERN_ID = 10007u32; -pub const UIA_GridItemRowPropertyId: UIA_PROPERTY_ID = 30064u32; -pub const UIA_GridItemRowSpanPropertyId: UIA_PROPERTY_ID = 30066u32; -pub const UIA_GridPatternId: UIA_PATTERN_ID = 10006u32; -pub const UIA_GridRowCountPropertyId: UIA_PROPERTY_ID = 30062u32; -pub const UIA_GroupControlTypeId: UIA_CONTROLTYPE_ID = 50026u32; -pub const UIA_HasKeyboardFocusPropertyId: UIA_PROPERTY_ID = 30008u32; -pub const UIA_HeaderControlTypeId: UIA_CONTROLTYPE_ID = 50034u32; -pub const UIA_HeaderItemControlTypeId: UIA_CONTROLTYPE_ID = 50035u32; -pub const UIA_HeadingLevelPropertyId: UIA_PROPERTY_ID = 30173u32; -pub const UIA_HelpTextPropertyId: UIA_PROPERTY_ID = 30013u32; -pub const UIA_HorizontalTextAlignmentAttributeId: UIA_TEXTATTRIBUTE_ID = 40009u32; +pub const UIA_EditControlTypeId: UIA_CONTROLTYPE_ID = 50004i32; +pub const UIA_ExpandCollapseExpandCollapseStatePropertyId: UIA_PROPERTY_ID = 30070i32; +pub const UIA_ExpandCollapsePatternId: UIA_PATTERN_ID = 10005i32; +pub const UIA_FillColorPropertyId: UIA_PROPERTY_ID = 30160i32; +pub const UIA_FillTypePropertyId: UIA_PROPERTY_ID = 30162i32; +pub const UIA_FlowsFromPropertyId: UIA_PROPERTY_ID = 30148i32; +pub const UIA_FlowsToPropertyId: UIA_PROPERTY_ID = 30106i32; +pub const UIA_FontNameAttributeId: UIA_TEXTATTRIBUTE_ID = 40005i32; +pub const UIA_FontSizeAttributeId: UIA_TEXTATTRIBUTE_ID = 40006i32; +pub const UIA_FontWeightAttributeId: UIA_TEXTATTRIBUTE_ID = 40007i32; +pub const UIA_ForegroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40008i32; +pub const UIA_FormLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80001i32; +pub const UIA_FrameworkIdPropertyId: UIA_PROPERTY_ID = 30024i32; +pub const UIA_FullDescriptionPropertyId: UIA_PROPERTY_ID = 30159i32; +pub const UIA_GridColumnCountPropertyId: UIA_PROPERTY_ID = 30063i32; +pub const UIA_GridItemColumnPropertyId: UIA_PROPERTY_ID = 30065i32; +pub const UIA_GridItemColumnSpanPropertyId: UIA_PROPERTY_ID = 30067i32; +pub const UIA_GridItemContainingGridPropertyId: UIA_PROPERTY_ID = 30068i32; +pub const UIA_GridItemPatternId: UIA_PATTERN_ID = 10007i32; +pub const UIA_GridItemRowPropertyId: UIA_PROPERTY_ID = 30064i32; +pub const UIA_GridItemRowSpanPropertyId: UIA_PROPERTY_ID = 30066i32; +pub const UIA_GridPatternId: UIA_PATTERN_ID = 10006i32; +pub const UIA_GridRowCountPropertyId: UIA_PROPERTY_ID = 30062i32; +pub const UIA_GroupControlTypeId: UIA_CONTROLTYPE_ID = 50026i32; +pub const UIA_HasKeyboardFocusPropertyId: UIA_PROPERTY_ID = 30008i32; +pub const UIA_HeaderControlTypeId: UIA_CONTROLTYPE_ID = 50034i32; +pub const UIA_HeaderItemControlTypeId: UIA_CONTROLTYPE_ID = 50035i32; +pub const UIA_HeadingLevelPropertyId: UIA_PROPERTY_ID = 30173i32; +pub const UIA_HelpTextPropertyId: UIA_PROPERTY_ID = 30013i32; +pub const UIA_HorizontalTextAlignmentAttributeId: UIA_TEXTATTRIBUTE_ID = 40009i32; pub const UIA_HostedFragmentRootsInvalidatedEventId: UIA_EVENT_ID = 20025i32; -pub const UIA_HyperlinkControlTypeId: UIA_CONTROLTYPE_ID = 50005u32; +pub const UIA_HyperlinkControlTypeId: UIA_CONTROLTYPE_ID = 50005i32; pub const UIA_IAFP_DEFAULT: u32 = 0u32; pub const UIA_IAFP_UNWRAP_BRIDGE: u32 = 1u32; -pub const UIA_ImageControlTypeId: UIA_CONTROLTYPE_ID = 50006u32; -pub const UIA_IndentationFirstLineAttributeId: UIA_TEXTATTRIBUTE_ID = 40010u32; -pub const UIA_IndentationLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = 40011u32; -pub const UIA_IndentationTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = 40012u32; +pub const UIA_ImageControlTypeId: UIA_CONTROLTYPE_ID = 50006i32; +pub const UIA_IndentationFirstLineAttributeId: UIA_TEXTATTRIBUTE_ID = 40010i32; +pub const UIA_IndentationLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = 40011i32; +pub const UIA_IndentationTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = 40012i32; pub const UIA_InputDiscardedEventId: UIA_EVENT_ID = 20022i32; pub const UIA_InputReachedOtherElementEventId: UIA_EVENT_ID = 20021i32; pub const UIA_InputReachedTargetEventId: UIA_EVENT_ID = 20020i32; -pub const UIA_InvokePatternId: UIA_PATTERN_ID = 10000u32; +pub const UIA_InvokePatternId: UIA_PATTERN_ID = 10000i32; pub const UIA_Invoke_InvokedEventId: UIA_EVENT_ID = 20009i32; -pub const UIA_IsActiveAttributeId: UIA_TEXTATTRIBUTE_ID = 40036u32; -pub const UIA_IsAnnotationPatternAvailablePropertyId: UIA_PROPERTY_ID = 30118u32; -pub const UIA_IsContentElementPropertyId: UIA_PROPERTY_ID = 30017u32; -pub const UIA_IsControlElementPropertyId: UIA_PROPERTY_ID = 30016u32; -pub const UIA_IsCustomNavigationPatternAvailablePropertyId: UIA_PROPERTY_ID = 30151u32; -pub const UIA_IsDataValidForFormPropertyId: UIA_PROPERTY_ID = 30103u32; -pub const UIA_IsDialogPropertyId: UIA_PROPERTY_ID = 30174u32; -pub const UIA_IsDockPatternAvailablePropertyId: UIA_PROPERTY_ID = 30027u32; -pub const UIA_IsDragPatternAvailablePropertyId: UIA_PROPERTY_ID = 30137u32; -pub const UIA_IsDropTargetPatternAvailablePropertyId: UIA_PROPERTY_ID = 30141u32; -pub const UIA_IsEnabledPropertyId: UIA_PROPERTY_ID = 30010u32; -pub const UIA_IsExpandCollapsePatternAvailablePropertyId: UIA_PROPERTY_ID = 30028u32; -pub const UIA_IsGridItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30029u32; -pub const UIA_IsGridPatternAvailablePropertyId: UIA_PROPERTY_ID = 30030u32; -pub const UIA_IsHiddenAttributeId: UIA_TEXTATTRIBUTE_ID = 40013u32; -pub const UIA_IsInvokePatternAvailablePropertyId: UIA_PROPERTY_ID = 30031u32; -pub const UIA_IsItalicAttributeId: UIA_TEXTATTRIBUTE_ID = 40014u32; -pub const UIA_IsItemContainerPatternAvailablePropertyId: UIA_PROPERTY_ID = 30108u32; -pub const UIA_IsKeyboardFocusablePropertyId: UIA_PROPERTY_ID = 30009u32; -pub const UIA_IsLegacyIAccessiblePatternAvailablePropertyId: UIA_PROPERTY_ID = 30090u32; -pub const UIA_IsMultipleViewPatternAvailablePropertyId: UIA_PROPERTY_ID = 30032u32; -pub const UIA_IsObjectModelPatternAvailablePropertyId: UIA_PROPERTY_ID = 30112u32; -pub const UIA_IsOffscreenPropertyId: UIA_PROPERTY_ID = 30022u32; -pub const UIA_IsPasswordPropertyId: UIA_PROPERTY_ID = 30019u32; -pub const UIA_IsPeripheralPropertyId: UIA_PROPERTY_ID = 30150u32; -pub const UIA_IsRangeValuePatternAvailablePropertyId: UIA_PROPERTY_ID = 30033u32; -pub const UIA_IsReadOnlyAttributeId: UIA_TEXTATTRIBUTE_ID = 40015u32; -pub const UIA_IsRequiredForFormPropertyId: UIA_PROPERTY_ID = 30025u32; -pub const UIA_IsScrollItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30035u32; -pub const UIA_IsScrollPatternAvailablePropertyId: UIA_PROPERTY_ID = 30034u32; -pub const UIA_IsSelectionItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30036u32; -pub const UIA_IsSelectionPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30168u32; -pub const UIA_IsSelectionPatternAvailablePropertyId: UIA_PROPERTY_ID = 30037u32; -pub const UIA_IsSpreadsheetItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30132u32; -pub const UIA_IsSpreadsheetPatternAvailablePropertyId: UIA_PROPERTY_ID = 30128u32; -pub const UIA_IsStylesPatternAvailablePropertyId: UIA_PROPERTY_ID = 30127u32; -pub const UIA_IsSubscriptAttributeId: UIA_TEXTATTRIBUTE_ID = 40016u32; -pub const UIA_IsSuperscriptAttributeId: UIA_TEXTATTRIBUTE_ID = 40017u32; -pub const UIA_IsSynchronizedInputPatternAvailablePropertyId: UIA_PROPERTY_ID = 30110u32; -pub const UIA_IsTableItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30039u32; -pub const UIA_IsTablePatternAvailablePropertyId: UIA_PROPERTY_ID = 30038u32; -pub const UIA_IsTextChildPatternAvailablePropertyId: UIA_PROPERTY_ID = 30136u32; -pub const UIA_IsTextEditPatternAvailablePropertyId: UIA_PROPERTY_ID = 30149u32; -pub const UIA_IsTextPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30119u32; -pub const UIA_IsTextPatternAvailablePropertyId: UIA_PROPERTY_ID = 30040u32; -pub const UIA_IsTogglePatternAvailablePropertyId: UIA_PROPERTY_ID = 30041u32; -pub const UIA_IsTransformPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30134u32; -pub const UIA_IsTransformPatternAvailablePropertyId: UIA_PROPERTY_ID = 30042u32; -pub const UIA_IsValuePatternAvailablePropertyId: UIA_PROPERTY_ID = 30043u32; -pub const UIA_IsVirtualizedItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30109u32; -pub const UIA_IsWindowPatternAvailablePropertyId: UIA_PROPERTY_ID = 30044u32; -pub const UIA_ItemContainerPatternId: UIA_PATTERN_ID = 10019u32; -pub const UIA_ItemStatusPropertyId: UIA_PROPERTY_ID = 30026u32; -pub const UIA_ItemTypePropertyId: UIA_PROPERTY_ID = 30021u32; -pub const UIA_LabeledByPropertyId: UIA_PROPERTY_ID = 30018u32; -pub const UIA_LandmarkTypePropertyId: UIA_PROPERTY_ID = 30157u32; +pub const UIA_IsActiveAttributeId: UIA_TEXTATTRIBUTE_ID = 40036i32; +pub const UIA_IsAnnotationPatternAvailablePropertyId: UIA_PROPERTY_ID = 30118i32; +pub const UIA_IsContentElementPropertyId: UIA_PROPERTY_ID = 30017i32; +pub const UIA_IsControlElementPropertyId: UIA_PROPERTY_ID = 30016i32; +pub const UIA_IsCustomNavigationPatternAvailablePropertyId: UIA_PROPERTY_ID = 30151i32; +pub const UIA_IsDataValidForFormPropertyId: UIA_PROPERTY_ID = 30103i32; +pub const UIA_IsDialogPropertyId: UIA_PROPERTY_ID = 30174i32; +pub const UIA_IsDockPatternAvailablePropertyId: UIA_PROPERTY_ID = 30027i32; +pub const UIA_IsDragPatternAvailablePropertyId: UIA_PROPERTY_ID = 30137i32; +pub const UIA_IsDropTargetPatternAvailablePropertyId: UIA_PROPERTY_ID = 30141i32; +pub const UIA_IsEnabledPropertyId: UIA_PROPERTY_ID = 30010i32; +pub const UIA_IsExpandCollapsePatternAvailablePropertyId: UIA_PROPERTY_ID = 30028i32; +pub const UIA_IsGridItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30029i32; +pub const UIA_IsGridPatternAvailablePropertyId: UIA_PROPERTY_ID = 30030i32; +pub const UIA_IsHiddenAttributeId: UIA_TEXTATTRIBUTE_ID = 40013i32; +pub const UIA_IsInvokePatternAvailablePropertyId: UIA_PROPERTY_ID = 30031i32; +pub const UIA_IsItalicAttributeId: UIA_TEXTATTRIBUTE_ID = 40014i32; +pub const UIA_IsItemContainerPatternAvailablePropertyId: UIA_PROPERTY_ID = 30108i32; +pub const UIA_IsKeyboardFocusablePropertyId: UIA_PROPERTY_ID = 30009i32; +pub const UIA_IsLegacyIAccessiblePatternAvailablePropertyId: UIA_PROPERTY_ID = 30090i32; +pub const UIA_IsMultipleViewPatternAvailablePropertyId: UIA_PROPERTY_ID = 30032i32; +pub const UIA_IsObjectModelPatternAvailablePropertyId: UIA_PROPERTY_ID = 30112i32; +pub const UIA_IsOffscreenPropertyId: UIA_PROPERTY_ID = 30022i32; +pub const UIA_IsPasswordPropertyId: UIA_PROPERTY_ID = 30019i32; +pub const UIA_IsPeripheralPropertyId: UIA_PROPERTY_ID = 30150i32; +pub const UIA_IsRangeValuePatternAvailablePropertyId: UIA_PROPERTY_ID = 30033i32; +pub const UIA_IsReadOnlyAttributeId: UIA_TEXTATTRIBUTE_ID = 40015i32; +pub const UIA_IsRequiredForFormPropertyId: UIA_PROPERTY_ID = 30025i32; +pub const UIA_IsScrollItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30035i32; +pub const UIA_IsScrollPatternAvailablePropertyId: UIA_PROPERTY_ID = 30034i32; +pub const UIA_IsSelectionItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30036i32; +pub const UIA_IsSelectionPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30168i32; +pub const UIA_IsSelectionPatternAvailablePropertyId: UIA_PROPERTY_ID = 30037i32; +pub const UIA_IsSpreadsheetItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30132i32; +pub const UIA_IsSpreadsheetPatternAvailablePropertyId: UIA_PROPERTY_ID = 30128i32; +pub const UIA_IsStylesPatternAvailablePropertyId: UIA_PROPERTY_ID = 30127i32; +pub const UIA_IsSubscriptAttributeId: UIA_TEXTATTRIBUTE_ID = 40016i32; +pub const UIA_IsSuperscriptAttributeId: UIA_TEXTATTRIBUTE_ID = 40017i32; +pub const UIA_IsSynchronizedInputPatternAvailablePropertyId: UIA_PROPERTY_ID = 30110i32; +pub const UIA_IsTableItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30039i32; +pub const UIA_IsTablePatternAvailablePropertyId: UIA_PROPERTY_ID = 30038i32; +pub const UIA_IsTextChildPatternAvailablePropertyId: UIA_PROPERTY_ID = 30136i32; +pub const UIA_IsTextEditPatternAvailablePropertyId: UIA_PROPERTY_ID = 30149i32; +pub const UIA_IsTextPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30119i32; +pub const UIA_IsTextPatternAvailablePropertyId: UIA_PROPERTY_ID = 30040i32; +pub const UIA_IsTogglePatternAvailablePropertyId: UIA_PROPERTY_ID = 30041i32; +pub const UIA_IsTransformPattern2AvailablePropertyId: UIA_PROPERTY_ID = 30134i32; +pub const UIA_IsTransformPatternAvailablePropertyId: UIA_PROPERTY_ID = 30042i32; +pub const UIA_IsValuePatternAvailablePropertyId: UIA_PROPERTY_ID = 30043i32; +pub const UIA_IsVirtualizedItemPatternAvailablePropertyId: UIA_PROPERTY_ID = 30109i32; +pub const UIA_IsWindowPatternAvailablePropertyId: UIA_PROPERTY_ID = 30044i32; +pub const UIA_ItemContainerPatternId: UIA_PATTERN_ID = 10019i32; +pub const UIA_ItemStatusPropertyId: UIA_PROPERTY_ID = 30026i32; +pub const UIA_ItemTypePropertyId: UIA_PROPERTY_ID = 30021i32; +pub const UIA_LabeledByPropertyId: UIA_PROPERTY_ID = 30018i32; +pub const UIA_LandmarkTypePropertyId: UIA_PROPERTY_ID = 30157i32; pub const UIA_LayoutInvalidatedEventId: UIA_EVENT_ID = 20008i32; -pub const UIA_LegacyIAccessibleChildIdPropertyId: UIA_PROPERTY_ID = 30091u32; -pub const UIA_LegacyIAccessibleDefaultActionPropertyId: UIA_PROPERTY_ID = 30100u32; -pub const UIA_LegacyIAccessibleDescriptionPropertyId: UIA_PROPERTY_ID = 30094u32; -pub const UIA_LegacyIAccessibleHelpPropertyId: UIA_PROPERTY_ID = 30097u32; -pub const UIA_LegacyIAccessibleKeyboardShortcutPropertyId: UIA_PROPERTY_ID = 30098u32; -pub const UIA_LegacyIAccessibleNamePropertyId: UIA_PROPERTY_ID = 30092u32; -pub const UIA_LegacyIAccessiblePatternId: UIA_PATTERN_ID = 10018u32; -pub const UIA_LegacyIAccessibleRolePropertyId: UIA_PROPERTY_ID = 30095u32; -pub const UIA_LegacyIAccessibleSelectionPropertyId: UIA_PROPERTY_ID = 30099u32; -pub const UIA_LegacyIAccessibleStatePropertyId: UIA_PROPERTY_ID = 30096u32; -pub const UIA_LegacyIAccessibleValuePropertyId: UIA_PROPERTY_ID = 30093u32; -pub const UIA_LevelPropertyId: UIA_PROPERTY_ID = 30154u32; -pub const UIA_LineSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40040u32; -pub const UIA_LinkAttributeId: UIA_TEXTATTRIBUTE_ID = 40035u32; -pub const UIA_ListControlTypeId: UIA_CONTROLTYPE_ID = 50008u32; -pub const UIA_ListItemControlTypeId: UIA_CONTROLTYPE_ID = 50007u32; +pub const UIA_LegacyIAccessibleChildIdPropertyId: UIA_PROPERTY_ID = 30091i32; +pub const UIA_LegacyIAccessibleDefaultActionPropertyId: UIA_PROPERTY_ID = 30100i32; +pub const UIA_LegacyIAccessibleDescriptionPropertyId: UIA_PROPERTY_ID = 30094i32; +pub const UIA_LegacyIAccessibleHelpPropertyId: UIA_PROPERTY_ID = 30097i32; +pub const UIA_LegacyIAccessibleKeyboardShortcutPropertyId: UIA_PROPERTY_ID = 30098i32; +pub const UIA_LegacyIAccessibleNamePropertyId: UIA_PROPERTY_ID = 30092i32; +pub const UIA_LegacyIAccessiblePatternId: UIA_PATTERN_ID = 10018i32; +pub const UIA_LegacyIAccessibleRolePropertyId: UIA_PROPERTY_ID = 30095i32; +pub const UIA_LegacyIAccessibleSelectionPropertyId: UIA_PROPERTY_ID = 30099i32; +pub const UIA_LegacyIAccessibleStatePropertyId: UIA_PROPERTY_ID = 30096i32; +pub const UIA_LegacyIAccessibleValuePropertyId: UIA_PROPERTY_ID = 30093i32; +pub const UIA_LevelPropertyId: UIA_PROPERTY_ID = 30154i32; +pub const UIA_LineSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = 40040i32; +pub const UIA_LinkAttributeId: UIA_TEXTATTRIBUTE_ID = 40035i32; +pub const UIA_ListControlTypeId: UIA_CONTROLTYPE_ID = 50008i32; +pub const UIA_ListItemControlTypeId: UIA_CONTROLTYPE_ID = 50007i32; pub const UIA_LiveRegionChangedEventId: UIA_EVENT_ID = 20024i32; -pub const UIA_LiveSettingPropertyId: UIA_PROPERTY_ID = 30135u32; -pub const UIA_LocalizedControlTypePropertyId: UIA_PROPERTY_ID = 30004u32; -pub const UIA_LocalizedLandmarkTypePropertyId: UIA_PROPERTY_ID = 30158u32; -pub const UIA_MainLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80002u32; -pub const UIA_MarginBottomAttributeId: UIA_TEXTATTRIBUTE_ID = 40018u32; -pub const UIA_MarginLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = 40019u32; -pub const UIA_MarginTopAttributeId: UIA_TEXTATTRIBUTE_ID = 40020u32; -pub const UIA_MarginTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = 40021u32; -pub const UIA_MenuBarControlTypeId: UIA_CONTROLTYPE_ID = 50010u32; +pub const UIA_LiveSettingPropertyId: UIA_PROPERTY_ID = 30135i32; +pub const UIA_LocalizedControlTypePropertyId: UIA_PROPERTY_ID = 30004i32; +pub const UIA_LocalizedLandmarkTypePropertyId: UIA_PROPERTY_ID = 30158i32; +pub const UIA_MainLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80002i32; +pub const UIA_MarginBottomAttributeId: UIA_TEXTATTRIBUTE_ID = 40018i32; +pub const UIA_MarginLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = 40019i32; +pub const UIA_MarginTopAttributeId: UIA_TEXTATTRIBUTE_ID = 40020i32; +pub const UIA_MarginTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = 40021i32; +pub const UIA_MenuBarControlTypeId: UIA_CONTROLTYPE_ID = 50010i32; pub const UIA_MenuClosedEventId: UIA_EVENT_ID = 20007i32; -pub const UIA_MenuControlTypeId: UIA_CONTROLTYPE_ID = 50009u32; -pub const UIA_MenuItemControlTypeId: UIA_CONTROLTYPE_ID = 50011u32; +pub const UIA_MenuControlTypeId: UIA_CONTROLTYPE_ID = 50009i32; +pub const UIA_MenuItemControlTypeId: UIA_CONTROLTYPE_ID = 50011i32; pub const UIA_MenuModeEndEventId: UIA_EVENT_ID = 20019i32; pub const UIA_MenuModeStartEventId: UIA_EVENT_ID = 20018i32; pub const UIA_MenuOpenedEventId: UIA_EVENT_ID = 20003i32; -pub const UIA_MultipleViewCurrentViewPropertyId: UIA_PROPERTY_ID = 30071u32; -pub const UIA_MultipleViewPatternId: UIA_PATTERN_ID = 10008u32; -pub const UIA_MultipleViewSupportedViewsPropertyId: UIA_PROPERTY_ID = 30072u32; -pub const UIA_NamePropertyId: UIA_PROPERTY_ID = 30005u32; -pub const UIA_NativeWindowHandlePropertyId: UIA_PROPERTY_ID = 30020u32; -pub const UIA_NavigationLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80003u32; +pub const UIA_MultipleViewCurrentViewPropertyId: UIA_PROPERTY_ID = 30071i32; +pub const UIA_MultipleViewPatternId: UIA_PATTERN_ID = 10008i32; +pub const UIA_MultipleViewSupportedViewsPropertyId: UIA_PROPERTY_ID = 30072i32; +pub const UIA_NamePropertyId: UIA_PROPERTY_ID = 30005i32; +pub const UIA_NativeWindowHandlePropertyId: UIA_PROPERTY_ID = 30020i32; +pub const UIA_NavigationLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80003i32; pub const UIA_NotificationEventId: UIA_EVENT_ID = 20035i32; -pub const UIA_ObjectModelPatternId: UIA_PATTERN_ID = 10022u32; -pub const UIA_OptimizeForVisualContentPropertyId: UIA_PROPERTY_ID = 30111u32; -pub const UIA_OrientationPropertyId: UIA_PROPERTY_ID = 30023u32; -pub const UIA_OutlineColorPropertyId: UIA_PROPERTY_ID = 30161u32; -pub const UIA_OutlineStylesAttributeId: UIA_TEXTATTRIBUTE_ID = 40022u32; -pub const UIA_OutlineThicknessPropertyId: UIA_PROPERTY_ID = 30164u32; -pub const UIA_OverlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40023u32; -pub const UIA_OverlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40024u32; +pub const UIA_ObjectModelPatternId: UIA_PATTERN_ID = 10022i32; +pub const UIA_OptimizeForVisualContentPropertyId: UIA_PROPERTY_ID = 30111i32; +pub const UIA_OrientationPropertyId: UIA_PROPERTY_ID = 30023i32; +pub const UIA_OutlineColorPropertyId: UIA_PROPERTY_ID = 30161i32; +pub const UIA_OutlineStylesAttributeId: UIA_TEXTATTRIBUTE_ID = 40022i32; +pub const UIA_OutlineThicknessPropertyId: UIA_PROPERTY_ID = 30164i32; +pub const UIA_OverlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40023i32; +pub const UIA_OverlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40024i32; pub const UIA_PFIA_DEFAULT: u32 = 0u32; pub const UIA_PFIA_UNWRAP_BRIDGE: u32 = 1u32; -pub const UIA_PaneControlTypeId: UIA_CONTROLTYPE_ID = 50033u32; -pub const UIA_PositionInSetPropertyId: UIA_PROPERTY_ID = 30152u32; -pub const UIA_ProcessIdPropertyId: UIA_PROPERTY_ID = 30002u32; -pub const UIA_ProgressBarControlTypeId: UIA_CONTROLTYPE_ID = 50012u32; -pub const UIA_ProviderDescriptionPropertyId: UIA_PROPERTY_ID = 30107u32; -pub const UIA_RadioButtonControlTypeId: UIA_CONTROLTYPE_ID = 50013u32; -pub const UIA_RangeValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = 30048u32; -pub const UIA_RangeValueLargeChangePropertyId: UIA_PROPERTY_ID = 30051u32; -pub const UIA_RangeValueMaximumPropertyId: UIA_PROPERTY_ID = 30050u32; -pub const UIA_RangeValueMinimumPropertyId: UIA_PROPERTY_ID = 30049u32; -pub const UIA_RangeValuePatternId: UIA_PATTERN_ID = 10003u32; -pub const UIA_RangeValueSmallChangePropertyId: UIA_PROPERTY_ID = 30052u32; -pub const UIA_RangeValueValuePropertyId: UIA_PROPERTY_ID = 30047u32; -pub const UIA_RotationPropertyId: UIA_PROPERTY_ID = 30166u32; -pub const UIA_RuntimeIdPropertyId: UIA_PROPERTY_ID = 30000u32; -pub const UIA_SayAsInterpretAsAttributeId: UIA_TEXTATTRIBUTE_ID = 40043u32; -pub const UIA_SayAsInterpretAsMetadataId: UIA_METADATA_ID = 100000u32; -pub const UIA_ScrollBarControlTypeId: UIA_CONTROLTYPE_ID = 50014u32; -pub const UIA_ScrollHorizontalScrollPercentPropertyId: UIA_PROPERTY_ID = 30053u32; -pub const UIA_ScrollHorizontalViewSizePropertyId: UIA_PROPERTY_ID = 30054u32; -pub const UIA_ScrollHorizontallyScrollablePropertyId: UIA_PROPERTY_ID = 30057u32; -pub const UIA_ScrollItemPatternId: UIA_PATTERN_ID = 10017u32; -pub const UIA_ScrollPatternId: UIA_PATTERN_ID = 10004u32; +pub const UIA_PaneControlTypeId: UIA_CONTROLTYPE_ID = 50033i32; +pub const UIA_PositionInSetPropertyId: UIA_PROPERTY_ID = 30152i32; +pub const UIA_ProcessIdPropertyId: UIA_PROPERTY_ID = 30002i32; +pub const UIA_ProgressBarControlTypeId: UIA_CONTROLTYPE_ID = 50012i32; +pub const UIA_ProviderDescriptionPropertyId: UIA_PROPERTY_ID = 30107i32; +pub const UIA_RadioButtonControlTypeId: UIA_CONTROLTYPE_ID = 50013i32; +pub const UIA_RangeValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = 30048i32; +pub const UIA_RangeValueLargeChangePropertyId: UIA_PROPERTY_ID = 30051i32; +pub const UIA_RangeValueMaximumPropertyId: UIA_PROPERTY_ID = 30050i32; +pub const UIA_RangeValueMinimumPropertyId: UIA_PROPERTY_ID = 30049i32; +pub const UIA_RangeValuePatternId: UIA_PATTERN_ID = 10003i32; +pub const UIA_RangeValueSmallChangePropertyId: UIA_PROPERTY_ID = 30052i32; +pub const UIA_RangeValueValuePropertyId: UIA_PROPERTY_ID = 30047i32; +pub const UIA_RotationPropertyId: UIA_PROPERTY_ID = 30166i32; +pub const UIA_RuntimeIdPropertyId: UIA_PROPERTY_ID = 30000i32; +pub const UIA_SayAsInterpretAsAttributeId: UIA_TEXTATTRIBUTE_ID = 40043i32; +pub const UIA_SayAsInterpretAsMetadataId: UIA_METADATA_ID = 100000i32; +pub const UIA_ScrollBarControlTypeId: UIA_CONTROLTYPE_ID = 50014i32; +pub const UIA_ScrollHorizontalScrollPercentPropertyId: UIA_PROPERTY_ID = 30053i32; +pub const UIA_ScrollHorizontalViewSizePropertyId: UIA_PROPERTY_ID = 30054i32; +pub const UIA_ScrollHorizontallyScrollablePropertyId: UIA_PROPERTY_ID = 30057i32; +pub const UIA_ScrollItemPatternId: UIA_PATTERN_ID = 10017i32; +pub const UIA_ScrollPatternId: UIA_PATTERN_ID = 10004i32; pub const UIA_ScrollPatternNoScroll: f64 = -1f64; -pub const UIA_ScrollVerticalScrollPercentPropertyId: UIA_PROPERTY_ID = 30055u32; -pub const UIA_ScrollVerticalViewSizePropertyId: UIA_PROPERTY_ID = 30056u32; -pub const UIA_ScrollVerticallyScrollablePropertyId: UIA_PROPERTY_ID = 30058u32; -pub const UIA_SearchLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80004u32; -pub const UIA_Selection2CurrentSelectedItemPropertyId: UIA_PROPERTY_ID = 30171u32; -pub const UIA_Selection2FirstSelectedItemPropertyId: UIA_PROPERTY_ID = 30169u32; -pub const UIA_Selection2ItemCountPropertyId: UIA_PROPERTY_ID = 30172u32; -pub const UIA_Selection2LastSelectedItemPropertyId: UIA_PROPERTY_ID = 30170u32; -pub const UIA_SelectionActiveEndAttributeId: UIA_TEXTATTRIBUTE_ID = 40037u32; -pub const UIA_SelectionCanSelectMultiplePropertyId: UIA_PROPERTY_ID = 30060u32; -pub const UIA_SelectionIsSelectionRequiredPropertyId: UIA_PROPERTY_ID = 30061u32; -pub const UIA_SelectionItemIsSelectedPropertyId: UIA_PROPERTY_ID = 30079u32; -pub const UIA_SelectionItemPatternId: UIA_PATTERN_ID = 10010u32; -pub const UIA_SelectionItemSelectionContainerPropertyId: UIA_PROPERTY_ID = 30080u32; +pub const UIA_ScrollVerticalScrollPercentPropertyId: UIA_PROPERTY_ID = 30055i32; +pub const UIA_ScrollVerticalViewSizePropertyId: UIA_PROPERTY_ID = 30056i32; +pub const UIA_ScrollVerticallyScrollablePropertyId: UIA_PROPERTY_ID = 30058i32; +pub const UIA_SearchLandmarkTypeId: UIA_LANDMARKTYPE_ID = 80004i32; +pub const UIA_Selection2CurrentSelectedItemPropertyId: UIA_PROPERTY_ID = 30171i32; +pub const UIA_Selection2FirstSelectedItemPropertyId: UIA_PROPERTY_ID = 30169i32; +pub const UIA_Selection2ItemCountPropertyId: UIA_PROPERTY_ID = 30172i32; +pub const UIA_Selection2LastSelectedItemPropertyId: UIA_PROPERTY_ID = 30170i32; +pub const UIA_SelectionActiveEndAttributeId: UIA_TEXTATTRIBUTE_ID = 40037i32; +pub const UIA_SelectionCanSelectMultiplePropertyId: UIA_PROPERTY_ID = 30060i32; +pub const UIA_SelectionIsSelectionRequiredPropertyId: UIA_PROPERTY_ID = 30061i32; +pub const UIA_SelectionItemIsSelectedPropertyId: UIA_PROPERTY_ID = 30079i32; +pub const UIA_SelectionItemPatternId: UIA_PATTERN_ID = 10010i32; +pub const UIA_SelectionItemSelectionContainerPropertyId: UIA_PROPERTY_ID = 30080i32; pub const UIA_SelectionItem_ElementAddedToSelectionEventId: UIA_EVENT_ID = 20010i32; pub const UIA_SelectionItem_ElementRemovedFromSelectionEventId: UIA_EVENT_ID = 20011i32; pub const UIA_SelectionItem_ElementSelectedEventId: UIA_EVENT_ID = 20012i32; -pub const UIA_SelectionPattern2Id: UIA_PATTERN_ID = 10034u32; -pub const UIA_SelectionPatternId: UIA_PATTERN_ID = 10001u32; -pub const UIA_SelectionSelectionPropertyId: UIA_PROPERTY_ID = 30059u32; +pub const UIA_SelectionPattern2Id: UIA_PATTERN_ID = 10034i32; +pub const UIA_SelectionPatternId: UIA_PATTERN_ID = 10001i32; +pub const UIA_SelectionSelectionPropertyId: UIA_PROPERTY_ID = 30059i32; pub const UIA_Selection_InvalidatedEventId: UIA_EVENT_ID = 20013i32; -pub const UIA_SemanticZoomControlTypeId: UIA_CONTROLTYPE_ID = 50039u32; -pub const UIA_SeparatorControlTypeId: UIA_CONTROLTYPE_ID = 50038u32; -pub const UIA_SizeOfSetPropertyId: UIA_PROPERTY_ID = 30153u32; -pub const UIA_SizePropertyId: UIA_PROPERTY_ID = 30167u32; -pub const UIA_SliderControlTypeId: UIA_CONTROLTYPE_ID = 50015u32; -pub const UIA_SpinnerControlTypeId: UIA_CONTROLTYPE_ID = 50016u32; -pub const UIA_SplitButtonControlTypeId: UIA_CONTROLTYPE_ID = 50031u32; -pub const UIA_SpreadsheetItemAnnotationObjectsPropertyId: UIA_PROPERTY_ID = 30130u32; -pub const UIA_SpreadsheetItemAnnotationTypesPropertyId: UIA_PROPERTY_ID = 30131u32; -pub const UIA_SpreadsheetItemFormulaPropertyId: UIA_PROPERTY_ID = 30129u32; -pub const UIA_SpreadsheetItemPatternId: UIA_PATTERN_ID = 10027u32; -pub const UIA_SpreadsheetPatternId: UIA_PATTERN_ID = 10026u32; -pub const UIA_StatusBarControlTypeId: UIA_CONTROLTYPE_ID = 50017u32; -pub const UIA_StrikethroughColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40025u32; -pub const UIA_StrikethroughStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40026u32; +pub const UIA_SemanticZoomControlTypeId: UIA_CONTROLTYPE_ID = 50039i32; +pub const UIA_SeparatorControlTypeId: UIA_CONTROLTYPE_ID = 50038i32; +pub const UIA_SizeOfSetPropertyId: UIA_PROPERTY_ID = 30153i32; +pub const UIA_SizePropertyId: UIA_PROPERTY_ID = 30167i32; +pub const UIA_SliderControlTypeId: UIA_CONTROLTYPE_ID = 50015i32; +pub const UIA_SpinnerControlTypeId: UIA_CONTROLTYPE_ID = 50016i32; +pub const UIA_SplitButtonControlTypeId: UIA_CONTROLTYPE_ID = 50031i32; +pub const UIA_SpreadsheetItemAnnotationObjectsPropertyId: UIA_PROPERTY_ID = 30130i32; +pub const UIA_SpreadsheetItemAnnotationTypesPropertyId: UIA_PROPERTY_ID = 30131i32; +pub const UIA_SpreadsheetItemFormulaPropertyId: UIA_PROPERTY_ID = 30129i32; +pub const UIA_SpreadsheetItemPatternId: UIA_PATTERN_ID = 10027i32; +pub const UIA_SpreadsheetPatternId: UIA_PATTERN_ID = 10026i32; +pub const UIA_StatusBarControlTypeId: UIA_CONTROLTYPE_ID = 50017i32; +pub const UIA_StrikethroughColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40025i32; +pub const UIA_StrikethroughStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40026i32; pub const UIA_StructureChangedEventId: UIA_EVENT_ID = 20002i32; -pub const UIA_StyleIdAttributeId: UIA_TEXTATTRIBUTE_ID = 40034u32; -pub const UIA_StyleNameAttributeId: UIA_TEXTATTRIBUTE_ID = 40033u32; -pub const UIA_StylesExtendedPropertiesPropertyId: UIA_PROPERTY_ID = 30126u32; -pub const UIA_StylesFillColorPropertyId: UIA_PROPERTY_ID = 30122u32; -pub const UIA_StylesFillPatternColorPropertyId: UIA_PROPERTY_ID = 30125u32; -pub const UIA_StylesFillPatternStylePropertyId: UIA_PROPERTY_ID = 30123u32; -pub const UIA_StylesPatternId: UIA_PATTERN_ID = 10025u32; -pub const UIA_StylesShapePropertyId: UIA_PROPERTY_ID = 30124u32; -pub const UIA_StylesStyleIdPropertyId: UIA_PROPERTY_ID = 30120u32; -pub const UIA_StylesStyleNamePropertyId: UIA_PROPERTY_ID = 30121u32; -pub const UIA_SummaryChangeId: UIA_CHANGE_ID = 90000u32; -pub const UIA_SynchronizedInputPatternId: UIA_PATTERN_ID = 10021u32; +pub const UIA_StyleIdAttributeId: UIA_TEXTATTRIBUTE_ID = 40034i32; +pub const UIA_StyleNameAttributeId: UIA_TEXTATTRIBUTE_ID = 40033i32; +pub const UIA_StylesExtendedPropertiesPropertyId: UIA_PROPERTY_ID = 30126i32; +pub const UIA_StylesFillColorPropertyId: UIA_PROPERTY_ID = 30122i32; +pub const UIA_StylesFillPatternColorPropertyId: UIA_PROPERTY_ID = 30125i32; +pub const UIA_StylesFillPatternStylePropertyId: UIA_PROPERTY_ID = 30123i32; +pub const UIA_StylesPatternId: UIA_PATTERN_ID = 10025i32; +pub const UIA_StylesShapePropertyId: UIA_PROPERTY_ID = 30124i32; +pub const UIA_StylesStyleIdPropertyId: UIA_PROPERTY_ID = 30120i32; +pub const UIA_StylesStyleNamePropertyId: UIA_PROPERTY_ID = 30121i32; +pub const UIA_SummaryChangeId: UIA_CHANGE_ID = 90000i32; +pub const UIA_SynchronizedInputPatternId: UIA_PATTERN_ID = 10021i32; pub const UIA_SystemAlertEventId: UIA_EVENT_ID = 20023i32; -pub const UIA_TabControlTypeId: UIA_CONTROLTYPE_ID = 50018u32; -pub const UIA_TabItemControlTypeId: UIA_CONTROLTYPE_ID = 50019u32; -pub const UIA_TableColumnHeadersPropertyId: UIA_PROPERTY_ID = 30082u32; -pub const UIA_TableControlTypeId: UIA_CONTROLTYPE_ID = 50036u32; -pub const UIA_TableItemColumnHeaderItemsPropertyId: UIA_PROPERTY_ID = 30085u32; -pub const UIA_TableItemPatternId: UIA_PATTERN_ID = 10013u32; -pub const UIA_TableItemRowHeaderItemsPropertyId: UIA_PROPERTY_ID = 30084u32; -pub const UIA_TablePatternId: UIA_PATTERN_ID = 10012u32; -pub const UIA_TableRowHeadersPropertyId: UIA_PROPERTY_ID = 30081u32; -pub const UIA_TableRowOrColumnMajorPropertyId: UIA_PROPERTY_ID = 30083u32; -pub const UIA_TabsAttributeId: UIA_TEXTATTRIBUTE_ID = 40027u32; -pub const UIA_TextChildPatternId: UIA_PATTERN_ID = 10029u32; -pub const UIA_TextControlTypeId: UIA_CONTROLTYPE_ID = 50020u32; -pub const UIA_TextEditPatternId: UIA_PATTERN_ID = 10032u32; +pub const UIA_TabControlTypeId: UIA_CONTROLTYPE_ID = 50018i32; +pub const UIA_TabItemControlTypeId: UIA_CONTROLTYPE_ID = 50019i32; +pub const UIA_TableColumnHeadersPropertyId: UIA_PROPERTY_ID = 30082i32; +pub const UIA_TableControlTypeId: UIA_CONTROLTYPE_ID = 50036i32; +pub const UIA_TableItemColumnHeaderItemsPropertyId: UIA_PROPERTY_ID = 30085i32; +pub const UIA_TableItemPatternId: UIA_PATTERN_ID = 10013i32; +pub const UIA_TableItemRowHeaderItemsPropertyId: UIA_PROPERTY_ID = 30084i32; +pub const UIA_TablePatternId: UIA_PATTERN_ID = 10012i32; +pub const UIA_TableRowHeadersPropertyId: UIA_PROPERTY_ID = 30081i32; +pub const UIA_TableRowOrColumnMajorPropertyId: UIA_PROPERTY_ID = 30083i32; +pub const UIA_TabsAttributeId: UIA_TEXTATTRIBUTE_ID = 40027i32; +pub const UIA_TextChildPatternId: UIA_PATTERN_ID = 10029i32; +pub const UIA_TextControlTypeId: UIA_CONTROLTYPE_ID = 50020i32; +pub const UIA_TextEditPatternId: UIA_PATTERN_ID = 10032i32; pub const UIA_TextEdit_ConversionTargetChangedEventId: UIA_EVENT_ID = 20033i32; pub const UIA_TextEdit_TextChangedEventId: UIA_EVENT_ID = 20032i32; -pub const UIA_TextFlowDirectionsAttributeId: UIA_TEXTATTRIBUTE_ID = 40028u32; -pub const UIA_TextPattern2Id: UIA_PATTERN_ID = 10024u32; -pub const UIA_TextPatternId: UIA_PATTERN_ID = 10014u32; +pub const UIA_TextFlowDirectionsAttributeId: UIA_TEXTATTRIBUTE_ID = 40028i32; +pub const UIA_TextPattern2Id: UIA_PATTERN_ID = 10024i32; +pub const UIA_TextPatternId: UIA_PATTERN_ID = 10014i32; pub const UIA_Text_TextChangedEventId: UIA_EVENT_ID = 20015i32; pub const UIA_Text_TextSelectionChangedEventId: UIA_EVENT_ID = 20014i32; -pub const UIA_ThumbControlTypeId: UIA_CONTROLTYPE_ID = 50027u32; -pub const UIA_TitleBarControlTypeId: UIA_CONTROLTYPE_ID = 50037u32; -pub const UIA_TogglePatternId: UIA_PATTERN_ID = 10015u32; -pub const UIA_ToggleToggleStatePropertyId: UIA_PROPERTY_ID = 30086u32; -pub const UIA_ToolBarControlTypeId: UIA_CONTROLTYPE_ID = 50021u32; +pub const UIA_ThumbControlTypeId: UIA_CONTROLTYPE_ID = 50027i32; +pub const UIA_TitleBarControlTypeId: UIA_CONTROLTYPE_ID = 50037i32; +pub const UIA_TogglePatternId: UIA_PATTERN_ID = 10015i32; +pub const UIA_ToggleToggleStatePropertyId: UIA_PROPERTY_ID = 30086i32; +pub const UIA_ToolBarControlTypeId: UIA_CONTROLTYPE_ID = 50021i32; pub const UIA_ToolTipClosedEventId: UIA_EVENT_ID = 20001i32; -pub const UIA_ToolTipControlTypeId: UIA_CONTROLTYPE_ID = 50022u32; +pub const UIA_ToolTipControlTypeId: UIA_CONTROLTYPE_ID = 50022i32; pub const UIA_ToolTipOpenedEventId: UIA_EVENT_ID = 20000i32; -pub const UIA_Transform2CanZoomPropertyId: UIA_PROPERTY_ID = 30133u32; -pub const UIA_Transform2ZoomLevelPropertyId: UIA_PROPERTY_ID = 30145u32; -pub const UIA_Transform2ZoomMaximumPropertyId: UIA_PROPERTY_ID = 30147u32; -pub const UIA_Transform2ZoomMinimumPropertyId: UIA_PROPERTY_ID = 30146u32; -pub const UIA_TransformCanMovePropertyId: UIA_PROPERTY_ID = 30087u32; -pub const UIA_TransformCanResizePropertyId: UIA_PROPERTY_ID = 30088u32; -pub const UIA_TransformCanRotatePropertyId: UIA_PROPERTY_ID = 30089u32; -pub const UIA_TransformPattern2Id: UIA_PATTERN_ID = 10028u32; -pub const UIA_TransformPatternId: UIA_PATTERN_ID = 10016u32; -pub const UIA_TreeControlTypeId: UIA_CONTROLTYPE_ID = 50023u32; -pub const UIA_TreeItemControlTypeId: UIA_CONTROLTYPE_ID = 50024u32; -pub const UIA_UnderlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40029u32; -pub const UIA_UnderlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40030u32; -pub const UIA_ValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = 30046u32; -pub const UIA_ValuePatternId: UIA_PATTERN_ID = 10002u32; -pub const UIA_ValueValuePropertyId: UIA_PROPERTY_ID = 30045u32; -pub const UIA_VirtualizedItemPatternId: UIA_PATTERN_ID = 10020u32; -pub const UIA_VisualEffectsPropertyId: UIA_PROPERTY_ID = 30163u32; -pub const UIA_WindowCanMaximizePropertyId: UIA_PROPERTY_ID = 30073u32; -pub const UIA_WindowCanMinimizePropertyId: UIA_PROPERTY_ID = 30074u32; -pub const UIA_WindowControlTypeId: UIA_CONTROLTYPE_ID = 50032u32; -pub const UIA_WindowIsModalPropertyId: UIA_PROPERTY_ID = 30077u32; -pub const UIA_WindowIsTopmostPropertyId: UIA_PROPERTY_ID = 30078u32; -pub const UIA_WindowPatternId: UIA_PATTERN_ID = 10009u32; -pub const UIA_WindowWindowInteractionStatePropertyId: UIA_PROPERTY_ID = 30076u32; -pub const UIA_WindowWindowVisualStatePropertyId: UIA_PROPERTY_ID = 30075u32; +pub const UIA_Transform2CanZoomPropertyId: UIA_PROPERTY_ID = 30133i32; +pub const UIA_Transform2ZoomLevelPropertyId: UIA_PROPERTY_ID = 30145i32; +pub const UIA_Transform2ZoomMaximumPropertyId: UIA_PROPERTY_ID = 30147i32; +pub const UIA_Transform2ZoomMinimumPropertyId: UIA_PROPERTY_ID = 30146i32; +pub const UIA_TransformCanMovePropertyId: UIA_PROPERTY_ID = 30087i32; +pub const UIA_TransformCanResizePropertyId: UIA_PROPERTY_ID = 30088i32; +pub const UIA_TransformCanRotatePropertyId: UIA_PROPERTY_ID = 30089i32; +pub const UIA_TransformPattern2Id: UIA_PATTERN_ID = 10028i32; +pub const UIA_TransformPatternId: UIA_PATTERN_ID = 10016i32; +pub const UIA_TreeControlTypeId: UIA_CONTROLTYPE_ID = 50023i32; +pub const UIA_TreeItemControlTypeId: UIA_CONTROLTYPE_ID = 50024i32; +pub const UIA_UnderlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = 40029i32; +pub const UIA_UnderlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = 40030i32; +pub const UIA_ValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = 30046i32; +pub const UIA_ValuePatternId: UIA_PATTERN_ID = 10002i32; +pub const UIA_ValueValuePropertyId: UIA_PROPERTY_ID = 30045i32; +pub const UIA_VirtualizedItemPatternId: UIA_PATTERN_ID = 10020i32; +pub const UIA_VisualEffectsPropertyId: UIA_PROPERTY_ID = 30163i32; +pub const UIA_WindowCanMaximizePropertyId: UIA_PROPERTY_ID = 30073i32; +pub const UIA_WindowCanMinimizePropertyId: UIA_PROPERTY_ID = 30074i32; +pub const UIA_WindowControlTypeId: UIA_CONTROLTYPE_ID = 50032i32; +pub const UIA_WindowIsModalPropertyId: UIA_PROPERTY_ID = 30077i32; +pub const UIA_WindowIsTopmostPropertyId: UIA_PROPERTY_ID = 30078i32; +pub const UIA_WindowPatternId: UIA_PATTERN_ID = 10009i32; +pub const UIA_WindowWindowInteractionStatePropertyId: UIA_PROPERTY_ID = 30076i32; +pub const UIA_WindowWindowVisualStatePropertyId: UIA_PROPERTY_ID = 30075i32; pub const UIA_Window_WindowClosedEventId: UIA_EVENT_ID = 20017i32; pub const UIA_Window_WindowOpenedEventId: UIA_EVENT_ID = 20016i32; pub const UIAutomationType_Array: UIAutomationType = 65536i32; @@ -1627,17 +1627,17 @@ pub type TextUnit = i32; pub type ToggleState = i32; pub type TreeScope = i32; pub type TreeTraversalOptions = i32; -pub type UIA_ANNOTATIONTYPE = u32; -pub type UIA_CHANGE_ID = u32; -pub type UIA_CONTROLTYPE_ID = u32; +pub type UIA_ANNOTATIONTYPE = i32; +pub type UIA_CHANGE_ID = i32; +pub type UIA_CONTROLTYPE_ID = i32; pub type UIA_EVENT_ID = i32; -pub type UIA_HEADINGLEVEL_ID = u32; -pub type UIA_LANDMARKTYPE_ID = u32; -pub type UIA_METADATA_ID = u32; -pub type UIA_PATTERN_ID = u32; -pub type UIA_PROPERTY_ID = u32; -pub type UIA_STYLE_ID = u32; -pub type UIA_TEXTATTRIBUTE_ID = u32; +pub type UIA_HEADINGLEVEL_ID = i32; +pub type UIA_LANDMARKTYPE_ID = i32; +pub type UIA_METADATA_ID = i32; +pub type UIA_PATTERN_ID = i32; +pub type UIA_PROPERTY_ID = i32; +pub type UIA_STYLE_ID = i32; +pub type UIA_TEXTATTRIBUTE_ID = i32; pub type UIAutomationType = i32; pub type VisualEffects = i32; pub type WindowInteractionState = i32; diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 49f224f6fe..5a8f549a1c 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -356,9 +356,14 @@ UI_WebUI_Core = ["UI_WebUI"] UI_WindowManagement = ["UI"] UI_WindowManagement_Preview = ["UI_WindowManagement"] Wdk = [] +Wdk_Devices = ["Wdk"] +Wdk_Devices_HumanInterfaceDevice = ["Wdk_Devices"] Wdk_Foundation = ["Wdk"] Wdk_Graphics = ["Wdk"] Wdk_Graphics_Direct3D = ["Wdk_Graphics"] +Wdk_NetworkManagement = ["Wdk"] +Wdk_NetworkManagement_Ndis = ["Wdk_NetworkManagement"] +Wdk_NetworkManagement_WindowsFilteringPlatform = ["Wdk_NetworkManagement"] Wdk_Storage = ["Wdk"] Wdk_Storage_FileSystem = ["Wdk_Storage"] Wdk_Storage_FileSystem_Minifilters = ["Wdk_Storage_FileSystem"] diff --git a/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs new file mode 100644 index 0000000000..3378803583 --- /dev/null +++ b/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs @@ -0,0 +1,142 @@ +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn VhfAsyncOperationComplete(vhfoperationhandle: *const ::core::ffi::c_void, completionstatus: P0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("vhfum.dll" "system" fn VhfAsyncOperationComplete(vhfoperationhandle : *const ::core::ffi::c_void, completionstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS); + VhfAsyncOperationComplete(vhfoperationhandle, completionstatus.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn VhfCreate(vhfconfig: *const VHF_CONFIG, vhfhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("vhfum.dll" "system" fn VhfCreate(vhfconfig : *const VHF_CONFIG, vhfhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); + VhfCreate(vhfconfig, vhfhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn VhfDelete(vhfhandle: *const ::core::ffi::c_void, wait: P0) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("vhfum.dll" "system" fn VhfDelete(vhfhandle : *const ::core::ffi::c_void, wait : super::super::super::Win32::Foundation:: BOOLEAN)); + VhfDelete(vhfhandle, wait.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn VhfReadReportSubmit(vhfhandle: *const ::core::ffi::c_void, hidtransferpacket: *const HID_XFER_PACKET) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("vhfum.dll" "system" fn VhfReadReportSubmit(vhfhandle : *const ::core::ffi::c_void, hidtransferpacket : *const HID_XFER_PACKET) -> super::super::super::Win32::Foundation:: NTSTATUS); + VhfReadReportSubmit(vhfhandle, hidtransferpacket) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn VhfStart(vhfhandle: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("vhfum.dll" "system" fn VhfStart(vhfhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); + VhfStart(vhfhandle) +} +#[repr(C)] +pub struct HID_XFER_PACKET { + pub reportBuffer: *mut u8, + pub reportBufferLen: u32, + pub reportId: u8, +} +impl ::core::marker::Copy for HID_XFER_PACKET {} +impl ::core::clone::Clone for HID_XFER_PACKET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for HID_XFER_PACKET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("HID_XFER_PACKET").field("reportBuffer", &self.reportBuffer).field("reportBufferLen", &self.reportBufferLen).field("reportId", &self.reportId).finish() + } +} +impl ::windows_core::TypeKind for HID_XFER_PACKET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for HID_XFER_PACKET { + fn eq(&self, other: &Self) -> bool { + self.reportBuffer == other.reportBuffer && self.reportBufferLen == other.reportBufferLen && self.reportId == other.reportId + } +} +impl ::core::cmp::Eq for HID_XFER_PACKET {} +impl ::core::default::Default for HID_XFER_PACKET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct VHF_CONFIG { + pub Size: u32, + pub VhfClientContext: *mut ::core::ffi::c_void, + pub OperationContextSize: u32, + pub FileHandle: super::super::super::Win32::Foundation::HANDLE, + pub VendorID: u16, + pub ProductID: u16, + pub VersionNumber: u16, + pub ContainerID: ::windows_core::GUID, + pub InstanceIDLength: u16, + pub InstanceID: ::windows_core::PWSTR, + pub ReportDescriptorLength: u16, + pub ReportDescriptor: *mut u8, + pub EvtVhfReadyForNextReadReport: PEVT_VHF_READY_FOR_NEXT_READ_REPORT, + pub EvtVhfAsyncOperationGetFeature: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationSetFeature: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationWriteReport: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfAsyncOperationGetInputReport: PEVT_VHF_ASYNC_OPERATION, + pub EvtVhfCleanup: PEVT_VHF_CLEANUP, + pub HardwareIDsLength: u16, + pub HardwareIDs: ::windows_core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for VHF_CONFIG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for VHF_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for VHF_CONFIG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("VHF_CONFIG") + .field("Size", &self.Size) + .field("VhfClientContext", &self.VhfClientContext) + .field("OperationContextSize", &self.OperationContextSize) + .field("FileHandle", &self.FileHandle) + .field("VendorID", &self.VendorID) + .field("ProductID", &self.ProductID) + .field("VersionNumber", &self.VersionNumber) + .field("ContainerID", &self.ContainerID) + .field("InstanceIDLength", &self.InstanceIDLength) + .field("InstanceID", &self.InstanceID) + .field("ReportDescriptorLength", &self.ReportDescriptorLength) + .field("ReportDescriptor", &self.ReportDescriptor) + .field("HardwareIDsLength", &self.HardwareIDsLength) + .field("HardwareIDs", &self.HardwareIDs) + .finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for VHF_CONFIG { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for VHF_CONFIG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +pub type EVT_VHF_ASYNC_OPERATION = ::core::option::Option; +pub type EVT_VHF_CLEANUP = ::core::option::Option; +pub type EVT_VHF_READY_FOR_NEXT_READ_REPORT = ::core::option::Option; +pub type PEVT_VHF_ASYNC_OPERATION = ::core::option::Option; +pub type PEVT_VHF_CLEANUP = ::core::option::Option; +pub type PEVT_VHF_READY_FOR_NEXT_READ_REPORT = ::core::option::Option; diff --git a/crates/libs/windows/src/Windows/Wdk/Devices/mod.rs b/crates/libs/windows/src/Windows/Wdk/Devices/mod.rs new file mode 100644 index 0000000000..ead04b488e --- /dev/null +++ b/crates/libs/windows/src/Windows/Wdk/Devices/mod.rs @@ -0,0 +1,3 @@ +#[cfg(feature = "Wdk_Devices_HumanInterfaceDevice")] +#[doc = "Required features: `\"Wdk_Devices_HumanInterfaceDevice\"`"] +pub mod HumanInterfaceDevice; diff --git a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs index e444ddc223..e39de071c1 100644 --- a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs @@ -45,6 +45,10 @@ pub const LockQueueUnusedSpare8: KSPIN_LOCK_QUEUE_NUMBER = KSPIN_LOCK_QUEUE_NUMB pub const LockQueueVacbLock: KSPIN_LOCK_QUEUE_NUMBER = KSPIN_LOCK_QUEUE_NUMBER(4i32); pub const MaxIoPriorityTypes: IO_PRIORITY_HINT = IO_PRIORITY_HINT(5i32); pub const MaxPoolType: POOL_TYPE = POOL_TYPE(7i32); +pub const NTSTRSAFE_MAX_CCH: u32 = 2147483647u32; +pub const NTSTRSAFE_MAX_LENGTH: u32 = 2147483646u32; +pub const NTSTRSAFE_UNICODE_STRING_MAX_CCH: u32 = 32767u32; +pub const NTSTRSAFE_USE_SECURE_CRT: u32 = 0u32; pub const NonPagedPool: POOL_TYPE = POOL_TYPE(0i32); pub const NonPagedPoolBase: POOL_TYPE = POOL_TYPE(0i32); pub const NonPagedPoolBaseCacheAligned: POOL_TYPE = POOL_TYPE(4i32); @@ -67,6 +71,30 @@ pub const PagedPool: POOL_TYPE = POOL_TYPE(1i32); pub const PagedPoolCacheAligned: POOL_TYPE = POOL_TYPE(5i32); pub const PagedPoolCacheAlignedSession: POOL_TYPE = POOL_TYPE(37i32); pub const PagedPoolSession: POOL_TYPE = POOL_TYPE(33i32); +pub const STRSAFE_FILL_BEHIND: u32 = 512u32; +pub const STRSAFE_FILL_BEHIND_NULL: u32 = 512u32; +pub const STRSAFE_FILL_ON_FAILURE: u32 = 1024u32; +pub const STRSAFE_IGNORE_NULLS: u32 = 256u32; +pub const STRSAFE_NO_TRUNCATION: u32 = 4096u32; +pub const STRSAFE_NULL_ON_FAILURE: u32 = 2048u32; +pub const STRSAFE_ZERO_LENGTH_ON_FAILURE: u32 = 2048u32; +pub const __WARNING_BANNED_API_USAGE: u32 = 28719u32; +pub const __WARNING_CYCLOMATIC_COMPLEXITY: u32 = 28734u32; +pub const __WARNING_DEREF_NULL_PTR: u32 = 6011u32; +pub const __WARNING_HIGH_PRIORITY_OVERFLOW_POSTCONDITION: u32 = 26045u32; +pub const __WARNING_INCORRECT_ANNOTATION: u32 = 26007u32; +pub const __WARNING_INVALID_PARAM_VALUE_1: u32 = 6387u32; +pub const __WARNING_INVALID_PARAM_VALUE_3: u32 = 28183u32; +pub const __WARNING_MISSING_ZERO_TERMINATION2: u32 = 6054u32; +pub const __WARNING_POSTCONDITION_NULLTERMINATION_VIOLATION: u32 = 26036u32; +pub const __WARNING_POST_EXPECTED: u32 = 28210u32; +pub const __WARNING_POTENTIAL_BUFFER_OVERFLOW_HIGH_PRIORITY: u32 = 26015u32; +pub const __WARNING_POTENTIAL_RANGE_POSTCONDITION_VIOLATION: u32 = 26071u32; +pub const __WARNING_PRECONDITION_NULLTERMINATION_VIOLATION: u32 = 26035u32; +pub const __WARNING_RANGE_POSTCONDITION_VIOLATION: u32 = 26061u32; +pub const __WARNING_RETURNING_BAD_RESULT: u32 = 28196u32; +pub const __WARNING_RETURN_UNINIT_VAR: u32 = 6101u32; +pub const __WARNING_USING_UNINIT_VAR: u32 = 6001u32; #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct IO_PRIORITY_HINT(pub i32); @@ -999,7 +1027,7 @@ impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_VECTOR { #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct DRIVER_EXTENSION { pub DriverObject: *mut DRIVER_OBJECT, - pub AddDevice: PDRIVER_ADD_DEVICE, + pub AddDevice: *mut DRIVER_ADD_DEVICE, pub Count: u32, pub ServiceKeyName: super::super::Win32::Foundation::UNICODE_STRING, } @@ -1014,7 +1042,7 @@ impl ::core::clone::Clone for DRIVER_EXTENSION { #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::fmt::Debug for DRIVER_EXTENSION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("DRIVER_EXTENSION").field("DriverObject", &self.DriverObject).field("Count", &self.Count).field("ServiceKeyName", &self.ServiceKeyName).finish() + f.debug_struct("DRIVER_EXTENSION").field("DriverObject", &self.DriverObject).field("AddDevice", &self.AddDevice).field("Count", &self.Count).field("ServiceKeyName", &self.ServiceKeyName).finish() } } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1022,6 +1050,14 @@ impl ::windows_core::TypeKind for DRIVER_EXTENSION { type TypeKind = ::windows_core::CopyType; } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::PartialEq for DRIVER_EXTENSION { + fn eq(&self, other: &Self) -> bool { + self.DriverObject == other.DriverObject && self.AddDevice == other.AddDevice && self.Count == other.Count && self.ServiceKeyName == other.ServiceKeyName + } +} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::Eq for DRIVER_EXTENSION {} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for DRIVER_EXTENSION { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -1042,10 +1078,10 @@ pub struct DRIVER_OBJECT { pub DriverName: super::super::Win32::Foundation::UNICODE_STRING, pub HardwareDatabase: *mut super::super::Win32::Foundation::UNICODE_STRING, pub FastIoDispatch: *mut FAST_IO_DISPATCH, - pub DriverInit: PDRIVER_INITIALIZE, - pub DriverStartIo: PDRIVER_STARTIO, - pub DriverUnload: PDRIVER_UNLOAD, - pub MajorFunction: [PDRIVER_DISPATCH; 28], + pub DriverInit: *mut DRIVER_INITIALIZE, + pub DriverStartIo: *mut DRIVER_STARTIO, + pub DriverUnload: *mut DRIVER_UNLOAD, + pub MajorFunction: [*mut DRIVER_DISPATCH; 28], } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for DRIVER_OBJECT {} @@ -1058,7 +1094,23 @@ impl ::core::clone::Clone for DRIVER_OBJECT { #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::fmt::Debug for DRIVER_OBJECT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("DRIVER_OBJECT").field("Type", &self.Type).field("Size", &self.Size).field("DeviceObject", &self.DeviceObject).field("Flags", &self.Flags).field("DriverStart", &self.DriverStart).field("DriverSize", &self.DriverSize).field("DriverSection", &self.DriverSection).field("DriverExtension", &self.DriverExtension).field("DriverName", &self.DriverName).field("HardwareDatabase", &self.HardwareDatabase).field("FastIoDispatch", &self.FastIoDispatch).finish() + f.debug_struct("DRIVER_OBJECT") + .field("Type", &self.Type) + .field("Size", &self.Size) + .field("DeviceObject", &self.DeviceObject) + .field("Flags", &self.Flags) + .field("DriverStart", &self.DriverStart) + .field("DriverSize", &self.DriverSize) + .field("DriverSection", &self.DriverSection) + .field("DriverExtension", &self.DriverExtension) + .field("DriverName", &self.DriverName) + .field("HardwareDatabase", &self.HardwareDatabase) + .field("FastIoDispatch", &self.FastIoDispatch) + .field("DriverInit", &self.DriverInit) + .field("DriverStartIo", &self.DriverStartIo) + .field("DriverUnload", &self.DriverUnload) + .field("MajorFunction", &self.MajorFunction) + .finish() } } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -1066,6 +1118,14 @@ impl ::windows_core::TypeKind for DRIVER_OBJECT { type TypeKind = ::windows_core::CopyType; } #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::PartialEq for DRIVER_OBJECT { + fn eq(&self, other: &Self) -> bool { + self.Type == other.Type && self.Size == other.Size && self.DeviceObject == other.DeviceObject && self.Flags == other.Flags && self.DriverStart == other.DriverStart && self.DriverSize == other.DriverSize && self.DriverSection == other.DriverSection && self.DriverExtension == other.DriverExtension && self.DriverName == other.DriverName && self.HardwareDatabase == other.HardwareDatabase && self.FastIoDispatch == other.FastIoDispatch && self.DriverInit == other.DriverInit && self.DriverStartIo == other.DriverStartIo && self.DriverUnload == other.DriverUnload && self.MajorFunction == other.MajorFunction + } +} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::Eq for DRIVER_OBJECT {} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for DRIVER_OBJECT { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -1241,57 +1301,121 @@ impl ::core::default::Default for ERESOURCE_1 { } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct FAST_IO_DISPATCH { pub SizeOfFastIoDispatch: u32, - pub FastIoCheckIfPossible: PFAST_IO_CHECK_IF_POSSIBLE, - pub FastIoRead: PFAST_IO_READ, - pub FastIoWrite: PFAST_IO_WRITE, - pub FastIoQueryBasicInfo: PFAST_IO_QUERY_BASIC_INFO, - pub FastIoQueryStandardInfo: PFAST_IO_QUERY_STANDARD_INFO, - pub FastIoLock: PFAST_IO_LOCK, - pub FastIoUnlockSingle: PFAST_IO_UNLOCK_SINGLE, - pub FastIoUnlockAll: PFAST_IO_UNLOCK_ALL, - pub FastIoUnlockAllByKey: PFAST_IO_UNLOCK_ALL_BY_KEY, - pub FastIoDeviceControl: PFAST_IO_DEVICE_CONTROL, - pub AcquireFileForNtCreateSection: PFAST_IO_ACQUIRE_FILE, - pub ReleaseFileForNtCreateSection: PFAST_IO_RELEASE_FILE, - pub FastIoDetachDevice: PFAST_IO_DETACH_DEVICE, - pub FastIoQueryNetworkOpenInfo: PFAST_IO_QUERY_NETWORK_OPEN_INFO, - pub AcquireForModWrite: PFAST_IO_ACQUIRE_FOR_MOD_WRITE, - pub MdlRead: PFAST_IO_MDL_READ, - pub MdlReadComplete: PFAST_IO_MDL_READ_COMPLETE, - pub PrepareMdlWrite: PFAST_IO_PREPARE_MDL_WRITE, - pub MdlWriteComplete: PFAST_IO_MDL_WRITE_COMPLETE, - pub FastIoReadCompressed: PFAST_IO_READ_COMPRESSED, - pub FastIoWriteCompressed: PFAST_IO_WRITE_COMPRESSED, - pub MdlReadCompleteCompressed: PFAST_IO_MDL_READ_COMPLETE_COMPRESSED, - pub MdlWriteCompleteCompressed: PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED, - pub FastIoQueryOpen: PFAST_IO_QUERY_OPEN, - pub ReleaseForModWrite: PFAST_IO_RELEASE_FOR_MOD_WRITE, - pub AcquireForCcFlush: PFAST_IO_ACQUIRE_FOR_CCFLUSH, - pub ReleaseForCcFlush: PFAST_IO_RELEASE_FOR_CCFLUSH, + pub FastIoCheckIfPossible: *mut FAST_IO_CHECK_IF_POSSIBLE, + pub FastIoRead: *mut FAST_IO_READ, + pub FastIoWrite: *mut FAST_IO_WRITE, + pub FastIoQueryBasicInfo: *mut FAST_IO_QUERY_BASIC_INFO, + pub FastIoQueryStandardInfo: *mut FAST_IO_QUERY_STANDARD_INFO, + pub FastIoLock: *mut FAST_IO_LOCK, + pub FastIoUnlockSingle: *mut FAST_IO_UNLOCK_SINGLE, + pub FastIoUnlockAll: *mut FAST_IO_UNLOCK_ALL, + pub FastIoUnlockAllByKey: *mut FAST_IO_UNLOCK_ALL_BY_KEY, + pub FastIoDeviceControl: *mut FAST_IO_DEVICE_CONTROL, + pub AcquireFileForNtCreateSection: *mut FAST_IO_ACQUIRE_FILE, + pub ReleaseFileForNtCreateSection: *mut FAST_IO_RELEASE_FILE, + pub FastIoDetachDevice: *mut FAST_IO_DETACH_DEVICE, + pub FastIoQueryNetworkOpenInfo: *mut FAST_IO_QUERY_NETWORK_OPEN_INFO, + pub AcquireForModWrite: *mut FAST_IO_ACQUIRE_FOR_MOD_WRITE, + pub MdlRead: *mut FAST_IO_MDL_READ, + pub MdlReadComplete: *mut FAST_IO_MDL_READ_COMPLETE, + pub PrepareMdlWrite: *mut FAST_IO_PREPARE_MDL_WRITE, + pub MdlWriteComplete: *mut FAST_IO_MDL_WRITE_COMPLETE, + pub FastIoReadCompressed: *mut FAST_IO_READ_COMPRESSED, + pub FastIoWriteCompressed: *mut FAST_IO_WRITE_COMPRESSED, + pub MdlReadCompleteCompressed: *mut FAST_IO_MDL_READ_COMPLETE_COMPRESSED, + pub MdlWriteCompleteCompressed: *mut FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED, + pub FastIoQueryOpen: *mut FAST_IO_QUERY_OPEN, + pub ReleaseForModWrite: *mut FAST_IO_RELEASE_FOR_MOD_WRITE, + pub AcquireForCcFlush: *mut FAST_IO_ACQUIRE_FOR_CCFLUSH, + pub ReleaseForCcFlush: *mut FAST_IO_RELEASE_FOR_CCFLUSH, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for FAST_IO_DISPATCH {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for FAST_IO_DISPATCH { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::fmt::Debug for FAST_IO_DISPATCH { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("FAST_IO_DISPATCH").field("SizeOfFastIoDispatch", &self.SizeOfFastIoDispatch).finish() + f.debug_struct("FAST_IO_DISPATCH") + .field("SizeOfFastIoDispatch", &self.SizeOfFastIoDispatch) + .field("FastIoCheckIfPossible", &self.FastIoCheckIfPossible) + .field("FastIoRead", &self.FastIoRead) + .field("FastIoWrite", &self.FastIoWrite) + .field("FastIoQueryBasicInfo", &self.FastIoQueryBasicInfo) + .field("FastIoQueryStandardInfo", &self.FastIoQueryStandardInfo) + .field("FastIoLock", &self.FastIoLock) + .field("FastIoUnlockSingle", &self.FastIoUnlockSingle) + .field("FastIoUnlockAll", &self.FastIoUnlockAll) + .field("FastIoUnlockAllByKey", &self.FastIoUnlockAllByKey) + .field("FastIoDeviceControl", &self.FastIoDeviceControl) + .field("AcquireFileForNtCreateSection", &self.AcquireFileForNtCreateSection) + .field("ReleaseFileForNtCreateSection", &self.ReleaseFileForNtCreateSection) + .field("FastIoDetachDevice", &self.FastIoDetachDevice) + .field("FastIoQueryNetworkOpenInfo", &self.FastIoQueryNetworkOpenInfo) + .field("AcquireForModWrite", &self.AcquireForModWrite) + .field("MdlRead", &self.MdlRead) + .field("MdlReadComplete", &self.MdlReadComplete) + .field("PrepareMdlWrite", &self.PrepareMdlWrite) + .field("MdlWriteComplete", &self.MdlWriteComplete) + .field("FastIoReadCompressed", &self.FastIoReadCompressed) + .field("FastIoWriteCompressed", &self.FastIoWriteCompressed) + .field("MdlReadCompleteCompressed", &self.MdlReadCompleteCompressed) + .field("MdlWriteCompleteCompressed", &self.MdlWriteCompleteCompressed) + .field("FastIoQueryOpen", &self.FastIoQueryOpen) + .field("ReleaseForModWrite", &self.ReleaseForModWrite) + .field("AcquireForCcFlush", &self.AcquireForCcFlush) + .field("ReleaseForCcFlush", &self.ReleaseForCcFlush) + .finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::windows_core::TypeKind for FAST_IO_DISPATCH { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::PartialEq for FAST_IO_DISPATCH { + fn eq(&self, other: &Self) -> bool { + self.SizeOfFastIoDispatch == other.SizeOfFastIoDispatch + && self.FastIoCheckIfPossible == other.FastIoCheckIfPossible + && self.FastIoRead == other.FastIoRead + && self.FastIoWrite == other.FastIoWrite + && self.FastIoQueryBasicInfo == other.FastIoQueryBasicInfo + && self.FastIoQueryStandardInfo == other.FastIoQueryStandardInfo + && self.FastIoLock == other.FastIoLock + && self.FastIoUnlockSingle == other.FastIoUnlockSingle + && self.FastIoUnlockAll == other.FastIoUnlockAll + && self.FastIoUnlockAllByKey == other.FastIoUnlockAllByKey + && self.FastIoDeviceControl == other.FastIoDeviceControl + && self.AcquireFileForNtCreateSection == other.AcquireFileForNtCreateSection + && self.ReleaseFileForNtCreateSection == other.ReleaseFileForNtCreateSection + && self.FastIoDetachDevice == other.FastIoDetachDevice + && self.FastIoQueryNetworkOpenInfo == other.FastIoQueryNetworkOpenInfo + && self.AcquireForModWrite == other.AcquireForModWrite + && self.MdlRead == other.MdlRead + && self.MdlReadComplete == other.MdlReadComplete + && self.PrepareMdlWrite == other.PrepareMdlWrite + && self.MdlWriteComplete == other.MdlWriteComplete + && self.FastIoReadCompressed == other.FastIoReadCompressed + && self.FastIoWriteCompressed == other.FastIoWriteCompressed + && self.MdlReadCompleteCompressed == other.MdlReadCompleteCompressed + && self.MdlWriteCompleteCompressed == other.MdlWriteCompleteCompressed + && self.FastIoQueryOpen == other.FastIoQueryOpen + && self.ReleaseForModWrite == other.ReleaseForModWrite + && self.AcquireForCcFlush == other.AcquireForCcFlush + && self.ReleaseForCcFlush == other.ReleaseForCcFlush + } +} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +impl ::core::cmp::Eq for FAST_IO_DISPATCH {} +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for FAST_IO_DISPATCH { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -3178,7 +3302,7 @@ pub struct IRP { pub Anonymous: IRP_0, pub UserEvent: *mut KEVENT, pub Overlay: IRP_2, - pub CancelRoutine: PDRIVER_CANCEL, + pub CancelRoutine: *mut DRIVER_CANCEL, pub UserBuffer: *mut ::core::ffi::c_void, pub Tail: IRP_3, } @@ -5189,93 +5313,120 @@ impl ::core::fmt::Debug for _SCSI_REQUEST_BLOCK { impl ::windows_core::TypeKind for _SCSI_REQUEST_BLOCK { type TypeKind = ::windows_core::CopyType; } +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_ADD_DEVICE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_CANCEL = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_CONTROL = ::core::option::Option super::System::SystemServices::IO_ALLOCATION_ACTION>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_DISPATCH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_DISPATCH_PAGED = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_FS_NOTIFICATION = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_INITIALIZE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_ADD_DEVICE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_CANCEL = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_DISPATCH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_INITIALIZE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_STARTIO = ::core::option::Option; -pub type PDRIVER_UNLOAD = ::core::option::Option; -pub type PFAST_IO_ACQUIRE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -pub type PFAST_IO_DETACH_DEVICE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_LOCK = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_OPEN = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_READ_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -pub type PFAST_IO_RELEASE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_ALL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PFAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +pub type DRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_REINITIALIZE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_STARTIO = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type DRIVER_UNLOAD = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FILE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_DETACH_DEVICE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_LOCK = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_OPEN = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_READ = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_READ_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FILE = ::core::option::Option; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_ALL = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_WRITE = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +pub type FAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::Win32::Foundation::BOOLEAN>; pub type PFREE_FUNCTION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs new file mode 100644 index 0000000000..a3611031a0 --- /dev/null +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -0,0 +1,9707 @@ +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisAcquireReadWriteLock(lock: *mut NDIS_RW_LOCK, fwrite: P0, lockstate: *mut LOCK_STATE) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisAcquireReadWriteLock(lock : *mut NDIS_RW_LOCK, fwrite : super::super::super::Win32::Foundation:: BOOLEAN, lockstate : *mut LOCK_STATE)); + NdisAcquireReadWriteLock(lock, fwrite.into_param().abi(), lockstate) +} +#[inline] +pub unsafe fn NdisAllocateMemoryWithTag(virtualaddress: *mut *mut ::core::ffi::c_void, length: u32, tag: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisAllocateMemoryWithTag(virtualaddress : *mut *mut ::core::ffi::c_void, length : u32, tag : u32) -> i32); + NdisAllocateMemoryWithTag(virtualaddress, length, tag) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisCancelTimer(timer: *const NDIS_TIMER) -> super::super::super::Win32::Foundation::BOOLEAN { + ::windows_targets::link!("ndis.sys" "system" fn NdisCancelTimer(timer : *const NDIS_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); + let mut result__ = ::std::mem::zeroed(); + NdisCancelTimer(timer, &mut result__); + ::std::mem::transmute(result__) +} +#[inline] +pub unsafe fn NdisClAddParty(ndisvchandle: *const ::core::ffi::c_void, protocolpartycontext: *const ::core::ffi::c_void, callparameters: *mut CO_CALL_PARAMETERS, ndispartyhandle: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClAddParty(ndisvchandle : *const ::core::ffi::c_void, protocolpartycontext : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS, ndispartyhandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisClAddParty(ndisvchandle, protocolpartycontext, callparameters, ndispartyhandle) +} +#[inline] +pub unsafe fn NdisClCloseAddressFamily(ndisafhandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClCloseAddressFamily(ndisafhandle : *const ::core::ffi::c_void) -> i32); + NdisClCloseAddressFamily(ndisafhandle) +} +#[inline] +pub unsafe fn NdisClCloseCall(ndisvchandle: *const ::core::ffi::c_void, ndispartyhandle: ::core::option::Option<*const ::core::ffi::c_void>, buffer: ::core::option::Option<*const ::core::ffi::c_void>, size: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClCloseCall(ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32) -> i32); + NdisClCloseCall(ndisvchandle, ::core::mem::transmute(ndispartyhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), size) +} +#[inline] +pub unsafe fn NdisClDeregisterSap(ndissaphandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClDeregisterSap(ndissaphandle : *const ::core::ffi::c_void) -> i32); + NdisClDeregisterSap(ndissaphandle) +} +#[inline] +pub unsafe fn NdisClDropParty(ndispartyhandle: *const ::core::ffi::c_void, buffer: ::core::option::Option<*const ::core::ffi::c_void>, size: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClDropParty(ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32) -> i32); + NdisClDropParty(ndispartyhandle, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), size) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisClGetProtocolVcContextFromTapiCallId(tapicallid: super::super::super::Win32::Foundation::UNICODE_STRING, protocolvccontext: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClGetProtocolVcContextFromTapiCallId(tapicallid : super::super::super::Win32::Foundation:: UNICODE_STRING, protocolvccontext : *mut *mut ::core::ffi::c_void) -> i32); + NdisClGetProtocolVcContextFromTapiCallId(::core::mem::transmute(tapicallid), protocolvccontext) +} +#[inline] +pub unsafe fn NdisClIncomingCallComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisClIncomingCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisClIncomingCallComplete(status, ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisClMakeCall(ndisvchandle: *const ::core::ffi::c_void, callparameters: *mut CO_CALL_PARAMETERS, protocolpartycontext: ::core::option::Option<*const ::core::ffi::c_void>, ndispartyhandle: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClMakeCall(ndisvchandle : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS, protocolpartycontext : *const ::core::ffi::c_void, ndispartyhandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisClMakeCall(ndisvchandle, callparameters, ::core::mem::transmute(protocolpartycontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ndispartyhandle.unwrap_or(::std::ptr::null_mut()))) +} +#[inline] +pub unsafe fn NdisClModifyCallQoS(ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClModifyCallQoS(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); + NdisClModifyCallQoS(ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisClRegisterSap(ndisafhandle: *const ::core::ffi::c_void, protocolsapcontext: *const ::core::ffi::c_void, sap: *const CO_SAP, ndissaphandle: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisClRegisterSap(ndisafhandle : *const ::core::ffi::c_void, protocolsapcontext : *const ::core::ffi::c_void, sap : *const CO_SAP, ndissaphandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisClRegisterSap(ndisafhandle, protocolsapcontext, sap, ndissaphandle) +} +#[inline] +pub unsafe fn NdisCloseConfiguration(configurationhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCloseConfiguration(configurationhandle : *const ::core::ffi::c_void)); + NdisCloseConfiguration(configurationhandle) +} +#[inline] +pub unsafe fn NdisCloseFile(filehandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCloseFile(filehandle : *const ::core::ffi::c_void)); + NdisCloseFile(filehandle) +} +#[inline] +pub unsafe fn NdisCmActivateVc(ndisvchandle: *const ::core::ffi::c_void, callparameters: *mut CO_CALL_PARAMETERS) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmActivateVc(ndisvchandle : *const ::core::ffi::c_void, callparameters : *mut CO_CALL_PARAMETERS) -> i32); + NdisCmActivateVc(ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisCmAddPartyComplete(status: i32, ndispartyhandle: *const ::core::ffi::c_void, callmgrpartycontext: ::core::option::Option<*const ::core::ffi::c_void>, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmAddPartyComplete(status : i32, ndispartyhandle : *const ::core::ffi::c_void, callmgrpartycontext : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisCmAddPartyComplete(status, ndispartyhandle, ::core::mem::transmute(callmgrpartycontext.unwrap_or(::std::ptr::null())), callparameters) +} +#[inline] +pub unsafe fn NdisCmCloseAddressFamilyComplete(status: i32, ndisafhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmCloseAddressFamilyComplete(status : i32, ndisafhandle : *const ::core::ffi::c_void)); + NdisCmCloseAddressFamilyComplete(status, ndisafhandle) +} +#[inline] +pub unsafe fn NdisCmCloseCallComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void, ndispartyhandle: ::core::option::Option<*const ::core::ffi::c_void>) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmCloseCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void)); + NdisCmCloseCallComplete(status, ndisvchandle, ::core::mem::transmute(ndispartyhandle.unwrap_or(::std::ptr::null()))) +} +#[inline] +pub unsafe fn NdisCmDeactivateVc(ndisvchandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDeactivateVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); + NdisCmDeactivateVc(ndisvchandle) +} +#[inline] +pub unsafe fn NdisCmDeregisterSapComplete(status: i32, ndissaphandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDeregisterSapComplete(status : i32, ndissaphandle : *const ::core::ffi::c_void)); + NdisCmDeregisterSapComplete(status, ndissaphandle) +} +#[inline] +pub unsafe fn NdisCmDispatchCallConnected(ndisvchandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchCallConnected(ndisvchandle : *const ::core::ffi::c_void)); + NdisCmDispatchCallConnected(ndisvchandle) +} +#[inline] +pub unsafe fn NdisCmDispatchIncomingCall(ndissaphandle: *const ::core::ffi::c_void, ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCall(ndissaphandle : *const ::core::ffi::c_void, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); + NdisCmDispatchIncomingCall(ndissaphandle, ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisCmDispatchIncomingCallQoSChange(ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCallQoSChange(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisCmDispatchIncomingCallQoSChange(ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisCmDispatchIncomingCloseCall(closestatus: i32, ndisvchandle: *const ::core::ffi::c_void, buffer: ::core::option::Option<*const ::core::ffi::c_void>, size: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingCloseCall(closestatus : i32, ndisvchandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32)); + NdisCmDispatchIncomingCloseCall(closestatus, ndisvchandle, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), size) +} +#[inline] +pub unsafe fn NdisCmDispatchIncomingDropParty(dropstatus: i32, ndispartyhandle: *const ::core::ffi::c_void, buffer: ::core::option::Option<*const ::core::ffi::c_void>, size: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDispatchIncomingDropParty(dropstatus : i32, ndispartyhandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : u32)); + NdisCmDispatchIncomingDropParty(dropstatus, ndispartyhandle, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), size) +} +#[inline] +pub unsafe fn NdisCmDropPartyComplete(status: i32, ndispartyhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmDropPartyComplete(status : i32, ndispartyhandle : *const ::core::ffi::c_void)); + NdisCmDropPartyComplete(status, ndispartyhandle) +} +#[inline] +pub unsafe fn NdisCmMakeCallComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void, ndispartyhandle: ::core::option::Option<*const ::core::ffi::c_void>, callmgrpartycontext: ::core::option::Option<*const ::core::ffi::c_void>, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmMakeCallComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, ndispartyhandle : *const ::core::ffi::c_void, callmgrpartycontext : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisCmMakeCallComplete(status, ndisvchandle, ::core::mem::transmute(ndispartyhandle.unwrap_or(::std::ptr::null())), ::core::mem::transmute(callmgrpartycontext.unwrap_or(::std::ptr::null())), callparameters) +} +#[inline] +pub unsafe fn NdisCmModifyCallQoSComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmModifyCallQoSComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisCmModifyCallQoSComplete(status, ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisCmOpenAddressFamilyComplete(status: i32, ndisafhandle: *const ::core::ffi::c_void, callmgrafcontext: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmOpenAddressFamilyComplete(status : i32, ndisafhandle : *const ::core::ffi::c_void, callmgrafcontext : *const ::core::ffi::c_void)); + NdisCmOpenAddressFamilyComplete(status, ndisafhandle, callmgrafcontext) +} +#[inline] +pub unsafe fn NdisCmRegisterSapComplete(status: i32, ndissaphandle: *const ::core::ffi::c_void, callmgrsapcontext: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCmRegisterSapComplete(status : i32, ndissaphandle : *const ::core::ffi::c_void, callmgrsapcontext : *const ::core::ffi::c_void)); + NdisCmRegisterSapComplete(status, ndissaphandle, callmgrsapcontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisCoAssignInstanceName(ndisvchandle: *const ::core::ffi::c_void, baseinstancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vcinstancename: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCoAssignInstanceName(ndisvchandle : *const ::core::ffi::c_void, baseinstancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vcinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> i32); + NdisCoAssignInstanceName(ndisvchandle, baseinstancename, ::core::mem::transmute(vcinstancename.unwrap_or(::std::ptr::null_mut()))) +} +#[inline] +pub unsafe fn NdisCoCreateVc(ndisbindinghandle: *const ::core::ffi::c_void, ndisafhandle: ::core::option::Option<*const ::core::ffi::c_void>, protocolvccontext: *const ::core::ffi::c_void, ndisvchandle: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCoCreateVc(ndisbindinghandle : *const ::core::ffi::c_void, ndisafhandle : *const ::core::ffi::c_void, protocolvccontext : *const ::core::ffi::c_void, ndisvchandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisCoCreateVc(ndisbindinghandle, ::core::mem::transmute(ndisafhandle.unwrap_or(::std::ptr::null())), protocolvccontext, ndisvchandle) +} +#[inline] +pub unsafe fn NdisCoDeleteVc(ndisvchandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCoDeleteVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); + NdisCoDeleteVc(ndisvchandle) +} +#[inline] +pub unsafe fn NdisCoGetTapiCallId(ndisvchandle: *const ::core::ffi::c_void, tapicallid: *mut VAR_STRING) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisCoGetTapiCallId(ndisvchandle : *const ::core::ffi::c_void, tapicallid : *mut VAR_STRING) -> i32); + NdisCoGetTapiCallId(ndisvchandle, tapicallid) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] +#[inline] +pub unsafe fn NdisCompleteDmaTransfer(status: *mut i32, ndisdmahandle: *mut ::core::ffi::c_void, buffer: *mut super::super::Foundation::MDL, offset: u32, length: u32, writetodevice: P0) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisCompleteDmaTransfer(status : *mut i32, ndisdmahandle : *mut ::core::ffi::c_void, buffer : *mut super::super::Foundation:: MDL, offset : u32, length : u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN)); + NdisCompleteDmaTransfer(status, ndisdmahandle, buffer, offset, length, writetodevice.into_param().abi()) +} +#[doc = "Required features: `\"Wdk_Foundation\"`"] +#[cfg(feature = "Wdk_Foundation")] +#[inline] +pub unsafe fn NdisCopyBuffer(status: *mut i32, buffer: *mut *mut super::super::Foundation::MDL, poolhandle: *const ::core::ffi::c_void, memorydescriptor: *const ::core::ffi::c_void, offset: u32, length: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisCopyBuffer(status : *mut i32, buffer : *mut *mut super::super::Foundation:: MDL, poolhandle : *const ::core::ffi::c_void, memorydescriptor : *const ::core::ffi::c_void, offset : u32, length : u32)); + NdisCopyBuffer(status, buffer, poolhandle, memorydescriptor, offset, length) +} +#[inline] +pub unsafe fn NdisDeregisterTdiCallBack() { + ::windows_targets::link!("ndis.sys" "system" fn NdisDeregisterTdiCallBack()); + NdisDeregisterTdiCallBack() +} +#[inline] +pub unsafe fn NdisFreeMemory(virtualaddress: *const ::core::ffi::c_void, length: u32, memoryflags: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisFreeMemory(virtualaddress : *const ::core::ffi::c_void, length : u32, memoryflags : u32)); + NdisFreeMemory(virtualaddress, length, memoryflags) +} +#[inline] +pub unsafe fn NdisGeneratePartialCancelId() -> u8 { + ::windows_targets::link!("ndis.sys" "system" fn NdisGeneratePartialCancelId() -> u8); + NdisGeneratePartialCancelId() +} +#[inline] +pub unsafe fn NdisGetCurrentProcessorCounts(pidlecount: *mut u32, pkernelanduser: *mut u32, pindex: *mut u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisGetCurrentProcessorCounts(pidlecount : *mut u32, pkernelanduser : *mut u32, pindex : *mut u32)); + NdisGetCurrentProcessorCounts(pidlecount, pkernelanduser, pindex) +} +#[inline] +pub unsafe fn NdisGetCurrentProcessorCpuUsage() -> u32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisGetCurrentProcessorCpuUsage(pcpuusage : *mut u32)); + let mut result__ = ::std::mem::zeroed(); + NdisGetCurrentProcessorCpuUsage(&mut result__); + ::std::mem::transmute(result__) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisGetRoutineAddress(ndisroutinename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> *mut ::core::ffi::c_void { + ::windows_targets::link!("ndis.sys" "system" fn NdisGetRoutineAddress(ndisroutinename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> *mut ::core::ffi::c_void); + NdisGetRoutineAddress(ndisroutinename) +} +#[inline] +pub unsafe fn NdisGetSharedDataAlignment() -> u32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisGetSharedDataAlignment() -> u32); + NdisGetSharedDataAlignment() +} +#[inline] +pub unsafe fn NdisGetVersion() -> u32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisGetVersion() -> u32); + NdisGetVersion() +} +#[inline] +pub unsafe fn NdisIMAssociateMiniport(driverhandle: *const ::core::ffi::c_void, protocolhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisIMAssociateMiniport(driverhandle : *const ::core::ffi::c_void, protocolhandle : *const ::core::ffi::c_void)); + NdisIMAssociateMiniport(driverhandle, protocolhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisIMCancelInitializeDeviceInstance(driverhandle: *const ::core::ffi::c_void, deviceinstance: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisIMCancelInitializeDeviceInstance(driverhandle : *const ::core::ffi::c_void, deviceinstance : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> i32); + NdisIMCancelInitializeDeviceInstance(driverhandle, deviceinstance) +} +#[inline] +pub unsafe fn NdisIMDeInitializeDeviceInstance(ndisminiporthandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisIMDeInitializeDeviceInstance(ndisminiporthandle : *const ::core::ffi::c_void) -> i32); + NdisIMDeInitializeDeviceInstance(ndisminiporthandle) +} +#[inline] +pub unsafe fn NdisIMGetBindingContext(ndisbindinghandle: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void { + ::windows_targets::link!("ndis.sys" "system" fn NdisIMGetBindingContext(ndisbindinghandle : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); + NdisIMGetBindingContext(ndisbindinghandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisIMInitializeDeviceInstanceEx(driverhandle: *const ::core::ffi::c_void, driverinstance: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicecontext: ::core::option::Option<*const ::core::ffi::c_void>) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisIMInitializeDeviceInstanceEx(driverhandle : *const ::core::ffi::c_void, driverinstance : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicecontext : *const ::core::ffi::c_void) -> i32); + NdisIMInitializeDeviceInstanceEx(driverhandle, driverinstance, ::core::mem::transmute(devicecontext.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisInitializeEvent() -> NDIS_EVENT { + ::windows_targets::link!("ndis.sys" "system" fn NdisInitializeEvent(event : *mut NDIS_EVENT)); + let mut result__ = ::std::mem::zeroed(); + NdisInitializeEvent(&mut result__); + ::std::mem::transmute(result__) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisInitializeReadWriteLock(lock: *mut NDIS_RW_LOCK) { + ::windows_targets::link!("ndis.sys" "system" fn NdisInitializeReadWriteLock(lock : *mut NDIS_RW_LOCK)); + NdisInitializeReadWriteLock(lock) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisInitializeString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: *const u8) { + ::windows_targets::link!("ndis.sys" "system" fn NdisInitializeString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : *const u8)); + NdisInitializeString(destination, source) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisInitializeTimer(timer: *mut NDIS_TIMER, timerfunction: PNDIS_TIMER_FUNCTION, functioncontext: ::core::option::Option<*const ::core::ffi::c_void>) { + ::windows_targets::link!("ndis.sys" "system" fn NdisInitializeTimer(timer : *mut NDIS_TIMER, timerfunction : PNDIS_TIMER_FUNCTION, functioncontext : *const ::core::ffi::c_void)); + NdisInitializeTimer(timer, timerfunction, ::core::mem::transmute(functioncontext.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisMAllocateSharedMemory(miniportadapterhandle: *const ::core::ffi::c_void, length: u32, cached: P0, virtualaddress: *mut *mut ::core::ffi::c_void, physicaladdress: *mut i64) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisMAllocateSharedMemory(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, virtualaddress : *mut *mut ::core::ffi::c_void, physicaladdress : *mut i64)); + NdisMAllocateSharedMemory(miniportadapterhandle, length, cached.into_param().abi(), virtualaddress, physicaladdress) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisMAllocateSharedMemoryAsync(miniportadapterhandle: *const ::core::ffi::c_void, length: u32, cached: P0, context: *const ::core::ffi::c_void) -> i32 +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisMAllocateSharedMemoryAsync(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, context : *const ::core::ffi::c_void) -> i32); + NdisMAllocateSharedMemoryAsync(miniportadapterhandle, length, cached.into_param().abi(), context) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisMCancelTimer(timer: *const NDIS_MINIPORT_TIMER) -> super::super::super::Win32::Foundation::BOOLEAN { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCancelTimer(timer : *const NDIS_MINIPORT_TIMER, timercancelled : *mut super::super::super::Win32::Foundation:: BOOLEAN)); + let mut result__ = ::std::mem::zeroed(); + NdisMCancelTimer(timer, &mut result__); + ::std::mem::transmute(result__) +} +#[inline] +pub unsafe fn NdisMCloseLog(loghandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCloseLog(loghandle : *const ::core::ffi::c_void)); + NdisMCloseLog(loghandle) +} +#[inline] +pub unsafe fn NdisMCmActivateVc(ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCmActivateVc(ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS) -> i32); + NdisMCmActivateVc(ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisMCmCreateVc(miniportadapterhandle: *const ::core::ffi::c_void, ndisafhandle: *const ::core::ffi::c_void, miniportvccontext: *const ::core::ffi::c_void, ndisvchandle: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCmCreateVc(miniportadapterhandle : *const ::core::ffi::c_void, ndisafhandle : *const ::core::ffi::c_void, miniportvccontext : *const ::core::ffi::c_void, ndisvchandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisMCmCreateVc(miniportadapterhandle, ndisafhandle, miniportvccontext, ndisvchandle) +} +#[inline] +pub unsafe fn NdisMCmDeactivateVc(ndisvchandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCmDeactivateVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); + NdisMCmDeactivateVc(ndisvchandle) +} +#[inline] +pub unsafe fn NdisMCmDeleteVc(ndisvchandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCmDeleteVc(ndisvchandle : *const ::core::ffi::c_void) -> i32); + NdisMCmDeleteVc(ndisvchandle) +} +#[inline] +pub unsafe fn NdisMCmRegisterAddressFamily(miniportadapterhandle: *mut ::core::ffi::c_void, addressfamily: *mut CO_ADDRESS_FAMILY, cmcharacteristics: *mut NDIS_CALL_MANAGER_CHARACTERISTICS, sizeofcmcharacteristics: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCmRegisterAddressFamily(miniportadapterhandle : *mut ::core::ffi::c_void, addressfamily : *mut CO_ADDRESS_FAMILY, cmcharacteristics : *mut NDIS_CALL_MANAGER_CHARACTERISTICS, sizeofcmcharacteristics : u32) -> i32); + NdisMCmRegisterAddressFamily(miniportadapterhandle, addressfamily, cmcharacteristics, sizeofcmcharacteristics) +} +#[inline] +pub unsafe fn NdisMCoActivateVcComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void, callparameters: *const CO_CALL_PARAMETERS) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCoActivateVcComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void, callparameters : *const CO_CALL_PARAMETERS)); + NdisMCoActivateVcComplete(status, ndisvchandle, callparameters) +} +#[inline] +pub unsafe fn NdisMCoDeactivateVcComplete(status: i32, ndisvchandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCoDeactivateVcComplete(status : i32, ndisvchandle : *const ::core::ffi::c_void)); + NdisMCoDeactivateVcComplete(status, ndisvchandle) +} +#[inline] +pub unsafe fn NdisMCreateLog(miniportadapterhandle: *const ::core::ffi::c_void, size: u32, loghandle: *mut *mut ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMCreateLog(miniportadapterhandle : *const ::core::ffi::c_void, size : u32, loghandle : *mut *mut ::core::ffi::c_void) -> i32); + NdisMCreateLog(miniportadapterhandle, size, loghandle) +} +#[inline] +pub unsafe fn NdisMDeregisterDmaChannel(miniportdmahandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMDeregisterDmaChannel(miniportdmahandle : *const ::core::ffi::c_void)); + NdisMDeregisterDmaChannel(miniportdmahandle) +} +#[inline] +pub unsafe fn NdisMDeregisterIoPortRange(miniportadapterhandle: *const ::core::ffi::c_void, initialport: u32, numberofports: u32, portoffset: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMDeregisterIoPortRange(miniportadapterhandle : *const ::core::ffi::c_void, initialport : u32, numberofports : u32, portoffset : *const ::core::ffi::c_void)); + NdisMDeregisterIoPortRange(miniportadapterhandle, initialport, numberofports, portoffset) +} +#[inline] +pub unsafe fn NdisMFlushLog(loghandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMFlushLog(loghandle : *const ::core::ffi::c_void)); + NdisMFlushLog(loghandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisMFreeSharedMemory(miniportadapterhandle: *const ::core::ffi::c_void, length: u32, cached: P0, virtualaddress: *const ::core::ffi::c_void, physicaladdress: i64) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisMFreeSharedMemory(miniportadapterhandle : *const ::core::ffi::c_void, length : u32, cached : super::super::super::Win32::Foundation:: BOOLEAN, virtualaddress : *const ::core::ffi::c_void, physicaladdress : i64)); + NdisMFreeSharedMemory(miniportadapterhandle, length, cached.into_param().abi(), virtualaddress, physicaladdress) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] +#[inline] +pub unsafe fn NdisMGetDeviceProperty(miniportadapterhandle: *const ::core::ffi::c_void, physicaldeviceobject: ::core::option::Option<*mut *mut super::super::Foundation::DEVICE_OBJECT>, functionaldeviceobject: ::core::option::Option<*mut *mut super::super::Foundation::DEVICE_OBJECT>, nextdeviceobject: ::core::option::Option<*mut *mut super::super::Foundation::DEVICE_OBJECT>, allocatedresources: ::core::option::Option<*mut *mut super::super::System::SystemServices::CM_RESOURCE_LIST>, allocatedresourcestranslated: ::core::option::Option<*mut *mut super::super::System::SystemServices::CM_RESOURCE_LIST>) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMGetDeviceProperty(miniportadapterhandle : *const ::core::ffi::c_void, physicaldeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, functionaldeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, nextdeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT, allocatedresources : *mut *mut super::super::System::SystemServices:: CM_RESOURCE_LIST, allocatedresourcestranslated : *mut *mut super::super::System::SystemServices:: CM_RESOURCE_LIST)); + NdisMGetDeviceProperty(miniportadapterhandle, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(functionaldeviceobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(nextdeviceobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(allocatedresources.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(allocatedresourcestranslated.unwrap_or(::std::ptr::null_mut()))) +} +#[inline] +pub unsafe fn NdisMGetDmaAlignment(miniportadapterhandle: *const ::core::ffi::c_void) -> u32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMGetDmaAlignment(miniportadapterhandle : *const ::core::ffi::c_void) -> u32); + NdisMGetDmaAlignment(miniportadapterhandle) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisMInitializeTimer(timer: *const NDIS_MINIPORT_TIMER, miniportadapterhandle: *const ::core::ffi::c_void, timerfunction: PNDIS_TIMER_FUNCTION, functioncontext: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMInitializeTimer(timer : *const NDIS_MINIPORT_TIMER, miniportadapterhandle : *const ::core::ffi::c_void, timerfunction : PNDIS_TIMER_FUNCTION, functioncontext : *const ::core::ffi::c_void)); + NdisMInitializeTimer(timer, miniportadapterhandle, timerfunction, functioncontext) +} +#[inline] +pub unsafe fn NdisMMapIoSpace(virtualaddress: *mut *mut ::core::ffi::c_void, miniportadapterhandle: *const ::core::ffi::c_void, physicaladdress: i64, length: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMMapIoSpace(virtualaddress : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, physicaladdress : i64, length : u32) -> i32); + NdisMMapIoSpace(virtualaddress, miniportadapterhandle, physicaladdress, length) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisMQueryAdapterInstanceName(padapterinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, miniporthandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMQueryAdapterInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, miniporthandle : *const ::core::ffi::c_void) -> i32); + NdisMQueryAdapterInstanceName(padapterinstancename, miniporthandle) +} +#[inline] +pub unsafe fn NdisMReadDmaCounter(miniportdmahandle: *const ::core::ffi::c_void) -> u32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMReadDmaCounter(miniportdmahandle : *const ::core::ffi::c_void) -> u32); + NdisMReadDmaCounter(miniportdmahandle) +} +#[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`"] +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +#[inline] +pub unsafe fn NdisMRegisterDmaChannel(miniportdmahandle: *mut *mut ::core::ffi::c_void, miniportadapterhandle: *const ::core::ffi::c_void, dmachannel: u32, dma32bitaddresses: P0, dmadescription: *const NDIS_DMA_DESCRIPTION, maximumlength: u32) -> i32 +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisMRegisterDmaChannel(miniportdmahandle : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, dmachannel : u32, dma32bitaddresses : super::super::super::Win32::Foundation:: BOOLEAN, dmadescription : *const NDIS_DMA_DESCRIPTION, maximumlength : u32) -> i32); + NdisMRegisterDmaChannel(miniportdmahandle, miniportadapterhandle, dmachannel, dma32bitaddresses.into_param().abi(), dmadescription, maximumlength) +} +#[inline] +pub unsafe fn NdisMRegisterIoPortRange(portoffset: *mut *mut ::core::ffi::c_void, miniportadapterhandle: *const ::core::ffi::c_void, initialport: u32, numberofports: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMRegisterIoPortRange(portoffset : *mut *mut ::core::ffi::c_void, miniportadapterhandle : *const ::core::ffi::c_void, initialport : u32, numberofports : u32) -> i32); + NdisMRegisterIoPortRange(portoffset, miniportadapterhandle, initialport, numberofports) +} +#[inline] +pub unsafe fn NdisMRemoveMiniport(miniporthandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMRemoveMiniport(miniporthandle : *const ::core::ffi::c_void) -> i32); + NdisMRemoveMiniport(miniporthandle) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisMSetPeriodicTimer(timer: *const NDIS_MINIPORT_TIMER, millisecondperiod: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMSetPeriodicTimer(timer : *const NDIS_MINIPORT_TIMER, millisecondperiod : u32)); + NdisMSetPeriodicTimer(timer, millisecondperiod) +} +#[inline] +pub unsafe fn NdisMSleep(microsecondstosleep: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMSleep(microsecondstosleep : u32)); + NdisMSleep(microsecondstosleep) +} +#[inline] +pub unsafe fn NdisMUnmapIoSpace(miniportadapterhandle: *const ::core::ffi::c_void, virtualaddress: *const ::core::ffi::c_void, length: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMUnmapIoSpace(miniportadapterhandle : *const ::core::ffi::c_void, virtualaddress : *const ::core::ffi::c_void, length : u32)); + NdisMUnmapIoSpace(miniportadapterhandle, virtualaddress, length) +} +#[inline] +pub unsafe fn NdisMWriteLogData(loghandle: *const ::core::ffi::c_void, logbuffer: *const ::core::ffi::c_void, logbuffersize: u32) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisMWriteLogData(loghandle : *const ::core::ffi::c_void, logbuffer : *const ::core::ffi::c_void, logbuffersize : u32) -> i32); + NdisMWriteLogData(loghandle, logbuffer, logbuffersize) +} +#[inline] +pub unsafe fn NdisMapFile(status: *mut i32, mappedbuffer: *mut *mut ::core::ffi::c_void, filehandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisMapFile(status : *mut i32, mappedbuffer : *mut *mut ::core::ffi::c_void, filehandle : *const ::core::ffi::c_void)); + NdisMapFile(status, mappedbuffer, filehandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisOpenConfigurationKeyByIndex(status: *mut i32, configurationhandle: *const ::core::ffi::c_void, index: u32, keyname: *mut super::super::super::Win32::Foundation::UNICODE_STRING, keyhandle: *mut *mut ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisOpenConfigurationKeyByIndex(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, index : u32, keyname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, keyhandle : *mut *mut ::core::ffi::c_void)); + NdisOpenConfigurationKeyByIndex(status, configurationhandle, index, keyname, keyhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisOpenConfigurationKeyByName(status: *mut i32, configurationhandle: *const ::core::ffi::c_void, subkeyname: *const super::super::super::Win32::Foundation::UNICODE_STRING, subkeyhandle: *mut *mut ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisOpenConfigurationKeyByName(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, subkeyname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, subkeyhandle : *mut *mut ::core::ffi::c_void)); + NdisOpenConfigurationKeyByName(status, configurationhandle, subkeyname, subkeyhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisOpenFile(status: *mut i32, filehandle: *mut *mut ::core::ffi::c_void, filelength: *mut u32, filename: *const super::super::super::Win32::Foundation::UNICODE_STRING, highestacceptableaddress: i64) { + ::windows_targets::link!("ndis.sys" "system" fn NdisOpenFile(status : *mut i32, filehandle : *mut *mut ::core::ffi::c_void, filelength : *mut u32, filename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, highestacceptableaddress : i64)); + NdisOpenFile(status, filehandle, filelength, filename, highestacceptableaddress) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisQueryAdapterInstanceName(padapterinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, ndisbindinghandle: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisQueryAdapterInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, ndisbindinghandle : *const ::core::ffi::c_void) -> i32); + NdisQueryAdapterInstanceName(padapterinstancename, ndisbindinghandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisQueryBindInstanceName(padapterinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING, bindingcontext: *const ::core::ffi::c_void) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisQueryBindInstanceName(padapterinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, bindingcontext : *const ::core::ffi::c_void) -> i32); + NdisQueryBindInstanceName(padapterinstancename, bindingcontext) +} +#[inline] +pub unsafe fn NdisReEnumerateProtocolBindings(ndisprotocolhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisReEnumerateProtocolBindings(ndisprotocolhandle : *const ::core::ffi::c_void)); + NdisReEnumerateProtocolBindings(ndisprotocolhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisReadConfiguration(status: *mut i32, parametervalue: *mut *mut NDIS_CONFIGURATION_PARAMETER, configurationhandle: *const ::core::ffi::c_void, keyword: *const super::super::super::Win32::Foundation::UNICODE_STRING, parametertype: NDIS_PARAMETER_TYPE) { + ::windows_targets::link!("ndis.sys" "system" fn NdisReadConfiguration(status : *mut i32, parametervalue : *mut *mut NDIS_CONFIGURATION_PARAMETER, configurationhandle : *const ::core::ffi::c_void, keyword : *const super::super::super::Win32::Foundation:: UNICODE_STRING, parametertype : NDIS_PARAMETER_TYPE)); + NdisReadConfiguration(status, parametervalue, configurationhandle, keyword, parametertype) +} +#[inline] +pub unsafe fn NdisReadNetworkAddress(status: *mut i32, networkaddress: *mut *mut ::core::ffi::c_void, networkaddresslength: *mut u32, configurationhandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisReadNetworkAddress(status : *mut i32, networkaddress : *mut *mut ::core::ffi::c_void, networkaddresslength : *mut u32, configurationhandle : *const ::core::ffi::c_void)); + NdisReadNetworkAddress(status, networkaddress, networkaddresslength, configurationhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisRegisterTdiCallBack(registercallback: TDI_REGISTER_CALLBACK, pnphandler: TDI_PNP_HANDLER) { + ::windows_targets::link!("ndis.sys" "system" fn NdisRegisterTdiCallBack(registercallback : TDI_REGISTER_CALLBACK, pnphandler : TDI_PNP_HANDLER)); + NdisRegisterTdiCallBack(registercallback, pnphandler) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisReleaseReadWriteLock(lock: *mut NDIS_RW_LOCK, lockstate: *const LOCK_STATE) { + ::windows_targets::link!("ndis.sys" "system" fn NdisReleaseReadWriteLock(lock : *mut NDIS_RW_LOCK, lockstate : *const LOCK_STATE)); + NdisReleaseReadWriteLock(lock, lockstate) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisResetEvent(event: *const NDIS_EVENT) { + ::windows_targets::link!("ndis.sys" "system" fn NdisResetEvent(event : *const NDIS_EVENT)); + NdisResetEvent(event) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisSetEvent(event: *const NDIS_EVENT) { + ::windows_targets::link!("ndis.sys" "system" fn NdisSetEvent(event : *const NDIS_EVENT)); + NdisSetEvent(event) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisSetPeriodicTimer(ndistimer: *const NDIS_TIMER, millisecondsperiod: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisSetPeriodicTimer(ndistimer : *const NDIS_TIMER, millisecondsperiod : u32)); + NdisSetPeriodicTimer(ndistimer, millisecondsperiod) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisSetTimer(timer: *const NDIS_TIMER, millisecondstodelay: u32) { + ::windows_targets::link!("ndis.sys" "system" fn NdisSetTimer(timer : *const NDIS_TIMER, millisecondstodelay : u32)); + NdisSetTimer(timer, millisecondstodelay) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisSetTimerEx(ndistimer: *const NDIS_TIMER, millisecondstodelay: u32, functioncontext: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisSetTimerEx(ndistimer : *const NDIS_TIMER, millisecondstodelay : u32, functioncontext : *const ::core::ffi::c_void)); + NdisSetTimerEx(ndistimer, millisecondstodelay, functioncontext) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))] +#[inline] +pub unsafe fn NdisSetupDmaTransfer(status: *mut i32, ndisdmahandle: *mut ::core::ffi::c_void, buffer: *mut super::super::Foundation::MDL, offset: u32, length: u32, writetodevice: P0) +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("ndis.sys" "system" fn NdisSetupDmaTransfer(status : *mut i32, ndisdmahandle : *mut ::core::ffi::c_void, buffer : *mut super::super::Foundation:: MDL, offset : u32, length : u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN)); + NdisSetupDmaTransfer(status, ndisdmahandle, buffer, offset, length, writetodevice.into_param().abi()) +} +#[inline] +pub unsafe fn NdisSystemProcessorCount() -> i8 { + ::windows_targets::link!("ndis.sys" "system" fn NdisSystemProcessorCount() -> i8); + NdisSystemProcessorCount() +} +#[inline] +pub unsafe fn NdisUnmapFile(filehandle: *const ::core::ffi::c_void) { + ::windows_targets::link!("ndis.sys" "system" fn NdisUnmapFile(filehandle : *const ::core::ffi::c_void)); + NdisUnmapFile(filehandle) +} +#[inline] +pub unsafe fn NdisUpdateSharedMemory(ndisadapterhandle: *mut ::core::ffi::c_void, length: u32, virtualaddress: *mut ::core::ffi::c_void, physicaladdress: i64) { + ::windows_targets::link!("ndis.sys" "system" fn NdisUpdateSharedMemory(ndisadapterhandle : *mut ::core::ffi::c_void, length : u32, virtualaddress : *mut ::core::ffi::c_void, physicaladdress : i64)); + NdisUpdateSharedMemory(ndisadapterhandle, length, virtualaddress, physicaladdress) +} +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[inline] +pub unsafe fn NdisWaitEvent(event: *const NDIS_EVENT, mstowait: u32) -> super::super::super::Win32::Foundation::BOOLEAN { + ::windows_targets::link!("ndis.sys" "system" fn NdisWaitEvent(event : *const NDIS_EVENT, mstowait : u32) -> super::super::super::Win32::Foundation:: BOOLEAN); + NdisWaitEvent(event, mstowait) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NdisWriteConfiguration(status: *mut i32, configurationhandle: *const ::core::ffi::c_void, keyword: *const super::super::super::Win32::Foundation::UNICODE_STRING, parametervalue: *const NDIS_CONFIGURATION_PARAMETER) { + ::windows_targets::link!("ndis.sys" "system" fn NdisWriteConfiguration(status : *mut i32, configurationhandle : *const ::core::ffi::c_void, keyword : *const super::super::super::Win32::Foundation:: UNICODE_STRING, parametervalue : *const NDIS_CONFIGURATION_PARAMETER)); + NdisWriteConfiguration(status, configurationhandle, keyword, parametervalue) +} +#[inline] +pub unsafe fn NdisWriteErrorLogEntry(ndisadapterhandle: *const ::core::ffi::c_void, errorcode: u32, numberoferrorvalues: u32) { + ::windows_targets::link!("ndis.sys" "cdecl" fn NdisWriteErrorLogEntry(ndisadapterhandle : *const ::core::ffi::c_void, errorcode : u32, numberoferrorvalues : u32)); + NdisWriteErrorLogEntry(ndisadapterhandle, errorcode, numberoferrorvalues) +} +#[inline] +pub unsafe fn NdisWriteEventLogEntry(loghandle: *const ::core::ffi::c_void, eventcode: i32, uniqueeventvalue: u32, numstrings: u16, stringslist: ::core::option::Option<*const ::core::ffi::c_void>, datasize: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> i32 { + ::windows_targets::link!("ndis.sys" "system" fn NdisWriteEventLogEntry(loghandle : *const ::core::ffi::c_void, eventcode : i32, uniqueeventvalue : u32, numstrings : u16, stringslist : *const ::core::ffi::c_void, datasize : u32, data : *const ::core::ffi::c_void) -> i32); + NdisWriteEventLogEntry(loghandle, eventcode, uniqueeventvalue, numstrings, ::core::mem::transmute(stringslist.unwrap_or(::std::ptr::null())), datasize, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))) +} +pub const AUTHENTICATE: OFFLOAD_OPERATION_E = OFFLOAD_OPERATION_E(1i32); +pub const BINARY_COMPATIBLE: u32 = 0u32; +pub const BROADCAST_VC: u32 = 8u32; +pub const CALL_PARAMETERS_CHANGED: u32 = 2u32; +pub const CLOCK_NETWORK_DERIVED: u32 = 2u32; +pub const CLOCK_PRECISION: u32 = 4u32; +pub const CO_ADDRESS_FAMILY_PROXY: u32 = 2147483648u32; +pub const CO_SEND_FLAG_SET_DISCARD_ELIBILITY: u32 = 1u32; +pub const CRYPTO_GENERIC_ERROR: u32 = 1u32; +pub const CRYPTO_INVALID_PACKET_SYNTAX: u32 = 6u32; +pub const CRYPTO_INVALID_PROTOCOL: u32 = 7u32; +pub const CRYPTO_SUCCESS: u32 = 0u32; +pub const CRYPTO_TRANSPORT_AH_AUTH_FAILED: u32 = 2u32; +pub const CRYPTO_TRANSPORT_ESP_AUTH_FAILED: u32 = 3u32; +pub const CRYPTO_TUNNEL_AH_AUTH_FAILED: u32 = 4u32; +pub const CRYPTO_TUNNEL_ESP_AUTH_FAILED: u32 = 5u32; +pub const CachedNetBufferList: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(10i32); +pub const ClassificationHandlePacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(3i32); +pub const DD_NDIS_DEVICE_NAME: ::windows_core::PCWSTR = ::windows_core::w!("\\Device\\NDIS"); +pub const DOT11_RSN_KCK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_KEK_LENGTH: u32 = 16u32; +pub const DOT11_RSN_MAX_CIPHER_KEY_LENGTH: u32 = 32u32; +pub const EAPOL_REQUEST_ID_WOL_FLAG_MUST_ENCRYPT: u32 = 1u32; +pub const ENCRYPT: OFFLOAD_OPERATION_E = OFFLOAD_OPERATION_E(2i32); +pub const ERRED_PACKET_INDICATION: u32 = 1u32; +pub const ETHERNET_LENGTH_OF_ADDRESS: u32 = 6u32; +pub const GUID_NDIS_NDK_CAPABILITIES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7969ba4d_dd80_4bc7_b3e6_68043997e519); +pub const GUID_NDIS_NDK_STATE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x530c69c9_2f51_49de_a1af_088d54ffa474); +pub const INDICATE_END_OF_TX: u32 = 32u32; +pub const INDICATE_ERRED_PACKETS: u32 = 16u32; +pub const IOCTL_NDIS_RESERVED5: u32 = 1507380u32; +pub const IOCTL_NDIS_RESERVED6: u32 = 1540152u32; +pub const IPSEC_OFFLOAD_V2_AND_TCP_CHECKSUM_COEXISTENCE: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AND_UDP_CHECKSUM_COEXISTENCE: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_MD5: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_1: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_AUTHENTICATION_SHA_256: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_3_DES_CBC: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_128: u32 = 64u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_192: u32 = 128u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_CBC_256: u32 = 256u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_128: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_192: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_AES_GCM_256: u32 = 32u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_DES_CBC: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_ENCRYPTION_NONE: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_ESN_SA: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_INBOUND: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_IPv6: u32 = 16u32; +pub const IPSEC_OFFLOAD_V2_MAX_EXTENSION_HEADERS: u32 = 2u32; +pub const IPSEC_OFFLOAD_V2_TRANSPORT_OVER_UDP_ESP_ENCAPSULATION_TUNNEL: u32 = 4u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_NONE: u32 = 0u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TRANSPORT: u32 = 1u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TRANSPORT_OVER_TUNNEL: u32 = 8u32; +pub const IPSEC_OFFLOAD_V2_UDP_ESP_ENCAPSULATION_TUNNEL: u32 = 2u32; +pub const IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_IKE: u32 = 4u32; +pub const IPSEC_TPTOVERTUN_UDPESP_ENCAPTYPE_OTHER: u32 = 64u32; +pub const IPSEC_TPT_UDPESP_ENCAPTYPE_IKE: u32 = 1u32; +pub const IPSEC_TPT_UDPESP_ENCAPTYPE_OTHER: u32 = 16u32; +pub const IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_IKE: u32 = 8u32; +pub const IPSEC_TPT_UDPESP_OVER_PURE_TUN_ENCAPTYPE_OTHER: u32 = 128u32; +pub const IPSEC_TUN_UDPESP_ENCAPTYPE_IKE: u32 = 2u32; +pub const IPSEC_TUN_UDPESP_ENCAPTYPE_OTHER: u32 = 32u32; +pub const Ieee8021QInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(6i32); +pub const IpSecPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(1i32); +pub const MAXIMUM_IP_OPER_STATUS_ADDRESS_FAMILIES_SUPPORTED: u32 = 32u32; +pub const MAX_HASHES: u32 = 4u32; +pub const MULTIPOINT_VC: u32 = 16u32; +pub const MaxPerPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(12i32); +pub const NBL_FLAGS_MINIPORT_RESERVED: u32 = 61440u32; +pub const NBL_FLAGS_NDIS_RESERVED: u32 = 4092u32; +pub const NBL_FLAGS_PROTOCOL_RESERVED: u32 = 4293918723u32; +pub const NBL_FLAGS_SCRATCH: u32 = 983040u32; +pub const NBL_PROT_RSVD_FLAGS: u32 = 4293918723u32; +pub const NDIS630_MINIPORT: u32 = 1u32; +pub const NDIS685_MINIPORT: u32 = 1u32; +pub const NDIS_802_11_AI_REQFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_REQFI_CURRENTAPADDRESS: u32 = 4u32; +pub const NDIS_802_11_AI_REQFI_LISTENINTERVAL: u32 = 2u32; +pub const NDIS_802_11_AI_RESFI_ASSOCIATIONID: u32 = 4u32; +pub const NDIS_802_11_AI_RESFI_CAPABILITIES: u32 = 1u32; +pub const NDIS_802_11_AI_RESFI_STATUSCODE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS: u32 = 15u32; +pub const NDIS_802_11_AUTH_REQUEST_GROUP_ERROR: u32 = 14u32; +pub const NDIS_802_11_AUTH_REQUEST_KEYUPDATE: u32 = 2u32; +pub const NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR: u32 = 6u32; +pub const NDIS_802_11_AUTH_REQUEST_REAUTH: u32 = 1u32; +pub const NDIS_802_11_LENGTH_RATES: u32 = 8u32; +pub const NDIS_802_11_LENGTH_RATES_EX: u32 = 16u32; +pub const NDIS_802_11_LENGTH_SSID: u32 = 32u32; +pub const NDIS_802_11_PMKID_CANDIDATE_PREAUTH_ENABLED: u32 = 1u32; +pub const NDIS_802_3_MAC_OPTION_PRIORITY: u32 = 1u32; +pub const NDIS_ANY_NUMBER_OF_NBLS: u32 = 4294967295u32; +pub const NDIS_ATTRIBUTE_BUS_MASTER: u32 = 8u32; +pub const NDIS_ATTRIBUTE_DESERIALIZE: u32 = 32u32; +pub const NDIS_ATTRIBUTE_DO_NOT_BIND_TO_ALL_CO: u32 = 1024u32; +pub const NDIS_ATTRIBUTE_IGNORE_PACKET_TIMEOUT: u32 = 1u32; +pub const NDIS_ATTRIBUTE_IGNORE_REQUEST_TIMEOUT: u32 = 2u32; +pub const NDIS_ATTRIBUTE_IGNORE_TOKEN_RING_ERRORS: u32 = 4u32; +pub const NDIS_ATTRIBUTE_INTERMEDIATE_DRIVER: u32 = 16u32; +pub const NDIS_ATTRIBUTE_MINIPORT_PADS_SHORT_PACKETS: u32 = 2048u32; +pub const NDIS_ATTRIBUTE_NOT_CO_NDIS: u32 = 256u32; +pub const NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND: u32 = 64u32; +pub const NDIS_ATTRIBUTE_SURPRISE_REMOVE_OK: u32 = 128u32; +pub const NDIS_ATTRIBUTE_USES_SAFE_BUFFER_APIS: u32 = 512u32; +pub const NDIS_BIND_FAILED_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NDIS_BIND_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_BIND_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_BIND_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_BIND_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_CLONE_FLAGS_RESERVED: u32 = 1u32; +pub const NDIS_CLONE_FLAGS_USE_ORIGINAL_MDLS: u32 = 2u32; +pub const NDIS_CONFIGURATION_OBJECT_REVISION_1: u32 = 1u32; +pub const NDIS_CONFIG_FLAG_FILTER_INSTANCE_CONFIGURATION: u32 = 1u32; +pub const NDIS_CO_CALL_MANAGER_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_CO_CLIENT_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_CO_MAC_OPTION_DYNAMIC_LINK_SPEED: u32 = 1u32; +pub const NDIS_DEFAULT_RECEIVE_FILTER_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_GROUP_ID: u32 = 0u32; +pub const NDIS_DEFAULT_RECEIVE_QUEUE_ID: u32 = 0u32; +pub const NDIS_DEFAULT_SWITCH_ID: u32 = 0u32; +pub const NDIS_DEFAULT_VPORT_ID: u32 = 0u32; +pub const NDIS_DEVICE_OBJECT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_DEVICE_TYPE_ENDPOINT: u32 = 1u32; +pub const NDIS_DEVICE_WAKE_ON_MAGIC_PACKET_ENABLE: u32 = 4u32; +pub const NDIS_DEVICE_WAKE_ON_PATTERN_MATCH_ENABLE: u32 = 2u32; +pub const NDIS_DEVICE_WAKE_UP_ENABLE: u32 = 1u32; +pub const NDIS_DRIVER_FLAGS_RESERVED: u32 = 8u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV4: u32 = 1u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_INNER_IPV6: u32 = 4u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV4: u32 = 2u32; +pub const NDIS_ENCAPSULATED_PACKET_TASK_OFFLOAD_OUTER_IPV6: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3: u32 = 2u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q: u32 = 4u32; +pub const NDIS_ENCAPSULATION_IEEE_802_3_P_AND_Q_IN_OOB: u32 = 8u32; +pub const NDIS_ENCAPSULATION_IEEE_LLC_SNAP_ROUTED: u32 = 16u32; +pub const NDIS_ENCAPSULATION_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_ENCAPSULATION_NULL: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_GRE_MAC: u32 = 1u32; +pub const NDIS_ENCAPSULATION_TYPE_VXLAN: u32 = 2u32; +pub const NDIS_ENUM_FILTERS_REVISION_1: u32 = 1u32; +pub const NDIS_ETH_TYPE_802_1Q: u32 = 33024u32; +pub const NDIS_ETH_TYPE_802_1X: u32 = 34958u32; +pub const NDIS_ETH_TYPE_ARP: u32 = 2054u32; +pub const NDIS_ETH_TYPE_IPV4: u32 = 2048u32; +pub const NDIS_ETH_TYPE_IPV6: u32 = 34525u32; +pub const NDIS_ETH_TYPE_SLOW_PROTOCOL: u32 = 34825u32; +pub const NDIS_FILTER_ATTACH_FLAGS_IGNORE_MANDATORY: u32 = 1u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_FILTER_ATTACH_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_FILTER_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_CHARACTERISTICS_REVISION_3: u32 = 3u32; +pub const NDIS_FILTER_DRIVER_MANDATORY: u32 = 1u32; +pub const NDIS_FILTER_DRIVER_SUPPORTS_CURRENT_MAC_ADDRESS_CHANGE: u32 = 2u32; +pub const NDIS_FILTER_DRIVER_SUPPORTS_L2_MTU_SIZE_CHANGE: u32 = 4u32; +pub const NDIS_FILTER_INTERFACE_IM_FILTER: u32 = 1u32; +pub const NDIS_FILTER_INTERFACE_LW_FILTER: u32 = 2u32; +pub const NDIS_FILTER_INTERFACE_RECEIVE_BYPASS: u32 = 8u32; +pub const NDIS_FILTER_INTERFACE_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_INTERFACE_REVISION_2: u32 = 2u32; +pub const NDIS_FILTER_INTERFACE_SEND_BYPASS: u32 = 4u32; +pub const NDIS_FILTER_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_FILTER_MINIMUM_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_FILTER_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_FILTER_MINOR_VERSION: u32 = 87u32; +pub const NDIS_FILTER_PARTIAL_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FILTER_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_FLAGS_DONT_LOOPBACK: u32 = 128u32; +pub const NDIS_FLAGS_DOUBLE_BUFFERED: u32 = 2048u32; +pub const NDIS_FLAGS_IS_LOOPBACK_PACKET: u32 = 256u32; +pub const NDIS_FLAGS_LOOPBACK_ONLY: u32 = 512u32; +pub const NDIS_FLAGS_MULTICAST_PACKET: u32 = 16u32; +pub const NDIS_FLAGS_PADDED: u32 = 65536u32; +pub const NDIS_FLAGS_PROTOCOL_ID_MASK: u32 = 15u32; +pub const NDIS_FLAGS_RESERVED2: u32 = 32u32; +pub const NDIS_FLAGS_RESERVED3: u32 = 64u32; +pub const NDIS_FLAGS_RESERVED4: u32 = 1024u32; +pub const NDIS_FLAGS_SENT_AT_DPC: u32 = 4096u32; +pub const NDIS_FLAGS_USES_ORIGINAL_PACKET: u32 = 16384u32; +pub const NDIS_FLAGS_USES_SG_BUFFER_LIST: u32 = 8192u32; +pub const NDIS_FLAGS_XLATE_AT_TOP: u32 = 131072u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_GRE: u32 = 4u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_IP_IN_IP: u32 = 2u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NOT_ENCAPSULATED: u32 = 1u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_NVGRE: u32 = 8u32; +pub const NDIS_GFP_ENCAPSULATION_TYPE_VXLAN: u32 = 16u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_RDMA_FLOW: u32 = 1u32; +pub const NDIS_GFP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_EXACT_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_IS_TTL_ONE: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_GROUP_WILDCARD_MATCH_REVISION_1: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ESP: u32 = 2048u32; +pub const NDIS_GFP_HEADER_PRESENT_ETHERNET: u32 = 1u32; +pub const NDIS_GFP_HEADER_PRESENT_ICMP: u32 = 32u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV4: u32 = 2u32; +pub const NDIS_GFP_HEADER_PRESENT_IPV6: u32 = 4u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_GRE_ENCAP: u32 = 256u32; +pub const NDIS_GFP_HEADER_PRESENT_IP_IN_IP_ENCAP: u32 = 128u32; +pub const NDIS_GFP_HEADER_PRESENT_NO_ENCAP: u32 = 64u32; +pub const NDIS_GFP_HEADER_PRESENT_NVGRE_ENCAP: u32 = 512u32; +pub const NDIS_GFP_HEADER_PRESENT_TCP: u32 = 8u32; +pub const NDIS_GFP_HEADER_PRESENT_UDP: u32 = 16u32; +pub const NDIS_GFP_HEADER_PRESENT_VXLAN_ENCAP: u32 = 1024u32; +pub const NDIS_GFP_UNDEFINED_PROFILE_ID: u32 = 0u32; +pub const NDIS_GFP_WILDCARD_MATCH_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_CLIENT_SPECIFIED_ADDRESS: u32 = 1u32; +pub const NDIS_GFT_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_GET_VALUES: u32 = 2u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_COUNTER_VALUE_ARRAY_UPDATE_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_LAST_ACTION: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_CUSTOM_ACTION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_ALL_PROFILES: u32 = 1u32; +pub const NDIS_GFT_DELETE_PROFILE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_DELETE_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_EMFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_ALL_VPORT_FLOW_ENTRIES: u32 = 33554432u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_FIN_FLAG_SET: u32 = 2097152u32; +pub const NDIS_GFT_EMFE_COPY_AFTER_TCP_RST_FLAG_SET: u32 = 4194304u32; +pub const NDIS_GFT_EMFE_COPY_ALL_PACKETS: u32 = 65536u32; +pub const NDIS_GFT_EMFE_COPY_CONDITION_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_EMFE_COPY_FIRST_PACKET: u32 = 131072u32; +pub const NDIS_GFT_EMFE_COPY_WHEN_TCP_FLAG_SET: u32 = 262144u32; +pub const NDIS_GFT_EMFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_EMFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_EMFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_EMFE_COUNTER_TRACK_TCP_FLOW: u32 = 8u32; +pub const NDIS_GFT_EMFE_CUSTOM_ACTION_PRESENT: u32 = 524288u32; +pub const NDIS_GFT_EMFE_MATCH_AND_ACTION_MUST_BE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_EMFE_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 1048576u32; +pub const NDIS_GFT_EMFE_RDMA_FLOW: u32 = 4u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 8192u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 32768u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 4096u32; +pub const NDIS_GFT_EMFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16384u32; +pub const NDIS_GFT_EXACT_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_NIC_SWITCH_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_TABLE_FLOW_ENTRIES: u32 = 2u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ALL_VPORT_FLOW_ENTRIES: u32 = 4u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_COUNTER_VALUES: u32 = 65536u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_DEFINED: u32 = 16u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_ID_RANGE_DEFINED: u32 = 8u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ALL_FLOW_ENTRIES: u32 = 1u32; +pub const NDIS_GFT_FLOW_ENTRY_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_FREE_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_DECREMENT_TTL_IF_NOT_ONE: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_GROUP_TRANSPOSITION_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HEADER_TRANSPOSITION_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_HTP_COPY_ALL_PACKETS: u32 = 16u32; +pub const NDIS_GFT_HTP_COPY_FIRST_PACKET: u32 = 32u32; +pub const NDIS_GFT_HTP_COPY_WHEN_TCP_FLAG_SET: u32 = 64u32; +pub const NDIS_GFT_HTP_CUSTOM_ACTION_PRESENT: u32 = 128u32; +pub const NDIS_GFT_HTP_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 256u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 1u32; +pub const NDIS_GFT_HTP_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 4u32; +pub const NDIS_GFT_MAX_COUNTER_OBJECTS_PER_FLOW_ENTRY: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_8021P_PRIORITY_MASK: u32 = 131072u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ADD_FLOW_ENTRY_DEACTIVATED_PREFERRED: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_ALLOW: u32 = 262144u32; +pub const NDIS_GFT_OFFLOAD_CAPS_CLIENT_SPECIFIED_MEMORY_MAPPED_COUNTERS: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COMBINED_COUNTER_AND_STATE: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_ALL: u32 = 256u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_FIRST: u32 = 512u32; +pub const NDIS_GFT_OFFLOAD_CAPS_COPY_WHEN_TCP_FLAG_SET: u32 = 1024u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DESIGNATED_EXCEPTION_VPORT: u32 = 32768u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DROP: u32 = 524288u32; +pub const NDIS_GFT_OFFLOAD_CAPS_DSCP_MASK: u32 = 65536u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_AGGREGATE_COUNTERS: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_EXACT_MATCH: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EGRESS_WILDCARD_MATCH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_EXACT_MATCH: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_EGRESS_WILDCARD_MATCH: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_EXACT_MATCH: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_EXT_VPORT_INGRESS_WILDCARD_MATCH: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_IGNORE_ACTION_SUPPORTED: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_AGGREGATE_COUNTERS: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_EXACT_MATCH: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_INGRESS_WILDCARD_MATCH: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_COUNTERS: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MEMORY_MAPPED_PAKCET_AND_BYTE_COUNTERS: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_AFTER_HEADER_TRANSPOSITION: u32 = 8192u32; +pub const NDIS_GFT_OFFLOAD_CAPS_META_ACTION_BEFORE_HEADER_TRANSPOSITION: u32 = 4096u32; +pub const NDIS_GFT_OFFLOAD_CAPS_MODIFY: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_FLOW_ENTRY_COUNTERS: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_PACKET_COUNTER_UPDATE: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PER_VPORT_EXCEPTION_VPORT: u32 = 16384u32; +pub const NDIS_GFT_OFFLOAD_CAPS_POP: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_CAPS_PUSH: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_RATE_LIMITING_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 32u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 16u32; +pub const NDIS_GFT_OFFLOAD_CAPS_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 64u32; +pub const NDIS_GFT_OFFLOAD_CAPS_SAMPLE: u32 = 2048u32; +pub const NDIS_GFT_OFFLOAD_CAPS_TRACK_TCP_FLOW_STATE: u32 = 128u32; +pub const NDIS_GFT_OFFLOAD_INFO_COPY_PACKET: u32 = 4u32; +pub const NDIS_GFT_OFFLOAD_INFO_DIRECTION_INGRESS: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_INFO_EXCEPTION_PACKET: u32 = 2u32; +pub const NDIS_GFT_OFFLOAD_INFO_SAMPLE_PACKET: u32 = 8u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_CUSTOM_PROVIDER_RESERVED: u32 = 4278190080u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_ENABLE_OFFLOAD: u32 = 1u32; +pub const NDIS_GFT_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_PROFILE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_RESERVED_CUSTOM_ACTIONS: u32 = 256u32; +pub const NDIS_GFT_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INCLUDE_EXTERNAL_VPPORT: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_TABLE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_UNDEFINED_COUNTER_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_CUSTOM_ACTION: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_FLOW_ENTRY_ID: u32 = 0u32; +pub const NDIS_GFT_UNDEFINED_TABLE_ID: u32 = 0u32; +pub const NDIS_GFT_VPORT_DSCP_FLAGS_CHANGED: u32 = 67108864u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_RX: u32 = 1u32; +pub const NDIS_GFT_VPORT_DSCP_GUARD_ENABLE_TX: u32 = 2u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_CHANGED: u32 = 8388608u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_RX: u32 = 4u32; +pub const NDIS_GFT_VPORT_DSCP_MASK_ENABLE_TX: u32 = 8u32; +pub const NDIS_GFT_VPORT_ENABLE: u32 = 1u32; +pub const NDIS_GFT_VPORT_ENABLE_STATE_CHANGED: u32 = 1048576u32; +pub const NDIS_GFT_VPORT_EXCEPTION_VPORT_CHANGED: u32 = 2097152u32; +pub const NDIS_GFT_VPORT_MAX_DSCP_MASK_COUNTER_OBJECTS: u32 = 64u32; +pub const NDIS_GFT_VPORT_MAX_PRIORITY_MASK_COUNTER_OBJECTS: u32 = 8u32; +pub const NDIS_GFT_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_GFT_VPORT_PARAMS_CHANGE_MASK: u32 = 4293918720u32; +pub const NDIS_GFT_VPORT_PARAMS_CUSTOM_PROVIDER_RESERVED: u32 = 1044480u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN: u32 = 2u32; +pub const NDIS_GFT_VPORT_PARSE_VXLAN_NOT_IN_SRC_PORT_RANGE: u32 = 4u32; +pub const NDIS_GFT_VPORT_PRIORITY_MASK_CHANGED: u32 = 16777216u32; +pub const NDIS_GFT_VPORT_SAMPLING_RATE_CHANGED: u32 = 4194304u32; +pub const NDIS_GFT_VPORT_VXLAN_SETTINGS_CHANGED: u32 = 33554432u32; +pub const NDIS_GFT_WCFE_ADD_IN_ACTIVATED_STATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COPY_ALL_PACKETS: u32 = 32u32; +pub const NDIS_GFT_WCFE_COUNTER_ALLOCATE: u32 = 1u32; +pub const NDIS_GFT_WCFE_COUNTER_CLIENT_SPECIFIED_ADDRESS: u32 = 4u32; +pub const NDIS_GFT_WCFE_COUNTER_MEMORY_MAPPED: u32 = 2u32; +pub const NDIS_GFT_WCFE_CUSTOM_ACTION_PRESENT: u32 = 64u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT: u32 = 4u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_EGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 16u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT: u32 = 2u32; +pub const NDIS_GFT_WCFE_REDIRECT_TO_INGRESS_QUEUE_OF_VPORT_IF_TTL_IS_ONE: u32 = 8u32; +pub const NDIS_GFT_WILDCARD_MATCH_FLOW_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_HARDWARE_CROSSTIMESTAMP_REVISION_1: u32 = 1u32; +pub const NDIS_HASH_FUNCTION_MASK: u32 = 255u32; +pub const NDIS_HASH_IPV4: u32 = 256u32; +pub const NDIS_HASH_IPV6: u32 = 1024u32; +pub const NDIS_HASH_IPV6_EX: u32 = 2048u32; +pub const NDIS_HASH_TCP_IPV4: u32 = 512u32; +pub const NDIS_HASH_TCP_IPV6: u32 = 4096u32; +pub const NDIS_HASH_TCP_IPV6_EX: u32 = 8192u32; +pub const NDIS_HASH_TYPE_MASK: u32 = 16776960u32; +pub const NDIS_HASH_UDP_IPV4: u32 = 16384u32; +pub const NDIS_HASH_UDP_IPV6: u32 = 32768u32; +pub const NDIS_HASH_UDP_IPV6_EX: u32 = 65536u32; +pub const NDIS_HD_SPLIT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV4_OPTIONS: u32 = 2u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_IPV6_EXTENSION_HEADERS: u32 = 4u32; +pub const NDIS_HD_SPLIT_CAPS_SUPPORTS_TCP_OPTIONS: u32 = 8u32; +pub const NDIS_HD_SPLIT_COMBINE_ALL_HEADERS: u32 = 1u32; +pub const NDIS_HD_SPLIT_CURRENT_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_HD_SPLIT_ENABLE_HEADER_DATA_SPLIT: u32 = 1u32; +pub const NDIS_HD_SPLIT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_FLAG_HYPERVISOR_PRESENT: u32 = 1u32; +pub const NDIS_HYPERVISOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_INTERMEDIATE_DRIVER: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_REINITIALIZE: u32 = 2u32; +pub const NDIS_INTERRUPT_MODERATION_CHANGE_NEEDS_RESET: u32 = 1u32; +pub const NDIS_INTERRUPT_MODERATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_ADD_SA_EX_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_ADD_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_DELETE_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IPSEC_OFFLOAD_V2_UPDATE_SA_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_IP_OPER_STATUS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_ISOLATION_NAME_MAX_STRING_SIZE: u32 = 127u32; +pub const NDIS_ISOLATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_ADD_PF_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_ENUMERATE_PFS_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_PF_ENUM_ELEMENT_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_QUERY_PF_INFORMATION_REVISION_1: u32 = 1u32; +pub const NDIS_KDNET_REMOVE_PF_REVISION_1: u32 = 1u32; +pub const NDIS_LARGE_SEND_OFFLOAD_MAX_HEADER_LENGTH: u32 = 128u32; +pub const NDIS_LEGACY_DRIVER: u32 = 1u32; +pub const NDIS_LEGACY_MINIPORT: u32 = 1u32; +pub const NDIS_LEGACY_PROTOCOL: u32 = 1u32; +pub const NDIS_LINK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_DUPLEX_AUTO_NEGOTIATED: u32 = 4u32; +pub const NDIS_LINK_STATE_PAUSE_FUNCTIONS_AUTO_NEGOTIATED: u32 = 8u32; +pub const NDIS_LINK_STATE_RCV_LINK_SPEED_AUTO_NEGOTIATED: u32 = 2u32; +pub const NDIS_LINK_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_LINK_STATE_XMIT_LINK_SPEED_AUTO_NEGOTIATED: u32 = 1u32; +pub const NDIS_MAC_OPTION_8021P_PRIORITY: u32 = 64u32; +pub const NDIS_MAC_OPTION_8021Q_VLAN: u32 = 512u32; +pub const NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA: u32 = 1u32; +pub const NDIS_MAC_OPTION_EOTX_INDICATION: u32 = 32u32; +pub const NDIS_MAC_OPTION_FULL_DUPLEX: u32 = 16u32; +pub const NDIS_MAC_OPTION_NO_LOOPBACK: u32 = 8u32; +pub const NDIS_MAC_OPTION_RECEIVE_AT_DPC: u32 = 256u32; +pub const NDIS_MAC_OPTION_RECEIVE_SERIALIZED: u32 = 2u32; +pub const NDIS_MAC_OPTION_RESERVED: u32 = 2147483648u32; +pub const NDIS_MAC_OPTION_SUPPORTS_MAC_ADDRESS_OVERWRITE: u32 = 128u32; +pub const NDIS_MAC_OPTION_TRANSFERS_NOT_PEND: u32 = 4u32; +pub const NDIS_MAXIMUM_PORTS: u32 = 16777216u32; +pub const NDIS_MAX_LOOKAHEAD_SIZE_ACCESSED_UNDEFINED: i32 = -1i32; +pub const NDIS_MAX_PROCESSOR_COUNT: u32 = 64u32; +pub const NDIS_MEDIA_CAP_RECEIVE: u32 = 2u32; +pub const NDIS_MEDIA_CAP_TRANSMIT: u32 = 1u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_EAPOL: u32 = 2147549185u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_FCOE: u32 = 2147549184u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_LLDP: u32 = 2147549186u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_TIMESYNC: u32 = 2147549187u32; +pub const NDIS_MEDIA_SPECIFIC_INFO_TUNDL: u32 = 65537u32; +pub const NDIS_MEMORY_CONTIGUOUS: u32 = 1u32; +pub const NDIS_MEMORY_NONCACHED: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES_REVISION_4: u32 = 4u32; +pub const NDIS_MINIPORT_ADAPTER_NDK_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_ATTRIBUTES_BUS_MASTER: u32 = 64u32; +pub const NDIS_MINIPORT_ATTRIBUTES_CONTROLS_DEFAULT_PORT: u32 = 128u32; +pub const NDIS_MINIPORT_ATTRIBUTES_DO_NOT_BIND_TO_ALL_CO: u32 = 16u32; +pub const NDIS_MINIPORT_ATTRIBUTES_HARDWARE_DEVICE: u32 = 1u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM: u32 = 2u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NOT_CO_NDIS: u32 = 8u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_HALT_ON_SUSPEND: u32 = 32u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_OID_INTERCEPT_ON_NONDEFAULT_PORTS: u32 = 512u32; +pub const NDIS_MINIPORT_ATTRIBUTES_NO_PAUSE_ON_SUSPEND: u32 = 256u32; +pub const NDIS_MINIPORT_ATTRIBUTES_REGISTER_BUGCHECK_CALLBACK: u32 = 1024u32; +pub const NDIS_MINIPORT_ATTRIBUTES_SURPRISE_REMOVE_OK: u32 = 4u32; +pub const NDIS_MINIPORT_CO_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_MINIPORT_DRIVER_CHARACTERISTICS_REVISION_3: u32 = 3u32; +pub const NDIS_MINIPORT_INIT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_INTERRUPT_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_MINIPORT_MINIMUM_MAJOR_VERSION: u32 = 5u32; +pub const NDIS_MINIPORT_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_MINIPORT_MINOR_VERSION: u32 = 87u32; +pub const NDIS_MINIPORT_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_PNP_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_MINIPORT_SS_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_MIN_API: u32 = 1024u32; +pub const NDIS_MONITOR_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_MSIX_CONFIG_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_M_MAX_LOOKAHEAD: u32 = 526u32; +pub const NDIS_NBL_FLAGS_CAPTURE_TIMESTAMP_ON_TRANSMIT: u32 = 65536u32; +pub const NDIS_NBL_FLAGS_HD_SPLIT: u32 = 256u32; +pub const NDIS_NBL_FLAGS_IS_IPV4: u32 = 512u32; +pub const NDIS_NBL_FLAGS_IS_IPV6: u32 = 1024u32; +pub const NDIS_NBL_FLAGS_IS_LOOPBACK_PACKET: u32 = 32768u32; +pub const NDIS_NBL_FLAGS_IS_TCP: u32 = 2048u32; +pub const NDIS_NBL_FLAGS_IS_UDP: u32 = 4096u32; +pub const NDIS_NBL_FLAGS_RECV_READ_ONLY: u32 = 2u32; +pub const NDIS_NBL_FLAGS_SEND_READ_ONLY: u32 = 1u32; +pub const NDIS_NBL_FLAGS_SPLIT_AT_UPPER_LAYER_PROTOCOL_HEADER: u32 = 8192u32; +pub const NDIS_NBL_FLAGS_SPLIT_AT_UPPER_LAYER_PROTOCOL_PAYLOAD: u32 = 16384u32; +pub const NDIS_NBL_MEDIA_SPECIFIC_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_CONNECTIONS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_LOCAL_ENDPOINTS_REVISION_1: u32 = 1u32; +pub const NDIS_NDK_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_NIC_SWITCH_CAPS_ASYMMETRIC_QUEUE_PAIRS_FOR_NONDEFAULT_VPORT_SUPPORTED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_CAPS_NIC_SWITCH_WITHOUT_IOV_SUPPORTED: u32 = 64u32; +pub const NDIS_NIC_SWITCH_CAPS_PER_VPORT_INTERRUPT_MODERATION_SUPPORTED: u32 = 2u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_ON_PF_VPORTS_SUPPORTED: u32 = 128u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PARAMETERS_PER_PF_VPORT_SUPPORTED: u32 = 32u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_FUNCTION_SUPPORTED: u32 = 512u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_KEY_SUPPORTED: u32 = 2048u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_HASH_TYPE_SUPPORTED: u32 = 1024u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SIZE_RESTRICTED: u32 = 4096u32; +pub const NDIS_NIC_SWITCH_CAPS_RSS_PER_PF_VPORT_INDIRECTION_TABLE_SUPPORTED: u32 = 256u32; +pub const NDIS_NIC_SWITCH_CAPS_SINGLE_VPORT_POOL: u32 = 16u32; +pub const NDIS_NIC_SWITCH_CAPS_VF_RSS_SUPPORTED: u32 = 8u32; +pub const NDIS_NIC_SWITCH_CAPS_VLAN_SUPPORTED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_DELETE_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_FREE_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_DEFAULT_NUMBER_OF_QUEUE_PAIRS_FOR_DEFAULT_VPORT: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_PARAMETERS_SWITCH_NAME_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_FUNCTION: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_ENUM_ON_SPECIFIC_SWITCH: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_GFT_ENABLED: u32 = 4u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_ENFORCE_MAX_SG_LIST: u32 = 32768u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_INT_MOD_CHANGED: u32 = 262144u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_LOOKAHEAD_SPLIT_ENABLED: u32 = 1u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NAME_CHANGED: u32 = 131072u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NDK_PARAMS_CHANGED: u32 = 2097152u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_NUM_QUEUE_PAIRS_CHANGED: u32 = 8388608u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PACKET_DIRECT_RX_ONLY: u32 = 2u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_PROCESSOR_AFFINITY_CHANGED: u32 = 1048576u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_QOS_SQ_ID_CHANGED: u32 = 4194304u32; +pub const NDIS_NIC_SWITCH_VPORT_PARAMS_STATE_CHANGED: u32 = 524288u32; +pub const NDIS_NT: u32 = 1u32; +pub const NDIS_OBJECT_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_BIND_PARAMETERS: u32 = 134u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 147u32; +pub const NDIS_OBJECT_TYPE_CLIENT_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 142u32; +pub const NDIS_OBJECT_TYPE_CONFIGURATION_OBJECT: u32 = 169u32; +pub const NDIS_OBJECT_TYPE_CO_CALL_MANAGER_OPTIONAL_HANDLERS: u32 = 165u32; +pub const NDIS_OBJECT_TYPE_CO_CLIENT_OPTIONAL_HANDLERS: u32 = 166u32; +pub const NDIS_OBJECT_TYPE_CO_MINIPORT_CHARACTERISTICS: u32 = 145u32; +pub const NDIS_OBJECT_TYPE_CO_PROTOCOL_CHARACTERISTICS: u32 = 144u32; +pub const NDIS_OBJECT_TYPE_DEFAULT: u32 = 128u32; +pub const NDIS_OBJECT_TYPE_DEVICE_OBJECT_ATTRIBUTES: u32 = 133u32; +pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_OBJECT: u32 = 170u32; +pub const NDIS_OBJECT_TYPE_DRIVER_WRAPPER_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTACH_PARAMETERS: u32 = 153u32; +pub const NDIS_OBJECT_TYPE_FILTER_ATTRIBUTES: u32 = 141u32; +pub const NDIS_OBJECT_TYPE_FILTER_DRIVER_CHARACTERISTICS: u32 = 139u32; +pub const NDIS_OBJECT_TYPE_FILTER_PARTIAL_CHARACTERISTICS: u32 = 140u32; +pub const NDIS_OBJECT_TYPE_FILTER_PAUSE_PARAMETERS: u32 = 154u32; +pub const NDIS_OBJECT_TYPE_FILTER_RESTART_PARAMETERS: u32 = 155u32; +pub const NDIS_OBJECT_TYPE_HD_SPLIT_ATTRIBUTES: u32 = 171u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES: u32 = 159u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_HARDWARE_ASSIST_ATTRIBUTES: u32 = 175u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES: u32 = 161u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NDK_ATTRIBUTES: u32 = 179u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES: u32 = 160u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_PACKET_DIRECT_ATTRIBUTES: u32 = 197u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES: u32 = 158u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_ADD_DEVICE_REGISTRATION_ATTRIBUTES: u32 = 164u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DEVICE_POWER_NOTIFICATION: u32 = 198u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_DRIVER_CHARACTERISTICS: u32 = 138u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INIT_PARAMETERS: u32 = 129u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_INTERRUPT: u32 = 132u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_PNP_CHARACTERISTICS: u32 = 146u32; +pub const NDIS_OBJECT_TYPE_MINIPORT_SS_CHARACTERISTICS: u32 = 180u32; +pub const NDIS_OBJECT_TYPE_NDK_PROVIDER_CHARACTERISTICS: u32 = 178u32; +pub const NDIS_OBJECT_TYPE_NSI_COMPARTMENT_RW_STRUCT: u32 = 173u32; +pub const NDIS_OBJECT_TYPE_NSI_INTERFACE_PERSIST_RW_STRUCT: u32 = 174u32; +pub const NDIS_OBJECT_TYPE_NSI_NETWORK_RW_STRUCT: u32 = 172u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD: u32 = 167u32; +pub const NDIS_OBJECT_TYPE_OFFLOAD_ENCAPSULATION: u32 = 168u32; +pub const NDIS_OBJECT_TYPE_OID_REQUEST: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_OPEN_PARAMETERS: u32 = 135u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_1: u32 = 1u32; +pub const NDIS_OBJECT_TYPE_PCI_DEVICE_CUSTOM_PROPERTIES_REVISION_2: u32 = 2u32; +pub const NDIS_OBJECT_TYPE_PD_RECEIVE_QUEUE: u32 = 191u32; +pub const NDIS_OBJECT_TYPE_PD_TRANSMIT_QUEUE: u32 = 190u32; +pub const NDIS_OBJECT_TYPE_PORT_CHARACTERISTICS: u32 = 156u32; +pub const NDIS_OBJECT_TYPE_PORT_STATE: u32 = 157u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_DRIVER_CHARACTERISTICS: u32 = 149u32; +pub const NDIS_OBJECT_TYPE_PROTOCOL_RESTART_PARAMETERS: u32 = 163u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_CHARACTERISTICS: u32 = 148u32; +pub const NDIS_OBJECT_TYPE_PROVIDER_CHIMNEY_OFFLOAD_GENERIC_CHARACTERISTICS: u32 = 143u32; +pub const NDIS_OBJECT_TYPE_QOS_CAPABILITIES: u32 = 181u32; +pub const NDIS_OBJECT_TYPE_QOS_CLASSIFICATION_ELEMENT: u32 = 183u32; +pub const NDIS_OBJECT_TYPE_QOS_PARAMETERS: u32 = 182u32; +pub const NDIS_OBJECT_TYPE_REQUEST_EX: u32 = 150u32; +pub const NDIS_OBJECT_TYPE_RESTART_GENERAL_ATTRIBUTES: u32 = 162u32; +pub const NDIS_OBJECT_TYPE_RSS_CAPABILITIES: u32 = 136u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS: u32 = 137u32; +pub const NDIS_OBJECT_TYPE_RSS_PARAMETERS_V2: u32 = 200u32; +pub const NDIS_OBJECT_TYPE_RSS_PROCESSOR_INFO: u32 = 177u32; +pub const NDIS_OBJECT_TYPE_RSS_SET_INDIRECTION_ENTRIES: u32 = 201u32; +pub const NDIS_OBJECT_TYPE_SG_DMA_DESCRIPTION: u32 = 131u32; +pub const NDIS_OBJECT_TYPE_SHARED_MEMORY_PROVIDER_CHARACTERISTICS: u32 = 176u32; +pub const NDIS_OBJECT_TYPE_STATUS_INDICATION: u32 = 152u32; +pub const NDIS_OBJECT_TYPE_SWITCH_OPTIONAL_HANDLERS: u32 = 184u32; +pub const NDIS_OBJECT_TYPE_TIMER_CHARACTERISTICS: u32 = 151u32; +pub const NDIS_OFFLOAD_ENCAPSULATION_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_FLAGS_GROUP_CHECKSUM_CAPABILITIES: u32 = 1u32; +pub const NDIS_OFFLOAD_NOT_SUPPORTED: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_CONNECTION_OFFLOAD_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV1_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_AND_ESP_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_AH_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_IPSECV2_ESP_ENABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV1_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_LSOV2_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_RSC_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_RX_ENABLED_TX_DISABLED: u32 = 3u32; +pub const NDIS_OFFLOAD_PARAMETERS_SKIP_REGISTRY_UPDATE: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_ENABLED_RX_DISABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_TX_RX_ENABLED: u32 = 4u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_DISABLED: u32 = 1u32; +pub const NDIS_OFFLOAD_PARAMETERS_USO_ENABLED: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_OFFLOAD_REVISION_3: u32 = 3u32; +pub const NDIS_OFFLOAD_REVISION_4: u32 = 4u32; +pub const NDIS_OFFLOAD_REVISION_5: u32 = 5u32; +pub const NDIS_OFFLOAD_REVISION_6: u32 = 6u32; +pub const NDIS_OFFLOAD_REVISION_7: u32 = 7u32; +pub const NDIS_OFFLOAD_SET_NO_CHANGE: u32 = 0u32; +pub const NDIS_OFFLOAD_SET_OFF: u32 = 2u32; +pub const NDIS_OFFLOAD_SET_ON: u32 = 1u32; +pub const NDIS_OFFLOAD_SUPPORTED: u32 = 1u32; +pub const NDIS_OID_REQUEST_FLAGS_VPORT_ID_VALID: u32 = 1u32; +pub const NDIS_OID_REQUEST_NDIS_RESERVED_SIZE: u32 = 16u32; +pub const NDIS_OID_REQUEST_REVISION_1: u32 = 1u32; +pub const NDIS_OID_REQUEST_REVISION_2: u32 = 2u32; +pub const NDIS_OID_REQUEST_TIMEOUT_INFINITE: u32 = 0u32; +pub const NDIS_OPEN_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_OPEN_RECEIVE_NOT_REENTRANT: u32 = 1u32; +pub const NDIS_OPER_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PACKET_TYPE_ALL_FUNCTIONAL: u32 = 8192u32; +pub const NDIS_PACKET_TYPE_ALL_LOCAL: u32 = 128u32; +pub const NDIS_PACKET_TYPE_ALL_MULTICAST: u32 = 4u32; +pub const NDIS_PACKET_TYPE_BROADCAST: u32 = 8u32; +pub const NDIS_PACKET_TYPE_DIRECTED: u32 = 1u32; +pub const NDIS_PACKET_TYPE_FUNCTIONAL: u32 = 16384u32; +pub const NDIS_PACKET_TYPE_GROUP: u32 = 4096u32; +pub const NDIS_PACKET_TYPE_MAC_FRAME: u32 = 32768u32; +pub const NDIS_PACKET_TYPE_MULTICAST: u32 = 2u32; +pub const NDIS_PACKET_TYPE_NO_LOCAL: u32 = 65536u32; +pub const NDIS_PACKET_TYPE_PROMISCUOUS: u32 = 32u32; +pub const NDIS_PACKET_TYPE_SMT: u32 = 64u32; +pub const NDIS_PACKET_TYPE_SOURCE_ROUTING: u32 = 16u32; +pub const NDIS_PAUSE_ATTACH_FILTER: u32 = 16u32; +pub const NDIS_PAUSE_BIND_PROTOCOL: u32 = 4u32; +pub const NDIS_PAUSE_DETACH_FILTER: u32 = 32u32; +pub const NDIS_PAUSE_FILTER_RESTART_STACK: u32 = 64u32; +pub const NDIS_PAUSE_LOW_POWER: u32 = 2u32; +pub const NDIS_PAUSE_MINIPORT_DEVICE_REMOVE: u32 = 128u32; +pub const NDIS_PAUSE_NDIS_INTERNAL: u32 = 1u32; +pub const NDIS_PAUSE_UNBIND_PROTOCOL: u32 = 8u32; +pub const NDIS_PD_ACQUIRE_QUEUES_FLAG_DRAIN_NOTIFICATION: u32 = 1u32; +pub const NDIS_PD_ACQUIRE_QUEUES_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CAPS_DRAIN_NOTIFICATIONS_SUPPORTED: u32 = 2u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_COUNT_SUPPORTED: u32 = 8u32; +pub const NDIS_PD_CAPS_NOTIFICATION_MODERATION_INTERVAL_SUPPORTED: u32 = 4u32; +pub const NDIS_PD_CAPS_RECEIVE_FILTER_COUNTERS_SUPPORTED: u32 = 1u32; +pub const NDIS_PD_CLOSE_PROVIDER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_PD_COUNTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_OPEN_PROVIDER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_PROVIDER_DISPATCH_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_DISPATCH_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_FLAG_DRAIN_NOTIFICATION: u32 = 1u32; +pub const NDIS_PD_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PD_QUEUE_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_PM_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_PM_MAX_PATTERN_ID: u32 = 65535u32; +pub const NDIS_PM_MAX_STRING_SIZE: u32 = 64u32; +pub const NDIS_PM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_PM_PRIVATE_PATTERN_ID: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_ENABLED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_80211_RSN_REKEY_SUPPORTED: u32 = 128u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_ENABLED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_ARP_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_ENABLED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_NS_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_PM_PROTOCOL_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_ENABLED: u32 = 16u32; +pub const NDIS_PM_SELECTIVE_SUSPEND_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_LINK_CHANGE_ENABLED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_CONNECT_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_ENABLED: u32 = 2u32; +pub const NDIS_PM_WAKE_ON_MEDIA_DISCONNECT_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WAKE_PACKET_INDICATION_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WAKE_PACKET_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WAKE_REASON_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_ENABLED: u32 = 1u32; +pub const NDIS_PM_WOL_BITMAP_PATTERN_SUPPORTED: u32 = 1u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_ENABLED: u32 = 65536u32; +pub const NDIS_PM_WOL_EAPOL_REQUEST_ID_MESSAGE_SUPPORTED: u32 = 65536u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_ENABLED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 512u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_ENABLED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV4_TCP_SYN_SUPPORTED: u32 = 4u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_ENABLED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_DEST_ADDR_WILDCARD_SUPPORTED: u32 = 2048u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_ENABLED: u32 = 8u32; +pub const NDIS_PM_WOL_IPV6_TCP_SYN_SUPPORTED: u32 = 8u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_ENABLED: u32 = 2u32; +pub const NDIS_PM_WOL_MAGIC_PACKET_SUPPORTED: u32 = 2u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_1: u32 = 1u32; +pub const NDIS_PM_WOL_PATTERN_REVISION_2: u32 = 2u32; +pub const NDIS_PM_WOL_PRIORITY_HIGHEST: u32 = 1u32; +pub const NDIS_PM_WOL_PRIORITY_LOWEST: u32 = 4294967295u32; +pub const NDIS_PM_WOL_PRIORITY_NORMAL: u32 = 268435456u32; +pub const NDIS_PNP_WAKE_UP_LINK_CHANGE: u32 = 4u32; +pub const NDIS_PNP_WAKE_UP_MAGIC_PACKET: u32 = 1u32; +pub const NDIS_PNP_WAKE_UP_PATTERN_MATCH: u32 = 2u32; +pub const NDIS_POLL_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_POLL_DATA_REVISION_1: u32 = 1u32; +pub const NDIS_POLL_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_AUTHENTICATION_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PORT_CHAR_USE_DEFAULT_AUTH_SETTINGS: u32 = 1u32; +pub const NDIS_PORT_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_CO_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_DRIVER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_DRIVER_CHARACTERISTICS_REVISION_2: u32 = 2u32; +pub const NDIS_PROTOCOL_DRIVER_SUPPORTS_CURRENT_MAC_ADDRESS_CHANGE: u32 = 2u32; +pub const NDIS_PROTOCOL_DRIVER_SUPPORTS_L2_MTU_SIZE_CHANGE: u32 = 4u32; +pub const NDIS_PROTOCOL_ID_DEFAULT: u32 = 0u32; +pub const NDIS_PROTOCOL_ID_IP6: u32 = 3u32; +pub const NDIS_PROTOCOL_ID_IPX: u32 = 6u32; +pub const NDIS_PROTOCOL_ID_MASK: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_MAX: u32 = 15u32; +pub const NDIS_PROTOCOL_ID_NBF: u32 = 7u32; +pub const NDIS_PROTOCOL_ID_TCP_IP: u32 = 2u32; +pub const NDIS_PROTOCOL_MAJOR_VERSION: u32 = 6u32; +pub const NDIS_PROTOCOL_MINIMUM_MAJOR_VERSION: u32 = 4u32; +pub const NDIS_PROTOCOL_MINIMUM_MINOR_VERSION: u32 = 0u32; +pub const NDIS_PROTOCOL_MINOR_VERSION: u32 = 87u32; +pub const NDIS_PROTOCOL_PAUSE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PROTOCOL_RESTART_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_PROT_OPTION_ESTIMATED_LENGTH: u32 = 1u32; +pub const NDIS_PROT_OPTION_NO_LOOPBACK: u32 = 2u32; +pub const NDIS_PROT_OPTION_NO_RSVD_ON_RCVPKT: u32 = 4u32; +pub const NDIS_PROT_OPTION_SEND_RESTRICTED: u32 = 8u32; +pub const NDIS_QOS_ACTION_MAXIMUM: u32 = 1u32; +pub const NDIS_QOS_ACTION_PRIORITY: u32 = 0u32; +pub const NDIS_QOS_CAPABILITIES_CEE_DCBX_SUPPORTED: u32 = 4u32; +pub const NDIS_QOS_CAPABILITIES_IEEE_DCBX_SUPPORTED: u32 = 8u32; +pub const NDIS_QOS_CAPABILITIES_MACSEC_BYPASS_SUPPORTED: u32 = 2u32; +pub const NDIS_QOS_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CAPABILITIES_STRICT_TSA_SUPPORTED: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ELEMENT_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_CLASSIFICATION_ENFORCED_BY_MINIPORT: u32 = 16777216u32; +pub const NDIS_QOS_CLASSIFICATION_SET_BY_MINIPORT_MASK: u32 = 4278190080u32; +pub const NDIS_QOS_CONDITION_DEFAULT: u32 = 1u32; +pub const NDIS_QOS_CONDITION_ETHERTYPE: u32 = 5u32; +pub const NDIS_QOS_CONDITION_MAXIMUM: u32 = 7u32; +pub const NDIS_QOS_CONDITION_NETDIRECT_PORT: u32 = 6u32; +pub const NDIS_QOS_CONDITION_RESERVED: u32 = 0u32; +pub const NDIS_QOS_CONDITION_TCP_OR_UDP_PORT: u32 = 4u32; +pub const NDIS_QOS_CONDITION_TCP_PORT: u32 = 2u32; +pub const NDIS_QOS_CONDITION_UDP_PORT: u32 = 3u32; +pub const NDIS_QOS_DEFAULT_SQ_ID: u32 = 0u32; +pub const NDIS_QOS_MAXIMUM_PRIORITIES: u32 = 8u32; +pub const NDIS_QOS_MAXIMUM_TRAFFIC_CLASSES: u32 = 8u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_OFFLOAD_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_GFT_SQ: u32 = 2u32; +pub const NDIS_QOS_OFFLOAD_CAPS_STANDARD_SQ: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CHANGED: u32 = 65536u32; +pub const NDIS_QOS_PARAMETERS_CLASSIFICATION_CONFIGURED: u32 = 131072u32; +pub const NDIS_QOS_PARAMETERS_ETS_CHANGED: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_ETS_CONFIGURED: u32 = 2u32; +pub const NDIS_QOS_PARAMETERS_PFC_CHANGED: u32 = 256u32; +pub const NDIS_QOS_PARAMETERS_PFC_CONFIGURED: u32 = 512u32; +pub const NDIS_QOS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_PARAMETERS_WILLING: u32 = 2147483648u32; +pub const NDIS_QOS_SQ_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_QOS_SQ_RECEIVE_CAP_ENABLED: u32 = 4u32; +pub const NDIS_QOS_SQ_STATS_REVISION_1: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_CAP_ENABLED: u32 = 1u32; +pub const NDIS_QOS_SQ_TRANSMIT_RESERVATION_ENABLED: u32 = 2u32; +pub const NDIS_QOS_TSA_CBS: u32 = 1u32; +pub const NDIS_QOS_TSA_ETS: u32 = 2u32; +pub const NDIS_QOS_TSA_MAXIMUM: u32 = 3u32; +pub const NDIS_QOS_TSA_STRICT: u32 = 0u32; +pub const NDIS_RECEIVE_FILTER_ANY_VLAN_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_OPERATION_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SPA_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_ARP_HEADER_TPA_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_CLEAR_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_FOR_DEFAULT_QUEUE_SUPPORTED: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_DYNAMIC_PROCESSOR_AFFINITY_CHANGE_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_FIELD_MAC_HEADER_VLAN_UNTAGGED_OR_ZERO: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_FIELD_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_FLAGS_RESERVED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_GLOBAL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_MIN_OF_QUEUES_MODE: u32 = 64u32; +pub const NDIS_RECEIVE_FILTER_IMPLAT_SUM_OF_QUEUES_MODE: u32 = 128u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_INFO_ARRAY_VPORT_ID_SPECIFIED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_INTERRUPT_VECTOR_COALESCING_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV4_HEADER_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_PROTOCOL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_IPV6_HEADER_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_LOOKAHEAD_SPLIT_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_DEST_ADDR_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PACKET_TYPE_SUPPORTED: u32 = 32u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PRIORITY_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_PROTOCOL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SOURCE_ADDR_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MAC_HEADER_VLAN_ID_SUPPORTED: u32 = 8u32; +pub const NDIS_RECEIVE_FILTER_MOVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_MSI_X_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_FILTERS_ENABLED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_COALESCING_SUPPORTED_ON_DEFAULT_QUEUE: u32 = 256u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PACKET_ENCAPSULATION_GRE: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_QUEUE_STATE_CHANGE_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_RESERVED: u32 = 254u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_EQUAL_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_MASK_EQUAL_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FILTER_TEST_HEADER_FIELD_NOT_EQUAL_SUPPORTED: u32 = 4u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_DEST_PORT_SUPPORTED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_UDP_HEADER_SUPPORTED: u32 = 16u32; +pub const NDIS_RECEIVE_FILTER_VMQ_FILTERS_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUES_ENABLED: u32 = 1u32; +pub const NDIS_RECEIVE_FILTER_VM_QUEUE_SUPPORTED: u32 = 2u32; +pub const NDIS_RECEIVE_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_RECEIVE_FLAGS_MORE_NBLS: u32 = 8192u32; +pub const NDIS_RECEIVE_FLAGS_PERFECT_FILTERED: u32 = 1024u32; +pub const NDIS_RECEIVE_FLAGS_RESOURCES: u32 = 2u32; +pub const NDIS_RECEIVE_FLAGS_SHARED_MEMORY_INFO_VALID: u32 = 4096u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_ETHER_TYPE: u32 = 256u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_QUEUE: u32 = 2048u32; +pub const NDIS_RECEIVE_FLAGS_SINGLE_VLAN: u32 = 512u32; +pub const NDIS_RECEIVE_FLAGS_SWITCH_DESTINATION_GROUP: u32 = 16384u32; +pub const NDIS_RECEIVE_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 32768u32; +pub const NDIS_RECEIVE_HASH_FLAG_ENABLE_HASH: u32 = 1u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_HASH_FLAG_HASH_KEY_UNCHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_HASH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_ALLOCATION_COMPLETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_FREE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_CHANGE_MASK: u32 = 4294901760u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_FLAGS_CHANGED: u32 = 65536u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_INTERRUPT_COALESCING_DOMAIN_ID_CHANGED: u32 = 1048576u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_LOOKAHEAD_SPLIT_REQUIRED: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_NAME_CHANGED: u32 = 524288u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PER_QUEUE_RECEIVE_INDICATION: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_PROCESSOR_AFFINITY_CHANGED: u32 = 131072u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_QOS_SQ_ID_CHANGED: u32 = 2097152u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_QUEUE_PARAMETERS_SUGGESTED_RECV_BUFFER_NUMBERS_CHANGED: u32 = 262144u32; +pub const NDIS_RECEIVE_QUEUE_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_CAPABILITIES_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_REVISION_3: u32 = 3u32; +pub const NDIS_RECEIVE_SCALE_PARAMETERS_V2_REVISION_1: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_ENABLE_RSS: u32 = 1u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_INFO_CHANGED: u32 = 2u32; +pub const NDIS_RECEIVE_SCALE_PARAM_HASH_KEY_CHANGED: u32 = 4u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_ENTRIES_CHANGED: u32 = 16u32; +pub const NDIS_RECEIVE_SCALE_PARAM_NUMBER_OF_QUEUES_CHANGED: u32 = 8u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_MAX_LOOKAHEAD_ACCESSED_DEFINED: u32 = 1u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_1: u32 = 1u32; +pub const NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_2: u32 = 2u32; +pub const NDIS_RETURN_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_RETURN_FLAGS_SINGLE_QUEUE: u32 = 2u32; +pub const NDIS_RETURN_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 4u32; +pub const NDIS_RING_AUTO_REMOVAL_ERROR: u32 = 1024u32; +pub const NDIS_RING_COUNTER_OVERFLOW: u32 = 256u32; +pub const NDIS_RING_HARD_ERROR: u32 = 16384u32; +pub const NDIS_RING_LOBE_WIRE_FAULT: u32 = 2048u32; +pub const NDIS_RING_REMOVE_RECEIVED: u32 = 512u32; +pub const NDIS_RING_RING_RECOVERY: u32 = 64u32; +pub const NDIS_RING_SIGNAL_LOSS: u32 = 32768u32; +pub const NDIS_RING_SINGLE_STATION: u32 = 128u32; +pub const NDIS_RING_SOFT_ERROR: u32 = 8192u32; +pub const NDIS_RING_TRANSMIT_BEACON: u32 = 4096u32; +pub const NDIS_ROUTING_DOMAIN_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_ROUTING_DOMAIN_ISOLATION_ENTRY_REVISION_1: u32 = 1u32; +pub const NDIS_RSC_STATISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_DPC: u32 = 67108864u32; +pub const NDIS_RSS_CAPS_CLASSIFICATION_AT_ISR: u32 = 33554432u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV4: u32 = 256u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6: u32 = 512u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_TCP_IPV6_EX: u32 = 1024u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV4: u32 = 2048u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6: u32 = 4096u32; +pub const NDIS_RSS_CAPS_HASH_TYPE_UDP_IPV6_EX: u32 = 8192u32; +pub const NDIS_RSS_CAPS_MESSAGE_SIGNALED_INTERRUPTS: u32 = 16777216u32; +pub const NDIS_RSS_CAPS_RSS_AVAILABLE_ON_PORTS: u32 = 268435456u32; +pub const NDIS_RSS_CAPS_SUPPORTS_INDEPENDENT_ENTRY_MOVE: u32 = 1073741824u32; +pub const NDIS_RSS_CAPS_SUPPORTS_MSI_X: u32 = 536870912u32; +pub const NDIS_RSS_CAPS_USING_MSI_X: u32 = 134217728u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_2: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_MAX_SIZE_REVISION_3: u32 = 40u32; +pub const NDIS_RSS_HASH_SECRET_KEY_SIZE_REVISION_1: u32 = 40u32; +pub const NDIS_RSS_INDIRECTION_TABLE_MAX_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_INDIRECTION_TABLE_SIZE_REVISION_1: u32 = 128u32; +pub const NDIS_RSS_PARAM_FLAG_BASE_CPU_UNCHANGED: u32 = 1u32; +pub const NDIS_RSS_PARAM_FLAG_DEFAULT_PROCESSOR_UNCHANGED: u32 = 32u32; +pub const NDIS_RSS_PARAM_FLAG_DISABLE_RSS: u32 = 16u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_INFO_UNCHANGED: u32 = 2u32; +pub const NDIS_RSS_PARAM_FLAG_HASH_KEY_UNCHANGED: u32 = 8u32; +pub const NDIS_RSS_PARAM_FLAG_ITABLE_UNCHANGED: u32 = 4u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_PROCESSOR_INFO_REVISION_2: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRIES_REVISION_1: u32 = 1u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_DEFAULT_PROCESSOR: u32 = 2u32; +pub const NDIS_RSS_SET_INDIRECTION_ENTRY_FLAG_PRIMARY_PROCESSOR: u32 = 1u32; +pub const NDIS_RUNTIME_VERSION_60: u32 = 393216u32; +pub const NDIS_RWL_AT_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SCATTER_GATHER_LIST_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SEND_COMPLETE_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SEND_COMPLETE_FLAGS_SINGLE_QUEUE: u32 = 2u32; +pub const NDIS_SEND_COMPLETE_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 4u32; +pub const NDIS_SEND_FLAGS_CHECK_FOR_LOOPBACK: u32 = 2u32; +pub const NDIS_SEND_FLAGS_DISPATCH_LEVEL: u32 = 1u32; +pub const NDIS_SEND_FLAGS_SINGLE_QUEUE: u32 = 4u32; +pub const NDIS_SEND_FLAGS_SWITCH_DESTINATION_GROUP: u32 = 16u32; +pub const NDIS_SEND_FLAGS_SWITCH_SINGLE_SOURCE: u32 = 32u32; +pub const NDIS_SG_DMA_64_BIT_ADDRESS: u32 = 1u32; +pub const NDIS_SG_DMA_DESCRIPTION_REVISION_1: u32 = 1u32; +pub const NDIS_SG_DMA_DESCRIPTION_REVISION_2: u32 = 2u32; +pub const NDIS_SG_DMA_HYBRID_DMA: u32 = 4u32; +pub const NDIS_SG_DMA_V3_HAL_API: u32 = 2u32; +pub const NDIS_SG_LIST_WRITE_TO_DEVICE: u64 = 1u64; +pub const NDIS_SHARED_MEMORY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SHARED_MEMORY_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_SHARED_MEMORY_PROVIDER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_SHARED_MEMORY_PROVIDER_CHAR_SUPPORTS_PF_VPORTS: u32 = 1u32; +pub const NDIS_SHARED_MEM_PARAMETERS_CONTIGOUS: u32 = 1u32; +pub const NDIS_SHARED_MEM_PARAMETERS_CONTIGUOUS: u32 = 1u32; +pub const NDIS_SIZEOF_NDIS_PM_PROTOCOL_OFFLOAD_REVISION_1: u32 = 240u32; +pub const NDIS_SRIOV_BAR_RESOURCES_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_PF_MINIPORT: u32 = 2u32; +pub const NDIS_SRIOV_CAPS_SRIOV_SUPPORTED: u32 = 1u32; +pub const NDIS_SRIOV_CAPS_VF_MINIPORT: u32 = 4u32; +pub const NDIS_SRIOV_CONFIG_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_OVERLYING_ADAPTER_INFO_VERSION_1: u32 = 1u32; +pub const NDIS_SRIOV_PF_LUID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_PROBED_BARS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_READ_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_RESET_VF_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_SET_VF_POWER_STATE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_INVALIDATE_CONFIG_BLOCK_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_SERIAL_NUMBER_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_VF_VENDOR_DEVICE_ID_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_BLOCK_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SRIOV_WRITE_VF_CONFIG_SPACE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_STATISTICS_BROADCAST_BYTES_RCV_SUPPORTED: u32 = 32768u32; +pub const NDIS_STATISTICS_BROADCAST_BYTES_XMIT_SUPPORTED: u32 = 512u32; +pub const NDIS_STATISTICS_BROADCAST_FRAMES_RCV_SUPPORTED: u32 = 65536u32; +pub const NDIS_STATISTICS_BROADCAST_FRAMES_XMIT_SUPPORTED: u32 = 1024u32; +pub const NDIS_STATISTICS_BYTES_RCV_SUPPORTED: u32 = 524288u32; +pub const NDIS_STATISTICS_BYTES_XMIT_SUPPORTED: u32 = 1048576u32; +pub const NDIS_STATISTICS_DIRECTED_BYTES_RCV_SUPPORTED: u32 = 2048u32; +pub const NDIS_STATISTICS_DIRECTED_BYTES_XMIT_SUPPORTED: u32 = 32u32; +pub const NDIS_STATISTICS_DIRECTED_FRAMES_RCV_SUPPORTED: u32 = 4096u32; +pub const NDIS_STATISTICS_DIRECTED_FRAMES_XMIT_SUPPORTED: u32 = 64u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_RCV: u32 = 262144u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_BYTES_XMIT: u32 = 2097152u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_RCV: u32 = 4u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BROADCAST_FRAMES_XMIT: u32 = 256u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_RCV: u32 = 8u32; +pub const NDIS_STATISTICS_FLAGS_VALID_BYTES_XMIT: u32 = 512u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_RCV: u32 = 65536u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_BYTES_XMIT: u32 = 524288u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_RCV: u32 = 1u32; +pub const NDIS_STATISTICS_FLAGS_VALID_DIRECTED_FRAMES_XMIT: u32 = 64u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_RCV: u32 = 131072u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_BYTES_XMIT: u32 = 1048576u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_RCV: u32 = 2u32; +pub const NDIS_STATISTICS_FLAGS_VALID_MULTICAST_FRAMES_XMIT: u32 = 128u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_DISCARDS: u32 = 16u32; +pub const NDIS_STATISTICS_FLAGS_VALID_RCV_ERROR: u32 = 32u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_DISCARDS: u32 = 32768u32; +pub const NDIS_STATISTICS_FLAGS_VALID_XMIT_ERROR: u32 = 1024u32; +pub const NDIS_STATISTICS_GEN_STATISTICS_SUPPORTED: u32 = 4194304u32; +pub const NDIS_STATISTICS_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_STATISTICS_MULTICAST_BYTES_RCV_SUPPORTED: u32 = 8192u32; +pub const NDIS_STATISTICS_MULTICAST_BYTES_XMIT_SUPPORTED: u32 = 128u32; +pub const NDIS_STATISTICS_MULTICAST_FRAMES_RCV_SUPPORTED: u32 = 16384u32; +pub const NDIS_STATISTICS_MULTICAST_FRAMES_XMIT_SUPPORTED: u32 = 256u32; +pub const NDIS_STATISTICS_RCV_CRC_ERROR_SUPPORTED: u32 = 131072u32; +pub const NDIS_STATISTICS_RCV_DISCARDS_SUPPORTED: u32 = 2097152u32; +pub const NDIS_STATISTICS_RCV_ERROR_SUPPORTED: u32 = 8u32; +pub const NDIS_STATISTICS_RCV_NO_BUFFER_SUPPORTED: u32 = 16u32; +pub const NDIS_STATISTICS_RCV_OK_SUPPORTED: u32 = 2u32; +pub const NDIS_STATISTICS_TRANSMIT_QUEUE_LENGTH_SUPPORTED: u32 = 262144u32; +pub const NDIS_STATISTICS_XMIT_DISCARDS_SUPPORTED: u32 = 134217728u32; +pub const NDIS_STATISTICS_XMIT_ERROR_SUPPORTED: u32 = 4u32; +pub const NDIS_STATISTICS_XMIT_OK_SUPPORTED: u32 = 1u32; +pub const NDIS_STATUS_INDICATION_FLAGS_MEDIA_CONNECT_TO_CONNECT: u32 = 4096u32; +pub const NDIS_STATUS_INDICATION_FLAGS_NDIS_RESERVED: u32 = 4095u32; +pub const NDIS_STATUS_INDICATION_REVISION_1: u32 = 1u32; +pub const NDIS_SUPPORT_60_COMPATIBLE_API: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS6: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS61: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS620: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS630: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS640: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS650: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS651: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS660: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS670: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS680: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS681: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS682: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS683: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS684: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS685: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS686: u32 = 1u32; +pub const NDIS_SUPPORT_NDIS687: u32 = 1u32; +pub const NDIS_SWITCH_COPY_NBL_INFO_FLAGS_PRESERVE_DESTINATIONS: u32 = 1u32; +pub const NDIS_SWITCH_COPY_NBL_INFO_FLAGS_PRESERVE_SWITCH_INFO_ONLY: u32 = 2u32; +pub const NDIS_SWITCH_DEFAULT_NIC_INDEX: u32 = 0u32; +pub const NDIS_SWITCH_DEFAULT_PORT_ID: u32 = 0u32; +pub const NDIS_SWITCH_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NET_BUFFER_LIST_CONTEXT_TYPE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_MAPPED_NIC_UPDATED: u32 = 4u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_INITIALIZING: u32 = 1u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED: u32 = 2u32; +pub const NDIS_SWITCH_NIC_FLAGS_NIC_SUSPENDED_LM: u32 = 16u32; +pub const NDIS_SWITCH_NIC_OID_REQUEST_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_NIC_SAVE_STATE_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_NIC_STATUS_INDICATION_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_OBJECT_SERIALIZATION_VERSION_1: u32 = 1u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_PD_RESERVED_SIZE: u32 = 14u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_OPTIONAL_HANDLERS_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_ARRAY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_FEATURE_STATUS_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_RESTORING_PORT: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_FLAG_UNTRUSTED_INTERNAL_PORT: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ISOLATION_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_PROFILE_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_ROUTING_DOMAIN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PORT_PROPERTY_SECURITY_REVISION_2: u32 = 2u32; +pub const NDIS_SWITCH_PORT_PROPERTY_VLAN_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_CUSTOM_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_DELETE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_ENUM_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_PROPERTY_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_SWITCH_REPORT_FILTERED_NBL_FLAGS_IS_INCOMING: u32 = 1u32; +pub const NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1: u32 = 1u32; +pub const NDIS_SYSTEM_PROCESSOR_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_TASK_OFFLOAD_VERSION: u32 = 1u32; +pub const NDIS_TASK_TCP_LARGE_SEND_V0: u32 = 0u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TCP_CONNECTION_OFFLOAD_REVISION_2: u32 = 2u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_IPv4: u32 = 0u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_IPv6: u32 = 1u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_V1_TYPE: u32 = 0u32; +pub const NDIS_TCP_LARGE_SEND_OFFLOAD_V2_TYPE: u32 = 1u32; +pub const NDIS_TCP_RECV_SEG_COALESC_OFFLOAD_REVISION_1: u32 = 1u32; +pub const NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_TIMER_CHARACTERISTICS_REVISION_1: u32 = 1u32; +pub const NDIS_TIMESTAMP_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_UDP_SEGMENTATION_OFFLOAD_IPV4: u32 = 0u32; +pub const NDIS_UDP_SEGMENTATION_OFFLOAD_IPV6: u32 = 1u32; +pub const NDIS_WDF: u32 = 1u32; +pub const NDIS_WDM: u32 = 0u32; +pub const NDIS_WDM_DRIVER: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_ENABLED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_4WAY_HANDSHAKE_REQUEST_SUPPORTED: u32 = 8u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_ENABLED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_AP_ASSOCIATION_LOST_SUPPORTED: u32 = 2u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_ENABLED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_GTK_HANDSHAKE_ERROR_SUPPORTED: u32 = 4u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_ENABLED: u32 = 1u32; +pub const NDIS_WLAN_WAKE_ON_NLO_DISCOVERY_SUPPORTED: u32 = 1u32; +pub const NDIS_WMI_DEFAULT_METHOD_ID: u32 = 1u32; +pub const NDIS_WMI_ENUM_ADAPTER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_EVENT_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_METHOD_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_OBJECT_TYPE_ENUM_ADAPTER: u32 = 4u32; +pub const NDIS_WMI_OBJECT_TYPE_EVENT: u32 = 3u32; +pub const NDIS_WMI_OBJECT_TYPE_METHOD: u32 = 2u32; +pub const NDIS_WMI_OBJECT_TYPE_OUTPUT_INFO: u32 = 5u32; +pub const NDIS_WMI_OBJECT_TYPE_SET: u32 = 1u32; +pub const NDIS_WMI_PM_ACTIVE_CAPABILITIES_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_PM_ADMIN_CONFIG_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_INFO_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_RECEIVE_QUEUE_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NDIS_WMI_SET_HEADER_REVISION_1: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_ENABLED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_PACKET_STATE_SUPPORTED: u32 = 8u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_ENABLED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_REGISTER_STATE_SUPPORTED: u32 = 1u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_ENABLED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_SMS_RECEIVE_SUPPORTED: u32 = 2u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_ENABLED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_UICC_CHANGE_SUPPORTED: u32 = 16u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_ENABLED: u32 = 4u32; +pub const NDIS_WWAN_WAKE_ON_USSD_RECEIVE_SUPPORTED: u32 = 4u32; +pub const NET_BUFFER_LIST_POOL_FLAG_VERIFY: u32 = 1u32; +pub const NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NET_BUFFER_POOL_FLAG_VERIFY: u32 = 1u32; +pub const NET_BUFFER_POOL_PARAMETERS_REVISION_1: u32 = 1u32; +pub const NET_BUFFER_POOL_PARAMETERS_REVISION_2: u32 = 2u32; +pub const NET_DEVICE_PNP_EVENT_REVISION_1: u32 = 1u32; +pub const NET_EVENT_FLAGS_VPORT_ID_VALID: u32 = 2u32; +pub const NET_EVENT_HALT_MINIPORT_ON_LOW_POWER: u32 = 1u32; +pub const NET_PNP_EVENT_NOTIFICATION_REVISION_1: u32 = 1u32; +pub const NET_PNP_EVENT_NOTIFICATION_REVISION_2: u32 = 2u32; +pub const Ndis802_11AuthModeAutoSwitch: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(2i32); +pub const Ndis802_11AuthModeMax: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(11i32); +pub const Ndis802_11AuthModeOpen: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(0i32); +pub const Ndis802_11AuthModeShared: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(1i32); +pub const Ndis802_11AuthModeWPA: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(3i32); +pub const Ndis802_11AuthModeWPA2: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(6i32); +pub const Ndis802_11AuthModeWPA2PSK: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(7i32); +pub const Ndis802_11AuthModeWPA3: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(8i32); +pub const Ndis802_11AuthModeWPA3Ent: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(10i32); +pub const Ndis802_11AuthModeWPA3Ent192: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(8i32); +pub const Ndis802_11AuthModeWPA3SAE: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(9i32); +pub const Ndis802_11AuthModeWPANone: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(5i32); +pub const Ndis802_11AuthModeWPAPSK: NDIS_802_11_AUTHENTICATION_MODE = NDIS_802_11_AUTHENTICATION_MODE(4i32); +pub const Ndis802_11AutoUnknown: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(2i32); +pub const Ndis802_11Automode: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(4i32); +pub const Ndis802_11DS: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(1i32); +pub const Ndis802_11Encryption1Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(0i32); +pub const Ndis802_11Encryption1KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(2i32); +pub const Ndis802_11Encryption2Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(4i32); +pub const Ndis802_11Encryption2KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(5i32); +pub const Ndis802_11Encryption3Enabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(6i32); +pub const Ndis802_11Encryption3KeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(7i32); +pub const Ndis802_11EncryptionDisabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(1i32); +pub const Ndis802_11EncryptionNotSupported: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(3i32); +pub const Ndis802_11FH: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(0i32); +pub const Ndis802_11IBSS: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(0i32); +pub const Ndis802_11Infrastructure: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(1i32); +pub const Ndis802_11InfrastructureMax: NDIS_802_11_NETWORK_INFRASTRUCTURE = NDIS_802_11_NETWORK_INFRASTRUCTURE(3i32); +pub const Ndis802_11MediaStreamOff: NDIS_802_11_MEDIA_STREAM_MODE = NDIS_802_11_MEDIA_STREAM_MODE(0i32); +pub const Ndis802_11MediaStreamOn: NDIS_802_11_MEDIA_STREAM_MODE = NDIS_802_11_MEDIA_STREAM_MODE(1i32); +pub const Ndis802_11NetworkTypeMax: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(5i32); +pub const Ndis802_11OFDM24: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(3i32); +pub const Ndis802_11OFDM5: NDIS_802_11_NETWORK_TYPE = NDIS_802_11_NETWORK_TYPE(2i32); +pub const Ndis802_11PowerModeCAM: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(0i32); +pub const Ndis802_11PowerModeFast_PSP: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(2i32); +pub const Ndis802_11PowerModeMAX_PSP: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(1i32); +pub const Ndis802_11PowerModeMax: NDIS_802_11_POWER_MODE = NDIS_802_11_POWER_MODE(3i32); +pub const Ndis802_11PrivFilter8021xWEP: NDIS_802_11_PRIVACY_FILTER = NDIS_802_11_PRIVACY_FILTER(1i32); +pub const Ndis802_11PrivFilterAcceptAll: NDIS_802_11_PRIVACY_FILTER = NDIS_802_11_PRIVACY_FILTER(0i32); +pub const Ndis802_11RadioStatusHardwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(1i32); +pub const Ndis802_11RadioStatusHardwareSoftwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(3i32); +pub const Ndis802_11RadioStatusMax: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(4i32); +pub const Ndis802_11RadioStatusOn: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(0i32); +pub const Ndis802_11RadioStatusSoftwareOff: NDIS_802_11_RADIO_STATUS = NDIS_802_11_RADIO_STATUS(2i32); +pub const Ndis802_11ReloadWEPKeys: NDIS_802_11_RELOAD_DEFAULTS = NDIS_802_11_RELOAD_DEFAULTS(0i32); +pub const Ndis802_11StatusTypeMax: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(3i32); +pub const Ndis802_11StatusType_Authentication: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(0i32); +pub const Ndis802_11StatusType_MediaStreamMode: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(1i32); +pub const Ndis802_11StatusType_PMKID_CandidateList: NDIS_802_11_STATUS_TYPE = NDIS_802_11_STATUS_TYPE(2i32); +pub const Ndis802_11WEPDisabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(1i32); +pub const Ndis802_11WEPEnabled: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(0i32); +pub const Ndis802_11WEPKeyAbsent: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(2i32); +pub const Ndis802_11WEPNotSupported: NDIS_802_11_WEP_STATUS = NDIS_802_11_WEP_STATUS(3i32); +pub const NdisClass802_3Priority: NDIS_CLASS_ID = NDIS_CLASS_ID(0i32); +pub const NdisClassAtmAALInfo: NDIS_CLASS_ID = NDIS_CLASS_ID(3i32); +pub const NdisClassIrdaPacketInfo: NDIS_CLASS_ID = NDIS_CLASS_ID(2i32); +pub const NdisClassWirelessWanMbxMailbox: NDIS_CLASS_ID = NDIS_CLASS_ID(1i32); +pub const NdisDefinitelyNetworkChange: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(2i32); +pub const NdisDevicePnPEventMaximum: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(6i32); +pub const NdisDevicePnPEventPowerProfileChanged: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(5i32); +pub const NdisDevicePnPEventQueryRemoved: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(0i32); +pub const NdisDevicePnPEventQueryStopped: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(3i32); +pub const NdisDevicePnPEventRemoved: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(1i32); +pub const NdisDevicePnPEventStopped: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(4i32); +pub const NdisDevicePnPEventSurpriseRemoved: NDIS_DEVICE_PNP_EVENT = NDIS_DEVICE_PNP_EVENT(2i32); +pub const NdisDeviceStateD0: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(1i32); +pub const NdisDeviceStateD1: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(2i32); +pub const NdisDeviceStateD2: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(3i32); +pub const NdisDeviceStateD3: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(4i32); +pub const NdisDeviceStateMaximum: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(5i32); +pub const NdisDeviceStateUnspecified: NDIS_DEVICE_POWER_STATE = NDIS_DEVICE_POWER_STATE(0i32); +pub const NdisEnvironmentWindows: NDIS_ENVIRONMENT_TYPE = NDIS_ENVIRONMENT_TYPE(0i32); +pub const NdisEnvironmentWindowsNt: NDIS_ENVIRONMENT_TYPE = NDIS_ENVIRONMENT_TYPE(1i32); +pub const NdisFddiRingDetect: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(4i32); +pub const NdisFddiRingDirected: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(7i32); +pub const NdisFddiRingIsolated: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(1i32); +pub const NdisFddiRingNonOperational: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(2i32); +pub const NdisFddiRingNonOperationalDup: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(5i32); +pub const NdisFddiRingOperational: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(3i32); +pub const NdisFddiRingOperationalDup: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(6i32); +pub const NdisFddiRingTrace: NDIS_FDDI_RING_MGT_STATE = NDIS_FDDI_RING_MGT_STATE(8i32); +pub const NdisFddiStateActive: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(9i32); +pub const NdisFddiStateBreak: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(2i32); +pub const NdisFddiStateConnect: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(4i32); +pub const NdisFddiStateJoin: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(7i32); +pub const NdisFddiStateMaintenance: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(10i32); +pub const NdisFddiStateNext: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(5i32); +pub const NdisFddiStateOff: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(1i32); +pub const NdisFddiStateSignal: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(6i32); +pub const NdisFddiStateTrace: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(3i32); +pub const NdisFddiStateVerify: NDIS_FDDI_LCONNECTION_STATE = NDIS_FDDI_LCONNECTION_STATE(8i32); +pub const NdisFddiTypeCWrapA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(10i32); +pub const NdisFddiTypeCWrapB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(11i32); +pub const NdisFddiTypeCWrapS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(12i32); +pub const NdisFddiTypeIsolated: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(1i32); +pub const NdisFddiTypeLocalA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(2i32); +pub const NdisFddiTypeLocalAB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(4i32); +pub const NdisFddiTypeLocalB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(3i32); +pub const NdisFddiTypeLocalS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(5i32); +pub const NdisFddiTypeThrough: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(13i32); +pub const NdisFddiTypeWrapA: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(6i32); +pub const NdisFddiTypeWrapAB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(8i32); +pub const NdisFddiTypeWrapB: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(7i32); +pub const NdisFddiTypeWrapS: NDIS_FDDI_ATTACHMENT_TYPE = NDIS_FDDI_ATTACHMENT_TYPE(9i32); +pub const NdisHardwareStatusClosing: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(3i32); +pub const NdisHardwareStatusInitializing: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(1i32); +pub const NdisHardwareStatusNotReady: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(4i32); +pub const NdisHardwareStatusReady: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(0i32); +pub const NdisHardwareStatusReset: NDIS_HARDWARE_STATUS = NDIS_HARDWARE_STATUS(2i32); +pub const NdisHashFunctionReserved1: u32 = 2u32; +pub const NdisHashFunctionReserved2: u32 = 4u32; +pub const NdisHashFunctionReserved3: u32 = 8u32; +pub const NdisHashFunctionToeplitz: u32 = 1u32; +pub const NdisInterface1394: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(18i32); +pub const NdisInterfaceCBus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(9i32); +pub const NdisInterfaceEisa: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(2i32); +pub const NdisInterfaceInternal: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(0i32); +pub const NdisInterfaceInternalPowerBus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(13i32); +pub const NdisInterfaceIrda: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(17i32); +pub const NdisInterfaceIsa: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(1i32); +pub const NdisInterfaceMPIBus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(10i32); +pub const NdisInterfaceMPSABus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(11i32); +pub const NdisInterfaceMca: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(3i32); +pub const NdisInterfacePNPBus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(15i32); +pub const NdisInterfacePNPISABus: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(14i32); +pub const NdisInterfacePcMcia: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(8i32); +pub const NdisInterfacePci: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(5i32); +pub const NdisInterfaceProcessorInternal: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(12i32); +pub const NdisInterfaceTurboChannel: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(4i32); +pub const NdisInterfaceUSB: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(16i32); +pub const NdisInterruptModerationDisabled: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(3i32); +pub const NdisInterruptModerationEnabled: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(2i32); +pub const NdisInterruptModerationNotSupported: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(1i32); +pub const NdisInterruptModerationUnknown: NDIS_INTERRUPT_MODERATION = NDIS_INTERRUPT_MODERATION(0i32); +pub const NdisMaximumInterfaceType: NDIS_INTERFACE_TYPE = NDIS_INTERFACE_TYPE(19i32); +pub const NdisMediaStateConnected: NDIS_MEDIA_STATE = NDIS_MEDIA_STATE(0i32); +pub const NdisMediaStateDisconnected: NDIS_MEDIA_STATE = NDIS_MEDIA_STATE(1i32); +pub const NdisMedium1394: NDIS_MEDIUM = NDIS_MEDIUM(13i32); +pub const NdisMedium802_3: NDIS_MEDIUM = NDIS_MEDIUM(0i32); +pub const NdisMedium802_5: NDIS_MEDIUM = NDIS_MEDIUM(1i32); +pub const NdisMediumArcnet878_2: NDIS_MEDIUM = NDIS_MEDIUM(7i32); +pub const NdisMediumArcnetRaw: NDIS_MEDIUM = NDIS_MEDIUM(6i32); +pub const NdisMediumAtm: NDIS_MEDIUM = NDIS_MEDIUM(8i32); +pub const NdisMediumBpc: NDIS_MEDIUM = NDIS_MEDIUM(11i32); +pub const NdisMediumCoWan: NDIS_MEDIUM = NDIS_MEDIUM(12i32); +pub const NdisMediumDix: NDIS_MEDIUM = NDIS_MEDIUM(5i32); +pub const NdisMediumFddi: NDIS_MEDIUM = NDIS_MEDIUM(2i32); +pub const NdisMediumIP: NDIS_MEDIUM = NDIS_MEDIUM(19i32); +pub const NdisMediumInfiniBand: NDIS_MEDIUM = NDIS_MEDIUM(14i32); +pub const NdisMediumIrda: NDIS_MEDIUM = NDIS_MEDIUM(10i32); +pub const NdisMediumLocalTalk: NDIS_MEDIUM = NDIS_MEDIUM(4i32); +pub const NdisMediumLoopback: NDIS_MEDIUM = NDIS_MEDIUM(17i32); +pub const NdisMediumMax: NDIS_MEDIUM = NDIS_MEDIUM(20i32); +pub const NdisMediumNative802_11: NDIS_MEDIUM = NDIS_MEDIUM(16i32); +pub const NdisMediumTunnel: NDIS_MEDIUM = NDIS_MEDIUM(15i32); +pub const NdisMediumWan: NDIS_MEDIUM = NDIS_MEDIUM(3i32); +pub const NdisMediumWiMAX: NDIS_MEDIUM = NDIS_MEDIUM(18i32); +pub const NdisMediumWirelessWan: NDIS_MEDIUM = NDIS_MEDIUM(9i32); +pub const NdisNetworkChangeFromMediaConnect: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(3i32); +pub const NdisNetworkChangeMax: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(4i32); +pub const NdisParameterBinary: NDIS_PARAMETER_TYPE = NDIS_PARAMETER_TYPE(4i32); +pub const NdisParameterHexInteger: NDIS_PARAMETER_TYPE = NDIS_PARAMETER_TYPE(1i32); +pub const NdisParameterInteger: NDIS_PARAMETER_TYPE = NDIS_PARAMETER_TYPE(0i32); +pub const NdisParameterMultiString: NDIS_PARAMETER_TYPE = NDIS_PARAMETER_TYPE(3i32); +pub const NdisParameterString: NDIS_PARAMETER_TYPE = NDIS_PARAMETER_TYPE(2i32); +pub const NdisPauseFunctionsReceiveOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(2i32); +pub const NdisPauseFunctionsSendAndReceive: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(3i32); +pub const NdisPauseFunctionsSendOnly: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(1i32); +pub const NdisPauseFunctionsUnknown: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(4i32); +pub const NdisPauseFunctionsUnsupported: NDIS_SUPPORTED_PAUSE_FUNCTIONS = NDIS_SUPPORTED_PAUSE_FUNCTIONS(0i32); +pub const NdisPhysicalMedium1394: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(7i32); +pub const NdisPhysicalMedium802_3: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(14i32); +pub const NdisPhysicalMedium802_5: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(15i32); +pub const NdisPhysicalMediumBluetooth: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(10i32); +pub const NdisPhysicalMediumCableModem: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(2i32); +pub const NdisPhysicalMediumDSL: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(5i32); +pub const NdisPhysicalMediumFibreChannel: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(6i32); +pub const NdisPhysicalMediumInfiniband: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(11i32); +pub const NdisPhysicalMediumIrda: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(16i32); +pub const NdisPhysicalMediumMax: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(21i32); +pub const NdisPhysicalMediumNative802_11: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(9i32); +pub const NdisPhysicalMediumNative802_15_4: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(20i32); +pub const NdisPhysicalMediumOther: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(19i32); +pub const NdisPhysicalMediumPhoneLine: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(3i32); +pub const NdisPhysicalMediumPowerLine: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(4i32); +pub const NdisPhysicalMediumUWB: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(13i32); +pub const NdisPhysicalMediumUnspecified: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(0i32); +pub const NdisPhysicalMediumWiMax: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(12i32); +pub const NdisPhysicalMediumWiredCoWan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(18i32); +pub const NdisPhysicalMediumWiredWAN: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(17i32); +pub const NdisPhysicalMediumWirelessLan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(1i32); +pub const NdisPhysicalMediumWirelessWan: NDIS_PHYSICAL_MEDIUM = NDIS_PHYSICAL_MEDIUM(8i32); +pub const NdisPortAuthorizationUnknown: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(0i32); +pub const NdisPortAuthorized: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(1i32); +pub const NdisPortControlStateControlled: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(1i32); +pub const NdisPortControlStateUncontrolled: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(2i32); +pub const NdisPortControlStateUnknown: NDIS_PORT_CONTROL_STATE = NDIS_PORT_CONTROL_STATE(0i32); +pub const NdisPortReauthorizing: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(3i32); +pub const NdisPortType8021xSupplicant: NDIS_PORT_TYPE = NDIS_PORT_TYPE(3i32); +pub const NdisPortTypeBridge: NDIS_PORT_TYPE = NDIS_PORT_TYPE(1i32); +pub const NdisPortTypeMax: NDIS_PORT_TYPE = NDIS_PORT_TYPE(4i32); +pub const NdisPortTypeRasConnection: NDIS_PORT_TYPE = NDIS_PORT_TYPE(2i32); +pub const NdisPortTypeUndefined: NDIS_PORT_TYPE = NDIS_PORT_TYPE(0i32); +pub const NdisPortUnauthorized: NDIS_PORT_AUTHORIZATION_STATE = NDIS_PORT_AUTHORIZATION_STATE(2i32); +pub const NdisPossibleNetworkChange: NDIS_NETWORK_CHANGE_TYPE = NDIS_NETWORK_CHANGE_TYPE(1i32); +pub const NdisPowerProfileAcOnLine: NDIS_POWER_PROFILE = NDIS_POWER_PROFILE(1i32); +pub const NdisPowerProfileBattery: NDIS_POWER_PROFILE = NDIS_POWER_PROFILE(0i32); +pub const NdisProcessorAlpha: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(2i32); +pub const NdisProcessorAmd64: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(4i32); +pub const NdisProcessorArm: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(6i32); +pub const NdisProcessorArm64: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(7i32); +pub const NdisProcessorIA64: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(5i32); +pub const NdisProcessorMips: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(1i32); +pub const NdisProcessorPpc: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(3i32); +pub const NdisProcessorVendorAuthenticAMD: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(2i32); +pub const NdisProcessorVendorGenuinIntel: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(1i32); +pub const NdisProcessorVendorGenuineIntel: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(1i32); +pub const NdisProcessorVendorUnknown: NDIS_PROCESSOR_VENDOR = NDIS_PROCESSOR_VENDOR(0i32); +pub const NdisProcessorX86: NDIS_PROCESSOR_TYPE = NDIS_PROCESSOR_TYPE(0i32); +pub const NdisRequestClose: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(4i32); +pub const NdisRequestGeneric1: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(8i32); +pub const NdisRequestGeneric2: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(9i32); +pub const NdisRequestGeneric3: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(10i32); +pub const NdisRequestGeneric4: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(11i32); +pub const NdisRequestOpen: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(3i32); +pub const NdisRequestQueryInformation: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(0i32); +pub const NdisRequestQueryStatistics: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(2i32); +pub const NdisRequestReset: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(7i32); +pub const NdisRequestSend: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(5i32); +pub const NdisRequestSetInformation: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(1i32); +pub const NdisRequestTransferData: NDIS_REQUEST_TYPE = NDIS_REQUEST_TYPE(6i32); +pub const NdisReserved: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(4i32); +pub const NdisRingStateClosed: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(2i32); +pub const NdisRingStateClosing: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(4i32); +pub const NdisRingStateOpenFailure: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(5i32); +pub const NdisRingStateOpened: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(1i32); +pub const NdisRingStateOpening: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(3i32); +pub const NdisRingStateRingFailure: NDIS_802_5_RING_STATE = NDIS_802_5_RING_STATE(6i32); +pub const NdisWanErrorControl: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(1i32); +pub const NdisWanHeaderEthernet: NDIS_WAN_HEADER_FORMAT = NDIS_WAN_HEADER_FORMAT(1i32); +pub const NdisWanHeaderNative: NDIS_WAN_HEADER_FORMAT = NDIS_WAN_HEADER_FORMAT(0i32); +pub const NdisWanMediumAgileVPN: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(14i32); +pub const NdisWanMediumAtm: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(5i32); +pub const NdisWanMediumFrameRelay: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(4i32); +pub const NdisWanMediumGre: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(15i32); +pub const NdisWanMediumHub: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(0i32); +pub const NdisWanMediumIrda: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(10i32); +pub const NdisWanMediumIsdn: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(2i32); +pub const NdisWanMediumL2TP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(9i32); +pub const NdisWanMediumPPTP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(8i32); +pub const NdisWanMediumParallel: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(11i32); +pub const NdisWanMediumPppoe: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(12i32); +pub const NdisWanMediumSSTP: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(13i32); +pub const NdisWanMediumSW56K: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(7i32); +pub const NdisWanMediumSerial: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(3i32); +pub const NdisWanMediumSonet: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(6i32); +pub const NdisWanMediumSubTypeMax: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(16i32); +pub const NdisWanMediumX_25: NDIS_WAN_MEDIUM_SUBTYPE = NDIS_WAN_MEDIUM_SUBTYPE(1i32); +pub const NdisWanRaw: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(0i32); +pub const NdisWanReliable: NDIS_WAN_QUALITY = NDIS_WAN_QUALITY(2i32); +pub const OFFLOAD_INBOUND_SA: u32 = 1u32; +pub const OFFLOAD_IPSEC_CONF_3_DES: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(3i32); +pub const OFFLOAD_IPSEC_CONF_DES: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(1i32); +pub const OFFLOAD_IPSEC_CONF_MAX: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(4i32); +pub const OFFLOAD_IPSEC_CONF_NONE: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(0i32); +pub const OFFLOAD_IPSEC_CONF_RESERVED: OFFLOAD_CONF_ALGO = OFFLOAD_CONF_ALGO(2i32); +pub const OFFLOAD_IPSEC_INTEGRITY_MAX: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(3i32); +pub const OFFLOAD_IPSEC_INTEGRITY_MD5: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(1i32); +pub const OFFLOAD_IPSEC_INTEGRITY_NONE: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(0i32); +pub const OFFLOAD_IPSEC_INTEGRITY_SHA: OFFLOAD_INTEGRITY_ALGO = OFFLOAD_INTEGRITY_ALGO(2i32); +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_IKE: UDP_ENCAP_TYPE = UDP_ENCAP_TYPE(0i32); +pub const OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_OTHER: UDP_ENCAP_TYPE = UDP_ENCAP_TYPE(1i32); +pub const OFFLOAD_MAX_SAS: u32 = 3u32; +pub const OFFLOAD_OUTBOUND_SA: u32 = 2u32; +pub const OID_1394_LOCAL_NODE_INFO: u32 = 201392385u32; +pub const OID_1394_VC_INFO: u32 = 201392386u32; +pub const OID_802_11_ADD_KEY: u32 = 218169629u32; +pub const OID_802_11_ADD_WEP: u32 = 218169619u32; +pub const OID_802_11_ASSOCIATION_INFORMATION: u32 = 218169631u32; +pub const OID_802_11_AUTHENTICATION_MODE: u32 = 218169624u32; +pub const OID_802_11_BSSID: u32 = 218169601u32; +pub const OID_802_11_BSSID_LIST: u32 = 218169879u32; +pub const OID_802_11_BSSID_LIST_SCAN: u32 = 218169626u32; +pub const OID_802_11_CAPABILITY: u32 = 218169634u32; +pub const OID_802_11_CONFIGURATION: u32 = 218169873u32; +pub const OID_802_11_DESIRED_RATES: u32 = 218169872u32; +pub const OID_802_11_DISASSOCIATE: u32 = 218169621u32; +pub const OID_802_11_ENCRYPTION_STATUS: u32 = 218169627u32; +pub const OID_802_11_FRAGMENTATION_THRESHOLD: u32 = 218169865u32; +pub const OID_802_11_INFRASTRUCTURE_MODE: u32 = 218169608u32; +pub const OID_802_11_MEDIA_STREAM_MODE: u32 = 218169633u32; +pub const OID_802_11_NETWORK_TYPES_SUPPORTED: u32 = 218169859u32; +pub const OID_802_11_NETWORK_TYPE_IN_USE: u32 = 218169860u32; +pub const OID_802_11_NON_BCAST_SSID_LIST: u32 = 218169636u32; +pub const OID_802_11_NUMBER_OF_ANTENNAS: u32 = 218169867u32; +pub const OID_802_11_PMKID: u32 = 218169635u32; +pub const OID_802_11_POWER_MODE: u32 = 218169878u32; +pub const OID_802_11_PRIVACY_FILTER: u32 = 218169625u32; +pub const OID_802_11_RADIO_STATUS: u32 = 218169637u32; +pub const OID_802_11_RELOAD_DEFAULTS: u32 = 218169628u32; +pub const OID_802_11_REMOVE_KEY: u32 = 218169630u32; +pub const OID_802_11_REMOVE_WEP: u32 = 218169620u32; +pub const OID_802_11_RSSI: u32 = 218169862u32; +pub const OID_802_11_RSSI_TRIGGER: u32 = 218169863u32; +pub const OID_802_11_RTS_THRESHOLD: u32 = 218169866u32; +pub const OID_802_11_RX_ANTENNA_SELECTED: u32 = 218169868u32; +pub const OID_802_11_SSID: u32 = 218169602u32; +pub const OID_802_11_STATISTICS: u32 = 218235410u32; +pub const OID_802_11_SUPPORTED_RATES: u32 = 218169870u32; +pub const OID_802_11_TEST: u32 = 218169632u32; +pub const OID_802_11_TX_ANTENNA_SELECTED: u32 = 218169869u32; +pub const OID_802_11_TX_POWER_LEVEL: u32 = 218169861u32; +pub const OID_802_11_WEP_STATUS: u32 = 218169627u32; +pub const OID_802_3_ADD_MULTICAST_ADDRESS: u32 = 16843272u32; +pub const OID_802_3_CURRENT_ADDRESS: u32 = 16843010u32; +pub const OID_802_3_DELETE_MULTICAST_ADDRESS: u32 = 16843273u32; +pub const OID_802_3_MAC_OPTIONS: u32 = 16843013u32; +pub const OID_802_3_MAXIMUM_LIST_SIZE: u32 = 16843012u32; +pub const OID_802_3_MULTICAST_LIST: u32 = 16843011u32; +pub const OID_802_3_PERMANENT_ADDRESS: u32 = 16843009u32; +pub const OID_802_3_RCV_ERROR_ALIGNMENT: u32 = 16908545u32; +pub const OID_802_3_RCV_OVERRUN: u32 = 16908803u32; +pub const OID_802_3_XMIT_DEFERRED: u32 = 16908801u32; +pub const OID_802_3_XMIT_HEARTBEAT_FAILURE: u32 = 16908805u32; +pub const OID_802_3_XMIT_LATE_COLLISIONS: u32 = 16908807u32; +pub const OID_802_3_XMIT_MAX_COLLISIONS: u32 = 16908802u32; +pub const OID_802_3_XMIT_MORE_COLLISIONS: u32 = 16908547u32; +pub const OID_802_3_XMIT_ONE_COLLISION: u32 = 16908546u32; +pub const OID_802_3_XMIT_TIMES_CRS_LOST: u32 = 16908806u32; +pub const OID_802_3_XMIT_UNDERRUN: u32 = 16908804u32; +pub const OID_802_5_ABORT_DELIMETERS: u32 = 33686019u32; +pub const OID_802_5_AC_ERRORS: u32 = 33686018u32; +pub const OID_802_5_BURST_ERRORS: u32 = 33686017u32; +pub const OID_802_5_CURRENT_ADDRESS: u32 = 33620226u32; +pub const OID_802_5_CURRENT_FUNCTIONAL: u32 = 33620227u32; +pub const OID_802_5_CURRENT_GROUP: u32 = 33620228u32; +pub const OID_802_5_CURRENT_RING_STATE: u32 = 33620231u32; +pub const OID_802_5_CURRENT_RING_STATUS: u32 = 33620230u32; +pub const OID_802_5_FRAME_COPIED_ERRORS: u32 = 33686020u32; +pub const OID_802_5_FREQUENCY_ERRORS: u32 = 33686021u32; +pub const OID_802_5_INTERNAL_ERRORS: u32 = 33686023u32; +pub const OID_802_5_LAST_OPEN_STATUS: u32 = 33620229u32; +pub const OID_802_5_LINE_ERRORS: u32 = 33685761u32; +pub const OID_802_5_LOST_FRAMES: u32 = 33685762u32; +pub const OID_802_5_PERMANENT_ADDRESS: u32 = 33620225u32; +pub const OID_802_5_TOKEN_ERRORS: u32 = 33686022u32; +pub const OID_ARCNET_CURRENT_ADDRESS: u32 = 100729090u32; +pub const OID_ARCNET_PERMANENT_ADDRESS: u32 = 100729089u32; +pub const OID_ARCNET_RECONFIGURATIONS: u32 = 100794881u32; +pub const OID_ATM_ACQUIRE_ACCESS_NET_RESOURCES: u32 = 134283779u32; +pub const OID_ATM_ALIGNMENT_REQUIRED: u32 = 134283784u32; +pub const OID_ATM_ASSIGNED_VPI: u32 = 134283778u32; +pub const OID_ATM_CALL_ALERTING: u32 = 134283788u32; +pub const OID_ATM_CALL_NOTIFY: u32 = 134283790u32; +pub const OID_ATM_CALL_PROCEEDING: u32 = 134283787u32; +pub const OID_ATM_CELLS_HEC_ERROR: u32 = 134349314u32; +pub const OID_ATM_DIGITAL_BROADCAST_VPIVCI: u32 = 134283782u32; +pub const OID_ATM_GET_NEAREST_FLOW: u32 = 134283783u32; +pub const OID_ATM_HW_CURRENT_ADDRESS: u32 = 134283524u32; +pub const OID_ATM_ILMI_VPIVCI: u32 = 134283781u32; +pub const OID_ATM_LECS_ADDRESS: u32 = 134283785u32; +pub const OID_ATM_MAX_AAL0_PACKET_SIZE: u32 = 134283528u32; +pub const OID_ATM_MAX_AAL1_PACKET_SIZE: u32 = 134283529u32; +pub const OID_ATM_MAX_AAL34_PACKET_SIZE: u32 = 134283530u32; +pub const OID_ATM_MAX_AAL5_PACKET_SIZE: u32 = 134283531u32; +pub const OID_ATM_MAX_ACTIVE_VCI_BITS: u32 = 134283526u32; +pub const OID_ATM_MAX_ACTIVE_VCS: u32 = 134283525u32; +pub const OID_ATM_MAX_ACTIVE_VPI_BITS: u32 = 134283527u32; +pub const OID_ATM_MY_IP_NM_ADDRESS: u32 = 134283791u32; +pub const OID_ATM_PARTY_ALERTING: u32 = 134283789u32; +pub const OID_ATM_RCV_CELLS_DROPPED: u32 = 134349059u32; +pub const OID_ATM_RCV_CELLS_OK: u32 = 134349057u32; +pub const OID_ATM_RCV_INVALID_VPI_VCI: u32 = 134349313u32; +pub const OID_ATM_RCV_REASSEMBLY_ERROR: u32 = 134349315u32; +pub const OID_ATM_RELEASE_ACCESS_NET_RESOURCES: u32 = 134283780u32; +pub const OID_ATM_SERVICE_ADDRESS: u32 = 134283786u32; +pub const OID_ATM_SIGNALING_VPIVCI: u32 = 134283777u32; +pub const OID_ATM_SUPPORTED_AAL_TYPES: u32 = 134283523u32; +pub const OID_ATM_SUPPORTED_SERVICE_CATEGORY: u32 = 134283522u32; +pub const OID_ATM_SUPPORTED_VC_RATES: u32 = 134283521u32; +pub const OID_ATM_XMIT_CELLS_OK: u32 = 134349058u32; +pub const OID_CO_ADDRESS_CHANGE: u32 = 4261412871u32; +pub const OID_CO_ADD_ADDRESS: u32 = 4261412868u32; +pub const OID_CO_ADD_PVC: u32 = 4261412865u32; +pub const OID_CO_AF_CLOSE: u32 = 4261412874u32; +pub const OID_CO_DELETE_ADDRESS: u32 = 4261412869u32; +pub const OID_CO_DELETE_PVC: u32 = 4261412866u32; +pub const OID_CO_GET_ADDRESSES: u32 = 4261412870u32; +pub const OID_CO_GET_CALL_INFORMATION: u32 = 4261412867u32; +pub const OID_CO_SIGNALING_DISABLED: u32 = 4261412873u32; +pub const OID_CO_SIGNALING_ENABLED: u32 = 4261412872u32; +pub const OID_CO_TAPI_ADDRESS_CAPS: u32 = 4261416963u32; +pub const OID_CO_TAPI_CM_CAPS: u32 = 4261416961u32; +pub const OID_CO_TAPI_DONT_REPORT_DIGITS: u32 = 4261416969u32; +pub const OID_CO_TAPI_GET_CALL_DIAGNOSTICS: u32 = 4261416967u32; +pub const OID_CO_TAPI_LINE_CAPS: u32 = 4261416962u32; +pub const OID_CO_TAPI_REPORT_DIGITS: u32 = 4261416968u32; +pub const OID_CO_TAPI_TRANSLATE_NDIS_CALLPARAMS: u32 = 4261416965u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_CALLPARAMS: u32 = 4261416964u32; +pub const OID_CO_TAPI_TRANSLATE_TAPI_SAP: u32 = 4261416966u32; +pub const OID_FDDI_ATTACHMENT_TYPE: u32 = 50462977u32; +pub const OID_FDDI_DOWNSTREAM_NODE_LONG: u32 = 50462979u32; +pub const OID_FDDI_FRAMES_LOST: u32 = 50462981u32; +pub const OID_FDDI_FRAME_ERRORS: u32 = 50462980u32; +pub const OID_FDDI_IF_ADMIN_STATUS: u32 = 50528894u32; +pub const OID_FDDI_IF_DESCR: u32 = 50528889u32; +pub const OID_FDDI_IF_IN_DISCARDS: u32 = 50528900u32; +pub const OID_FDDI_IF_IN_ERRORS: u32 = 50528901u32; +pub const OID_FDDI_IF_IN_NUCAST_PKTS: u32 = 50528899u32; +pub const OID_FDDI_IF_IN_OCTETS: u32 = 50528897u32; +pub const OID_FDDI_IF_IN_UCAST_PKTS: u32 = 50528898u32; +pub const OID_FDDI_IF_IN_UNKNOWN_PROTOS: u32 = 50528902u32; +pub const OID_FDDI_IF_LAST_CHANGE: u32 = 50528896u32; +pub const OID_FDDI_IF_MTU: u32 = 50528891u32; +pub const OID_FDDI_IF_OPER_STATUS: u32 = 50528895u32; +pub const OID_FDDI_IF_OUT_DISCARDS: u32 = 50528906u32; +pub const OID_FDDI_IF_OUT_ERRORS: u32 = 50528907u32; +pub const OID_FDDI_IF_OUT_NUCAST_PKTS: u32 = 50528905u32; +pub const OID_FDDI_IF_OUT_OCTETS: u32 = 50528903u32; +pub const OID_FDDI_IF_OUT_QLEN: u32 = 50528908u32; +pub const OID_FDDI_IF_OUT_UCAST_PKTS: u32 = 50528904u32; +pub const OID_FDDI_IF_PHYS_ADDRESS: u32 = 50528893u32; +pub const OID_FDDI_IF_SPECIFIC: u32 = 50528909u32; +pub const OID_FDDI_IF_SPEED: u32 = 50528892u32; +pub const OID_FDDI_IF_TYPE: u32 = 50528890u32; +pub const OID_FDDI_LCONNECTION_STATE: u32 = 50462985u32; +pub const OID_FDDI_LCT_FAILURES: u32 = 50462983u32; +pub const OID_FDDI_LEM_REJECTS: u32 = 50462984u32; +pub const OID_FDDI_LONG_CURRENT_ADDR: u32 = 50397442u32; +pub const OID_FDDI_LONG_MAX_LIST_SIZE: u32 = 50397444u32; +pub const OID_FDDI_LONG_MULTICAST_LIST: u32 = 50397443u32; +pub const OID_FDDI_LONG_PERMANENT_ADDR: u32 = 50397441u32; +pub const OID_FDDI_MAC_AVAILABLE_PATHS: u32 = 50528803u32; +pub const OID_FDDI_MAC_BRIDGE_FUNCTIONS: u32 = 50528800u32; +pub const OID_FDDI_MAC_COPIED_CT: u32 = 50528828u32; +pub const OID_FDDI_MAC_CURRENT_PATH: u32 = 50528804u32; +pub const OID_FDDI_MAC_DA_FLAG: u32 = 50528842u32; +pub const OID_FDDI_MAC_DOWNSTREAM_NBR: u32 = 50528806u32; +pub const OID_FDDI_MAC_DOWNSTREAM_PORT_TYPE: u32 = 50528811u32; +pub const OID_FDDI_MAC_DUP_ADDRESS_TEST: u32 = 50528809u32; +pub const OID_FDDI_MAC_ERROR_CT: u32 = 50528831u32; +pub const OID_FDDI_MAC_FRAME_CT: u32 = 50528827u32; +pub const OID_FDDI_MAC_FRAME_ERROR_FLAG: u32 = 50528844u32; +pub const OID_FDDI_MAC_FRAME_ERROR_RATIO: u32 = 50528838u32; +pub const OID_FDDI_MAC_FRAME_ERROR_THRESHOLD: u32 = 50528837u32; +pub const OID_FDDI_MAC_FRAME_STATUS_FUNCTIONS: u32 = 50528799u32; +pub const OID_FDDI_MAC_HARDWARE_PRESENT: u32 = 50528847u32; +pub const OID_FDDI_MAC_INDEX: u32 = 50528812u32; +pub const OID_FDDI_MAC_LATE_CT: u32 = 50528835u32; +pub const OID_FDDI_MAC_LONG_GRP_ADDRESS: u32 = 50528814u32; +pub const OID_FDDI_MAC_LOST_CT: u32 = 50528832u32; +pub const OID_FDDI_MAC_MA_UNITDATA_AVAILABLE: u32 = 50528846u32; +pub const OID_FDDI_MAC_MA_UNITDATA_ENABLE: u32 = 50528848u32; +pub const OID_FDDI_MAC_NOT_COPIED_CT: u32 = 50528834u32; +pub const OID_FDDI_MAC_NOT_COPIED_FLAG: u32 = 50528845u32; +pub const OID_FDDI_MAC_NOT_COPIED_RATIO: u32 = 50528840u32; +pub const OID_FDDI_MAC_NOT_COPIED_THRESHOLD: u32 = 50528839u32; +pub const OID_FDDI_MAC_OLD_DOWNSTREAM_NBR: u32 = 50528808u32; +pub const OID_FDDI_MAC_OLD_UPSTREAM_NBR: u32 = 50528807u32; +pub const OID_FDDI_MAC_REQUESTED_PATHS: u32 = 50528810u32; +pub const OID_FDDI_MAC_RING_OP_CT: u32 = 50528836u32; +pub const OID_FDDI_MAC_RMT_STATE: u32 = 50528841u32; +pub const OID_FDDI_MAC_SHORT_GRP_ADDRESS: u32 = 50528815u32; +pub const OID_FDDI_MAC_SMT_ADDRESS: u32 = 50528813u32; +pub const OID_FDDI_MAC_TOKEN_CT: u32 = 50528830u32; +pub const OID_FDDI_MAC_TRANSMIT_CT: u32 = 50528829u32; +pub const OID_FDDI_MAC_TVX_CAPABILITY: u32 = 50528802u32; +pub const OID_FDDI_MAC_TVX_EXPIRED_CT: u32 = 50528833u32; +pub const OID_FDDI_MAC_TVX_VALUE: u32 = 50528819u32; +pub const OID_FDDI_MAC_T_MAX: u32 = 50528818u32; +pub const OID_FDDI_MAC_T_MAX_CAPABILITY: u32 = 50528801u32; +pub const OID_FDDI_MAC_T_NEG: u32 = 50528817u32; +pub const OID_FDDI_MAC_T_PRI0: u32 = 50528820u32; +pub const OID_FDDI_MAC_T_PRI1: u32 = 50528821u32; +pub const OID_FDDI_MAC_T_PRI2: u32 = 50528822u32; +pub const OID_FDDI_MAC_T_PRI3: u32 = 50528823u32; +pub const OID_FDDI_MAC_T_PRI4: u32 = 50528824u32; +pub const OID_FDDI_MAC_T_PRI5: u32 = 50528825u32; +pub const OID_FDDI_MAC_T_PRI6: u32 = 50528826u32; +pub const OID_FDDI_MAC_T_REQ: u32 = 50528816u32; +pub const OID_FDDI_MAC_UNDA_FLAG: u32 = 50528843u32; +pub const OID_FDDI_MAC_UPSTREAM_NBR: u32 = 50528805u32; +pub const OID_FDDI_PATH_CONFIGURATION: u32 = 50528854u32; +pub const OID_FDDI_PATH_INDEX: u32 = 50528849u32; +pub const OID_FDDI_PATH_MAX_T_REQ: u32 = 50528859u32; +pub const OID_FDDI_PATH_RING_LATENCY: u32 = 50528850u32; +pub const OID_FDDI_PATH_SBA_AVAILABLE: u32 = 50528856u32; +pub const OID_FDDI_PATH_SBA_OVERHEAD: u32 = 50528853u32; +pub const OID_FDDI_PATH_SBA_PAYLOAD: u32 = 50528852u32; +pub const OID_FDDI_PATH_TRACE_STATUS: u32 = 50528851u32; +pub const OID_FDDI_PATH_TVX_LOWER_BOUND: u32 = 50528857u32; +pub const OID_FDDI_PATH_T_MAX_LOWER_BOUND: u32 = 50528858u32; +pub const OID_FDDI_PATH_T_R_MODE: u32 = 50528855u32; +pub const OID_FDDI_PORT_ACTION: u32 = 50528888u32; +pub const OID_FDDI_PORT_AVAILABLE_PATHS: u32 = 50528867u32; +pub const OID_FDDI_PORT_BS_FLAG: u32 = 50528873u32; +pub const OID_FDDI_PORT_CONNECTION_CAPABILITIES: u32 = 50528870u32; +pub const OID_FDDI_PORT_CONNECTION_POLICIES: u32 = 50528862u32; +pub const OID_FDDI_PORT_CONNNECT_STATE: u32 = 50528882u32; +pub const OID_FDDI_PORT_CURRENT_PATH: u32 = 50528864u32; +pub const OID_FDDI_PORT_EB_ERROR_CT: u32 = 50528875u32; +pub const OID_FDDI_PORT_HARDWARE_PRESENT: u32 = 50528886u32; +pub const OID_FDDI_PORT_INDEX: u32 = 50528871u32; +pub const OID_FDDI_PORT_LCT_FAIL_CT: u32 = 50528876u32; +pub const OID_FDDI_PORT_LEM_CT: u32 = 50528879u32; +pub const OID_FDDI_PORT_LEM_REJECT_CT: u32 = 50528878u32; +pub const OID_FDDI_PORT_LER_ALARM: u32 = 50528881u32; +pub const OID_FDDI_PORT_LER_CUTOFF: u32 = 50528880u32; +pub const OID_FDDI_PORT_LER_ESTIMATE: u32 = 50528877u32; +pub const OID_FDDI_PORT_LER_FLAG: u32 = 50528885u32; +pub const OID_FDDI_PORT_MAC_INDICATED: u32 = 50528863u32; +pub const OID_FDDI_PORT_MAC_LOOP_TIME: u32 = 50528868u32; +pub const OID_FDDI_PORT_MAC_PLACEMENT: u32 = 50528866u32; +pub const OID_FDDI_PORT_MAINT_LS: u32 = 50528872u32; +pub const OID_FDDI_PORT_MY_TYPE: u32 = 50528860u32; +pub const OID_FDDI_PORT_NEIGHBOR_TYPE: u32 = 50528861u32; +pub const OID_FDDI_PORT_PCM_STATE: u32 = 50528883u32; +pub const OID_FDDI_PORT_PC_LS: u32 = 50528874u32; +pub const OID_FDDI_PORT_PC_WITHHOLD: u32 = 50528884u32; +pub const OID_FDDI_PORT_PMD_CLASS: u32 = 50528869u32; +pub const OID_FDDI_PORT_REQUESTED_PATHS: u32 = 50528865u32; +pub const OID_FDDI_RING_MGT_STATE: u32 = 50462982u32; +pub const OID_FDDI_SHORT_CURRENT_ADDR: u32 = 50397446u32; +pub const OID_FDDI_SHORT_MAX_LIST_SIZE: u32 = 50397448u32; +pub const OID_FDDI_SHORT_MULTICAST_LIST: u32 = 50397447u32; +pub const OID_FDDI_SHORT_PERMANENT_ADDR: u32 = 50397445u32; +pub const OID_FDDI_SMT_AVAILABLE_PATHS: u32 = 50528779u32; +pub const OID_FDDI_SMT_BYPASS_PRESENT: u32 = 50528788u32; +pub const OID_FDDI_SMT_CF_STATE: u32 = 50528790u32; +pub const OID_FDDI_SMT_CONFIG_CAPABILITIES: u32 = 50528780u32; +pub const OID_FDDI_SMT_CONFIG_POLICY: u32 = 50528781u32; +pub const OID_FDDI_SMT_CONNECTION_POLICY: u32 = 50528782u32; +pub const OID_FDDI_SMT_ECM_STATE: u32 = 50528789u32; +pub const OID_FDDI_SMT_HI_VERSION_ID: u32 = 50528771u32; +pub const OID_FDDI_SMT_HOLD_STATE: u32 = 50528791u32; +pub const OID_FDDI_SMT_LAST_SET_STATION_ID: u32 = 50528798u32; +pub const OID_FDDI_SMT_LO_VERSION_ID: u32 = 50528772u32; +pub const OID_FDDI_SMT_MAC_CT: u32 = 50528776u32; +pub const OID_FDDI_SMT_MAC_INDEXES: u32 = 50528787u32; +pub const OID_FDDI_SMT_MANUFACTURER_DATA: u32 = 50528773u32; +pub const OID_FDDI_SMT_MASTER_CT: u32 = 50528778u32; +pub const OID_FDDI_SMT_MIB_VERSION_ID: u32 = 50528775u32; +pub const OID_FDDI_SMT_MSG_TIME_STAMP: u32 = 50528795u32; +pub const OID_FDDI_SMT_NON_MASTER_CT: u32 = 50528777u32; +pub const OID_FDDI_SMT_OP_VERSION_ID: u32 = 50528770u32; +pub const OID_FDDI_SMT_PEER_WRAP_FLAG: u32 = 50528794u32; +pub const OID_FDDI_SMT_PORT_INDEXES: u32 = 50528786u32; +pub const OID_FDDI_SMT_REMOTE_DISCONNECT_FLAG: u32 = 50528792u32; +pub const OID_FDDI_SMT_SET_COUNT: u32 = 50528797u32; +pub const OID_FDDI_SMT_STATION_ACTION: u32 = 50528887u32; +pub const OID_FDDI_SMT_STATION_ID: u32 = 50528769u32; +pub const OID_FDDI_SMT_STATION_STATUS: u32 = 50528793u32; +pub const OID_FDDI_SMT_STAT_RPT_POLICY: u32 = 50528784u32; +pub const OID_FDDI_SMT_TRACE_MAX_EXPIRATION: u32 = 50528785u32; +pub const OID_FDDI_SMT_TRANSITION_TIME_STAMP: u32 = 50528796u32; +pub const OID_FDDI_SMT_T_NOTIFY: u32 = 50528783u32; +pub const OID_FDDI_SMT_USER_DATA: u32 = 50528774u32; +pub const OID_FDDI_UPSTREAM_NODE_LONG: u32 = 50462978u32; +pub const OID_FFP_ADAPTER_STATS: u32 = 4227990033u32; +pub const OID_FFP_CONTROL: u32 = 4227924498u32; +pub const OID_FFP_DATA: u32 = 4227924500u32; +pub const OID_FFP_DRIVER_STATS: u32 = 4227990032u32; +pub const OID_FFP_FLUSH: u32 = 4227924497u32; +pub const OID_FFP_PARAMS: u32 = 4227924499u32; +pub const OID_FFP_SUPPORT: u32 = 4227924496u32; +pub const OID_GEN_ADMIN_STATUS: u32 = 66184u32; +pub const OID_GEN_ALIAS: u32 = 66185u32; +pub const OID_GEN_BROADCAST_BYTES_RCV: u32 = 131595u32; +pub const OID_GEN_BROADCAST_BYTES_XMIT: u32 = 131589u32; +pub const OID_GEN_BROADCAST_FRAMES_RCV: u32 = 131596u32; +pub const OID_GEN_BROADCAST_FRAMES_XMIT: u32 = 131590u32; +pub const OID_GEN_BYTES_RCV: u32 = 131609u32; +pub const OID_GEN_BYTES_XMIT: u32 = 131610u32; +pub const OID_GEN_CO_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_CO_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_CO_BYTES_XMIT_OUTSTANDING: u32 = 131617u32; +pub const OID_GEN_CO_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_CO_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_CO_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_CO_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_CO_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_CO_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_CO_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_CO_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_CO_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_CO_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_CO_MINIMUM_LINK_SPEED: u32 = 131360u32; +pub const OID_GEN_CO_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_CO_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_CO_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_CO_RCV_PDUS_ERROR: u32 = 131332u32; +pub const OID_GEN_CO_RCV_PDUS_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_CO_RCV_PDUS_OK: u32 = 131330u32; +pub const OID_GEN_CO_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_CO_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_CO_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_CO_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_CO_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_CO_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_CO_XMIT_PDUS_ERROR: u32 = 131331u32; +pub const OID_GEN_CO_XMIT_PDUS_OK: u32 = 131329u32; +pub const OID_GEN_CURRENT_LOOKAHEAD: u32 = 65807u32; +pub const OID_GEN_CURRENT_PACKET_FILTER: u32 = 65806u32; +pub const OID_GEN_DEVICE_PROFILE: u32 = 131602u32; +pub const OID_GEN_DIRECTED_BYTES_RCV: u32 = 131591u32; +pub const OID_GEN_DIRECTED_BYTES_XMIT: u32 = 131585u32; +pub const OID_GEN_DIRECTED_FRAMES_RCV: u32 = 131592u32; +pub const OID_GEN_DIRECTED_FRAMES_XMIT: u32 = 131586u32; +pub const OID_GEN_DISCONTINUITY_TIME: u32 = 66178u32; +pub const OID_GEN_DRIVER_VERSION: u32 = 65808u32; +pub const OID_GEN_ENUMERATE_PORTS: u32 = 66061u32; +pub const OID_GEN_FRIENDLY_NAME: u32 = 131606u32; +pub const OID_GEN_GET_NETCARD_TIME: u32 = 131600u32; +pub const OID_GEN_GET_TIME_CAPS: u32 = 131599u32; +pub const OID_GEN_HARDWARE_STATUS: u32 = 65794u32; +pub const OID_GEN_HD_SPLIT_CURRENT_CONFIG: u32 = 66080u32; +pub const OID_GEN_HD_SPLIT_PARAMETERS: u32 = 66078u32; +pub const OID_GEN_INIT_TIME_MS: u32 = 131603u32; +pub const OID_GEN_INTERFACE_INFO: u32 = 66183u32; +pub const OID_GEN_INTERRUPT_MODERATION: u32 = 66057u32; +pub const OID_GEN_IP_OPER_STATUS: u32 = 66189u32; +pub const OID_GEN_ISOLATION_PARAMETERS: u32 = 66304u32; +pub const OID_GEN_LAST_CHANGE: u32 = 66177u32; +pub const OID_GEN_LINK_PARAMETERS: u32 = 66056u32; +pub const OID_GEN_LINK_SPEED: u32 = 65799u32; +pub const OID_GEN_LINK_SPEED_EX: u32 = 66187u32; +pub const OID_GEN_LINK_STATE: u32 = 66055u32; +pub const OID_GEN_MACHINE_NAME: u32 = 66074u32; +pub const OID_GEN_MAC_ADDRESS: u32 = 66053u32; +pub const OID_GEN_MAC_OPTIONS: u32 = 65811u32; +pub const OID_GEN_MAXIMUM_FRAME_SIZE: u32 = 65798u32; +pub const OID_GEN_MAXIMUM_LOOKAHEAD: u32 = 65797u32; +pub const OID_GEN_MAXIMUM_SEND_PACKETS: u32 = 65813u32; +pub const OID_GEN_MAXIMUM_TOTAL_SIZE: u32 = 65809u32; +pub const OID_GEN_MAX_LINK_SPEED: u32 = 66054u32; +pub const OID_GEN_MEDIA_CAPABILITIES: u32 = 66049u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS: u32 = 65812u32; +pub const OID_GEN_MEDIA_CONNECT_STATUS_EX: u32 = 66186u32; +pub const OID_GEN_MEDIA_DUPLEX_STATE: u32 = 66188u32; +pub const OID_GEN_MEDIA_IN_USE: u32 = 65796u32; +pub const OID_GEN_MEDIA_SENSE_COUNTS: u32 = 131605u32; +pub const OID_GEN_MEDIA_SUPPORTED: u32 = 65795u32; +pub const OID_GEN_MINIPORT_RESTART_ATTRIBUTES: u32 = 66077u32; +pub const OID_GEN_MULTICAST_BYTES_RCV: u32 = 131593u32; +pub const OID_GEN_MULTICAST_BYTES_XMIT: u32 = 131587u32; +pub const OID_GEN_MULTICAST_FRAMES_RCV: u32 = 131594u32; +pub const OID_GEN_MULTICAST_FRAMES_XMIT: u32 = 131588u32; +pub const OID_GEN_NDIS_RESERVED_1: u32 = 131607u32; +pub const OID_GEN_NDIS_RESERVED_2: u32 = 131608u32; +pub const OID_GEN_NDIS_RESERVED_3: u32 = 66058u32; +pub const OID_GEN_NDIS_RESERVED_4: u32 = 66059u32; +pub const OID_GEN_NDIS_RESERVED_5: u32 = 66060u32; +pub const OID_GEN_NDIS_RESERVED_6: u32 = 66066u32; +pub const OID_GEN_NDIS_RESERVED_7: u32 = 131614u32; +pub const OID_GEN_NETCARD_LOAD: u32 = 131601u32; +pub const OID_GEN_NETWORK_LAYER_ADDRESSES: u32 = 65816u32; +pub const OID_GEN_OPERATIONAL_STATUS: u32 = 66179u32; +pub const OID_GEN_PACKET_MONITOR: u32 = 66257u32; +pub const OID_GEN_PCI_DEVICE_CUSTOM_PROPERTIES: u32 = 66065u32; +pub const OID_GEN_PHYSICAL_MEDIUM: u32 = 66050u32; +pub const OID_GEN_PHYSICAL_MEDIUM_EX: u32 = 66067u32; +pub const OID_GEN_PORT_AUTHENTICATION_PARAMETERS: u32 = 66063u32; +pub const OID_GEN_PORT_STATE: u32 = 66062u32; +pub const OID_GEN_PROMISCUOUS_MODE: u32 = 66176u32; +pub const OID_GEN_PROTOCOL_OPTIONS: u32 = 65810u32; +pub const OID_GEN_RCV_CRC_ERROR: u32 = 131597u32; +pub const OID_GEN_RCV_DISCARDS: u32 = 131611u32; +pub const OID_GEN_RCV_ERROR: u32 = 131332u32; +pub const OID_GEN_RCV_LINK_SPEED: u32 = 66181u32; +pub const OID_GEN_RCV_NO_BUFFER: u32 = 131333u32; +pub const OID_GEN_RCV_OK: u32 = 131330u32; +pub const OID_GEN_RECEIVE_BLOCK_SIZE: u32 = 65803u32; +pub const OID_GEN_RECEIVE_BUFFER_SPACE: u32 = 65801u32; +pub const OID_GEN_RECEIVE_HASH: u32 = 66079u32; +pub const OID_GEN_RECEIVE_SCALE_CAPABILITIES: u32 = 66051u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS: u32 = 66052u32; +pub const OID_GEN_RECEIVE_SCALE_PARAMETERS_V2: u32 = 66068u32; +pub const OID_GEN_RESET_COUNTS: u32 = 131604u32; +pub const OID_GEN_RNDIS_CONFIG_PARAMETER: u32 = 66075u32; +pub const OID_GEN_RSS_SET_INDIRECTION_TABLE_ENTRIES: u32 = 66240u32; +pub const OID_GEN_STATISTICS: u32 = 131334u32; +pub const OID_GEN_SUPPORTED_GUIDS: u32 = 65815u32; +pub const OID_GEN_SUPPORTED_LIST: u32 = 65793u32; +pub const OID_GEN_TIMEOUT_DPC_REQUEST_CAPABILITIES: u32 = 66064u32; +pub const OID_GEN_TRANSMIT_BLOCK_SIZE: u32 = 65802u32; +pub const OID_GEN_TRANSMIT_BUFFER_SPACE: u32 = 65800u32; +pub const OID_GEN_TRANSMIT_QUEUE_LENGTH: u32 = 131598u32; +pub const OID_GEN_TRANSPORT_HEADER_OFFSET: u32 = 65817u32; +pub const OID_GEN_UNKNOWN_PROTOS: u32 = 66182u32; +pub const OID_GEN_VENDOR_DESCRIPTION: u32 = 65805u32; +pub const OID_GEN_VENDOR_DRIVER_VERSION: u32 = 65814u32; +pub const OID_GEN_VENDOR_ID: u32 = 65804u32; +pub const OID_GEN_VLAN_ID: u32 = 66076u32; +pub const OID_GEN_XMIT_DISCARDS: u32 = 131612u32; +pub const OID_GEN_XMIT_ERROR: u32 = 131331u32; +pub const OID_GEN_XMIT_LINK_SPEED: u32 = 66180u32; +pub const OID_GEN_XMIT_OK: u32 = 131329u32; +pub const OID_GFT_ACTIVATE_FLOW_ENTRIES: u32 = 66575u32; +pub const OID_GFT_ADD_FLOW_ENTRIES: u32 = 66572u32; +pub const OID_GFT_ALLOCATE_COUNTERS: u32 = 66567u32; +pub const OID_GFT_COUNTER_VALUES: u32 = 66570u32; +pub const OID_GFT_CREATE_LOGICAL_VPORT: u32 = 66584u32; +pub const OID_GFT_CREATE_TABLE: u32 = 66564u32; +pub const OID_GFT_CURRENT_CAPABILITIES: u32 = 66562u32; +pub const OID_GFT_DEACTIVATE_FLOW_ENTRIES: u32 = 66576u32; +pub const OID_GFT_DELETE_FLOW_ENTRIES: u32 = 66573u32; +pub const OID_GFT_DELETE_LOGICAL_VPORT: u32 = 66585u32; +pub const OID_GFT_DELETE_PROFILE: u32 = 66582u32; +pub const OID_GFT_DELETE_TABLE: u32 = 66565u32; +pub const OID_GFT_ENUM_COUNTERS: u32 = 66569u32; +pub const OID_GFT_ENUM_FLOW_ENTRIES: u32 = 66574u32; +pub const OID_GFT_ENUM_LOGICAL_VPORTS: u32 = 66586u32; +pub const OID_GFT_ENUM_PROFILES: u32 = 66581u32; +pub const OID_GFT_ENUM_TABLES: u32 = 66566u32; +pub const OID_GFT_EXACT_MATCH_PROFILE: u32 = 66578u32; +pub const OID_GFT_FLOW_ENTRY_PARAMETERS: u32 = 66577u32; +pub const OID_GFT_FREE_COUNTERS: u32 = 66568u32; +pub const OID_GFT_GLOBAL_PARAMETERS: u32 = 66563u32; +pub const OID_GFT_HARDWARE_CAPABILITIES: u32 = 66561u32; +pub const OID_GFT_HEADER_TRANSPOSITION_PROFILE: u32 = 66579u32; +pub const OID_GFT_STATISTICS: u32 = 66571u32; +pub const OID_GFT_VPORT_PARAMETERS: u32 = 66583u32; +pub const OID_GFT_WILDCARD_MATCH_PROFILE: u32 = 66580u32; +pub const OID_IP4_OFFLOAD_STATS: u32 = 4227924489u32; +pub const OID_IP6_OFFLOAD_STATS: u32 = 4227924490u32; +pub const OID_IRDA_EXTRA_RCV_BOFS: u32 = 167838208u32; +pub const OID_IRDA_LINK_SPEED: u32 = 167837955u32; +pub const OID_IRDA_MAX_RECEIVE_WINDOW_SIZE: u32 = 167838212u32; +pub const OID_IRDA_MAX_SEND_WINDOW_SIZE: u32 = 167838213u32; +pub const OID_IRDA_MAX_UNICAST_LIST_SIZE: u32 = 167838211u32; +pub const OID_IRDA_MEDIA_BUSY: u32 = 167837956u32; +pub const OID_IRDA_RATE_SNIFF: u32 = 167838209u32; +pub const OID_IRDA_RECEIVING: u32 = 167837952u32; +pub const OID_IRDA_RESERVED1: u32 = 167838218u32; +pub const OID_IRDA_RESERVED2: u32 = 167838223u32; +pub const OID_IRDA_SUPPORTED_SPEEDS: u32 = 167837954u32; +pub const OID_IRDA_TURNAROUND_TIME: u32 = 167837953u32; +pub const OID_IRDA_UNICAST_LIST: u32 = 167838210u32; +pub const OID_KDNET_ADD_PF: u32 = 131619u32; +pub const OID_KDNET_ENUMERATE_PFS: u32 = 131618u32; +pub const OID_KDNET_QUERY_PF_INFORMATION: u32 = 131621u32; +pub const OID_KDNET_REMOVE_PF: u32 = 131620u32; +pub const OID_LTALK_COLLISIONS: u32 = 84017666u32; +pub const OID_LTALK_CURRENT_NODE_ID: u32 = 83951874u32; +pub const OID_LTALK_DEFERS: u32 = 84017667u32; +pub const OID_LTALK_FCS_ERRORS: u32 = 84017670u32; +pub const OID_LTALK_IN_BROADCASTS: u32 = 84017409u32; +pub const OID_LTALK_IN_LENGTH_ERRORS: u32 = 84017410u32; +pub const OID_LTALK_NO_DATA_ERRORS: u32 = 84017668u32; +pub const OID_LTALK_OUT_NO_HANDLERS: u32 = 84017665u32; +pub const OID_LTALK_RANDOM_CTS_ERRORS: u32 = 84017669u32; +pub const OID_NDK_CONNECTIONS: u32 = 4228121091u32; +pub const OID_NDK_LOCAL_ENDPOINTS: u32 = 4228121092u32; +pub const OID_NDK_SET_STATE: u32 = 4228121089u32; +pub const OID_NDK_STATISTICS: u32 = 4228121090u32; +pub const OID_NIC_SWITCH_ALLOCATE_VF: u32 = 66117u32; +pub const OID_NIC_SWITCH_CREATE_SWITCH: u32 = 66103u32; +pub const OID_NIC_SWITCH_CREATE_VPORT: u32 = 66113u32; +pub const OID_NIC_SWITCH_CURRENT_CAPABILITIES: u32 = 66095u32; +pub const OID_NIC_SWITCH_DELETE_SWITCH: u32 = 66105u32; +pub const OID_NIC_SWITCH_DELETE_VPORT: u32 = 66116u32; +pub const OID_NIC_SWITCH_ENUM_SWITCHES: u32 = 66112u32; +pub const OID_NIC_SWITCH_ENUM_VFS: u32 = 66120u32; +pub const OID_NIC_SWITCH_ENUM_VPORTS: u32 = 66115u32; +pub const OID_NIC_SWITCH_FREE_VF: u32 = 66118u32; +pub const OID_NIC_SWITCH_HARDWARE_CAPABILITIES: u32 = 66094u32; +pub const OID_NIC_SWITCH_PARAMETERS: u32 = 66104u32; +pub const OID_NIC_SWITCH_VF_PARAMETERS: u32 = 66119u32; +pub const OID_NIC_SWITCH_VPORT_PARAMETERS: u32 = 66114u32; +pub const OID_OFFLOAD_ENCAPSULATION: u32 = 16843018u32; +pub const OID_PACKET_COALESCING_FILTER_MATCH_COUNT: u32 = 66101u32; +pub const OID_PD_CLOSE_PROVIDER: u32 = 66818u32; +pub const OID_PD_OPEN_PROVIDER: u32 = 66817u32; +pub const OID_PD_QUERY_CURRENT_CONFIG: u32 = 66819u32; +pub const OID_PM_ADD_PROTOCOL_OFFLOAD: u32 = 4244701453u32; +pub const OID_PM_ADD_WOL_PATTERN: u32 = 4244701450u32; +pub const OID_PM_CURRENT_CAPABILITIES: u32 = 4244701447u32; +pub const OID_PM_GET_PROTOCOL_OFFLOAD: u32 = 4244701454u32; +pub const OID_PM_HARDWARE_CAPABILITIES: u32 = 4244701448u32; +pub const OID_PM_PARAMETERS: u32 = 4244701449u32; +pub const OID_PM_PROTOCOL_OFFLOAD_LIST: u32 = 4244701456u32; +pub const OID_PM_REMOVE_PROTOCOL_OFFLOAD: u32 = 4244701455u32; +pub const OID_PM_REMOVE_WOL_PATTERN: u32 = 4244701451u32; +pub const OID_PM_RESERVED_1: u32 = 4244701457u32; +pub const OID_PM_WOL_PATTERN_LIST: u32 = 4244701452u32; +pub const OID_PNP_ADD_WAKE_UP_PATTERN: u32 = 4244701443u32; +pub const OID_PNP_CAPABILITIES: u32 = 4244701440u32; +pub const OID_PNP_ENABLE_WAKE_UP: u32 = 4244701446u32; +pub const OID_PNP_QUERY_POWER: u32 = 4244701442u32; +pub const OID_PNP_REMOVE_WAKE_UP_PATTERN: u32 = 4244701444u32; +pub const OID_PNP_SET_POWER: u32 = 4244701441u32; +pub const OID_PNP_WAKE_UP_ERROR: u32 = 4244767233u32; +pub const OID_PNP_WAKE_UP_OK: u32 = 4244767232u32; +pub const OID_PNP_WAKE_UP_PATTERN_LIST: u32 = 4244701445u32; +pub const OID_QOS_CURRENT_CAPABILITIES: u32 = 4228186114u32; +pub const OID_QOS_HARDWARE_CAPABILITIES: u32 = 4228186113u32; +pub const OID_QOS_OFFLOAD_CREATE_SQ: u32 = 67075u32; +pub const OID_QOS_OFFLOAD_CURRENT_CAPABILITIES: u32 = 67074u32; +pub const OID_QOS_OFFLOAD_DELETE_SQ: u32 = 67076u32; +pub const OID_QOS_OFFLOAD_ENUM_SQS: u32 = 67078u32; +pub const OID_QOS_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 67073u32; +pub const OID_QOS_OFFLOAD_SQ_STATS: u32 = 67079u32; +pub const OID_QOS_OFFLOAD_UPDATE_SQ: u32 = 67077u32; +pub const OID_QOS_OPERATIONAL_PARAMETERS: u32 = 4228186116u32; +pub const OID_QOS_PARAMETERS: u32 = 4228186115u32; +pub const OID_QOS_REMOTE_PARAMETERS: u32 = 4228186117u32; +pub const OID_QOS_RESERVED1: u32 = 4211147008u32; +pub const OID_QOS_RESERVED10: u32 = 4211147017u32; +pub const OID_QOS_RESERVED11: u32 = 4211147018u32; +pub const OID_QOS_RESERVED12: u32 = 4211147019u32; +pub const OID_QOS_RESERVED13: u32 = 4211147020u32; +pub const OID_QOS_RESERVED14: u32 = 4211147021u32; +pub const OID_QOS_RESERVED15: u32 = 4211147022u32; +pub const OID_QOS_RESERVED16: u32 = 4211147023u32; +pub const OID_QOS_RESERVED17: u32 = 4211147024u32; +pub const OID_QOS_RESERVED18: u32 = 4211147025u32; +pub const OID_QOS_RESERVED19: u32 = 4211147026u32; +pub const OID_QOS_RESERVED2: u32 = 4211147009u32; +pub const OID_QOS_RESERVED20: u32 = 4211147027u32; +pub const OID_QOS_RESERVED3: u32 = 4211147010u32; +pub const OID_QOS_RESERVED4: u32 = 4211147011u32; +pub const OID_QOS_RESERVED5: u32 = 4211147012u32; +pub const OID_QOS_RESERVED6: u32 = 4211147013u32; +pub const OID_QOS_RESERVED7: u32 = 4211147014u32; +pub const OID_QOS_RESERVED8: u32 = 4211147015u32; +pub const OID_QOS_RESERVED9: u32 = 4211147016u32; +pub const OID_RECEIVE_FILTER_ALLOCATE_QUEUE: u32 = 66083u32; +pub const OID_RECEIVE_FILTER_CLEAR_FILTER: u32 = 66088u32; +pub const OID_RECEIVE_FILTER_CURRENT_CAPABILITIES: u32 = 66093u32; +pub const OID_RECEIVE_FILTER_ENUM_FILTERS: u32 = 66089u32; +pub const OID_RECEIVE_FILTER_ENUM_QUEUES: u32 = 66085u32; +pub const OID_RECEIVE_FILTER_FREE_QUEUE: u32 = 66084u32; +pub const OID_RECEIVE_FILTER_GLOBAL_PARAMETERS: u32 = 66082u32; +pub const OID_RECEIVE_FILTER_HARDWARE_CAPABILITIES: u32 = 66081u32; +pub const OID_RECEIVE_FILTER_MOVE_FILTER: u32 = 66096u32; +pub const OID_RECEIVE_FILTER_PARAMETERS: u32 = 66090u32; +pub const OID_RECEIVE_FILTER_QUEUE_ALLOCATION_COMPLETE: u32 = 66091u32; +pub const OID_RECEIVE_FILTER_QUEUE_PARAMETERS: u32 = 66086u32; +pub const OID_RECEIVE_FILTER_SET_FILTER: u32 = 66087u32; +pub const OID_SRIOV_BAR_RESOURCES: u32 = 66137u32; +pub const OID_SRIOV_CONFIG_STATE: u32 = 66145u32; +pub const OID_SRIOV_CURRENT_CAPABILITIES: u32 = 66128u32; +pub const OID_SRIOV_HARDWARE_CAPABILITIES: u32 = 66121u32; +pub const OID_SRIOV_OVERLYING_ADAPTER_INFO: u32 = 66152u32; +pub const OID_SRIOV_PF_LUID: u32 = 66144u32; +pub const OID_SRIOV_PROBED_BARS: u32 = 66136u32; +pub const OID_SRIOV_READ_VF_CONFIG_BLOCK: u32 = 66131u32; +pub const OID_SRIOV_READ_VF_CONFIG_SPACE: u32 = 66129u32; +pub const OID_SRIOV_RESET_VF: u32 = 66133u32; +pub const OID_SRIOV_SET_VF_POWER_STATE: u32 = 66134u32; +pub const OID_SRIOV_VF_INVALIDATE_CONFIG_BLOCK: u32 = 66153u32; +pub const OID_SRIOV_VF_SERIAL_NUMBER: u32 = 66146u32; +pub const OID_SRIOV_VF_VENDOR_DEVICE_ID: u32 = 66135u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_BLOCK: u32 = 66132u32; +pub const OID_SRIOV_WRITE_VF_CONFIG_SPACE: u32 = 66130u32; +pub const OID_SWITCH_FEATURE_STATUS_QUERY: u32 = 66151u32; +pub const OID_SWITCH_NIC_ARRAY: u32 = 66167u32; +pub const OID_SWITCH_NIC_CONNECT: u32 = 66171u32; +pub const OID_SWITCH_NIC_CREATE: u32 = 66170u32; +pub const OID_SWITCH_NIC_DELETE: u32 = 66173u32; +pub const OID_SWITCH_NIC_DIRECT_REQUEST: u32 = 66198u32; +pub const OID_SWITCH_NIC_DISCONNECT: u32 = 66172u32; +pub const OID_SWITCH_NIC_REQUEST: u32 = 66160u32; +pub const OID_SWITCH_NIC_RESTORE: u32 = 66194u32; +pub const OID_SWITCH_NIC_RESTORE_COMPLETE: u32 = 66195u32; +pub const OID_SWITCH_NIC_RESUME: u32 = 66200u32; +pub const OID_SWITCH_NIC_SAVE: u32 = 66192u32; +pub const OID_SWITCH_NIC_SAVE_COMPLETE: u32 = 66193u32; +pub const OID_SWITCH_NIC_SUSPEND: u32 = 66199u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_FINISHED: u32 = 66202u32; +pub const OID_SWITCH_NIC_SUSPENDED_LM_SOURCE_STARTED: u32 = 66201u32; +pub const OID_SWITCH_NIC_UPDATED: u32 = 66196u32; +pub const OID_SWITCH_PARAMETERS: u32 = 66165u32; +pub const OID_SWITCH_PORT_ARRAY: u32 = 66166u32; +pub const OID_SWITCH_PORT_CREATE: u32 = 66168u32; +pub const OID_SWITCH_PORT_DELETE: u32 = 66169u32; +pub const OID_SWITCH_PORT_FEATURE_STATUS_QUERY: u32 = 66174u32; +pub const OID_SWITCH_PORT_PROPERTY_ADD: u32 = 66161u32; +pub const OID_SWITCH_PORT_PROPERTY_DELETE: u32 = 66163u32; +pub const OID_SWITCH_PORT_PROPERTY_ENUM: u32 = 66164u32; +pub const OID_SWITCH_PORT_PROPERTY_UPDATE: u32 = 66162u32; +pub const OID_SWITCH_PORT_TEARDOWN: u32 = 66175u32; +pub const OID_SWITCH_PORT_UPDATED: u32 = 66197u32; +pub const OID_SWITCH_PROPERTY_ADD: u32 = 66147u32; +pub const OID_SWITCH_PROPERTY_DELETE: u32 = 66149u32; +pub const OID_SWITCH_PROPERTY_ENUM: u32 = 66150u32; +pub const OID_SWITCH_PROPERTY_UPDATE: u32 = 66148u32; +pub const OID_TAPI_ACCEPT: u32 = 117637377u32; +pub const OID_TAPI_ANSWER: u32 = 117637378u32; +pub const OID_TAPI_CLOSE: u32 = 117637379u32; +pub const OID_TAPI_CLOSE_CALL: u32 = 117637380u32; +pub const OID_TAPI_CONDITIONAL_MEDIA_DETECTION: u32 = 117637381u32; +pub const OID_TAPI_CONFIG_DIALOG: u32 = 117637382u32; +pub const OID_TAPI_DEV_SPECIFIC: u32 = 117637383u32; +pub const OID_TAPI_DIAL: u32 = 117637384u32; +pub const OID_TAPI_DROP: u32 = 117637385u32; +pub const OID_TAPI_GATHER_DIGITS: u32 = 117637411u32; +pub const OID_TAPI_GET_ADDRESS_CAPS: u32 = 117637386u32; +pub const OID_TAPI_GET_ADDRESS_ID: u32 = 117637387u32; +pub const OID_TAPI_GET_ADDRESS_STATUS: u32 = 117637388u32; +pub const OID_TAPI_GET_CALL_ADDRESS_ID: u32 = 117637389u32; +pub const OID_TAPI_GET_CALL_INFO: u32 = 117637390u32; +pub const OID_TAPI_GET_CALL_STATUS: u32 = 117637391u32; +pub const OID_TAPI_GET_DEV_CAPS: u32 = 117637392u32; +pub const OID_TAPI_GET_DEV_CONFIG: u32 = 117637393u32; +pub const OID_TAPI_GET_EXTENSION_ID: u32 = 117637394u32; +pub const OID_TAPI_GET_ID: u32 = 117637395u32; +pub const OID_TAPI_GET_LINE_DEV_STATUS: u32 = 117637396u32; +pub const OID_TAPI_MAKE_CALL: u32 = 117637397u32; +pub const OID_TAPI_MONITOR_DIGITS: u32 = 117637412u32; +pub const OID_TAPI_NEGOTIATE_EXT_VERSION: u32 = 117637398u32; +pub const OID_TAPI_OPEN: u32 = 117637399u32; +pub const OID_TAPI_PROVIDER_INITIALIZE: u32 = 117637400u32; +pub const OID_TAPI_PROVIDER_SHUTDOWN: u32 = 117637401u32; +pub const OID_TAPI_SECURE_CALL: u32 = 117637402u32; +pub const OID_TAPI_SELECT_EXT_VERSION: u32 = 117637403u32; +pub const OID_TAPI_SEND_USER_USER_INFO: u32 = 117637404u32; +pub const OID_TAPI_SET_APP_SPECIFIC: u32 = 117637405u32; +pub const OID_TAPI_SET_CALL_PARAMS: u32 = 117637406u32; +pub const OID_TAPI_SET_DEFAULT_MEDIA_DETECTION: u32 = 117637407u32; +pub const OID_TAPI_SET_DEV_CONFIG: u32 = 117637408u32; +pub const OID_TAPI_SET_MEDIA_MODE: u32 = 117637409u32; +pub const OID_TAPI_SET_STATUS_MESSAGES: u32 = 117637410u32; +pub const OID_TCP4_OFFLOAD_STATS: u32 = 4227924487u32; +pub const OID_TCP6_OFFLOAD_STATS: u32 = 4227924488u32; +pub const OID_TCP_CONNECTION_OFFLOAD_CURRENT_CONFIG: u32 = 4227924494u32; +pub const OID_TCP_CONNECTION_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924495u32; +pub const OID_TCP_CONNECTION_OFFLOAD_PARAMETERS: u32 = 4228055553u32; +pub const OID_TCP_OFFLOAD_CURRENT_CONFIG: u32 = 4227924491u32; +pub const OID_TCP_OFFLOAD_HARDWARE_CAPABILITIES: u32 = 4227924493u32; +pub const OID_TCP_OFFLOAD_PARAMETERS: u32 = 4227924492u32; +pub const OID_TCP_RSC_STATISTICS: u32 = 131613u32; +pub const OID_TCP_SAN_SUPPORT: u32 = 4227924484u32; +pub const OID_TCP_TASK_IPSEC_ADD_SA: u32 = 4227924482u32; +pub const OID_TCP_TASK_IPSEC_ADD_UDPESP_SA: u32 = 4227924485u32; +pub const OID_TCP_TASK_IPSEC_DELETE_SA: u32 = 4227924483u32; +pub const OID_TCP_TASK_IPSEC_DELETE_UDPESP_SA: u32 = 4227924486u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA: u32 = 4228055554u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_ADD_SA_EX: u32 = 4228055557u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_DELETE_SA: u32 = 4228055555u32; +pub const OID_TCP_TASK_IPSEC_OFFLOAD_V2_UPDATE_SA: u32 = 4228055556u32; +pub const OID_TCP_TASK_OFFLOAD: u32 = 4227924481u32; +pub const OID_TIMESTAMP_CAPABILITY: u32 = 10485761u32; +pub const OID_TIMESTAMP_CURRENT_CONFIG: u32 = 10485762u32; +pub const OID_TIMESTAMP_GET_CROSSTIMESTAMP: u32 = 10485763u32; +pub const OID_TUNNEL_INTERFACE_RELEASE_OID: u32 = 251724039u32; +pub const OID_TUNNEL_INTERFACE_SET_OID: u32 = 251724038u32; +pub const OID_VLAN_RESERVED1: u32 = 66097u32; +pub const OID_VLAN_RESERVED2: u32 = 66098u32; +pub const OID_VLAN_RESERVED3: u32 = 66099u32; +pub const OID_VLAN_RESERVED4: u32 = 66100u32; +pub const OID_WAN_CO_GET_COMP_INFO: u32 = 67175040u32; +pub const OID_WAN_CO_GET_INFO: u32 = 67174784u32; +pub const OID_WAN_CO_GET_LINK_INFO: u32 = 67174786u32; +pub const OID_WAN_CO_GET_STATS_INFO: u32 = 67175042u32; +pub const OID_WAN_CO_SET_COMP_INFO: u32 = 67175041u32; +pub const OID_WAN_CO_SET_LINK_INFO: u32 = 67174785u32; +pub const OID_WAN_CURRENT_ADDRESS: u32 = 67174658u32; +pub const OID_WAN_GET_BRIDGE_INFO: u32 = 67174922u32; +pub const OID_WAN_GET_COMP_INFO: u32 = 67174924u32; +pub const OID_WAN_GET_INFO: u32 = 67174663u32; +pub const OID_WAN_GET_LINK_INFO: u32 = 67174665u32; +pub const OID_WAN_GET_STATS_INFO: u32 = 67174926u32; +pub const OID_WAN_HEADER_FORMAT: u32 = 67174662u32; +pub const OID_WAN_LINE_COUNT: u32 = 67174666u32; +pub const OID_WAN_MEDIUM_SUBTYPE: u32 = 67174661u32; +pub const OID_WAN_PERMANENT_ADDRESS: u32 = 67174657u32; +pub const OID_WAN_PROTOCOL_CAPS: u32 = 67174667u32; +pub const OID_WAN_PROTOCOL_TYPE: u32 = 67174660u32; +pub const OID_WAN_QUALITY_OF_SERVICE: u32 = 67174659u32; +pub const OID_WAN_SET_BRIDGE_INFO: u32 = 67174923u32; +pub const OID_WAN_SET_COMP_INFO: u32 = 67174925u32; +pub const OID_WAN_SET_LINK_INFO: u32 = 67174664u32; +pub const OID_WWAN_AUTH_CHALLENGE: u32 = 234946837u32; +pub const OID_WWAN_BASE_STATIONS_INFO: u32 = 234946888u32; +pub const OID_WWAN_CONNECT: u32 = 234946828u32; +pub const OID_WWAN_CREATE_MAC: u32 = 234946854u32; +pub const OID_WWAN_DELETE_MAC: u32 = 234946855u32; +pub const OID_WWAN_DEVICE_BINDINGS: u32 = 234946865u32; +pub const OID_WWAN_DEVICE_CAPS: u32 = 234946817u32; +pub const OID_WWAN_DEVICE_CAPS_EX: u32 = 234946862u32; +pub const OID_WWAN_DEVICE_RESET: u32 = 234946887u32; +pub const OID_WWAN_DEVICE_SERVICE_COMMAND: u32 = 234946840u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION: u32 = 234946851u32; +pub const OID_WWAN_DEVICE_SERVICE_SESSION_WRITE: u32 = 234946852u32; +pub const OID_WWAN_DRIVER_CAPS: u32 = 234946816u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICES: u32 = 234946838u32; +pub const OID_WWAN_ENUMERATE_DEVICE_SERVICE_COMMANDS: u32 = 234946850u32; +pub const OID_WWAN_HOME_PROVIDER: u32 = 234946822u32; +pub const OID_WWAN_IMS_VOICE_STATE: u32 = 234946867u32; +pub const OID_WWAN_LOCATION_STATE: u32 = 234946869u32; +pub const OID_WWAN_LTE_ATTACH_CONFIG: u32 = 234946882u32; +pub const OID_WWAN_LTE_ATTACH_STATUS: u32 = 234946883u32; +pub const OID_WWAN_MBIM_VERSION: u32 = 234946860u32; +pub const OID_WWAN_MODEM_CONFIG_INFO: u32 = 234946884u32; +pub const OID_WWAN_MODEM_LOGGING_CONFIG: u32 = 234946891u32; +pub const OID_WWAN_MPDP: u32 = 234946889u32; +pub const OID_WWAN_NETWORK_BLACKLIST: u32 = 234946881u32; +pub const OID_WWAN_NETWORK_IDLE_HINT: u32 = 234946871u32; +pub const OID_WWAN_NETWORK_PARAMS: u32 = 234946893u32; +pub const OID_WWAN_NITZ: u32 = 234946870u32; +pub const OID_WWAN_PACKET_SERVICE: u32 = 234946826u32; +pub const OID_WWAN_PCO: u32 = 234946885u32; +pub const OID_WWAN_PIN: u32 = 234946820u32; +pub const OID_WWAN_PIN_EX: u32 = 234946849u32; +pub const OID_WWAN_PIN_EX2: u32 = 234946859u32; +pub const OID_WWAN_PIN_LIST: u32 = 234946821u32; +pub const OID_WWAN_PREFERRED_MULTICARRIER_PROVIDERS: u32 = 234946853u32; +pub const OID_WWAN_PREFERRED_PROVIDERS: u32 = 234946823u32; +pub const OID_WWAN_PRESHUTDOWN: u32 = 234946872u32; +pub const OID_WWAN_PROVISIONED_CONTEXTS: u32 = 234946829u32; +pub const OID_WWAN_PS_MEDIA_CONFIG: u32 = 234946878u32; +pub const OID_WWAN_RADIO_STATE: u32 = 234946819u32; +pub const OID_WWAN_READY_INFO: u32 = 234946818u32; +pub const OID_WWAN_REGISTER_PARAMS: u32 = 234946892u32; +pub const OID_WWAN_REGISTER_STATE: u32 = 234946825u32; +pub const OID_WWAN_REGISTER_STATE_EX: u32 = 234946866u32; +pub const OID_WWAN_SAR_CONFIG: u32 = 234946879u32; +pub const OID_WWAN_SAR_TRANSMISSION_STATUS: u32 = 234946880u32; +pub const OID_WWAN_SERVICE_ACTIVATION: u32 = 234946830u32; +pub const OID_WWAN_SIGNAL_STATE: u32 = 234946827u32; +pub const OID_WWAN_SIGNAL_STATE_EX: u32 = 234946868u32; +pub const OID_WWAN_SLOT_INFO_STATUS: u32 = 234946864u32; +pub const OID_WWAN_SMS_CONFIGURATION: u32 = 234946831u32; +pub const OID_WWAN_SMS_DELETE: u32 = 234946834u32; +pub const OID_WWAN_SMS_READ: u32 = 234946832u32; +pub const OID_WWAN_SMS_SEND: u32 = 234946833u32; +pub const OID_WWAN_SMS_STATUS: u32 = 234946835u32; +pub const OID_WWAN_SUBSCRIBE_DEVICE_SERVICE_EVENTS: u32 = 234946839u32; +pub const OID_WWAN_SYS_CAPS: u32 = 234946861u32; +pub const OID_WWAN_SYS_SLOTMAPPINGS: u32 = 234946863u32; +pub const OID_WWAN_UE_POLICY: u32 = 234946894u32; +pub const OID_WWAN_UICC_ACCESS_BINARY: u32 = 234946857u32; +pub const OID_WWAN_UICC_ACCESS_RECORD: u32 = 234946858u32; +pub const OID_WWAN_UICC_APDU: u32 = 234946876u32; +pub const OID_WWAN_UICC_APP_LIST: u32 = 234946890u32; +pub const OID_WWAN_UICC_ATR: u32 = 234946873u32; +pub const OID_WWAN_UICC_CLOSE_CHANNEL: u32 = 234946875u32; +pub const OID_WWAN_UICC_FILE_STATUS: u32 = 234946856u32; +pub const OID_WWAN_UICC_OPEN_CHANNEL: u32 = 234946874u32; +pub const OID_WWAN_UICC_RESET: u32 = 234946886u32; +pub const OID_WWAN_UICC_TERMINAL_CAPABILITY: u32 = 234946877u32; +pub const OID_WWAN_USSD: u32 = 234946841u32; +pub const OID_WWAN_VENDOR_SPECIFIC: u32 = 234946836u32; +pub const OID_WWAN_VISIBLE_PROVIDERS: u32 = 234946824u32; +pub const OID_XBOX_ACC_RESERVED0: u32 = 4194304000u32; +pub const OriginalNetBufferList: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(9i32); +pub const OriginalPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(7i32); +pub const PD_BUFFER_ATTR_BUILT_IN_DATA_BUFFER: u32 = 1u32; +pub const PD_BUFFER_FLAG_PARTIAL_PACKET_HEAD: u32 = 1u32; +pub const PD_BUFFER_MIN_RX_DATA_START_ALIGNMENT: u32 = 2u32; +pub const PD_BUFFER_MIN_RX_DATA_START_VALUE: u32 = 32u32; +pub const PD_BUFFER_MIN_TX_DATA_START_ALIGNMENT: u32 = 2u32; +pub const PERMANENT_VC: u32 = 1u32; +pub const PacketCancelId: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(8i32); +pub const QUERY_CALL_PARAMETERS: u32 = 4u32; +pub const READABLE_LOCAL_CLOCK: u32 = 1u32; +pub const RECEIVE_TIME_INDICATION: u32 = 1u32; +pub const RECEIVE_TIME_INDICATION_CAPABLE: u32 = 8u32; +pub const RECEIVE_VC: u32 = 8u32; +pub const RESERVE_RESOURCES_VC: u32 = 64u32; +pub const ROUND_DOWN_FLOW: u32 = 128u32; +pub const ROUND_UP_FLOW: u32 = 256u32; +pub const STRINGFORMAT_ASCII: u32 = 1u32; +pub const STRINGFORMAT_BINARY: u32 = 4u32; +pub const STRINGFORMAT_DBCS: u32 = 2u32; +pub const STRINGFORMAT_UNICODE: u32 = 3u32; +pub const ScatterGatherListPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(5i32); +pub const ShortPacketPaddingInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(11i32); +pub const TIMED_SEND_CAPABLE: u32 = 16u32; +pub const TIME_STAMP_CAPABLE: u32 = 32u32; +pub const TRANSMIT_VC: u32 = 4u32; +pub const TRUNCATED_HASH_LEN: u32 = 12u32; +pub const TcpIpChecksumPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(0i32); +pub const TcpLargeSendPacketInfo: NDIS_PER_PACKET_INFO = NDIS_PER_PACKET_INFO(2i32); +pub const USE_TIME_STAMPS: u32 = 2u32; +pub const WAN_PROTOCOL_KEEPS_STATS: u32 = 1u32; +pub const fNDIS_GUID_ALLOW_READ: u32 = 32u32; +pub const fNDIS_GUID_ALLOW_WRITE: u32 = 64u32; +pub const fNDIS_GUID_ANSI_STRING: u32 = 4u32; +pub const fNDIS_GUID_ARRAY: u32 = 16u32; +pub const fNDIS_GUID_METHOD: u32 = 128u32; +pub const fNDIS_GUID_NDIS_RESERVED: u32 = 256u32; +pub const fNDIS_GUID_SUPPORT_COMMON_HEADER: u32 = 512u32; +pub const fNDIS_GUID_TO_OID: u32 = 1u32; +pub const fNDIS_GUID_TO_STATUS: u32 = 2u32; +pub const fNDIS_GUID_UNICODE_STRING: u32 = 8u32; +pub const fPACKET_ALLOCATED_BY_NDIS: u32 = 128u32; +pub const fPACKET_CONTAINS_MEDIA_SPECIFIC_INFO: u32 = 64u32; +pub const fPACKET_WRAPPER_RESERVED: u32 = 63u32; +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_AUTHENTICATION_MODE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_MODE {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_MODE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_AUTHENTICATION_MODE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AUTHENTICATION_MODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_AUTHENTICATION_MODE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_AUTHENTICATION_MODE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_MEDIA_STREAM_MODE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_MEDIA_STREAM_MODE {} +impl ::core::clone::Clone for NDIS_802_11_MEDIA_STREAM_MODE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_MEDIA_STREAM_MODE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_MEDIA_STREAM_MODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_MEDIA_STREAM_MODE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_MEDIA_STREAM_MODE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_NETWORK_INFRASTRUCTURE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_NETWORK_INFRASTRUCTURE {} +impl ::core::clone::Clone for NDIS_802_11_NETWORK_INFRASTRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_NETWORK_INFRASTRUCTURE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_NETWORK_INFRASTRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_NETWORK_INFRASTRUCTURE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_NETWORK_INFRASTRUCTURE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_NETWORK_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_NETWORK_TYPE {} +impl ::core::clone::Clone for NDIS_802_11_NETWORK_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_NETWORK_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_NETWORK_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_NETWORK_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_NETWORK_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_POWER_MODE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_POWER_MODE {} +impl ::core::clone::Clone for NDIS_802_11_POWER_MODE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_POWER_MODE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_POWER_MODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_POWER_MODE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_POWER_MODE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_PRIVACY_FILTER(pub i32); +impl ::core::marker::Copy for NDIS_802_11_PRIVACY_FILTER {} +impl ::core::clone::Clone for NDIS_802_11_PRIVACY_FILTER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_PRIVACY_FILTER { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_PRIVACY_FILTER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_PRIVACY_FILTER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_PRIVACY_FILTER").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_RADIO_STATUS(pub i32); +impl ::core::marker::Copy for NDIS_802_11_RADIO_STATUS {} +impl ::core::clone::Clone for NDIS_802_11_RADIO_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_RADIO_STATUS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_RADIO_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_RADIO_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_RADIO_STATUS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_RELOAD_DEFAULTS(pub i32); +impl ::core::marker::Copy for NDIS_802_11_RELOAD_DEFAULTS {} +impl ::core::clone::Clone for NDIS_802_11_RELOAD_DEFAULTS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_RELOAD_DEFAULTS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_RELOAD_DEFAULTS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_RELOAD_DEFAULTS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_RELOAD_DEFAULTS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_STATUS_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_802_11_STATUS_TYPE {} +impl ::core::clone::Clone for NDIS_802_11_STATUS_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_STATUS_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_STATUS_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_STATUS_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_STATUS_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_11_WEP_STATUS(pub i32); +impl ::core::marker::Copy for NDIS_802_11_WEP_STATUS {} +impl ::core::clone::Clone for NDIS_802_11_WEP_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_11_WEP_STATUS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_11_WEP_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_11_WEP_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_11_WEP_STATUS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_802_5_RING_STATE(pub i32); +impl ::core::marker::Copy for NDIS_802_5_RING_STATE {} +impl ::core::clone::Clone for NDIS_802_5_RING_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_802_5_RING_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_802_5_RING_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_802_5_RING_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_802_5_RING_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_CLASS_ID(pub i32); +impl ::core::marker::Copy for NDIS_CLASS_ID {} +impl ::core::clone::Clone for NDIS_CLASS_ID { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_CLASS_ID { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_CLASS_ID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_CLASS_ID { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_CLASS_ID").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_DEVICE_PNP_EVENT(pub i32); +impl ::core::marker::Copy for NDIS_DEVICE_PNP_EVENT {} +impl ::core::clone::Clone for NDIS_DEVICE_PNP_EVENT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_DEVICE_PNP_EVENT { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_DEVICE_PNP_EVENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_DEVICE_PNP_EVENT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_DEVICE_PNP_EVENT").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_DEVICE_POWER_STATE(pub i32); +impl ::core::marker::Copy for NDIS_DEVICE_POWER_STATE {} +impl ::core::clone::Clone for NDIS_DEVICE_POWER_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_DEVICE_POWER_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_DEVICE_POWER_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_DEVICE_POWER_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_DEVICE_POWER_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_ENVIRONMENT_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_ENVIRONMENT_TYPE {} +impl ::core::clone::Clone for NDIS_ENVIRONMENT_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_ENVIRONMENT_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_ENVIRONMENT_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_ENVIRONMENT_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_ENVIRONMENT_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_FDDI_ATTACHMENT_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_FDDI_ATTACHMENT_TYPE {} +impl ::core::clone::Clone for NDIS_FDDI_ATTACHMENT_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_FDDI_ATTACHMENT_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_FDDI_ATTACHMENT_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_FDDI_ATTACHMENT_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_FDDI_ATTACHMENT_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_FDDI_LCONNECTION_STATE(pub i32); +impl ::core::marker::Copy for NDIS_FDDI_LCONNECTION_STATE {} +impl ::core::clone::Clone for NDIS_FDDI_LCONNECTION_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_FDDI_LCONNECTION_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_FDDI_LCONNECTION_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_FDDI_LCONNECTION_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_FDDI_LCONNECTION_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_FDDI_RING_MGT_STATE(pub i32); +impl ::core::marker::Copy for NDIS_FDDI_RING_MGT_STATE {} +impl ::core::clone::Clone for NDIS_FDDI_RING_MGT_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_FDDI_RING_MGT_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_FDDI_RING_MGT_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_FDDI_RING_MGT_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_FDDI_RING_MGT_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_HARDWARE_STATUS(pub i32); +impl ::core::marker::Copy for NDIS_HARDWARE_STATUS {} +impl ::core::clone::Clone for NDIS_HARDWARE_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_HARDWARE_STATUS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_HARDWARE_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_HARDWARE_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_HARDWARE_STATUS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_INTERFACE_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_INTERFACE_TYPE {} +impl ::core::clone::Clone for NDIS_INTERFACE_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_INTERFACE_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_INTERFACE_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_INTERFACE_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_INTERFACE_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_INTERRUPT_MODERATION(pub i32); +impl ::core::marker::Copy for NDIS_INTERRUPT_MODERATION {} +impl ::core::clone::Clone for NDIS_INTERRUPT_MODERATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_INTERRUPT_MODERATION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_INTERRUPT_MODERATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_INTERRUPT_MODERATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_INTERRUPT_MODERATION").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_MEDIA_STATE(pub i32); +impl ::core::marker::Copy for NDIS_MEDIA_STATE {} +impl ::core::clone::Clone for NDIS_MEDIA_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_MEDIA_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_MEDIA_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_MEDIA_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_MEDIA_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_MEDIUM(pub i32); +impl ::core::marker::Copy for NDIS_MEDIUM {} +impl ::core::clone::Clone for NDIS_MEDIUM { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_MEDIUM { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_MEDIUM { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_MEDIUM { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_MEDIUM").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_NETWORK_CHANGE_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_NETWORK_CHANGE_TYPE {} +impl ::core::clone::Clone for NDIS_NETWORK_CHANGE_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_NETWORK_CHANGE_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_NETWORK_CHANGE_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_NETWORK_CHANGE_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_NETWORK_CHANGE_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PARAMETER_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_PARAMETER_TYPE {} +impl ::core::clone::Clone for NDIS_PARAMETER_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PARAMETER_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PARAMETER_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PARAMETER_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PARAMETER_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PER_PACKET_INFO(pub i32); +impl ::core::marker::Copy for NDIS_PER_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_PER_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PER_PACKET_INFO { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PER_PACKET_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PER_PACKET_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PER_PACKET_INFO").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PHYSICAL_MEDIUM(pub i32); +impl ::core::marker::Copy for NDIS_PHYSICAL_MEDIUM {} +impl ::core::clone::Clone for NDIS_PHYSICAL_MEDIUM { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PHYSICAL_MEDIUM { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PHYSICAL_MEDIUM { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PHYSICAL_MEDIUM { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PHYSICAL_MEDIUM").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PORT_AUTHORIZATION_STATE(pub i32); +impl ::core::marker::Copy for NDIS_PORT_AUTHORIZATION_STATE {} +impl ::core::clone::Clone for NDIS_PORT_AUTHORIZATION_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PORT_AUTHORIZATION_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PORT_AUTHORIZATION_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PORT_AUTHORIZATION_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PORT_AUTHORIZATION_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PORT_CONTROL_STATE(pub i32); +impl ::core::marker::Copy for NDIS_PORT_CONTROL_STATE {} +impl ::core::clone::Clone for NDIS_PORT_CONTROL_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PORT_CONTROL_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PORT_CONTROL_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PORT_CONTROL_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PORT_CONTROL_STATE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PORT_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_PORT_TYPE {} +impl ::core::clone::Clone for NDIS_PORT_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PORT_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PORT_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PORT_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PORT_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_POWER_PROFILE(pub i32); +impl ::core::marker::Copy for NDIS_POWER_PROFILE {} +impl ::core::clone::Clone for NDIS_POWER_PROFILE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_POWER_PROFILE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_POWER_PROFILE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_POWER_PROFILE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_POWER_PROFILE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PROCESSOR_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_PROCESSOR_TYPE {} +impl ::core::clone::Clone for NDIS_PROCESSOR_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PROCESSOR_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PROCESSOR_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PROCESSOR_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PROCESSOR_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PROCESSOR_VENDOR(pub i32); +impl ::core::marker::Copy for NDIS_PROCESSOR_VENDOR {} +impl ::core::clone::Clone for NDIS_PROCESSOR_VENDOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_PROCESSOR_VENDOR { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_PROCESSOR_VENDOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_PROCESSOR_VENDOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PROCESSOR_VENDOR").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_REQUEST_TYPE(pub i32); +impl ::core::marker::Copy for NDIS_REQUEST_TYPE {} +impl ::core::clone::Clone for NDIS_REQUEST_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_REQUEST_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_REQUEST_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_REQUEST_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_REQUEST_TYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_SUPPORTED_PAUSE_FUNCTIONS(pub i32); +impl ::core::marker::Copy for NDIS_SUPPORTED_PAUSE_FUNCTIONS {} +impl ::core::clone::Clone for NDIS_SUPPORTED_PAUSE_FUNCTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_SUPPORTED_PAUSE_FUNCTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_SUPPORTED_PAUSE_FUNCTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_SUPPORTED_PAUSE_FUNCTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_SUPPORTED_PAUSE_FUNCTIONS").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_WAN_HEADER_FORMAT(pub i32); +impl ::core::marker::Copy for NDIS_WAN_HEADER_FORMAT {} +impl ::core::clone::Clone for NDIS_WAN_HEADER_FORMAT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_WAN_HEADER_FORMAT { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_WAN_HEADER_FORMAT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_WAN_HEADER_FORMAT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_WAN_HEADER_FORMAT").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_WAN_MEDIUM_SUBTYPE(pub i32); +impl ::core::marker::Copy for NDIS_WAN_MEDIUM_SUBTYPE {} +impl ::core::clone::Clone for NDIS_WAN_MEDIUM_SUBTYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_WAN_MEDIUM_SUBTYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_WAN_MEDIUM_SUBTYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_WAN_MEDIUM_SUBTYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_WAN_MEDIUM_SUBTYPE").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_WAN_QUALITY(pub i32); +impl ::core::marker::Copy for NDIS_WAN_QUALITY {} +impl ::core::clone::Clone for NDIS_WAN_QUALITY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NDIS_WAN_QUALITY { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NDIS_WAN_QUALITY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NDIS_WAN_QUALITY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_WAN_QUALITY").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct OFFLOAD_CONF_ALGO(pub i32); +impl ::core::marker::Copy for OFFLOAD_CONF_ALGO {} +impl ::core::clone::Clone for OFFLOAD_CONF_ALGO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for OFFLOAD_CONF_ALGO { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for OFFLOAD_CONF_ALGO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for OFFLOAD_CONF_ALGO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("OFFLOAD_CONF_ALGO").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct OFFLOAD_INTEGRITY_ALGO(pub i32); +impl ::core::marker::Copy for OFFLOAD_INTEGRITY_ALGO {} +impl ::core::clone::Clone for OFFLOAD_INTEGRITY_ALGO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for OFFLOAD_INTEGRITY_ALGO { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for OFFLOAD_INTEGRITY_ALGO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for OFFLOAD_INTEGRITY_ALGO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("OFFLOAD_INTEGRITY_ALGO").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct OFFLOAD_OPERATION_E(pub i32); +impl ::core::marker::Copy for OFFLOAD_OPERATION_E {} +impl ::core::clone::Clone for OFFLOAD_OPERATION_E { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for OFFLOAD_OPERATION_E { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for OFFLOAD_OPERATION_E { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for OFFLOAD_OPERATION_E { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("OFFLOAD_OPERATION_E").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct UDP_ENCAP_TYPE(pub i32); +impl ::core::marker::Copy for UDP_ENCAP_TYPE {} +impl ::core::clone::Clone for UDP_ENCAP_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for UDP_ENCAP_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for UDP_ENCAP_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for UDP_ENCAP_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("UDP_ENCAP_TYPE").field(&self.0).finish() + } +} +#[repr(C)] +pub struct BINARY_DATA { + pub Length: u16, + pub Buffer: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for BINARY_DATA {} +impl ::core::clone::Clone for BINARY_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for BINARY_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BINARY_DATA").field("Length", &self.Length).field("Buffer", &self.Buffer).finish() + } +} +impl ::windows_core::TypeKind for BINARY_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for BINARY_DATA { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.Buffer == other.Buffer + } +} +impl ::core::cmp::Eq for BINARY_DATA {} +impl ::core::default::Default for BINARY_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct BSSID_INFO { + pub BSSID: [u8; 6], + pub PMKID: [u8; 16], +} +impl ::core::marker::Copy for BSSID_INFO {} +impl ::core::clone::Clone for BSSID_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for BSSID_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BSSID_INFO").field("BSSID", &self.BSSID).field("PMKID", &self.PMKID).finish() + } +} +impl ::windows_core::TypeKind for BSSID_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for BSSID_INFO { + fn eq(&self, other: &Self) -> bool { + self.BSSID == other.BSSID && self.PMKID == other.PMKID + } +} +impl ::core::cmp::Eq for BSSID_INFO {} +impl ::core::default::Default for BSSID_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CO_ADDRESS { + pub AddressSize: u32, + pub Address: [u8; 1], +} +impl ::core::marker::Copy for CO_ADDRESS {} +impl ::core::clone::Clone for CO_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_ADDRESS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_ADDRESS").field("AddressSize", &self.AddressSize).field("Address", &self.Address).finish() + } +} +impl ::windows_core::TypeKind for CO_ADDRESS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_ADDRESS { + fn eq(&self, other: &Self) -> bool { + self.AddressSize == other.AddressSize && self.Address == other.Address + } +} +impl ::core::cmp::Eq for CO_ADDRESS {} +impl ::core::default::Default for CO_ADDRESS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CO_ADDRESS_FAMILY { + pub AddressFamily: u32, + pub MajorVersion: u32, + pub MinorVersion: u32, +} +impl ::core::marker::Copy for CO_ADDRESS_FAMILY {} +impl ::core::clone::Clone for CO_ADDRESS_FAMILY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_ADDRESS_FAMILY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_ADDRESS_FAMILY").field("AddressFamily", &self.AddressFamily).field("MajorVersion", &self.MajorVersion).field("MinorVersion", &self.MinorVersion).finish() + } +} +impl ::windows_core::TypeKind for CO_ADDRESS_FAMILY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_ADDRESS_FAMILY { + fn eq(&self, other: &Self) -> bool { + self.AddressFamily == other.AddressFamily && self.MajorVersion == other.MajorVersion && self.MinorVersion == other.MinorVersion + } +} +impl ::core::cmp::Eq for CO_ADDRESS_FAMILY {} +impl ::core::default::Default for CO_ADDRESS_FAMILY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CO_ADDRESS_LIST { + pub NumberOfAddressesAvailable: u32, + pub NumberOfAddresses: u32, + pub AddressList: CO_ADDRESS, +} +impl ::core::marker::Copy for CO_ADDRESS_LIST {} +impl ::core::clone::Clone for CO_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_ADDRESS_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_ADDRESS_LIST").field("NumberOfAddressesAvailable", &self.NumberOfAddressesAvailable).field("NumberOfAddresses", &self.NumberOfAddresses).field("AddressList", &self.AddressList).finish() + } +} +impl ::windows_core::TypeKind for CO_ADDRESS_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_ADDRESS_LIST { + fn eq(&self, other: &Self) -> bool { + self.NumberOfAddressesAvailable == other.NumberOfAddressesAvailable && self.NumberOfAddresses == other.NumberOfAddresses && self.AddressList == other.AddressList + } +} +impl ::core::cmp::Eq for CO_ADDRESS_LIST {} +impl ::core::default::Default for CO_ADDRESS_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Networking_WinSock\"`"] +#[cfg(feature = "Win32_Networking_WinSock")] +pub struct CO_CALL_MANAGER_PARAMETERS { + pub Transmit: super::super::super::Win32::Networking::WinSock::FLOWSPEC, + pub Receive: super::super::super::Win32::Networking::WinSock::FLOWSPEC, + pub CallMgrSpecific: CO_SPECIFIC_PARAMETERS, +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::marker::Copy for CO_CALL_MANAGER_PARAMETERS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::clone::Clone for CO_CALL_MANAGER_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::fmt::Debug for CO_CALL_MANAGER_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_CALL_MANAGER_PARAMETERS").field("Transmit", &self.Transmit).field("Receive", &self.Receive).field("CallMgrSpecific", &self.CallMgrSpecific).finish() + } +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::windows_core::TypeKind for CO_CALL_MANAGER_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::cmp::PartialEq for CO_CALL_MANAGER_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Transmit == other.Transmit && self.Receive == other.Receive && self.CallMgrSpecific == other.CallMgrSpecific + } +} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::cmp::Eq for CO_CALL_MANAGER_PARAMETERS {} +#[cfg(feature = "Win32_Networking_WinSock")] +impl ::core::default::Default for CO_CALL_MANAGER_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CO_CALL_PARAMETERS(pub isize); +impl ::core::default::Default for CO_CALL_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for CO_CALL_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for CO_CALL_PARAMETERS {} +impl ::core::fmt::Debug for CO_CALL_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CO_CALL_PARAMETERS").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for CO_CALL_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CO_MEDIA_PARAMETERS(pub isize); +impl ::core::default::Default for CO_MEDIA_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for CO_MEDIA_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for CO_MEDIA_PARAMETERS {} +impl ::core::fmt::Debug for CO_MEDIA_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CO_MEDIA_PARAMETERS").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for CO_MEDIA_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct CO_PVC { + pub NdisAfHandle: *mut ::core::ffi::c_void, + pub PvcParameters: CO_SPECIFIC_PARAMETERS, +} +impl ::core::marker::Copy for CO_PVC {} +impl ::core::clone::Clone for CO_PVC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_PVC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_PVC").field("NdisAfHandle", &self.NdisAfHandle).field("PvcParameters", &self.PvcParameters).finish() + } +} +impl ::windows_core::TypeKind for CO_PVC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_PVC { + fn eq(&self, other: &Self) -> bool { + self.NdisAfHandle == other.NdisAfHandle && self.PvcParameters == other.PvcParameters + } +} +impl ::core::cmp::Eq for CO_PVC {} +impl ::core::default::Default for CO_PVC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CO_SAP { + pub SapType: u32, + pub SapLength: u32, + pub Sap: [u8; 1], +} +impl ::core::marker::Copy for CO_SAP {} +impl ::core::clone::Clone for CO_SAP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_SAP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_SAP").field("SapType", &self.SapType).field("SapLength", &self.SapLength).field("Sap", &self.Sap).finish() + } +} +impl ::windows_core::TypeKind for CO_SAP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_SAP { + fn eq(&self, other: &Self) -> bool { + self.SapType == other.SapType && self.SapLength == other.SapLength && self.Sap == other.Sap + } +} +impl ::core::cmp::Eq for CO_SAP {} +impl ::core::default::Default for CO_SAP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CO_SPECIFIC_PARAMETERS { + pub ParamType: u32, + pub Length: u32, + pub Parameters: [u8; 1], +} +impl ::core::marker::Copy for CO_SPECIFIC_PARAMETERS {} +impl ::core::clone::Clone for CO_SPECIFIC_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CO_SPECIFIC_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CO_SPECIFIC_PARAMETERS").field("ParamType", &self.ParamType).field("Length", &self.Length).field("Parameters", &self.Parameters).finish() + } +} +impl ::windows_core::TypeKind for CO_SPECIFIC_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CO_SPECIFIC_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.ParamType == other.ParamType && self.Length == other.Length && self.Parameters == other.Parameters + } +} +impl ::core::cmp::Eq for CO_SPECIFIC_PARAMETERS {} +impl ::core::default::Default for CO_SPECIFIC_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ETH_FILTER(pub isize); +impl ::core::default::Default for ETH_FILTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for ETH_FILTER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for ETH_FILTER {} +impl ::core::fmt::Debug for ETH_FILTER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ETH_FILTER").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for ETH_FILTER { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct FILTERDBS { + pub Anonymous: FILTERDBS_0, + pub TrDB: *mut isize, + pub YYYDB: *mut ::core::ffi::c_void, + pub XXXDB: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for FILTERDBS {} +impl ::core::clone::Clone for FILTERDBS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for FILTERDBS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for FILTERDBS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union FILTERDBS_0 { + pub EthDB: *mut ETH_FILTER, + pub NullDB: *mut isize, +} +impl ::core::marker::Copy for FILTERDBS_0 {} +impl ::core::clone::Clone for FILTERDBS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for FILTERDBS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for FILTERDBS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct GEN_GET_NETCARD_TIME { + pub ReadTime: u64, +} +impl ::core::marker::Copy for GEN_GET_NETCARD_TIME {} +impl ::core::clone::Clone for GEN_GET_NETCARD_TIME { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for GEN_GET_NETCARD_TIME { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("GEN_GET_NETCARD_TIME").field("ReadTime", &self.ReadTime).finish() + } +} +impl ::windows_core::TypeKind for GEN_GET_NETCARD_TIME { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for GEN_GET_NETCARD_TIME { + fn eq(&self, other: &Self) -> bool { + self.ReadTime == other.ReadTime + } +} +impl ::core::cmp::Eq for GEN_GET_NETCARD_TIME {} +impl ::core::default::Default for GEN_GET_NETCARD_TIME { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct GEN_GET_TIME_CAPS { + pub Flags: u32, + pub ClockPrecision: u32, +} +impl ::core::marker::Copy for GEN_GET_TIME_CAPS {} +impl ::core::clone::Clone for GEN_GET_TIME_CAPS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for GEN_GET_TIME_CAPS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("GEN_GET_TIME_CAPS").field("Flags", &self.Flags).field("ClockPrecision", &self.ClockPrecision).finish() + } +} +impl ::windows_core::TypeKind for GEN_GET_TIME_CAPS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for GEN_GET_TIME_CAPS { + fn eq(&self, other: &Self) -> bool { + self.Flags == other.Flags && self.ClockPrecision == other.ClockPrecision + } +} +impl ::core::cmp::Eq for GEN_GET_TIME_CAPS {} +impl ::core::default::Default for GEN_GET_TIME_CAPS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct LOCK_STATE { + pub LockState: u16, + pub OldIrql: u8, +} +impl ::core::marker::Copy for LOCK_STATE {} +impl ::core::clone::Clone for LOCK_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for LOCK_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("LOCK_STATE").field("LockState", &self.LockState).field("OldIrql", &self.OldIrql).finish() + } +} +impl ::windows_core::TypeKind for LOCK_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for LOCK_STATE { + fn eq(&self, other: &Self) -> bool { + self.LockState == other.LockState && self.OldIrql == other.OldIrql + } +} +impl ::core::cmp::Eq for LOCK_STATE {} +impl ::core::default::Default for LOCK_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct MEDIA_SPECIFIC_INFORMATION { + pub NextEntryOffset: u32, + pub ClassId: NDIS_CLASS_ID, + pub Size: u32, + pub ClassInformation: [u8; 1], +} +impl ::core::marker::Copy for MEDIA_SPECIFIC_INFORMATION {} +impl ::core::clone::Clone for MEDIA_SPECIFIC_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for MEDIA_SPECIFIC_INFORMATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("MEDIA_SPECIFIC_INFORMATION").field("NextEntryOffset", &self.NextEntryOffset).field("ClassId", &self.ClassId).field("Size", &self.Size).field("ClassInformation", &self.ClassInformation).finish() + } +} +impl ::windows_core::TypeKind for MEDIA_SPECIFIC_INFORMATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for MEDIA_SPECIFIC_INFORMATION { + fn eq(&self, other: &Self) -> bool { + self.NextEntryOffset == other.NextEntryOffset && self.ClassId == other.ClassId && self.Size == other.Size && self.ClassInformation == other.ClassInformation + } +} +impl ::core::cmp::Eq for MEDIA_SPECIFIC_INFORMATION {} +impl ::core::default::Default for MEDIA_SPECIFIC_INFORMATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_REQFI { + pub Capabilities: u16, + pub ListenInterval: u16, + pub CurrentAPAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_AI_REQFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_REQFI { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_AI_REQFI { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_AI_REQFI").field("Capabilities", &self.Capabilities).field("ListenInterval", &self.ListenInterval).field("CurrentAPAddress", &self.CurrentAPAddress).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AI_REQFI { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_AI_REQFI { + fn eq(&self, other: &Self) -> bool { + self.Capabilities == other.Capabilities && self.ListenInterval == other.ListenInterval && self.CurrentAPAddress == other.CurrentAPAddress + } +} +impl ::core::cmp::Eq for NDIS_802_11_AI_REQFI {} +impl ::core::default::Default for NDIS_802_11_AI_REQFI { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_AI_RESFI { + pub Capabilities: u16, + pub StatusCode: u16, + pub AssociationId: u16, +} +impl ::core::marker::Copy for NDIS_802_11_AI_RESFI {} +impl ::core::clone::Clone for NDIS_802_11_AI_RESFI { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_AI_RESFI { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_AI_RESFI").field("Capabilities", &self.Capabilities).field("StatusCode", &self.StatusCode).field("AssociationId", &self.AssociationId).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AI_RESFI { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_AI_RESFI { + fn eq(&self, other: &Self) -> bool { + self.Capabilities == other.Capabilities && self.StatusCode == other.StatusCode && self.AssociationId == other.AssociationId + } +} +impl ::core::cmp::Eq for NDIS_802_11_AI_RESFI {} +impl ::core::default::Default for NDIS_802_11_AI_RESFI { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_ASSOCIATION_INFORMATION { + pub Length: u32, + pub AvailableRequestFixedIEs: u16, + pub RequestFixedIEs: NDIS_802_11_AI_REQFI, + pub RequestIELength: u32, + pub OffsetRequestIEs: u32, + pub AvailableResponseFixedIEs: u16, + pub ResponseFixedIEs: NDIS_802_11_AI_RESFI, + pub ResponseIELength: u32, + pub OffsetResponseIEs: u32, +} +impl ::core::marker::Copy for NDIS_802_11_ASSOCIATION_INFORMATION {} +impl ::core::clone::Clone for NDIS_802_11_ASSOCIATION_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_ASSOCIATION_INFORMATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_ASSOCIATION_INFORMATION") + .field("Length", &self.Length) + .field("AvailableRequestFixedIEs", &self.AvailableRequestFixedIEs) + .field("RequestFixedIEs", &self.RequestFixedIEs) + .field("RequestIELength", &self.RequestIELength) + .field("OffsetRequestIEs", &self.OffsetRequestIEs) + .field("AvailableResponseFixedIEs", &self.AvailableResponseFixedIEs) + .field("ResponseFixedIEs", &self.ResponseFixedIEs) + .field("ResponseIELength", &self.ResponseIELength) + .field("OffsetResponseIEs", &self.OffsetResponseIEs) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_ASSOCIATION_INFORMATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_ASSOCIATION_INFORMATION { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.AvailableRequestFixedIEs == other.AvailableRequestFixedIEs && self.RequestFixedIEs == other.RequestFixedIEs && self.RequestIELength == other.RequestIELength && self.OffsetRequestIEs == other.OffsetRequestIEs && self.AvailableResponseFixedIEs == other.AvailableResponseFixedIEs && self.ResponseFixedIEs == other.ResponseFixedIEs && self.ResponseIELength == other.ResponseIELength && self.OffsetResponseIEs == other.OffsetResponseIEs + } +} +impl ::core::cmp::Eq for NDIS_802_11_ASSOCIATION_INFORMATION {} +impl ::core::default::Default for NDIS_802_11_ASSOCIATION_INFORMATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_ENCRYPTION { + pub AuthModeSupported: NDIS_802_11_AUTHENTICATION_MODE, + pub EncryptStatusSupported: NDIS_802_11_WEP_STATUS, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_ENCRYPTION {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_AUTHENTICATION_ENCRYPTION").field("AuthModeSupported", &self.AuthModeSupported).field("EncryptStatusSupported", &self.EncryptStatusSupported).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn eq(&self, other: &Self) -> bool { + self.AuthModeSupported == other.AuthModeSupported && self.EncryptStatusSupported == other.EncryptStatusSupported + } +} +impl ::core::cmp::Eq for NDIS_802_11_AUTHENTICATION_ENCRYPTION {} +impl ::core::default::Default for NDIS_802_11_AUTHENTICATION_ENCRYPTION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_EVENT { + pub Status: NDIS_802_11_STATUS_INDICATION, + pub Request: [NDIS_802_11_AUTHENTICATION_REQUEST; 1], +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_EVENT {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_EVENT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_AUTHENTICATION_EVENT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_AUTHENTICATION_EVENT").field("Status", &self.Status).field("Request", &self.Request).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AUTHENTICATION_EVENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_EVENT { + fn eq(&self, other: &Self) -> bool { + self.Status == other.Status && self.Request == other.Request + } +} +impl ::core::cmp::Eq for NDIS_802_11_AUTHENTICATION_EVENT {} +impl ::core::default::Default for NDIS_802_11_AUTHENTICATION_EVENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_AUTHENTICATION_REQUEST { + pub Length: u32, + pub Bssid: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_802_11_AUTHENTICATION_REQUEST {} +impl ::core::clone::Clone for NDIS_802_11_AUTHENTICATION_REQUEST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_AUTHENTICATION_REQUEST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_AUTHENTICATION_REQUEST").field("Length", &self.Length).field("Bssid", &self.Bssid).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_AUTHENTICATION_REQUEST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_AUTHENTICATION_REQUEST { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.Bssid == other.Bssid && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_802_11_AUTHENTICATION_REQUEST {} +impl ::core::default::Default for NDIS_802_11_AUTHENTICATION_REQUEST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_BSSID_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_BSSID_LIST").field("NumberOfItems", &self.NumberOfItems).field("Bssid", &self.Bssid).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_BSSID_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_BSSID_LIST { + fn eq(&self, other: &Self) -> bool { + self.NumberOfItems == other.NumberOfItems && self.Bssid == other.Bssid + } +} +impl ::core::cmp::Eq for NDIS_802_11_BSSID_LIST {} +impl ::core::default::Default for NDIS_802_11_BSSID_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_BSSID_LIST_EX { + pub NumberOfItems: u32, + pub Bssid: [NDIS_WLAN_BSSID_EX; 1], +} +impl ::core::marker::Copy for NDIS_802_11_BSSID_LIST_EX {} +impl ::core::clone::Clone for NDIS_802_11_BSSID_LIST_EX { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_BSSID_LIST_EX { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_BSSID_LIST_EX").field("NumberOfItems", &self.NumberOfItems).field("Bssid", &self.Bssid).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_BSSID_LIST_EX { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_BSSID_LIST_EX { + fn eq(&self, other: &Self) -> bool { + self.NumberOfItems == other.NumberOfItems && self.Bssid == other.Bssid + } +} +impl ::core::cmp::Eq for NDIS_802_11_BSSID_LIST_EX {} +impl ::core::default::Default for NDIS_802_11_BSSID_LIST_EX { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_CAPABILITY { + pub Length: u32, + pub Version: u32, + pub NoOfPMKIDs: u32, + pub NoOfAuthEncryptPairsSupported: u32, + pub AuthenticationEncryptionSupported: [NDIS_802_11_AUTHENTICATION_ENCRYPTION; 1], +} +impl ::core::marker::Copy for NDIS_802_11_CAPABILITY {} +impl ::core::clone::Clone for NDIS_802_11_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_CAPABILITY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_CAPABILITY").field("Length", &self.Length).field("Version", &self.Version).field("NoOfPMKIDs", &self.NoOfPMKIDs).field("NoOfAuthEncryptPairsSupported", &self.NoOfAuthEncryptPairsSupported).field("AuthenticationEncryptionSupported", &self.AuthenticationEncryptionSupported).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_CAPABILITY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_CAPABILITY { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.Version == other.Version && self.NoOfPMKIDs == other.NoOfPMKIDs && self.NoOfAuthEncryptPairsSupported == other.NoOfAuthEncryptPairsSupported && self.AuthenticationEncryptionSupported == other.AuthenticationEncryptionSupported + } +} +impl ::core::cmp::Eq for NDIS_802_11_CAPABILITY {} +impl ::core::default::Default for NDIS_802_11_CAPABILITY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION { + pub Length: u32, + pub BeaconPeriod: u32, + pub ATIMWindow: u32, + pub DSConfig: u32, + pub FHConfig: NDIS_802_11_CONFIGURATION_FH, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_CONFIGURATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_CONFIGURATION").field("Length", &self.Length).field("BeaconPeriod", &self.BeaconPeriod).field("ATIMWindow", &self.ATIMWindow).field("DSConfig", &self.DSConfig).field("FHConfig", &self.FHConfig).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_CONFIGURATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_CONFIGURATION { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.BeaconPeriod == other.BeaconPeriod && self.ATIMWindow == other.ATIMWindow && self.DSConfig == other.DSConfig && self.FHConfig == other.FHConfig + } +} +impl ::core::cmp::Eq for NDIS_802_11_CONFIGURATION {} +impl ::core::default::Default for NDIS_802_11_CONFIGURATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_CONFIGURATION_FH { + pub Length: u32, + pub HopPattern: u32, + pub HopSet: u32, + pub DwellTime: u32, +} +impl ::core::marker::Copy for NDIS_802_11_CONFIGURATION_FH {} +impl ::core::clone::Clone for NDIS_802_11_CONFIGURATION_FH { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_CONFIGURATION_FH { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_CONFIGURATION_FH").field("Length", &self.Length).field("HopPattern", &self.HopPattern).field("HopSet", &self.HopSet).field("DwellTime", &self.DwellTime).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_CONFIGURATION_FH { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_CONFIGURATION_FH { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.HopPattern == other.HopPattern && self.HopSet == other.HopSet && self.DwellTime == other.DwellTime + } +} +impl ::core::cmp::Eq for NDIS_802_11_CONFIGURATION_FH {} +impl ::core::default::Default for NDIS_802_11_CONFIGURATION_FH { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_FIXED_IEs { + pub Timestamp: [u8; 8], + pub BeaconInterval: u16, + pub Capabilities: u16, +} +impl ::core::marker::Copy for NDIS_802_11_FIXED_IEs {} +impl ::core::clone::Clone for NDIS_802_11_FIXED_IEs { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_FIXED_IEs { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_FIXED_IEs").field("Timestamp", &self.Timestamp).field("BeaconInterval", &self.BeaconInterval).field("Capabilities", &self.Capabilities).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_FIXED_IEs { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_FIXED_IEs { + fn eq(&self, other: &Self) -> bool { + self.Timestamp == other.Timestamp && self.BeaconInterval == other.BeaconInterval && self.Capabilities == other.Capabilities + } +} +impl ::core::cmp::Eq for NDIS_802_11_FIXED_IEs {} +impl ::core::default::Default for NDIS_802_11_FIXED_IEs { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub BSSID: [u8; 6], + pub KeyRSC: u64, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_KEY {} +impl ::core::clone::Clone for NDIS_802_11_KEY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_KEY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_KEY").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("KeyLength", &self.KeyLength).field("BSSID", &self.BSSID).field("KeyRSC", &self.KeyRSC).field("KeyMaterial", &self.KeyMaterial).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_KEY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_KEY { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.KeyLength == other.KeyLength && self.BSSID == other.BSSID && self.KeyRSC == other.KeyRSC && self.KeyMaterial == other.KeyMaterial + } +} +impl ::core::cmp::Eq for NDIS_802_11_KEY {} +impl ::core::default::Default for NDIS_802_11_KEY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_NETWORK_TYPE_LIST { + pub NumberOfItems: u32, + pub NetworkType: [NDIS_802_11_NETWORK_TYPE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NETWORK_TYPE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NETWORK_TYPE_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_NETWORK_TYPE_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_NETWORK_TYPE_LIST").field("NumberOfItems", &self.NumberOfItems).field("NetworkType", &self.NetworkType).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_NETWORK_TYPE_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_NETWORK_TYPE_LIST { + fn eq(&self, other: &Self) -> bool { + self.NumberOfItems == other.NumberOfItems && self.NetworkType == other.NetworkType + } +} +impl ::core::cmp::Eq for NDIS_802_11_NETWORK_TYPE_LIST {} +impl ::core::default::Default for NDIS_802_11_NETWORK_TYPE_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_NON_BCAST_SSID_LIST { + pub NumberOfItems: u32, + pub Non_Bcast_Ssid: [NDIS_802_11_SSID; 1], +} +impl ::core::marker::Copy for NDIS_802_11_NON_BCAST_SSID_LIST {} +impl ::core::clone::Clone for NDIS_802_11_NON_BCAST_SSID_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_NON_BCAST_SSID_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_NON_BCAST_SSID_LIST").field("NumberOfItems", &self.NumberOfItems).field("Non_Bcast_Ssid", &self.Non_Bcast_Ssid).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_NON_BCAST_SSID_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_NON_BCAST_SSID_LIST { + fn eq(&self, other: &Self) -> bool { + self.NumberOfItems == other.NumberOfItems && self.Non_Bcast_Ssid == other.Non_Bcast_Ssid + } +} +impl ::core::cmp::Eq for NDIS_802_11_NON_BCAST_SSID_LIST {} +impl ::core::default::Default for NDIS_802_11_NON_BCAST_SSID_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID { + pub Length: u32, + pub BSSIDInfoCount: u32, + pub BSSIDInfo: [BSSID_INFO; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID {} +impl ::core::clone::Clone for NDIS_802_11_PMKID { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_PMKID { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_PMKID").field("Length", &self.Length).field("BSSIDInfoCount", &self.BSSIDInfoCount).field("BSSIDInfo", &self.BSSIDInfo).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_PMKID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_PMKID { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.BSSIDInfoCount == other.BSSIDInfoCount && self.BSSIDInfo == other.BSSIDInfo + } +} +impl ::core::cmp::Eq for NDIS_802_11_PMKID {} +impl ::core::default::Default for NDIS_802_11_PMKID { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_PMKID_CANDIDATE_LIST { + pub Version: u32, + pub NumCandidates: u32, + pub CandidateList: [PMKID_CANDIDATE; 1], +} +impl ::core::marker::Copy for NDIS_802_11_PMKID_CANDIDATE_LIST {} +impl ::core::clone::Clone for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_PMKID_CANDIDATE_LIST").field("Version", &self.Version).field("NumCandidates", &self.NumCandidates).field("CandidateList", &self.CandidateList).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_PMKID_CANDIDATE_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn eq(&self, other: &Self) -> bool { + self.Version == other.Version && self.NumCandidates == other.NumCandidates && self.CandidateList == other.CandidateList + } +} +impl ::core::cmp::Eq for NDIS_802_11_PMKID_CANDIDATE_LIST {} +impl ::core::default::Default for NDIS_802_11_PMKID_CANDIDATE_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_REMOVE_KEY { + pub Length: u32, + pub KeyIndex: u32, + pub BSSID: [u8; 6], +} +impl ::core::marker::Copy for NDIS_802_11_REMOVE_KEY {} +impl ::core::clone::Clone for NDIS_802_11_REMOVE_KEY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_REMOVE_KEY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_REMOVE_KEY").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("BSSID", &self.BSSID).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_REMOVE_KEY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_REMOVE_KEY { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.BSSID == other.BSSID + } +} +impl ::core::cmp::Eq for NDIS_802_11_REMOVE_KEY {} +impl ::core::default::Default for NDIS_802_11_REMOVE_KEY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_SSID { + pub SsidLength: u32, + pub Ssid: [u8; 32], +} +impl ::core::marker::Copy for NDIS_802_11_SSID {} +impl ::core::clone::Clone for NDIS_802_11_SSID { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_SSID { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_SSID").field("SsidLength", &self.SsidLength).field("Ssid", &self.Ssid).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_SSID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_SSID { + fn eq(&self, other: &Self) -> bool { + self.SsidLength == other.SsidLength && self.Ssid == other.Ssid + } +} +impl ::core::cmp::Eq for NDIS_802_11_SSID {} +impl ::core::default::Default for NDIS_802_11_SSID { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_STATISTICS { + pub Length: u32, + pub TransmittedFragmentCount: i64, + pub MulticastTransmittedFrameCount: i64, + pub FailedCount: i64, + pub RetryCount: i64, + pub MultipleRetryCount: i64, + pub RTSSuccessCount: i64, + pub RTSFailureCount: i64, + pub ACKFailureCount: i64, + pub FrameDuplicateCount: i64, + pub ReceivedFragmentCount: i64, + pub MulticastReceivedFrameCount: i64, + pub FCSErrorCount: i64, + pub TKIPLocalMICFailures: i64, + pub TKIPICVErrorCount: i64, + pub TKIPCounterMeasuresInvoked: i64, + pub TKIPReplays: i64, + pub CCMPFormatErrors: i64, + pub CCMPReplays: i64, + pub CCMPDecryptErrors: i64, + pub FourWayHandshakeFailures: i64, + pub WEPUndecryptableCount: i64, + pub WEPICVErrorCount: i64, + pub DecryptSuccessCount: i64, + pub DecryptFailureCount: i64, +} +impl ::core::marker::Copy for NDIS_802_11_STATISTICS {} +impl ::core::clone::Clone for NDIS_802_11_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_STATISTICS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_STATISTICS") + .field("Length", &self.Length) + .field("TransmittedFragmentCount", &self.TransmittedFragmentCount) + .field("MulticastTransmittedFrameCount", &self.MulticastTransmittedFrameCount) + .field("FailedCount", &self.FailedCount) + .field("RetryCount", &self.RetryCount) + .field("MultipleRetryCount", &self.MultipleRetryCount) + .field("RTSSuccessCount", &self.RTSSuccessCount) + .field("RTSFailureCount", &self.RTSFailureCount) + .field("ACKFailureCount", &self.ACKFailureCount) + .field("FrameDuplicateCount", &self.FrameDuplicateCount) + .field("ReceivedFragmentCount", &self.ReceivedFragmentCount) + .field("MulticastReceivedFrameCount", &self.MulticastReceivedFrameCount) + .field("FCSErrorCount", &self.FCSErrorCount) + .field("TKIPLocalMICFailures", &self.TKIPLocalMICFailures) + .field("TKIPICVErrorCount", &self.TKIPICVErrorCount) + .field("TKIPCounterMeasuresInvoked", &self.TKIPCounterMeasuresInvoked) + .field("TKIPReplays", &self.TKIPReplays) + .field("CCMPFormatErrors", &self.CCMPFormatErrors) + .field("CCMPReplays", &self.CCMPReplays) + .field("CCMPDecryptErrors", &self.CCMPDecryptErrors) + .field("FourWayHandshakeFailures", &self.FourWayHandshakeFailures) + .field("WEPUndecryptableCount", &self.WEPUndecryptableCount) + .field("WEPICVErrorCount", &self.WEPICVErrorCount) + .field("DecryptSuccessCount", &self.DecryptSuccessCount) + .field("DecryptFailureCount", &self.DecryptFailureCount) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_STATISTICS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_STATISTICS { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length + && self.TransmittedFragmentCount == other.TransmittedFragmentCount + && self.MulticastTransmittedFrameCount == other.MulticastTransmittedFrameCount + && self.FailedCount == other.FailedCount + && self.RetryCount == other.RetryCount + && self.MultipleRetryCount == other.MultipleRetryCount + && self.RTSSuccessCount == other.RTSSuccessCount + && self.RTSFailureCount == other.RTSFailureCount + && self.ACKFailureCount == other.ACKFailureCount + && self.FrameDuplicateCount == other.FrameDuplicateCount + && self.ReceivedFragmentCount == other.ReceivedFragmentCount + && self.MulticastReceivedFrameCount == other.MulticastReceivedFrameCount + && self.FCSErrorCount == other.FCSErrorCount + && self.TKIPLocalMICFailures == other.TKIPLocalMICFailures + && self.TKIPICVErrorCount == other.TKIPICVErrorCount + && self.TKIPCounterMeasuresInvoked == other.TKIPCounterMeasuresInvoked + && self.TKIPReplays == other.TKIPReplays + && self.CCMPFormatErrors == other.CCMPFormatErrors + && self.CCMPReplays == other.CCMPReplays + && self.CCMPDecryptErrors == other.CCMPDecryptErrors + && self.FourWayHandshakeFailures == other.FourWayHandshakeFailures + && self.WEPUndecryptableCount == other.WEPUndecryptableCount + && self.WEPICVErrorCount == other.WEPICVErrorCount + && self.DecryptSuccessCount == other.DecryptSuccessCount + && self.DecryptFailureCount == other.DecryptFailureCount + } +} +impl ::core::cmp::Eq for NDIS_802_11_STATISTICS {} +impl ::core::default::Default for NDIS_802_11_STATISTICS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_STATUS_INDICATION { + pub StatusType: NDIS_802_11_STATUS_TYPE, +} +impl ::core::marker::Copy for NDIS_802_11_STATUS_INDICATION {} +impl ::core::clone::Clone for NDIS_802_11_STATUS_INDICATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_STATUS_INDICATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_STATUS_INDICATION").field("StatusType", &self.StatusType).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_STATUS_INDICATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_STATUS_INDICATION { + fn eq(&self, other: &Self) -> bool { + self.StatusType == other.StatusType + } +} +impl ::core::cmp::Eq for NDIS_802_11_STATUS_INDICATION {} +impl ::core::default::Default for NDIS_802_11_STATUS_INDICATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_TEST { + pub Length: u32, + pub Type: u32, + pub Anonymous: NDIS_802_11_TEST_0, +} +impl ::core::marker::Copy for NDIS_802_11_TEST {} +impl ::core::clone::Clone for NDIS_802_11_TEST { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_802_11_TEST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_802_11_TEST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union NDIS_802_11_TEST_0 { + pub AuthenticationEvent: NDIS_802_11_AUTHENTICATION_EVENT, + pub RssiTrigger: i32, +} +impl ::core::marker::Copy for NDIS_802_11_TEST_0 {} +impl ::core::clone::Clone for NDIS_802_11_TEST_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_802_11_TEST_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_802_11_TEST_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_VARIABLE_IEs { + pub ElementID: u8, + pub Length: u8, + pub data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_VARIABLE_IEs {} +impl ::core::clone::Clone for NDIS_802_11_VARIABLE_IEs { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_VARIABLE_IEs { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_VARIABLE_IEs").field("ElementID", &self.ElementID).field("Length", &self.Length).field("data", &self.data).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_VARIABLE_IEs { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_VARIABLE_IEs { + fn eq(&self, other: &Self) -> bool { + self.ElementID == other.ElementID && self.Length == other.Length && self.data == other.data + } +} +impl ::core::cmp::Eq for NDIS_802_11_VARIABLE_IEs {} +impl ::core::default::Default for NDIS_802_11_VARIABLE_IEs { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_802_11_WEP { + pub Length: u32, + pub KeyIndex: u32, + pub KeyLength: u32, + pub KeyMaterial: [u8; 1], +} +impl ::core::marker::Copy for NDIS_802_11_WEP {} +impl ::core::clone::Clone for NDIS_802_11_WEP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_802_11_WEP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_802_11_WEP").field("Length", &self.Length).field("KeyIndex", &self.KeyIndex).field("KeyLength", &self.KeyLength).field("KeyMaterial", &self.KeyMaterial).finish() + } +} +impl ::windows_core::TypeKind for NDIS_802_11_WEP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_802_11_WEP { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.KeyIndex == other.KeyIndex && self.KeyLength == other.KeyLength && self.KeyMaterial == other.KeyMaterial + } +} +impl ::core::cmp::Eq for NDIS_802_11_WEP {} +impl ::core::default::Default for NDIS_802_11_WEP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_AF_LIST(pub isize); +impl ::core::default::Default for NDIS_AF_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_AF_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_AF_LIST {} +impl ::core::fmt::Debug for NDIS_AF_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_AF_LIST").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_AF_LIST { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_CALL_MANAGER_CHARACTERISTICS(pub isize); +impl ::core::default::Default for NDIS_CALL_MANAGER_CHARACTERISTICS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_CALL_MANAGER_CHARACTERISTICS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_CALL_MANAGER_CHARACTERISTICS {} +impl ::core::fmt::Debug for NDIS_CALL_MANAGER_CHARACTERISTICS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_CALL_MANAGER_CHARACTERISTICS").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_CALL_MANAGER_CHARACTERISTICS { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_CONFIGURATION_PARAMETER { + pub ParameterType: NDIS_PARAMETER_TYPE, + pub ParameterData: NDIS_CONFIGURATION_PARAMETER_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_CONFIGURATION_PARAMETER {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_CONFIGURATION_PARAMETER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_CONFIGURATION_PARAMETER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_CONFIGURATION_PARAMETER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_CONFIGURATION_PARAMETER_0 { + pub IntegerData: u32, + pub StringData: super::super::super::Win32::Foundation::UNICODE_STRING, + pub BinaryData: BINARY_DATA, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_CONFIGURATION_PARAMETER_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_CONFIGURATION_PARAMETER_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_CONFIGURATION_PARAMETER_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_CONFIGURATION_PARAMETER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_CO_DEVICE_PROFILE { + pub DeviceDescription: NDIS_VAR_DATA_DESC, + pub DevSpecificInfo: NDIS_VAR_DATA_DESC, + pub ulTAPISupplementaryPassThru: u32, + pub ulAddressModes: u32, + pub ulNumAddresses: u32, + pub ulBearerModes: u32, + pub ulMaxTxRate: u32, + pub ulMinTxRate: u32, + pub ulMaxRxRate: u32, + pub ulMinRxRate: u32, + pub ulMediaModes: u32, + pub ulGenerateToneModes: u32, + pub ulGenerateToneMaxNumFreq: u32, + pub ulGenerateDigitModes: u32, + pub ulMonitorToneMaxNumFreq: u32, + pub ulMonitorToneMaxNumEntries: u32, + pub ulMonitorDigitModes: u32, + pub ulGatherDigitsMinTimeout: u32, + pub ulGatherDigitsMaxTimeout: u32, + pub ulDevCapFlags: u32, + pub ulMaxNumActiveCalls: u32, + pub ulAnswerMode: u32, + pub ulUUIAcceptSize: u32, + pub ulUUIAnswerSize: u32, + pub ulUUIMakeCallSize: u32, + pub ulUUIDropSize: u32, + pub ulUUISendUserUserInfoSize: u32, + pub ulUUICallInfoSize: u32, +} +impl ::core::marker::Copy for NDIS_CO_DEVICE_PROFILE {} +impl ::core::clone::Clone for NDIS_CO_DEVICE_PROFILE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_CO_DEVICE_PROFILE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_CO_DEVICE_PROFILE") + .field("DeviceDescription", &self.DeviceDescription) + .field("DevSpecificInfo", &self.DevSpecificInfo) + .field("ulTAPISupplementaryPassThru", &self.ulTAPISupplementaryPassThru) + .field("ulAddressModes", &self.ulAddressModes) + .field("ulNumAddresses", &self.ulNumAddresses) + .field("ulBearerModes", &self.ulBearerModes) + .field("ulMaxTxRate", &self.ulMaxTxRate) + .field("ulMinTxRate", &self.ulMinTxRate) + .field("ulMaxRxRate", &self.ulMaxRxRate) + .field("ulMinRxRate", &self.ulMinRxRate) + .field("ulMediaModes", &self.ulMediaModes) + .field("ulGenerateToneModes", &self.ulGenerateToneModes) + .field("ulGenerateToneMaxNumFreq", &self.ulGenerateToneMaxNumFreq) + .field("ulGenerateDigitModes", &self.ulGenerateDigitModes) + .field("ulMonitorToneMaxNumFreq", &self.ulMonitorToneMaxNumFreq) + .field("ulMonitorToneMaxNumEntries", &self.ulMonitorToneMaxNumEntries) + .field("ulMonitorDigitModes", &self.ulMonitorDigitModes) + .field("ulGatherDigitsMinTimeout", &self.ulGatherDigitsMinTimeout) + .field("ulGatherDigitsMaxTimeout", &self.ulGatherDigitsMaxTimeout) + .field("ulDevCapFlags", &self.ulDevCapFlags) + .field("ulMaxNumActiveCalls", &self.ulMaxNumActiveCalls) + .field("ulAnswerMode", &self.ulAnswerMode) + .field("ulUUIAcceptSize", &self.ulUUIAcceptSize) + .field("ulUUIAnswerSize", &self.ulUUIAnswerSize) + .field("ulUUIMakeCallSize", &self.ulUUIMakeCallSize) + .field("ulUUIDropSize", &self.ulUUIDropSize) + .field("ulUUISendUserUserInfoSize", &self.ulUUISendUserUserInfoSize) + .field("ulUUICallInfoSize", &self.ulUUICallInfoSize) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_CO_DEVICE_PROFILE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_CO_DEVICE_PROFILE { + fn eq(&self, other: &Self) -> bool { + self.DeviceDescription == other.DeviceDescription + && self.DevSpecificInfo == other.DevSpecificInfo + && self.ulTAPISupplementaryPassThru == other.ulTAPISupplementaryPassThru + && self.ulAddressModes == other.ulAddressModes + && self.ulNumAddresses == other.ulNumAddresses + && self.ulBearerModes == other.ulBearerModes + && self.ulMaxTxRate == other.ulMaxTxRate + && self.ulMinTxRate == other.ulMinTxRate + && self.ulMaxRxRate == other.ulMaxRxRate + && self.ulMinRxRate == other.ulMinRxRate + && self.ulMediaModes == other.ulMediaModes + && self.ulGenerateToneModes == other.ulGenerateToneModes + && self.ulGenerateToneMaxNumFreq == other.ulGenerateToneMaxNumFreq + && self.ulGenerateDigitModes == other.ulGenerateDigitModes + && self.ulMonitorToneMaxNumFreq == other.ulMonitorToneMaxNumFreq + && self.ulMonitorToneMaxNumEntries == other.ulMonitorToneMaxNumEntries + && self.ulMonitorDigitModes == other.ulMonitorDigitModes + && self.ulGatherDigitsMinTimeout == other.ulGatherDigitsMinTimeout + && self.ulGatherDigitsMaxTimeout == other.ulGatherDigitsMaxTimeout + && self.ulDevCapFlags == other.ulDevCapFlags + && self.ulMaxNumActiveCalls == other.ulMaxNumActiveCalls + && self.ulAnswerMode == other.ulAnswerMode + && self.ulUUIAcceptSize == other.ulUUIAcceptSize + && self.ulUUIAnswerSize == other.ulUUIAnswerSize + && self.ulUUIMakeCallSize == other.ulUUIMakeCallSize + && self.ulUUIDropSize == other.ulUUIDropSize + && self.ulUUISendUserUserInfoSize == other.ulUUISendUserUserInfoSize + && self.ulUUICallInfoSize == other.ulUUICallInfoSize + } +} +impl ::core::cmp::Eq for NDIS_CO_DEVICE_PROFILE {} +impl ::core::default::Default for NDIS_CO_DEVICE_PROFILE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_CO_LINK_SPEED { + pub Outbound: u32, + pub Inbound: u32, +} +impl ::core::marker::Copy for NDIS_CO_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_CO_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_CO_LINK_SPEED { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_CO_LINK_SPEED").field("Outbound", &self.Outbound).field("Inbound", &self.Inbound).finish() + } +} +impl ::windows_core::TypeKind for NDIS_CO_LINK_SPEED { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_CO_LINK_SPEED { + fn eq(&self, other: &Self) -> bool { + self.Outbound == other.Outbound && self.Inbound == other.Inbound + } +} +impl ::core::cmp::Eq for NDIS_CO_LINK_SPEED {} +impl ::core::default::Default for NDIS_CO_LINK_SPEED { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_DMA_BLOCK { + pub MapRegisterBase: *mut ::core::ffi::c_void, + pub AllocationEvent: super::super::Foundation::KEVENT, + pub SystemAdapterObject: *mut ::core::ffi::c_void, + pub Miniport: *mut ::core::ffi::c_void, + pub InProgress: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_DMA_BLOCK {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_DMA_BLOCK { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::windows_core::TypeKind for NDIS_DMA_BLOCK { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::default::Default for NDIS_DMA_BLOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`"] +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +pub struct NDIS_DMA_DESCRIPTION { + pub DemandMode: super::super::super::Win32::Foundation::BOOLEAN, + pub AutoInitialize: super::super::super::Win32::Foundation::BOOLEAN, + pub DmaChannelSpecified: super::super::super::Win32::Foundation::BOOLEAN, + pub DmaWidth: super::super::System::SystemServices::DMA_WIDTH, + pub DmaSpeed: super::super::System::SystemServices::DMA_SPEED, + pub DmaPort: u32, + pub DmaChannel: u32, +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::marker::Copy for NDIS_DMA_DESCRIPTION {} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::clone::Clone for NDIS_DMA_DESCRIPTION { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::fmt::Debug for NDIS_DMA_DESCRIPTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_DMA_DESCRIPTION").field("DemandMode", &self.DemandMode).field("AutoInitialize", &self.AutoInitialize).field("DmaChannelSpecified", &self.DmaChannelSpecified).field("DmaWidth", &self.DmaWidth).field("DmaSpeed", &self.DmaSpeed).field("DmaPort", &self.DmaPort).field("DmaChannel", &self.DmaChannel).finish() + } +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::windows_core::TypeKind for NDIS_DMA_DESCRIPTION { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::cmp::PartialEq for NDIS_DMA_DESCRIPTION { + fn eq(&self, other: &Self) -> bool { + self.DemandMode == other.DemandMode && self.AutoInitialize == other.AutoInitialize && self.DmaChannelSpecified == other.DmaChannelSpecified && self.DmaWidth == other.DmaWidth && self.DmaSpeed == other.DmaSpeed && self.DmaPort == other.DmaPort && self.DmaChannel == other.DmaChannel + } +} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::cmp::Eq for NDIS_DMA_DESCRIPTION {} +#[cfg(all(feature = "Wdk_System_SystemServices", feature = "Win32_Foundation"))] +impl ::core::default::Default for NDIS_DMA_DESCRIPTION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_EVENT { + pub Event: super::super::Foundation::KEVENT, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_EVENT {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_EVENT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::windows_core::TypeKind for NDIS_EVENT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::default::Default for NDIS_EVENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_GUID { + pub Guid: ::windows_core::GUID, + pub Anonymous: NDIS_GUID_0, + pub Size: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_GUID {} +impl ::core::clone::Clone for NDIS_GUID { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_GUID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_GUID { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union NDIS_GUID_0 { + pub Oid: u32, + pub Status: i32, +} +impl ::core::marker::Copy for NDIS_GUID_0 {} +impl ::core::clone::Clone for NDIS_GUID_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_GUID_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_GUID_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_HARDWARE_CROSSTIMESTAMP { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SystemTimestamp1: u64, + pub HardwareClockTimestamp: u64, + pub SystemTimestamp2: u64, +} +impl ::core::marker::Copy for NDIS_HARDWARE_CROSSTIMESTAMP {} +impl ::core::clone::Clone for NDIS_HARDWARE_CROSSTIMESTAMP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_HARDWARE_CROSSTIMESTAMP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_HARDWARE_CROSSTIMESTAMP").field("Header", &self.Header).field("Flags", &self.Flags).field("SystemTimestamp1", &self.SystemTimestamp1).field("HardwareClockTimestamp", &self.HardwareClockTimestamp).field("SystemTimestamp2", &self.SystemTimestamp2).finish() + } +} +impl ::windows_core::TypeKind for NDIS_HARDWARE_CROSSTIMESTAMP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_HARDWARE_CROSSTIMESTAMP { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.SystemTimestamp1 == other.SystemTimestamp1 && self.HardwareClockTimestamp == other.HardwareClockTimestamp && self.SystemTimestamp2 == other.SystemTimestamp2 + } +} +impl ::core::cmp::Eq for NDIS_HARDWARE_CROSSTIMESTAMP {} +impl ::core::default::Default for NDIS_HARDWARE_CROSSTIMESTAMP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_INTERRUPT_MODERATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub InterruptModeration: NDIS_INTERRUPT_MODERATION, +} +impl ::core::marker::Copy for NDIS_INTERRUPT_MODERATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_INTERRUPT_MODERATION_PARAMETERS").field("Header", &self.Header).field("Flags", &self.Flags).field("InterruptModeration", &self.InterruptModeration).finish() + } +} +impl ::windows_core::TypeKind for NDIS_INTERRUPT_MODERATION_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.InterruptModeration == other.InterruptModeration + } +} +impl ::core::cmp::Eq for NDIS_INTERRUPT_MODERATION_PARAMETERS {} +impl ::core::default::Default for NDIS_INTERRUPT_MODERATION_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IPSEC_OFFLOAD_V1").field("Supported", &self.Supported).field("IPv4AH", &self.IPv4AH).field("IPv4ESP", &self.IPv4ESP).finish() + } +} +impl ::windows_core::TypeKind for NDIS_IPSEC_OFFLOAD_V1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1 { + fn eq(&self, other: &Self) -> bool { + self.Supported == other.Supported && self.IPv4AH == other.IPv4AH && self.IPv4ESP == other.IPv4ESP + } +} +impl ::core::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1 {} +impl ::core::default::Default for NDIS_IPSEC_OFFLOAD_V1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IPSEC_OFFLOAD_V1_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_IPSEC_OFFLOAD_V1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_0 {} +impl ::core::default::Default for NDIS_IPSEC_OFFLOAD_V1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IPSEC_OFFLOAD_V1_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_IPSEC_OFFLOAD_V1_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_1 {} +impl ::core::default::Default for NDIS_IPSEC_OFFLOAD_V1_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_IPSEC_OFFLOAD_V1_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IPSEC_OFFLOAD_V1_2").field("Encapsulation", &self.Encapsulation).field("AhEspCombined", &self.AhEspCombined).field("TransportTunnelCombined", &self.TransportTunnelCombined).field("IPv4Options", &self.IPv4Options).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_IPSEC_OFFLOAD_V1_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_IPSEC_OFFLOAD_V1_2 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.AhEspCombined == other.AhEspCombined && self.TransportTunnelCombined == other.TransportTunnelCombined && self.IPv4Options == other.IPv4Options && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_IPSEC_OFFLOAD_V1_2 {} +impl ::core::default::Default for NDIS_IPSEC_OFFLOAD_V1_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub IpOperationalStatus: NDIS_IP_OPER_STATUS, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_IP_OPER_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IP_OPER_STATE").field("Header", &self.Header).field("Flags", &self.Flags).field("IpOperationalStatus", &self.IpOperationalStatus).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_IP_OPER_STATE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_IP_OPER_STATE { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.IpOperationalStatus == other.IpOperationalStatus + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_IP_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_IP_OPER_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATUS { + pub AddressFamily: u32, + pub OperationalStatus: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_IP_OPER_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IP_OPER_STATUS").field("AddressFamily", &self.AddressFamily).field("OperationalStatus", &self.OperationalStatus).field("OperationalStatusFlags", &self.OperationalStatusFlags).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_IP_OPER_STATUS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_IP_OPER_STATUS { + fn eq(&self, other: &Self) -> bool { + self.AddressFamily == other.AddressFamily && self.OperationalStatus == other.OperationalStatus && self.OperationalStatusFlags == other.OperationalStatusFlags + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_IP_OPER_STATUS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_IP_OPER_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_IP_OPER_STATUS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub NumberofAddressFamiliesReturned: u32, + pub IpOperationalStatus: [NDIS_IP_OPER_STATUS; 32], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_IP_OPER_STATUS_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_IP_OPER_STATUS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_IP_OPER_STATUS_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IP_OPER_STATUS_INFO").field("Header", &self.Header).field("Flags", &self.Flags).field("NumberofAddressFamiliesReturned", &self.NumberofAddressFamiliesReturned).field("IpOperationalStatus", &self.IpOperationalStatus).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_IP_OPER_STATUS_INFO { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_IP_OPER_STATUS_INFO { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.NumberofAddressFamiliesReturned == other.NumberofAddressFamiliesReturned && self.IpOperationalStatus == other.IpOperationalStatus + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_IP_OPER_STATUS_INFO {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_IP_OPER_STATUS_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_IRDA_PACKET_INFO { + pub ExtraBOFs: u32, + pub MinTurnAroundTime: u32, +} +impl ::core::marker::Copy for NDIS_IRDA_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_IRDA_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_IRDA_PACKET_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_IRDA_PACKET_INFO").field("ExtraBOFs", &self.ExtraBOFs).field("MinTurnAroundTime", &self.MinTurnAroundTime).finish() + } +} +impl ::windows_core::TypeKind for NDIS_IRDA_PACKET_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_IRDA_PACKET_INFO { + fn eq(&self, other: &Self) -> bool { + self.ExtraBOFs == other.ExtraBOFs && self.MinTurnAroundTime == other.MinTurnAroundTime + } +} +impl ::core::cmp::Eq for NDIS_IRDA_PACKET_INFO {} +impl ::core::default::Default for NDIS_IRDA_PACKET_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_LINK_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub MediaDuplexState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_LINK_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_LINK_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_LINK_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_LINK_PARAMETERS").field("Header", &self.Header).field("MediaDuplexState", &self.MediaDuplexState).field("XmitLinkSpeed", &self.XmitLinkSpeed).field("RcvLinkSpeed", &self.RcvLinkSpeed).field("PauseFunctions", &self.PauseFunctions).field("AutoNegotiationFlags", &self.AutoNegotiationFlags).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_LINK_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_LINK_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.MediaDuplexState == other.MediaDuplexState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.PauseFunctions == other.PauseFunctions && self.AutoNegotiationFlags == other.AutoNegotiationFlags + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_LINK_PARAMETERS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_LINK_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_LINK_SPEED { + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, +} +impl ::core::marker::Copy for NDIS_LINK_SPEED {} +impl ::core::clone::Clone for NDIS_LINK_SPEED { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_LINK_SPEED { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_LINK_SPEED").field("XmitLinkSpeed", &self.XmitLinkSpeed).field("RcvLinkSpeed", &self.RcvLinkSpeed).finish() + } +} +impl ::windows_core::TypeKind for NDIS_LINK_SPEED { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_LINK_SPEED { + fn eq(&self, other: &Self) -> bool { + self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed + } +} +impl ::core::cmp::Eq for NDIS_LINK_SPEED {} +impl ::core::default::Default for NDIS_LINK_SPEED { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_LINK_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub MediaDuplexState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_DUPLEX_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS, + pub AutoNegotiationFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_LINK_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_LINK_STATE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_LINK_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_LINK_STATE").field("Header", &self.Header).field("MediaConnectState", &self.MediaConnectState).field("MediaDuplexState", &self.MediaDuplexState).field("XmitLinkSpeed", &self.XmitLinkSpeed).field("RcvLinkSpeed", &self.RcvLinkSpeed).field("PauseFunctions", &self.PauseFunctions).field("AutoNegotiationFlags", &self.AutoNegotiationFlags).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_LINK_STATE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_LINK_STATE { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.MediaConnectState == other.MediaConnectState && self.MediaDuplexState == other.MediaDuplexState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.PauseFunctions == other.PauseFunctions && self.AutoNegotiationFlags == other.AutoNegotiationFlags + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_LINK_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_LINK_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_MINIPORT_BLOCK(pub isize); +impl ::core::default::Default for NDIS_MINIPORT_BLOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_MINIPORT_BLOCK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_MINIPORT_BLOCK {} +impl ::core::fmt::Debug for NDIS_MINIPORT_BLOCK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_MINIPORT_BLOCK").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_MINIPORT_BLOCK { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_MINIPORT_TIMER { + pub Timer: super::super::System::SystemServices::KTIMER, + pub Dpc: super::super::Foundation::KDPC, + pub MiniportTimerFunction: PNDIS_TIMER_FUNCTION, + pub MiniportTimerContext: *mut ::core::ffi::c_void, + pub Miniport: *mut NDIS_MINIPORT_BLOCK, + pub NextTimer: *mut NDIS_MINIPORT_TIMER, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_MINIPORT_TIMER {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_MINIPORT_TIMER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::windows_core::TypeKind for NDIS_MINIPORT_TIMER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::default::Default for NDIS_MINIPORT_TIMER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_M_DRIVER_BLOCK(pub isize); +impl ::core::default::Default for NDIS_M_DRIVER_BLOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_M_DRIVER_BLOCK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_M_DRIVER_BLOCK {} +impl ::core::fmt::Debug for NDIS_M_DRIVER_BLOCK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_M_DRIVER_BLOCK").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_M_DRIVER_BLOCK { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct NDIS_OBJECT_HEADER { + pub Type: u8, + pub Revision: u8, + pub Size: u16, +} +impl ::core::marker::Copy for NDIS_OBJECT_HEADER {} +impl ::core::clone::Clone for NDIS_OBJECT_HEADER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_OBJECT_HEADER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_OBJECT_HEADER").field("Type", &self.Type).field("Revision", &self.Revision).field("Size", &self.Size).finish() + } +} +impl ::windows_core::TypeKind for NDIS_OBJECT_HEADER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_OBJECT_HEADER { + fn eq(&self, other: &Self) -> bool { + self.Type == other.Type && self.Revision == other.Revision && self.Size == other.Size + } +} +impl ::core::cmp::Eq for NDIS_OBJECT_HEADER {} +impl ::core::default::Default for NDIS_OBJECT_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD {} +impl ::core::clone::Clone for NDIS_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_OFFLOAD").field("Header", &self.Header).field("Checksum", &self.Checksum).field("LsoV1", &self.LsoV1).field("IPsecV1", &self.IPsecV1).field("LsoV2", &self.LsoV2).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Checksum == other.Checksum && self.LsoV1 == other.LsoV1 && self.IPsecV1 == other.IPsecV1 && self.LsoV2 == other.LsoV2 && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_OFFLOAD {} +impl ::core::default::Default for NDIS_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_OFFLOAD_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub IPv4Checksum: u8, + pub TCPIPv4Checksum: u8, + pub UDPIPv4Checksum: u8, + pub TCPIPv6Checksum: u8, + pub UDPIPv6Checksum: u8, + pub LsoV1: u8, + pub IPsecV1: u8, + pub LsoV2IPv4: u8, + pub LsoV2IPv6: u8, + pub TcpConnectionIPv4: u8, + pub TcpConnectionIPv6: u8, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_OFFLOAD_PARAMETERS {} +impl ::core::clone::Clone for NDIS_OFFLOAD_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_OFFLOAD_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_OFFLOAD_PARAMETERS") + .field("Header", &self.Header) + .field("IPv4Checksum", &self.IPv4Checksum) + .field("TCPIPv4Checksum", &self.TCPIPv4Checksum) + .field("UDPIPv4Checksum", &self.UDPIPv4Checksum) + .field("TCPIPv6Checksum", &self.TCPIPv6Checksum) + .field("UDPIPv6Checksum", &self.UDPIPv6Checksum) + .field("LsoV1", &self.LsoV1) + .field("IPsecV1", &self.IPsecV1) + .field("LsoV2IPv4", &self.LsoV2IPv4) + .field("LsoV2IPv6", &self.LsoV2IPv6) + .field("TcpConnectionIPv4", &self.TcpConnectionIPv4) + .field("TcpConnectionIPv6", &self.TcpConnectionIPv6) + .field("Flags", &self.Flags) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_OFFLOAD_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_OFFLOAD_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.IPv4Checksum == other.IPv4Checksum && self.TCPIPv4Checksum == other.TCPIPv4Checksum && self.UDPIPv4Checksum == other.UDPIPv4Checksum && self.TCPIPv6Checksum == other.TCPIPv6Checksum && self.UDPIPv6Checksum == other.UDPIPv6Checksum && self.LsoV1 == other.LsoV1 && self.IPsecV1 == other.IPsecV1 && self.LsoV2IPv4 == other.LsoV2IPv4 && self.LsoV2IPv6 == other.LsoV2IPv6 && self.TcpConnectionIPv4 == other.TcpConnectionIPv4 && self.TcpConnectionIPv6 == other.TcpConnectionIPv6 && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_OFFLOAD_PARAMETERS {} +impl ::core::default::Default for NDIS_OFFLOAD_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_OPEN_BLOCK(pub isize); +impl ::core::default::Default for NDIS_OPEN_BLOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_OPEN_BLOCK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_OPEN_BLOCK {} +impl ::core::fmt::Debug for NDIS_OPEN_BLOCK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_OPEN_BLOCK").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_OPEN_BLOCK { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_OPER_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub OperationalStatus: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_OPER_STATUS, + pub OperationalStatusFlags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_OPER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_OPER_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_OPER_STATE").field("Header", &self.Header).field("OperationalStatus", &self.OperationalStatus).field("OperationalStatusFlags", &self.OperationalStatusFlags).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_OPER_STATE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_OPER_STATE { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.OperationalStatus == other.OperationalStatus && self.OperationalStatusFlags == other.OperationalStatusFlags + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_OPER_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_OPER_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PACKET_8021Q_INFO { + pub Anonymous: NDIS_PACKET_8021Q_INFO_0, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_PACKET_8021Q_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_PACKET_8021Q_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union NDIS_PACKET_8021Q_INFO_0 { + pub TagHeader: NDIS_PACKET_8021Q_INFO_0_0, + pub Value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO_0 {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_PACKET_8021Q_INFO_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_PACKET_8021Q_INFO_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PACKET_8021Q_INFO_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_PACKET_8021Q_INFO_0_0 {} +impl ::core::clone::Clone for NDIS_PACKET_8021Q_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PACKET_8021Q_INFO_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PACKET_8021Q_INFO_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PACKET_8021Q_INFO_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PACKET_8021Q_INFO_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_PACKET_8021Q_INFO_0_0 {} +impl ::core::default::Default for NDIS_PACKET_8021Q_INFO_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + pub Header: NDIS_OBJECT_HEADER, + pub DeviceType: u32, + pub CurrentSpeedAndMode: u32, + pub CurrentPayloadSize: u32, + pub MaxPayloadSize: u32, + pub MaxReadRequestSize: u32, + pub CurrentLinkSpeed: u32, + pub CurrentLinkWidth: u32, + pub MaxLinkSpeed: u32, + pub MaxLinkWidth: u32, + pub PciExpressVersion: u32, + pub InterruptType: u32, + pub MaxInterruptMessages: u32, +} +impl ::core::marker::Copy for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} +impl ::core::clone::Clone for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PCI_DEVICE_CUSTOM_PROPERTIES") + .field("Header", &self.Header) + .field("DeviceType", &self.DeviceType) + .field("CurrentSpeedAndMode", &self.CurrentSpeedAndMode) + .field("CurrentPayloadSize", &self.CurrentPayloadSize) + .field("MaxPayloadSize", &self.MaxPayloadSize) + .field("MaxReadRequestSize", &self.MaxReadRequestSize) + .field("CurrentLinkSpeed", &self.CurrentLinkSpeed) + .field("CurrentLinkWidth", &self.CurrentLinkWidth) + .field("MaxLinkSpeed", &self.MaxLinkSpeed) + .field("MaxLinkWidth", &self.MaxLinkWidth) + .field("PciExpressVersion", &self.PciExpressVersion) + .field("InterruptType", &self.InterruptType) + .field("MaxInterruptMessages", &self.MaxInterruptMessages) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.DeviceType == other.DeviceType && self.CurrentSpeedAndMode == other.CurrentSpeedAndMode && self.CurrentPayloadSize == other.CurrentPayloadSize && self.MaxPayloadSize == other.MaxPayloadSize && self.MaxReadRequestSize == other.MaxReadRequestSize && self.CurrentLinkSpeed == other.CurrentLinkSpeed && self.CurrentLinkWidth == other.CurrentLinkWidth && self.MaxLinkSpeed == other.MaxLinkSpeed && self.MaxLinkWidth == other.MaxLinkWidth && self.PciExpressVersion == other.PciExpressVersion && self.InterruptType == other.InterruptType && self.MaxInterruptMessages == other.MaxInterruptMessages + } +} +impl ::core::cmp::Eq for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES {} +impl ::core::default::Default for NDIS_PCI_DEVICE_CUSTOM_PROPERTIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PD_COUNTER_HANDLE(pub isize); +impl ::core::default::Default for NDIS_PD_COUNTER_HANDLE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_PD_COUNTER_HANDLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_PD_COUNTER_HANDLE {} +impl ::core::fmt::Debug for NDIS_PD_COUNTER_HANDLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PD_COUNTER_HANDLE").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PD_COUNTER_HANDLE { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PD_FILTER_HANDLE(pub isize); +impl ::core::default::Default for NDIS_PD_FILTER_HANDLE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_PD_FILTER_HANDLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_PD_FILTER_HANDLE {} +impl ::core::fmt::Debug for NDIS_PD_FILTER_HANDLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PD_FILTER_HANDLE").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PD_FILTER_HANDLE { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PD_PROVIDER_HANDLE(pub isize); +impl ::core::default::Default for NDIS_PD_PROVIDER_HANDLE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_PD_PROVIDER_HANDLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_PD_PROVIDER_HANDLE {} +impl ::core::fmt::Debug for NDIS_PD_PROVIDER_HANDLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PD_PROVIDER_HANDLE").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PD_PROVIDER_HANDLE { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct NDIS_PHYSICAL_ADDRESS_UNIT { + pub PhysicalAddress: i64, + pub Length: u32, +} +impl ::core::marker::Copy for NDIS_PHYSICAL_ADDRESS_UNIT {} +impl ::core::clone::Clone for NDIS_PHYSICAL_ADDRESS_UNIT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PHYSICAL_ADDRESS_UNIT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PHYSICAL_ADDRESS_UNIT").field("PhysicalAddress", &self.PhysicalAddress).field("Length", &self.Length).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PHYSICAL_ADDRESS_UNIT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PHYSICAL_ADDRESS_UNIT { + fn eq(&self, other: &Self) -> bool { + self.PhysicalAddress == other.PhysicalAddress && self.Length == other.Length + } +} +impl ::core::cmp::Eq for NDIS_PHYSICAL_ADDRESS_UNIT {} +impl ::core::default::Default for NDIS_PHYSICAL_ADDRESS_UNIT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PM_PACKET_PATTERN { + pub Priority: u32, + pub Reserved: u32, + pub MaskSize: u32, + pub PatternOffset: u32, + pub PatternSize: u32, + pub PatternFlags: u32, +} +impl ::core::marker::Copy for NDIS_PM_PACKET_PATTERN {} +impl ::core::clone::Clone for NDIS_PM_PACKET_PATTERN { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PM_PACKET_PATTERN { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PM_PACKET_PATTERN").field("Priority", &self.Priority).field("Reserved", &self.Reserved).field("MaskSize", &self.MaskSize).field("PatternOffset", &self.PatternOffset).field("PatternSize", &self.PatternSize).field("PatternFlags", &self.PatternFlags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PM_PACKET_PATTERN { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PM_PACKET_PATTERN { + fn eq(&self, other: &Self) -> bool { + self.Priority == other.Priority && self.Reserved == other.Reserved && self.MaskSize == other.MaskSize && self.PatternOffset == other.PatternOffset && self.PatternSize == other.PatternSize && self.PatternFlags == other.PatternFlags + } +} +impl ::core::cmp::Eq for NDIS_PM_PACKET_PATTERN {} +impl ::core::default::Default for NDIS_PM_PACKET_PATTERN { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PM_WAKE_UP_CAPABILITIES { + pub MinMagicPacketWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinPatternWakeUp: NDIS_DEVICE_POWER_STATE, + pub MinLinkChangeWakeUp: NDIS_DEVICE_POWER_STATE, +} +impl ::core::marker::Copy for NDIS_PM_WAKE_UP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PM_WAKE_UP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PM_WAKE_UP_CAPABILITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PM_WAKE_UP_CAPABILITIES").field("MinMagicPacketWakeUp", &self.MinMagicPacketWakeUp).field("MinPatternWakeUp", &self.MinPatternWakeUp).field("MinLinkChangeWakeUp", &self.MinLinkChangeWakeUp).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PM_WAKE_UP_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PM_WAKE_UP_CAPABILITIES { + fn eq(&self, other: &Self) -> bool { + self.MinMagicPacketWakeUp == other.MinMagicPacketWakeUp && self.MinPatternWakeUp == other.MinPatternWakeUp && self.MinLinkChangeWakeUp == other.MinLinkChangeWakeUp + } +} +impl ::core::cmp::Eq for NDIS_PM_WAKE_UP_CAPABILITIES {} +impl ::core::default::Default for NDIS_PM_WAKE_UP_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PNP_CAPABILITIES { + pub Flags: u32, + pub WakeUpCapabilities: NDIS_PM_WAKE_UP_CAPABILITIES, +} +impl ::core::marker::Copy for NDIS_PNP_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_PNP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PNP_CAPABILITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PNP_CAPABILITIES").field("Flags", &self.Flags).field("WakeUpCapabilities", &self.WakeUpCapabilities).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PNP_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PNP_CAPABILITIES { + fn eq(&self, other: &Self) -> bool { + self.Flags == other.Flags && self.WakeUpCapabilities == other.WakeUpCapabilities + } +} +impl ::core::cmp::Eq for NDIS_PNP_CAPABILITIES {} +impl ::core::default::Default for NDIS_PNP_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_POLL_HANDLE(pub isize); +impl ::core::default::Default for NDIS_POLL_HANDLE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_POLL_HANDLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_POLL_HANDLE {} +impl ::core::fmt::Debug for NDIS_POLL_HANDLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_POLL_HANDLE").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_POLL_HANDLE { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT { + pub Next: *mut NDIS_PORT, + pub NdisReserved: *mut ::core::ffi::c_void, + pub MiniportReserved: *mut ::core::ffi::c_void, + pub ProtocolReserved: *mut ::core::ffi::c_void, + pub PortCharacteristics: NDIS_PORT_CHARACTERISTICS, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_PORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PORT").field("Next", &self.Next).field("NdisReserved", &self.NdisReserved).field("MiniportReserved", &self.MiniportReserved).field("ProtocolReserved", &self.ProtocolReserved).field("PortCharacteristics", &self.PortCharacteristics).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_PORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_PORT { + fn eq(&self, other: &Self) -> bool { + self.Next == other.Next && self.NdisReserved == other.NdisReserved && self.MiniportReserved == other.MiniportReserved && self.ProtocolReserved == other.ProtocolReserved && self.PortCharacteristics == other.PortCharacteristics + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_PORT {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_PORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_ARRAY { + pub Header: NDIS_OBJECT_HEADER, + pub NumberOfPorts: u32, + pub OffsetFirstPort: u32, + pub ElementSize: u32, + pub Ports: [NDIS_PORT_CHARACTERISTICS; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_ARRAY {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_PORT_ARRAY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PORT_ARRAY").field("Header", &self.Header).field("NumberOfPorts", &self.NumberOfPorts).field("OffsetFirstPort", &self.OffsetFirstPort).field("ElementSize", &self.ElementSize).field("Ports", &self.Ports).finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_PORT_ARRAY { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_PORT_ARRAY { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.NumberOfPorts == other.NumberOfPorts && self.OffsetFirstPort == other.OffsetFirstPort && self.ElementSize == other.ElementSize && self.Ports == other.Ports + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_PORT_ARRAY {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_PORT_ARRAY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_PORT_AUTHENTICATION_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +impl ::core::marker::Copy for NDIS_PORT_AUTHENTICATION_PARAMETERS {} +impl ::core::clone::Clone for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PORT_AUTHENTICATION_PARAMETERS").field("Header", &self.Header).field("SendControlState", &self.SendControlState).field("RcvControlState", &self.RcvControlState).field("SendAuthorizationState", &self.SendAuthorizationState).field("RcvAuthorizationState", &self.RcvAuthorizationState).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PORT_AUTHENTICATION_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.SendControlState == other.SendControlState && self.RcvControlState == other.RcvControlState && self.SendAuthorizationState == other.SendAuthorizationState && self.RcvAuthorizationState == other.RcvAuthorizationState + } +} +impl ::core::cmp::Eq for NDIS_PORT_AUTHENTICATION_PARAMETERS {} +impl ::core::default::Default for NDIS_PORT_AUTHENTICATION_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_CHARACTERISTICS { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub Flags: u32, + pub Type: NDIS_PORT_TYPE, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_CHARACTERISTICS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_CHARACTERISTICS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_PORT_CHARACTERISTICS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PORT_CHARACTERISTICS") + .field("Header", &self.Header) + .field("PortNumber", &self.PortNumber) + .field("Flags", &self.Flags) + .field("Type", &self.Type) + .field("MediaConnectState", &self.MediaConnectState) + .field("XmitLinkSpeed", &self.XmitLinkSpeed) + .field("RcvLinkSpeed", &self.RcvLinkSpeed) + .field("Direction", &self.Direction) + .field("SendControlState", &self.SendControlState) + .field("RcvControlState", &self.RcvControlState) + .field("SendAuthorizationState", &self.SendAuthorizationState) + .field("RcvAuthorizationState", &self.RcvAuthorizationState) + .finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_PORT_CHARACTERISTICS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_PORT_CHARACTERISTICS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.PortNumber == other.PortNumber && self.Flags == other.Flags && self.Type == other.Type && self.MediaConnectState == other.MediaConnectState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.Direction == other.Direction && self.SendControlState == other.SendControlState && self.RcvControlState == other.RcvControlState && self.SendAuthorizationState == other.SendAuthorizationState && self.RcvAuthorizationState == other.RcvAuthorizationState + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_PORT_CHARACTERISTICS {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_PORT_CHARACTERISTICS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_PORT_STATE { + pub Header: NDIS_OBJECT_HEADER, + pub MediaConnectState: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_MEDIA_CONNECT_STATE, + pub XmitLinkSpeed: u64, + pub RcvLinkSpeed: u64, + pub Direction: super::super::super::Win32::NetworkManagement::Ndis::NET_IF_DIRECTION_TYPE, + pub SendControlState: NDIS_PORT_CONTROL_STATE, + pub RcvControlState: NDIS_PORT_CONTROL_STATE, + pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, + pub Flags: u32, +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_PORT_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_PORT_STATE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::fmt::Debug for NDIS_PORT_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_PORT_STATE") + .field("Header", &self.Header) + .field("MediaConnectState", &self.MediaConnectState) + .field("XmitLinkSpeed", &self.XmitLinkSpeed) + .field("RcvLinkSpeed", &self.RcvLinkSpeed) + .field("Direction", &self.Direction) + .field("SendControlState", &self.SendControlState) + .field("RcvControlState", &self.RcvControlState) + .field("SendAuthorizationState", &self.SendAuthorizationState) + .field("RcvAuthorizationState", &self.RcvAuthorizationState) + .field("Flags", &self.Flags) + .finish() + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_PORT_STATE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::PartialEq for NDIS_PORT_STATE { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.MediaConnectState == other.MediaConnectState && self.XmitLinkSpeed == other.XmitLinkSpeed && self.RcvLinkSpeed == other.RcvLinkSpeed && self.Direction == other.Direction && self.SendControlState == other.SendControlState && self.RcvControlState == other.RcvControlState && self.SendAuthorizationState == other.SendAuthorizationState && self.RcvAuthorizationState == other.RcvAuthorizationState && self.Flags == other.Flags + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::cmp::Eq for NDIS_PORT_STATE {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_PORT_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_PROTOCOL_BLOCK(pub isize); +impl ::core::default::Default for NDIS_PROTOCOL_BLOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_PROTOCOL_BLOCK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_PROTOCOL_BLOCK {} +impl ::core::fmt::Debug for NDIS_PROTOCOL_BLOCK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_PROTOCOL_BLOCK").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_PROTOCOL_BLOCK { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct NDIS_RECEIVE_HASH_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub HashInformation: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_HASH_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_HASH_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_RECEIVE_HASH_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_RECEIVE_HASH_PARAMETERS").field("Header", &self.Header).field("Flags", &self.Flags).field("HashInformation", &self.HashInformation).field("HashSecretKeySize", &self.HashSecretKeySize).field("HashSecretKeyOffset", &self.HashSecretKeyOffset).finish() + } +} +impl ::windows_core::TypeKind for NDIS_RECEIVE_HASH_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_RECEIVE_HASH_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.HashInformation == other.HashInformation && self.HashSecretKeySize == other.HashSecretKeySize && self.HashSecretKeyOffset == other.HashSecretKeyOffset + } +} +impl ::core::cmp::Eq for NDIS_RECEIVE_HASH_PARAMETERS {} +impl ::core::default::Default for NDIS_RECEIVE_HASH_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub CapabilitiesFlags: u32, + pub NumberOfInterruptMessages: u32, + pub NumberOfReceiveQueues: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_RECEIVE_SCALE_CAPABILITIES").field("Header", &self.Header).field("CapabilitiesFlags", &self.CapabilitiesFlags).field("NumberOfInterruptMessages", &self.NumberOfInterruptMessages).field("NumberOfReceiveQueues", &self.NumberOfReceiveQueues).finish() + } +} +impl ::windows_core::TypeKind for NDIS_RECEIVE_SCALE_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.CapabilitiesFlags == other.CapabilitiesFlags && self.NumberOfInterruptMessages == other.NumberOfInterruptMessages && self.NumberOfReceiveQueues == other.NumberOfReceiveQueues + } +} +impl ::core::cmp::Eq for NDIS_RECEIVE_SCALE_CAPABILITIES {} +impl ::core::default::Default for NDIS_RECEIVE_SCALE_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_RECEIVE_SCALE_PARAMETERS { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u16, + pub BaseCpuNumber: u16, + pub HashInformation: u32, + pub IndirectionTableSize: u16, + pub IndirectionTableOffset: u32, + pub HashSecretKeySize: u16, + pub HashSecretKeyOffset: u32, +} +impl ::core::marker::Copy for NDIS_RECEIVE_SCALE_PARAMETERS {} +impl ::core::clone::Clone for NDIS_RECEIVE_SCALE_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_RECEIVE_SCALE_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_RECEIVE_SCALE_PARAMETERS").field("Header", &self.Header).field("Flags", &self.Flags).field("BaseCpuNumber", &self.BaseCpuNumber).field("HashInformation", &self.HashInformation).field("IndirectionTableSize", &self.IndirectionTableSize).field("IndirectionTableOffset", &self.IndirectionTableOffset).field("HashSecretKeySize", &self.HashSecretKeySize).field("HashSecretKeyOffset", &self.HashSecretKeyOffset).finish() + } +} +impl ::windows_core::TypeKind for NDIS_RECEIVE_SCALE_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_RECEIVE_SCALE_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.BaseCpuNumber == other.BaseCpuNumber && self.HashInformation == other.HashInformation && self.IndirectionTableSize == other.IndirectionTableSize && self.IndirectionTableOffset == other.IndirectionTableOffset && self.HashSecretKeySize == other.HashSecretKeySize && self.HashSecretKeyOffset == other.HashSecretKeyOffset + } +} +impl ::core::cmp::Eq for NDIS_RECEIVE_SCALE_PARAMETERS {} +impl ::core::default::Default for NDIS_RECEIVE_SCALE_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK { + pub Anonymous1: NDIS_RW_LOCK_0, + pub Anonymous2: NDIS_RW_LOCK_1, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_RW_LOCK { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_RW_LOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_RW_LOCK_0 { + pub Anonymous: NDIS_RW_LOCK_0_0, + pub Reserved: [u8; 16], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_RW_LOCK_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_RW_LOCK_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK_0_0 { + pub SpinLock: usize, + pub Context: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for NDIS_RW_LOCK_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_RW_LOCK_0_0").field("SpinLock", &self.SpinLock).field("Context", &self.Context).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_RW_LOCK_0_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for NDIS_RW_LOCK_0_0 { + fn eq(&self, other: &Self) -> bool { + self.SpinLock == other.SpinLock && self.Context == other.Context + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for NDIS_RW_LOCK_0_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_RW_LOCK_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union NDIS_RW_LOCK_1 { + pub RefCount: [NDIS_RW_LOCK_REFCOUNT; 32], + pub RefCountEx: [u32; 128], + pub Anonymous: NDIS_RW_LOCK_1_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_1 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_RW_LOCK_1 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_RW_LOCK_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_RW_LOCK_1_0 { + pub RefCountLock: usize, + pub SharedRefCount: u32, + pub WriterWaiting: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_RW_LOCK_1_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_RW_LOCK_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for NDIS_RW_LOCK_1_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_RW_LOCK_1_0").field("RefCountLock", &self.RefCountLock).field("SharedRefCount", &self.SharedRefCount).field("WriterWaiting", &self.WriterWaiting).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_RW_LOCK_1_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for NDIS_RW_LOCK_1_0 { + fn eq(&self, other: &Self) -> bool { + self.RefCountLock == other.RefCountLock && self.SharedRefCount == other.SharedRefCount && self.WriterWaiting == other.WriterWaiting + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for NDIS_RW_LOCK_1_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_RW_LOCK_1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union NDIS_RW_LOCK_REFCOUNT { + pub RefCount: u32, + pub cacheLine: [u8; 16], +} +impl ::core::marker::Copy for NDIS_RW_LOCK_REFCOUNT {} +impl ::core::clone::Clone for NDIS_RW_LOCK_REFCOUNT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_RW_LOCK_REFCOUNT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_RW_LOCK_REFCOUNT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_SPIN_LOCK { + pub SpinLock: usize, + pub OldIrql: u8, +} +impl ::core::marker::Copy for NDIS_SPIN_LOCK {} +impl ::core::clone::Clone for NDIS_SPIN_LOCK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_SPIN_LOCK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_SPIN_LOCK").field("SpinLock", &self.SpinLock).field("OldIrql", &self.OldIrql).finish() + } +} +impl ::windows_core::TypeKind for NDIS_SPIN_LOCK { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_SPIN_LOCK { + fn eq(&self, other: &Self) -> bool { + self.SpinLock == other.SpinLock && self.OldIrql == other.OldIrql + } +} +impl ::core::cmp::Eq for NDIS_SPIN_LOCK {} +impl ::core::default::Default for NDIS_SPIN_LOCK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub SupportedStatistics: u32, + pub ifInDiscards: u64, + pub ifInErrors: u64, + pub ifHCInOctets: u64, + pub ifHCInUcastPkts: u64, + pub ifHCInMulticastPkts: u64, + pub ifHCInBroadcastPkts: u64, + pub ifHCOutOctets: u64, + pub ifHCOutUcastPkts: u64, + pub ifHCOutMulticastPkts: u64, + pub ifHCOutBroadcastPkts: u64, + pub ifOutErrors: u64, + pub ifOutDiscards: u64, + pub ifHCInUcastOctets: u64, + pub ifHCInMulticastOctets: u64, + pub ifHCInBroadcastOctets: u64, + pub ifHCOutUcastOctets: u64, + pub ifHCOutMulticastOctets: u64, + pub ifHCOutBroadcastOctets: u64, +} +impl ::core::marker::Copy for NDIS_STATISTICS_INFO {} +impl ::core::clone::Clone for NDIS_STATISTICS_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_STATISTICS_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_STATISTICS_INFO") + .field("Header", &self.Header) + .field("SupportedStatistics", &self.SupportedStatistics) + .field("ifInDiscards", &self.ifInDiscards) + .field("ifInErrors", &self.ifInErrors) + .field("ifHCInOctets", &self.ifHCInOctets) + .field("ifHCInUcastPkts", &self.ifHCInUcastPkts) + .field("ifHCInMulticastPkts", &self.ifHCInMulticastPkts) + .field("ifHCInBroadcastPkts", &self.ifHCInBroadcastPkts) + .field("ifHCOutOctets", &self.ifHCOutOctets) + .field("ifHCOutUcastPkts", &self.ifHCOutUcastPkts) + .field("ifHCOutMulticastPkts", &self.ifHCOutMulticastPkts) + .field("ifHCOutBroadcastPkts", &self.ifHCOutBroadcastPkts) + .field("ifOutErrors", &self.ifOutErrors) + .field("ifOutDiscards", &self.ifOutDiscards) + .field("ifHCInUcastOctets", &self.ifHCInUcastOctets) + .field("ifHCInMulticastOctets", &self.ifHCInMulticastOctets) + .field("ifHCInBroadcastOctets", &self.ifHCInBroadcastOctets) + .field("ifHCOutUcastOctets", &self.ifHCOutUcastOctets) + .field("ifHCOutMulticastOctets", &self.ifHCOutMulticastOctets) + .field("ifHCOutBroadcastOctets", &self.ifHCOutBroadcastOctets) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_STATISTICS_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_STATISTICS_INFO { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header + && self.SupportedStatistics == other.SupportedStatistics + && self.ifInDiscards == other.ifInDiscards + && self.ifInErrors == other.ifInErrors + && self.ifHCInOctets == other.ifHCInOctets + && self.ifHCInUcastPkts == other.ifHCInUcastPkts + && self.ifHCInMulticastPkts == other.ifHCInMulticastPkts + && self.ifHCInBroadcastPkts == other.ifHCInBroadcastPkts + && self.ifHCOutOctets == other.ifHCOutOctets + && self.ifHCOutUcastPkts == other.ifHCOutUcastPkts + && self.ifHCOutMulticastPkts == other.ifHCOutMulticastPkts + && self.ifHCOutBroadcastPkts == other.ifHCOutBroadcastPkts + && self.ifOutErrors == other.ifOutErrors + && self.ifOutDiscards == other.ifOutDiscards + && self.ifHCInUcastOctets == other.ifHCInUcastOctets + && self.ifHCInMulticastOctets == other.ifHCInMulticastOctets + && self.ifHCInBroadcastOctets == other.ifHCInBroadcastOctets + && self.ifHCOutUcastOctets == other.ifHCOutUcastOctets + && self.ifHCOutMulticastOctets == other.ifHCOutMulticastOctets + && self.ifHCOutBroadcastOctets == other.ifHCOutBroadcastOctets + } +} +impl ::core::cmp::Eq for NDIS_STATISTICS_INFO {} +impl ::core::default::Default for NDIS_STATISTICS_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE { + pub Oid: u32, + pub DataLength: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_STATISTICS_VALUE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_STATISTICS_VALUE").field("Oid", &self.Oid).field("DataLength", &self.DataLength).field("Data", &self.Data).finish() + } +} +impl ::windows_core::TypeKind for NDIS_STATISTICS_VALUE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_STATISTICS_VALUE { + fn eq(&self, other: &Self) -> bool { + self.Oid == other.Oid && self.DataLength == other.DataLength && self.Data == other.Data + } +} +impl ::core::cmp::Eq for NDIS_STATISTICS_VALUE {} +impl ::core::default::Default for NDIS_STATISTICS_VALUE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_STATISTICS_VALUE_EX { + pub Oid: u32, + pub DataLength: u32, + pub Length: u32, + pub Data: [u8; 1], +} +impl ::core::marker::Copy for NDIS_STATISTICS_VALUE_EX {} +impl ::core::clone::Clone for NDIS_STATISTICS_VALUE_EX { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_STATISTICS_VALUE_EX { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_STATISTICS_VALUE_EX").field("Oid", &self.Oid).field("DataLength", &self.DataLength).field("Length", &self.Length).field("Data", &self.Data).finish() + } +} +impl ::windows_core::TypeKind for NDIS_STATISTICS_VALUE_EX { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_STATISTICS_VALUE_EX { + fn eq(&self, other: &Self) -> bool { + self.Oid == other.Oid && self.DataLength == other.DataLength && self.Length == other.Length && self.Data == other.Data + } +} +impl ::core::cmp::Eq for NDIS_STATISTICS_VALUE_EX {} +impl ::core::default::Default for NDIS_STATISTICS_VALUE_EX { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub _bitfield: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_CONNECTION_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_CONNECTION_OFFLOAD").field("Header", &self.Header).field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).field("TcpConnectionOffloadCapacity", &self.TcpConnectionOffloadCapacity).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_CONNECTION_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_CONNECTION_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield && self.TcpConnectionOffloadCapacity == other.TcpConnectionOffloadCapacity && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_TCP_CONNECTION_OFFLOAD {} +impl ::core::default::Default for NDIS_TCP_CONNECTION_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD").field("IPv4Transmit", &self.IPv4Transmit).field("IPv4Receive", &self.IPv4Receive).field("IPv6Transmit", &self.IPv6Transmit).field("IPv6Receive", &self.IPv6Receive).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.IPv4Transmit == other.IPv4Transmit && self.IPv4Receive == other.IPv4Receive && self.IPv6Transmit == other.IPv6Transmit && self.IPv6Receive == other.IPv6Receive + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD_0").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD_1").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD_2").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_OFFLOAD_3").field("Encapsulation", &self.Encapsulation).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + pub Anonymous: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_PACKET_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub union NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + pub Transmit: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1, + pub Receive: NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0, + pub Value: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 {} +impl ::core::clone::Clone for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 {} +impl ::core::default::Default for NDIS_TCP_IP_CHECKSUM_PACKET_INFO_0_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V1").field("IPv4", &self.IPv4).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn eq(&self, other: &Self) -> bool { + self.IPv4 == other.IPv4 + } +} +impl ::core::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V2").field("IPv4", &self.IPv4).field("IPv6", &self.IPv6).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn eq(&self, other: &Self) -> bool { + self.IPv4 == other.IPv4 && self.IPv6 == other.IPv6 + } +} +impl ::core::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount + } +} +impl ::core::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub _bitfield: u32, +} +impl ::core::marker::Copy for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::default::Default for NDIS_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub TimeoutArrayLength: u32, + pub TimeoutArray: [u32; 1], +} +impl ::core::marker::Copy for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} +impl ::core::clone::Clone for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES").field("Header", &self.Header).field("Flags", &self.Flags).field("TimeoutArrayLength", &self.TimeoutArrayLength).field("TimeoutArray", &self.TimeoutArray).finish() + } +} +impl ::windows_core::TypeKind for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.TimeoutArrayLength == other.TimeoutArrayLength && self.TimeoutArray == other.TimeoutArray + } +} +impl ::core::cmp::Eq for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES {} +impl ::core::default::Default for NDIS_TIMEOUT_DPC_REQUEST_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +pub struct NDIS_TIMER { + pub Timer: super::super::System::SystemServices::KTIMER, + pub Dpc: super::super::Foundation::KDPC, +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::marker::Copy for NDIS_TIMER {} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::clone::Clone for NDIS_TIMER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::windows_core::TypeKind for NDIS_TIMER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +impl ::core::default::Default for NDIS_TIMER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITIES { + pub Header: NDIS_OBJECT_HEADER, + pub HardwareClockFrequencyHz: u64, + pub CrossTimestamp: super::super::super::Win32::Foundation::BOOLEAN, + pub Reserved1: u64, + pub Reserved2: u64, + pub TimestampFlags: NDIS_TIMESTAMP_CAPABILITY_FLAGS, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITIES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for NDIS_TIMESTAMP_CAPABILITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TIMESTAMP_CAPABILITIES").field("Header", &self.Header).field("HardwareClockFrequencyHz", &self.HardwareClockFrequencyHz).field("CrossTimestamp", &self.CrossTimestamp).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("TimestampFlags", &self.TimestampFlags).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_TIMESTAMP_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for NDIS_TIMESTAMP_CAPABILITIES { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.HardwareClockFrequencyHz == other.HardwareClockFrequencyHz && self.CrossTimestamp == other.CrossTimestamp && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.TimestampFlags == other.TimestampFlags + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for NDIS_TIMESTAMP_CAPABILITIES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_TIMESTAMP_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_TIMESTAMP_CAPABILITY_FLAGS { + pub PtpV2OverUdpIPv4EventMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4EventMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv4AllMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6EventMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub PtpV2OverUdpIPv6AllMsgTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllReceiveHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub TaggedTransmitHw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllReceiveSw: super::super::super::Win32::Foundation::BOOLEAN, + pub AllTransmitSw: super::super::super::Win32::Foundation::BOOLEAN, + pub TaggedTransmitSw: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_TIMESTAMP_CAPABILITY_FLAGS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_TIMESTAMP_CAPABILITY_FLAGS") + .field("PtpV2OverUdpIPv4EventMsgReceiveHw", &self.PtpV2OverUdpIPv4EventMsgReceiveHw) + .field("PtpV2OverUdpIPv4AllMsgReceiveHw", &self.PtpV2OverUdpIPv4AllMsgReceiveHw) + .field("PtpV2OverUdpIPv4EventMsgTransmitHw", &self.PtpV2OverUdpIPv4EventMsgTransmitHw) + .field("PtpV2OverUdpIPv4AllMsgTransmitHw", &self.PtpV2OverUdpIPv4AllMsgTransmitHw) + .field("PtpV2OverUdpIPv6EventMsgReceiveHw", &self.PtpV2OverUdpIPv6EventMsgReceiveHw) + .field("PtpV2OverUdpIPv6AllMsgReceiveHw", &self.PtpV2OverUdpIPv6AllMsgReceiveHw) + .field("PtpV2OverUdpIPv6EventMsgTransmitHw", &self.PtpV2OverUdpIPv6EventMsgTransmitHw) + .field("PtpV2OverUdpIPv6AllMsgTransmitHw", &self.PtpV2OverUdpIPv6AllMsgTransmitHw) + .field("AllReceiveHw", &self.AllReceiveHw) + .field("AllTransmitHw", &self.AllTransmitHw) + .field("TaggedTransmitHw", &self.TaggedTransmitHw) + .field("AllReceiveSw", &self.AllReceiveSw) + .field("AllTransmitSw", &self.AllTransmitSw) + .field("TaggedTransmitSw", &self.TaggedTransmitSw) + .finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn eq(&self, other: &Self) -> bool { + self.PtpV2OverUdpIPv4EventMsgReceiveHw == other.PtpV2OverUdpIPv4EventMsgReceiveHw + && self.PtpV2OverUdpIPv4AllMsgReceiveHw == other.PtpV2OverUdpIPv4AllMsgReceiveHw + && self.PtpV2OverUdpIPv4EventMsgTransmitHw == other.PtpV2OverUdpIPv4EventMsgTransmitHw + && self.PtpV2OverUdpIPv4AllMsgTransmitHw == other.PtpV2OverUdpIPv4AllMsgTransmitHw + && self.PtpV2OverUdpIPv6EventMsgReceiveHw == other.PtpV2OverUdpIPv6EventMsgReceiveHw + && self.PtpV2OverUdpIPv6AllMsgReceiveHw == other.PtpV2OverUdpIPv6AllMsgReceiveHw + && self.PtpV2OverUdpIPv6EventMsgTransmitHw == other.PtpV2OverUdpIPv6EventMsgTransmitHw + && self.PtpV2OverUdpIPv6AllMsgTransmitHw == other.PtpV2OverUdpIPv6AllMsgTransmitHw + && self.AllReceiveHw == other.AllReceiveHw + && self.AllTransmitHw == other.AllTransmitHw + && self.TaggedTransmitHw == other.TaggedTransmitHw + && self.AllReceiveSw == other.AllReceiveSw + && self.AllTransmitSw == other.AllTransmitSw + && self.TaggedTransmitSw == other.TaggedTransmitSw + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for NDIS_TIMESTAMP_CAPABILITY_FLAGS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_TIMESTAMP_CAPABILITY_FLAGS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_VAR_DATA_DESC { + pub Length: u16, + pub MaximumLength: u16, + pub Offset: usize, +} +impl ::core::marker::Copy for NDIS_VAR_DATA_DESC {} +impl ::core::clone::Clone for NDIS_VAR_DATA_DESC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_VAR_DATA_DESC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_VAR_DATA_DESC").field("Length", &self.Length).field("MaximumLength", &self.MaximumLength).field("Offset", &self.Offset).finish() + } +} +impl ::windows_core::TypeKind for NDIS_VAR_DATA_DESC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_VAR_DATA_DESC { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.MaximumLength == other.MaximumLength && self.Offset == other.Offset + } +} +impl ::core::cmp::Eq for NDIS_VAR_DATA_DESC {} +impl ::core::default::Default for NDIS_VAR_DATA_DESC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WAN_FRAGMENT { + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_WAN_FRAGMENT {} +impl ::core::clone::Clone for NDIS_WAN_FRAGMENT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WAN_FRAGMENT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WAN_FRAGMENT").field("RemoteAddress", &self.RemoteAddress).field("LocalAddress", &self.LocalAddress).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WAN_FRAGMENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WAN_FRAGMENT { + fn eq(&self, other: &Self) -> bool { + self.RemoteAddress == other.RemoteAddress && self.LocalAddress == other.LocalAddress + } +} +impl ::core::cmp::Eq for NDIS_WAN_FRAGMENT {} +impl ::core::default::Default for NDIS_WAN_FRAGMENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WAN_GET_STATS { + pub LocalAddress: [u8; 6], + pub BytesSent: u32, + pub BytesRcvd: u32, + pub FramesSent: u32, + pub FramesRcvd: u32, + pub CRCErrors: u32, + pub TimeoutErrors: u32, + pub AlignmentErrors: u32, + pub SerialOverrunErrors: u32, + pub FramingErrors: u32, + pub BufferOverrunErrors: u32, + pub BytesTransmittedUncompressed: u32, + pub BytesReceivedUncompressed: u32, + pub BytesTransmittedCompressed: u32, + pub BytesReceivedCompressed: u32, +} +impl ::core::marker::Copy for NDIS_WAN_GET_STATS {} +impl ::core::clone::Clone for NDIS_WAN_GET_STATS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WAN_GET_STATS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WAN_GET_STATS") + .field("LocalAddress", &self.LocalAddress) + .field("BytesSent", &self.BytesSent) + .field("BytesRcvd", &self.BytesRcvd) + .field("FramesSent", &self.FramesSent) + .field("FramesRcvd", &self.FramesRcvd) + .field("CRCErrors", &self.CRCErrors) + .field("TimeoutErrors", &self.TimeoutErrors) + .field("AlignmentErrors", &self.AlignmentErrors) + .field("SerialOverrunErrors", &self.SerialOverrunErrors) + .field("FramingErrors", &self.FramingErrors) + .field("BufferOverrunErrors", &self.BufferOverrunErrors) + .field("BytesTransmittedUncompressed", &self.BytesTransmittedUncompressed) + .field("BytesReceivedUncompressed", &self.BytesReceivedUncompressed) + .field("BytesTransmittedCompressed", &self.BytesTransmittedCompressed) + .field("BytesReceivedCompressed", &self.BytesReceivedCompressed) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_WAN_GET_STATS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WAN_GET_STATS { + fn eq(&self, other: &Self) -> bool { + self.LocalAddress == other.LocalAddress && self.BytesSent == other.BytesSent && self.BytesRcvd == other.BytesRcvd && self.FramesSent == other.FramesSent && self.FramesRcvd == other.FramesRcvd && self.CRCErrors == other.CRCErrors && self.TimeoutErrors == other.TimeoutErrors && self.AlignmentErrors == other.AlignmentErrors && self.SerialOverrunErrors == other.SerialOverrunErrors && self.FramingErrors == other.FramingErrors && self.BufferOverrunErrors == other.BufferOverrunErrors && self.BytesTransmittedUncompressed == other.BytesTransmittedUncompressed && self.BytesReceivedUncompressed == other.BytesReceivedUncompressed && self.BytesTransmittedCompressed == other.BytesTransmittedCompressed && self.BytesReceivedCompressed == other.BytesReceivedCompressed + } +} +impl ::core::cmp::Eq for NDIS_WAN_GET_STATS {} +impl ::core::default::Default for NDIS_WAN_GET_STATS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WAN_LINE_DOWN { + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], +} +impl ::core::marker::Copy for NDIS_WAN_LINE_DOWN {} +impl ::core::clone::Clone for NDIS_WAN_LINE_DOWN { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WAN_LINE_DOWN { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WAN_LINE_DOWN").field("RemoteAddress", &self.RemoteAddress).field("LocalAddress", &self.LocalAddress).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WAN_LINE_DOWN { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WAN_LINE_DOWN { + fn eq(&self, other: &Self) -> bool { + self.RemoteAddress == other.RemoteAddress && self.LocalAddress == other.LocalAddress + } +} +impl ::core::cmp::Eq for NDIS_WAN_LINE_DOWN {} +impl ::core::default::Default for NDIS_WAN_LINE_DOWN { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct NDIS_WAN_LINE_UP { + pub LinkSpeed: u32, + pub MaximumTotalSize: u32, + pub Quality: NDIS_WAN_QUALITY, + pub SendWindow: u16, + pub RemoteAddress: [u8; 6], + pub LocalAddress: [u8; 6], + pub ProtocolBufferLength: u32, + pub ProtocolBuffer: *mut u8, + pub ProtocolType: u16, + pub DeviceName: super::super::super::Win32::Foundation::UNICODE_STRING, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for NDIS_WAN_LINE_UP {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for NDIS_WAN_LINE_UP { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for NDIS_WAN_LINE_UP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WAN_LINE_UP").field("LinkSpeed", &self.LinkSpeed).field("MaximumTotalSize", &self.MaximumTotalSize).field("Quality", &self.Quality).field("SendWindow", &self.SendWindow).field("RemoteAddress", &self.RemoteAddress).field("LocalAddress", &self.LocalAddress).field("ProtocolBufferLength", &self.ProtocolBufferLength).field("ProtocolBuffer", &self.ProtocolBuffer).field("ProtocolType", &self.ProtocolType).field("DeviceName", &self.DeviceName).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for NDIS_WAN_LINE_UP { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for NDIS_WAN_LINE_UP { + fn eq(&self, other: &Self) -> bool { + self.LinkSpeed == other.LinkSpeed && self.MaximumTotalSize == other.MaximumTotalSize && self.Quality == other.Quality && self.SendWindow == other.SendWindow && self.RemoteAddress == other.RemoteAddress && self.LocalAddress == other.LocalAddress && self.ProtocolBufferLength == other.ProtocolBufferLength && self.ProtocolBuffer == other.ProtocolBuffer && self.ProtocolType == other.ProtocolType && self.DeviceName == other.DeviceName + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for NDIS_WAN_LINE_UP {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for NDIS_WAN_LINE_UP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WAN_PROTOCOL_CAPS { + pub Flags: u32, + pub Reserved: u32, +} +impl ::core::marker::Copy for NDIS_WAN_PROTOCOL_CAPS {} +impl ::core::clone::Clone for NDIS_WAN_PROTOCOL_CAPS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WAN_PROTOCOL_CAPS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WAN_PROTOCOL_CAPS").field("Flags", &self.Flags).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WAN_PROTOCOL_CAPS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WAN_PROTOCOL_CAPS { + fn eq(&self, other: &Self) -> bool { + self.Flags == other.Flags && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NDIS_WAN_PROTOCOL_CAPS {} +impl ::core::default::Default for NDIS_WAN_PROTOCOL_CAPS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 8], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WLAN_BSSID { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WLAN_BSSID").field("Length", &self.Length).field("MacAddress", &self.MacAddress).field("Reserved", &self.Reserved).field("Ssid", &self.Ssid).field("Privacy", &self.Privacy).field("Rssi", &self.Rssi).field("NetworkTypeInUse", &self.NetworkTypeInUse).field("Configuration", &self.Configuration).field("InfrastructureMode", &self.InfrastructureMode).field("SupportedRates", &self.SupportedRates).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WLAN_BSSID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WLAN_BSSID { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.MacAddress == other.MacAddress && self.Reserved == other.Reserved && self.Ssid == other.Ssid && self.Privacy == other.Privacy && self.Rssi == other.Rssi && self.NetworkTypeInUse == other.NetworkTypeInUse && self.Configuration == other.Configuration && self.InfrastructureMode == other.InfrastructureMode && self.SupportedRates == other.SupportedRates + } +} +impl ::core::cmp::Eq for NDIS_WLAN_BSSID {} +impl ::core::default::Default for NDIS_WLAN_BSSID { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WLAN_BSSID_EX { + pub Length: u32, + pub MacAddress: [u8; 6], + pub Reserved: [u8; 2], + pub Ssid: NDIS_802_11_SSID, + pub Privacy: u32, + pub Rssi: i32, + pub NetworkTypeInUse: NDIS_802_11_NETWORK_TYPE, + pub Configuration: NDIS_802_11_CONFIGURATION, + pub InfrastructureMode: NDIS_802_11_NETWORK_INFRASTRUCTURE, + pub SupportedRates: [u8; 16], + pub IELength: u32, + pub IEs: [u8; 1], +} +impl ::core::marker::Copy for NDIS_WLAN_BSSID_EX {} +impl ::core::clone::Clone for NDIS_WLAN_BSSID_EX { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WLAN_BSSID_EX { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WLAN_BSSID_EX") + .field("Length", &self.Length) + .field("MacAddress", &self.MacAddress) + .field("Reserved", &self.Reserved) + .field("Ssid", &self.Ssid) + .field("Privacy", &self.Privacy) + .field("Rssi", &self.Rssi) + .field("NetworkTypeInUse", &self.NetworkTypeInUse) + .field("Configuration", &self.Configuration) + .field("InfrastructureMode", &self.InfrastructureMode) + .field("SupportedRates", &self.SupportedRates) + .field("IELength", &self.IELength) + .field("IEs", &self.IEs) + .finish() + } +} +impl ::windows_core::TypeKind for NDIS_WLAN_BSSID_EX { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WLAN_BSSID_EX { + fn eq(&self, other: &Self) -> bool { + self.Length == other.Length && self.MacAddress == other.MacAddress && self.Reserved == other.Reserved && self.Ssid == other.Ssid && self.Privacy == other.Privacy && self.Rssi == other.Rssi && self.NetworkTypeInUse == other.NetworkTypeInUse && self.Configuration == other.Configuration && self.InfrastructureMode == other.InfrastructureMode && self.SupportedRates == other.SupportedRates && self.IELength == other.IELength && self.IEs == other.IEs + } +} +impl ::core::cmp::Eq for NDIS_WLAN_BSSID_EX {} +impl ::core::default::Default for NDIS_WLAN_BSSID_EX { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_ENUM_ADAPTER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub DeviceNameLength: u16, + pub DeviceName: [u8; 1], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_ENUM_ADAPTER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_WMI_ENUM_ADAPTER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_WMI_ENUM_ADAPTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_EVENT_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub IfIndex: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub PortNumber: u32, + pub DeviceNameLength: u32, + pub DeviceNameOffset: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_EVENT_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_EVENT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_WMI_EVENT_HEADER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_WMI_EVENT_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1 { + pub Supported: NDIS_WMI_IPSEC_OFFLOAD_V1_2, + pub IPv4AH: NDIS_WMI_IPSEC_OFFLOAD_V1_0, + pub IPv4ESP: NDIS_WMI_IPSEC_OFFLOAD_V1_1, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_IPSEC_OFFLOAD_V1").field("Supported", &self.Supported).field("IPv4AH", &self.IPv4AH).field("IPv4ESP", &self.IPv4ESP).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_IPSEC_OFFLOAD_V1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn eq(&self, other: &Self) -> bool { + self.Supported == other.Supported && self.IPv4AH == other.IPv4AH && self.IPv4ESP == other.IPv4ESP + } +} +impl ::core::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1 {} +impl ::core::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + pub Md5: u32, + pub Sha_1: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_IPSEC_OFFLOAD_V1_0").field("Md5", &self.Md5).field("Sha_1", &self.Sha_1).field("Transport", &self.Transport).field("Tunnel", &self.Tunnel).field("Send", &self.Send).field("Receive", &self.Receive).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn eq(&self, other: &Self) -> bool { + self.Md5 == other.Md5 && self.Sha_1 == other.Sha_1 && self.Transport == other.Transport && self.Tunnel == other.Tunnel && self.Send == other.Send && self.Receive == other.Receive + } +} +impl ::core::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_0 {} +impl ::core::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + pub Des: u32, + pub Reserved: u32, + pub TripleDes: u32, + pub NullEsp: u32, + pub Transport: u32, + pub Tunnel: u32, + pub Send: u32, + pub Receive: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_IPSEC_OFFLOAD_V1_1").field("Des", &self.Des).field("Reserved", &self.Reserved).field("TripleDes", &self.TripleDes).field("NullEsp", &self.NullEsp).field("Transport", &self.Transport).field("Tunnel", &self.Tunnel).field("Send", &self.Send).field("Receive", &self.Receive).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn eq(&self, other: &Self) -> bool { + self.Des == other.Des && self.Reserved == other.Reserved && self.TripleDes == other.TripleDes && self.NullEsp == other.NullEsp && self.Transport == other.Transport && self.Tunnel == other.Tunnel && self.Send == other.Send && self.Receive == other.Receive + } +} +impl ::core::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_1 {} +impl ::core::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + pub Encapsulation: u32, + pub AhEspCombined: u32, + pub TransportTunnelCombined: u32, + pub IPv4Options: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} +impl ::core::clone::Clone for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_IPSEC_OFFLOAD_V1_2").field("Encapsulation", &self.Encapsulation).field("AhEspCombined", &self.AhEspCombined).field("TransportTunnelCombined", &self.TransportTunnelCombined).field("IPv4Options", &self.IPv4Options).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.AhEspCombined == other.AhEspCombined && self.TransportTunnelCombined == other.TransportTunnelCombined && self.IPv4Options == other.IPv4Options && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_WMI_IPSEC_OFFLOAD_V1_2 {} +impl ::core::default::Default for NDIS_WMI_IPSEC_OFFLOAD_V1_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_METHOD_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_METHOD_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_METHOD_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_WMI_METHOD_HEADER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_WMI_METHOD_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Checksum: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD, + pub LsoV1: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1, + pub IPsecV1: NDIS_WMI_IPSEC_OFFLOAD_V1, + pub LsoV2: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_OFFLOAD").field("Header", &self.Header).field("Checksum", &self.Checksum).field("LsoV1", &self.LsoV1).field("IPsecV1", &self.IPsecV1).field("LsoV2", &self.LsoV2).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Checksum == other.Checksum && self.LsoV1 == other.LsoV1 && self.IPsecV1 == other.IPsecV1 && self.LsoV2 == other.LsoV2 && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_WMI_OFFLOAD {} +impl ::core::default::Default for NDIS_WMI_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_OUTPUT_INFO { + pub Header: NDIS_OBJECT_HEADER, + pub Flags: u32, + pub SupportedRevision: u8, + pub DataOffset: u32, +} +impl ::core::marker::Copy for NDIS_WMI_OUTPUT_INFO {} +impl ::core::clone::Clone for NDIS_WMI_OUTPUT_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_OUTPUT_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_OUTPUT_INFO").field("Header", &self.Header).field("Flags", &self.Flags).field("SupportedRevision", &self.SupportedRevision).field("DataOffset", &self.DataOffset).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_OUTPUT_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_OUTPUT_INFO { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Flags == other.Flags && self.SupportedRevision == other.SupportedRevision && self.DataOffset == other.DataOffset + } +} +impl ::core::cmp::Eq for NDIS_WMI_OUTPUT_INFO {} +impl ::core::default::Default for NDIS_WMI_OUTPUT_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"] +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +pub struct NDIS_WMI_SET_HEADER { + pub Header: NDIS_OBJECT_HEADER, + pub PortNumber: u32, + pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, + pub RequestId: u64, + pub Timeout: u32, + pub Padding: [u8; 4], +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::marker::Copy for NDIS_WMI_SET_HEADER {} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::clone::Clone for NDIS_WMI_SET_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::windows_core::TypeKind for NDIS_WMI_SET_HEADER { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_NetworkManagement_Ndis")] +impl ::core::default::Default for NDIS_WMI_SET_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_CONNECTION_OFFLOAD { + pub Header: NDIS_OBJECT_HEADER, + pub Encapsulation: u32, + pub SupportIPv4: u32, + pub SupportIPv6: u32, + pub SupportIPv6ExtensionHeaders: u32, + pub SupportSack: u32, + pub TcpConnectionOffloadCapacity: u32, + pub Flags: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_CONNECTION_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_CONNECTION_OFFLOAD").field("Header", &self.Header).field("Encapsulation", &self.Encapsulation).field("SupportIPv4", &self.SupportIPv4).field("SupportIPv6", &self.SupportIPv6).field("SupportIPv6ExtensionHeaders", &self.SupportIPv6ExtensionHeaders).field("SupportSack", &self.SupportSack).field("TcpConnectionOffloadCapacity", &self.TcpConnectionOffloadCapacity).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.Header == other.Header && self.Encapsulation == other.Encapsulation && self.SupportIPv4 == other.SupportIPv4 && self.SupportIPv6 == other.SupportIPv6 && self.SupportIPv6ExtensionHeaders == other.SupportIPv6ExtensionHeaders && self.SupportSack == other.SupportSack && self.TcpConnectionOffloadCapacity == other.TcpConnectionOffloadCapacity && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_CONNECTION_OFFLOAD {} +impl ::core::default::Default for NDIS_WMI_TCP_CONNECTION_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + pub IPv4Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1, + pub IPv4Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0, + pub IPv6Transmit: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3, + pub IPv6Receive: NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD").field("IPv4Transmit", &self.IPv4Transmit).field("IPv4Receive", &self.IPv4Receive).field("IPv6Transmit", &self.IPv6Transmit).field("IPv6Receive", &self.IPv6Receive).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn eq(&self, other: &Self) -> bool { + self.IPv4Transmit == other.IPv4Transmit && self.IPv4Receive == other.IPv4Receive && self.IPv6Transmit == other.IPv6Transmit && self.IPv6Receive == other.IPv6Receive + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD {} +impl ::core::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0").field("Encapsulation", &self.Encapsulation).field("IpOptionsSupported", &self.IpOptionsSupported).field("TcpOptionsSupported", &self.TcpOptionsSupported).field("TcpChecksum", &self.TcpChecksum).field("UdpChecksum", &self.UdpChecksum).field("IpChecksum", &self.IpChecksum).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.IpOptionsSupported == other.IpOptionsSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum && self.IpChecksum == other.IpChecksum + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 {} +impl ::core::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + pub Encapsulation: u32, + pub IpOptionsSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, + pub IpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1").field("Encapsulation", &self.Encapsulation).field("IpOptionsSupported", &self.IpOptionsSupported).field("TcpOptionsSupported", &self.TcpOptionsSupported).field("TcpChecksum", &self.TcpChecksum).field("UdpChecksum", &self.UdpChecksum).field("IpChecksum", &self.IpChecksum).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.IpOptionsSupported == other.IpOptionsSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum && self.IpChecksum == other.IpChecksum + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 {} +impl ::core::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2").field("Encapsulation", &self.Encapsulation).field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported).field("TcpOptionsSupported", &self.TcpOptionsSupported).field("TcpChecksum", &self.TcpChecksum).field("UdpChecksum", &self.UdpChecksum).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 {} +impl ::core::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + pub Encapsulation: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, + pub TcpChecksum: u32, + pub UdpChecksum: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3").field("Encapsulation", &self.Encapsulation).field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported).field("TcpOptionsSupported", &self.TcpOptionsSupported).field("TcpChecksum", &self.TcpChecksum).field("UdpChecksum", &self.UdpChecksum).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported && self.TcpChecksum == other.TcpChecksum && self.UdpChecksum == other.UdpChecksum + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 {} +impl ::core::default::Default for NDIS_WMI_TCP_IP_CHECKSUM_OFFLOAD_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1").field("IPv4", &self.IPv4).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn eq(&self, other: &Self) -> bool { + self.IPv4 == other.IPv4 + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 {} +impl ::core::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub TcpOptions: u32, + pub IpOptions: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("TcpOptions", &self.TcpOptions).field("IpOptions", &self.IpOptions).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self.TcpOptions == other.TcpOptions && self.IpOptions == other.IpOptions + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 {} +impl ::core::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + pub IPv4: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0, + pub IPv6: NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2").field("IPv4", &self.IPv4).field("IPv6", &self.IPv6).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn eq(&self, other: &Self) -> bool { + self.IPv4 == other.IPv4 && self.IPv6 == other.IPv6 + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 {} +impl ::core::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 {} +impl ::core::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + pub Encapsulation: u32, + pub MaxOffLoadSize: u32, + pub MinSegmentCount: u32, + pub IpExtensionHeadersSupported: u32, + pub TcpOptionsSupported: u32, +} +impl ::core::marker::Copy for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::clone::Clone for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1").field("Encapsulation", &self.Encapsulation).field("MaxOffLoadSize", &self.MaxOffLoadSize).field("MinSegmentCount", &self.MinSegmentCount).field("IpExtensionHeadersSupported", &self.IpExtensionHeadersSupported).field("TcpOptionsSupported", &self.TcpOptionsSupported).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn eq(&self, other: &Self) -> bool { + self.Encapsulation == other.Encapsulation && self.MaxOffLoadSize == other.MaxOffLoadSize && self.MinSegmentCount == other.MinSegmentCount && self.IpExtensionHeadersSupported == other.IpExtensionHeadersSupported && self.TcpOptionsSupported == other.TcpOptionsSupported + } +} +impl ::core::cmp::Eq for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 {} +impl ::core::default::Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NDIS_WORK_ITEM { + pub Context: *mut ::core::ffi::c_void, + pub Routine: NDIS_PROC, + pub WrapperReserved: [u8; 32], +} +impl ::core::marker::Copy for NDIS_WORK_ITEM {} +impl ::core::clone::Clone for NDIS_WORK_ITEM { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NDIS_WORK_ITEM { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NDIS_WORK_ITEM").field("Context", &self.Context).field("WrapperReserved", &self.WrapperReserved).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WORK_ITEM { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NDIS_WORK_ITEM { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NDIS_WRAPPER_HANDLE(pub isize); +impl ::core::default::Default for NDIS_WRAPPER_HANDLE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NDIS_WRAPPER_HANDLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NDIS_WRAPPER_HANDLE {} +impl ::core::fmt::Debug for NDIS_WRAPPER_HANDLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NDIS_WRAPPER_HANDLE").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NDIS_WRAPPER_HANDLE { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct NETWORK_ADDRESS { + pub AddressLength: u16, + pub AddressType: u16, + pub Address: [u8; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS {} +impl ::core::clone::Clone for NETWORK_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NETWORK_ADDRESS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NETWORK_ADDRESS").field("AddressLength", &self.AddressLength).field("AddressType", &self.AddressType).field("Address", &self.Address).finish() + } +} +impl ::windows_core::TypeKind for NETWORK_ADDRESS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NETWORK_ADDRESS { + fn eq(&self, other: &Self) -> bool { + self.AddressLength == other.AddressLength && self.AddressType == other.AddressType && self.Address == other.Address + } +} +impl ::core::cmp::Eq for NETWORK_ADDRESS {} +impl ::core::default::Default for NETWORK_ADDRESS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP { + pub sin_port: u16, + pub IN_ADDR: u32, + pub sin_zero: [u8; 8], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NETWORK_ADDRESS_IP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NETWORK_ADDRESS_IP").field("sin_port", &self.sin_port).field("IN_ADDR", &self.IN_ADDR).field("sin_zero", &self.sin_zero).finish() + } +} +impl ::windows_core::TypeKind for NETWORK_ADDRESS_IP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NETWORK_ADDRESS_IP { + fn eq(&self, other: &Self) -> bool { + self.sin_port == other.sin_port && self.IN_ADDR == other.IN_ADDR && self.sin_zero == other.sin_zero + } +} +impl ::core::cmp::Eq for NETWORK_ADDRESS_IP {} +impl ::core::default::Default for NETWORK_ADDRESS_IP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IP6 { + pub sin6_port: u16, + pub sin6_flowinfo: u32, + pub sin6_addr: [u16; 8], + pub sin6_scope_id: u32, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IP6 {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IP6 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NETWORK_ADDRESS_IP6 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NETWORK_ADDRESS_IP6").field("sin6_port", &self.sin6_port).field("sin6_flowinfo", &self.sin6_flowinfo).field("sin6_addr", &self.sin6_addr).field("sin6_scope_id", &self.sin6_scope_id).finish() + } +} +impl ::windows_core::TypeKind for NETWORK_ADDRESS_IP6 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NETWORK_ADDRESS_IP6 { + fn eq(&self, other: &Self) -> bool { + self.sin6_port == other.sin6_port && self.sin6_flowinfo == other.sin6_flowinfo && self.sin6_addr == other.sin6_addr && self.sin6_scope_id == other.sin6_scope_id + } +} +impl ::core::cmp::Eq for NETWORK_ADDRESS_IP6 {} +impl ::core::default::Default for NETWORK_ADDRESS_IP6 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_IPX { + pub NetworkAddress: u32, + pub NodeAddress: [u8; 6], + pub Socket: u16, +} +impl ::core::marker::Copy for NETWORK_ADDRESS_IPX {} +impl ::core::clone::Clone for NETWORK_ADDRESS_IPX { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NETWORK_ADDRESS_IPX { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NETWORK_ADDRESS_IPX").field("NetworkAddress", &self.NetworkAddress).field("NodeAddress", &self.NodeAddress).field("Socket", &self.Socket).finish() + } +} +impl ::windows_core::TypeKind for NETWORK_ADDRESS_IPX { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NETWORK_ADDRESS_IPX { + fn eq(&self, other: &Self) -> bool { + self.NetworkAddress == other.NetworkAddress && self.NodeAddress == other.NodeAddress && self.Socket == other.Socket + } +} +impl ::core::cmp::Eq for NETWORK_ADDRESS_IPX {} +impl ::core::default::Default for NETWORK_ADDRESS_IPX { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct NETWORK_ADDRESS_LIST { + pub AddressCount: i32, + pub AddressType: u16, + pub Address: [NETWORK_ADDRESS; 1], +} +impl ::core::marker::Copy for NETWORK_ADDRESS_LIST {} +impl ::core::clone::Clone for NETWORK_ADDRESS_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NETWORK_ADDRESS_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NETWORK_ADDRESS_LIST").field("AddressCount", &self.AddressCount).field("AddressType", &self.AddressType).field("Address", &self.Address).finish() + } +} +impl ::windows_core::TypeKind for NETWORK_ADDRESS_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NETWORK_ADDRESS_LIST { + fn eq(&self, other: &Self) -> bool { + self.AddressCount == other.AddressCount && self.AddressType == other.AddressType && self.Address == other.Address + } +} +impl ::core::cmp::Eq for NETWORK_ADDRESS_LIST {} +impl ::core::default::Default for NETWORK_ADDRESS_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NULL_FILTER(pub isize); +impl ::core::default::Default for NULL_FILTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for NULL_FILTER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for NULL_FILTER {} +impl ::core::fmt::Debug for NULL_FILTER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NULL_FILTER").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for NULL_FILTER { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct OFFLOAD_ALGO_INFO { + pub algoIdentifier: u32, + pub algoKeylen: u32, + pub algoRounds: u32, +} +impl ::core::marker::Copy for OFFLOAD_ALGO_INFO {} +impl ::core::clone::Clone for OFFLOAD_ALGO_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for OFFLOAD_ALGO_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_ALGO_INFO").field("algoIdentifier", &self.algoIdentifier).field("algoKeylen", &self.algoKeylen).field("algoRounds", &self.algoRounds).finish() + } +} +impl ::windows_core::TypeKind for OFFLOAD_ALGO_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for OFFLOAD_ALGO_INFO { + fn eq(&self, other: &Self) -> bool { + self.algoIdentifier == other.algoIdentifier && self.algoKeylen == other.algoKeylen && self.algoRounds == other.algoRounds + } +} +impl ::core::cmp::Eq for OFFLOAD_ALGO_INFO {} +impl ::core::default::Default for OFFLOAD_ALGO_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DestAddr: u32, + pub DestMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DestPort: u16, + pub SrcTunnelAddr: u32, + pub DestTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_SA { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for OFFLOAD_IPSEC_ADD_SA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_IPSEC_ADD_SA") + .field("SrcAddr", &self.SrcAddr) + .field("SrcMask", &self.SrcMask) + .field("DestAddr", &self.DestAddr) + .field("DestMask", &self.DestMask) + .field("Protocol", &self.Protocol) + .field("SrcPort", &self.SrcPort) + .field("DestPort", &self.DestPort) + .field("SrcTunnelAddr", &self.SrcTunnelAddr) + .field("DestTunnelAddr", &self.DestTunnelAddr) + .field("Flags", &self.Flags) + .field("NumSAs", &self.NumSAs) + .field("SecAssoc", &self.SecAssoc) + .field("OffloadHandle", &self.OffloadHandle) + .field("KeyLen", &self.KeyLen) + .field("KeyMat", &self.KeyMat) + .finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for OFFLOAD_IPSEC_ADD_SA { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for OFFLOAD_IPSEC_ADD_SA { + fn eq(&self, other: &Self) -> bool { + self.SrcAddr == other.SrcAddr && self.SrcMask == other.SrcMask && self.DestAddr == other.DestAddr && self.DestMask == other.DestMask && self.Protocol == other.Protocol && self.SrcPort == other.SrcPort && self.DestPort == other.DestPort && self.SrcTunnelAddr == other.SrcTunnelAddr && self.DestTunnelAddr == other.DestTunnelAddr && self.Flags == other.Flags && self.NumSAs == other.NumSAs && self.SecAssoc == other.SecAssoc && self.OffloadHandle == other.OffloadHandle && self.KeyLen == other.KeyLen && self.KeyMat == other.KeyMat + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for OFFLOAD_IPSEC_ADD_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for OFFLOAD_IPSEC_ADD_SA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_ADD_UDPESP_SA { + pub SrcAddr: u32, + pub SrcMask: u32, + pub DstAddr: u32, + pub DstMask: u32, + pub Protocol: u32, + pub SrcPort: u16, + pub DstPort: u16, + pub SrcTunnelAddr: u32, + pub DstTunnelAddr: u32, + pub Flags: u16, + pub NumSAs: i16, + pub SecAssoc: [OFFLOAD_SECURITY_ASSOCIATION; 3], + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub EncapTypeEntry: OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY, + pub EncapTypeEntryOffldHandle: super::super::super::Win32::Foundation::HANDLE, + pub KeyLen: u32, + pub KeyMat: [u8; 1], +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_ADD_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_IPSEC_ADD_UDPESP_SA") + .field("SrcAddr", &self.SrcAddr) + .field("SrcMask", &self.SrcMask) + .field("DstAddr", &self.DstAddr) + .field("DstMask", &self.DstMask) + .field("Protocol", &self.Protocol) + .field("SrcPort", &self.SrcPort) + .field("DstPort", &self.DstPort) + .field("SrcTunnelAddr", &self.SrcTunnelAddr) + .field("DstTunnelAddr", &self.DstTunnelAddr) + .field("Flags", &self.Flags) + .field("NumSAs", &self.NumSAs) + .field("SecAssoc", &self.SecAssoc) + .field("OffloadHandle", &self.OffloadHandle) + .field("EncapTypeEntry", &self.EncapTypeEntry) + .field("EncapTypeEntryOffldHandle", &self.EncapTypeEntryOffldHandle) + .field("KeyLen", &self.KeyLen) + .field("KeyMat", &self.KeyMat) + .finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for OFFLOAD_IPSEC_ADD_UDPESP_SA { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn eq(&self, other: &Self) -> bool { + self.SrcAddr == other.SrcAddr && self.SrcMask == other.SrcMask && self.DstAddr == other.DstAddr && self.DstMask == other.DstMask && self.Protocol == other.Protocol && self.SrcPort == other.SrcPort && self.DstPort == other.DstPort && self.SrcTunnelAddr == other.SrcTunnelAddr && self.DstTunnelAddr == other.DstTunnelAddr && self.Flags == other.Flags && self.NumSAs == other.NumSAs && self.SecAssoc == other.SecAssoc && self.OffloadHandle == other.OffloadHandle && self.EncapTypeEntry == other.EncapTypeEntry && self.EncapTypeEntryOffldHandle == other.EncapTypeEntryOffldHandle && self.KeyLen == other.KeyLen && self.KeyMat == other.KeyMat + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for OFFLOAD_IPSEC_ADD_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for OFFLOAD_IPSEC_ADD_UDPESP_SA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_SA { + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_SA { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for OFFLOAD_IPSEC_DELETE_SA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_IPSEC_DELETE_SA").field("OffloadHandle", &self.OffloadHandle).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for OFFLOAD_IPSEC_DELETE_SA { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for OFFLOAD_IPSEC_DELETE_SA { + fn eq(&self, other: &Self) -> bool { + self.OffloadHandle == other.OffloadHandle + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for OFFLOAD_IPSEC_DELETE_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for OFFLOAD_IPSEC_DELETE_SA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct OFFLOAD_IPSEC_DELETE_UDPESP_SA { + pub OffloadHandle: super::super::super::Win32::Foundation::HANDLE, + pub EncapTypeEntryOffldHandle: super::super::super::Win32::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for OFFLOAD_IPSEC_DELETE_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_IPSEC_DELETE_UDPESP_SA").field("OffloadHandle", &self.OffloadHandle).field("EncapTypeEntryOffldHandle", &self.EncapTypeEntryOffldHandle).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn eq(&self, other: &Self) -> bool { + self.OffloadHandle == other.OffloadHandle && self.EncapTypeEntryOffldHandle == other.EncapTypeEntryOffldHandle + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for OFFLOAD_IPSEC_DELETE_UDPESP_SA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for OFFLOAD_IPSEC_DELETE_UDPESP_SA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + pub UdpEncapType: UDP_ENCAP_TYPE, + pub DstEncapPort: u16, +} +impl ::core::marker::Copy for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} +impl ::core::clone::Clone for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY").field("UdpEncapType", &self.UdpEncapType).field("DstEncapPort", &self.DstEncapPort).finish() + } +} +impl ::windows_core::TypeKind for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn eq(&self, other: &Self) -> bool { + self.UdpEncapType == other.UdpEncapType && self.DstEncapPort == other.DstEncapPort + } +} +impl ::core::cmp::Eq for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY {} +impl ::core::default::Default for OFFLOAD_IPSEC_UDPESP_ENCAPTYPE_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct OFFLOAD_SECURITY_ASSOCIATION { + pub Operation: OFFLOAD_OPERATION_E, + pub SPI: u32, + pub IntegrityAlgo: OFFLOAD_ALGO_INFO, + pub ConfAlgo: OFFLOAD_ALGO_INFO, + pub Reserved: OFFLOAD_ALGO_INFO, +} +impl ::core::marker::Copy for OFFLOAD_SECURITY_ASSOCIATION {} +impl ::core::clone::Clone for OFFLOAD_SECURITY_ASSOCIATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for OFFLOAD_SECURITY_ASSOCIATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("OFFLOAD_SECURITY_ASSOCIATION").field("Operation", &self.Operation).field("SPI", &self.SPI).field("IntegrityAlgo", &self.IntegrityAlgo).field("ConfAlgo", &self.ConfAlgo).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for OFFLOAD_SECURITY_ASSOCIATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for OFFLOAD_SECURITY_ASSOCIATION { + fn eq(&self, other: &Self) -> bool { + self.Operation == other.Operation && self.SPI == other.SPI && self.IntegrityAlgo == other.IntegrityAlgo && self.ConfAlgo == other.ConfAlgo && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for OFFLOAD_SECURITY_ASSOCIATION {} +impl ::core::default::Default for OFFLOAD_SECURITY_ASSOCIATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct PMKID_CANDIDATE { + pub BSSID: [u8; 6], + pub Flags: u32, +} +impl ::core::marker::Copy for PMKID_CANDIDATE {} +impl ::core::clone::Clone for PMKID_CANDIDATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for PMKID_CANDIDATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("PMKID_CANDIDATE").field("BSSID", &self.BSSID).field("Flags", &self.Flags).finish() + } +} +impl ::windows_core::TypeKind for PMKID_CANDIDATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for PMKID_CANDIDATE { + fn eq(&self, other: &Self) -> bool { + self.BSSID == other.BSSID && self.Flags == other.Flags + } +} +impl ::core::cmp::Eq for PMKID_CANDIDATE {} +impl ::core::default::Default for PMKID_CANDIDATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct REFERENCE { + pub SpinLock: usize, + pub ReferenceCount: u16, + pub Closing: super::super::super::Win32::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for REFERENCE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for REFERENCE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for REFERENCE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("REFERENCE").field("SpinLock", &self.SpinLock).field("ReferenceCount", &self.ReferenceCount).field("Closing", &self.Closing).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for REFERENCE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for REFERENCE { + fn eq(&self, other: &Self) -> bool { + self.SpinLock == other.SpinLock && self.ReferenceCount == other.ReferenceCount && self.Closing == other.Closing + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for REFERENCE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for REFERENCE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct TRANSPORT_HEADER_OFFSET { + pub ProtocolType: u16, + pub HeaderOffset: u16, +} +impl ::core::marker::Copy for TRANSPORT_HEADER_OFFSET {} +impl ::core::clone::Clone for TRANSPORT_HEADER_OFFSET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for TRANSPORT_HEADER_OFFSET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("TRANSPORT_HEADER_OFFSET").field("ProtocolType", &self.ProtocolType).field("HeaderOffset", &self.HeaderOffset).finish() + } +} +impl ::windows_core::TypeKind for TRANSPORT_HEADER_OFFSET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for TRANSPORT_HEADER_OFFSET { + fn eq(&self, other: &Self) -> bool { + self.ProtocolType == other.ProtocolType && self.HeaderOffset == other.HeaderOffset + } +} +impl ::core::cmp::Eq for TRANSPORT_HEADER_OFFSET {} +impl ::core::default::Default for TRANSPORT_HEADER_OFFSET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct TR_FILTER(pub isize); +impl ::core::default::Default for TR_FILTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for TR_FILTER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for TR_FILTER {} +impl ::core::fmt::Debug for TR_FILTER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("TR_FILTER").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for TR_FILTER { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +pub struct VAR_STRING { + pub ulTotalSize: u32, + pub ulNeededSize: u32, + pub ulUsedSize: u32, + pub ulStringFormat: u32, + pub ulStringSize: u32, + pub ulStringOffset: u32, +} +impl ::core::marker::Copy for VAR_STRING {} +impl ::core::clone::Clone for VAR_STRING { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for VAR_STRING { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("VAR_STRING").field("ulTotalSize", &self.ulTotalSize).field("ulNeededSize", &self.ulNeededSize).field("ulUsedSize", &self.ulUsedSize).field("ulStringFormat", &self.ulStringFormat).field("ulStringSize", &self.ulStringSize).field("ulStringOffset", &self.ulStringOffset).finish() + } +} +impl ::windows_core::TypeKind for VAR_STRING { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for VAR_STRING { + fn eq(&self, other: &Self) -> bool { + self.ulTotalSize == other.ulTotalSize && self.ulNeededSize == other.ulNeededSize && self.ulUsedSize == other.ulUsedSize && self.ulStringFormat == other.ulStringFormat && self.ulStringSize == other.ulStringSize && self.ulStringOffset == other.ulStringOffset + } +} +impl ::core::cmp::Eq for VAR_STRING {} +impl ::core::default::Default for VAR_STRING { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +pub type CL_ADD_PARTY_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_CALL_CONNECTED_HANDLER = ::core::option::Option; +pub type CL_CLOSE_AF_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_CLOSE_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_DEREG_SAP_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_DROP_PARTY_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_INCOMING_CALL_HANDLER = ::core::option::Option i32>; +pub type CL_INCOMING_CALL_QOS_CHANGE_HANDLER = ::core::option::Option; +pub type CL_INCOMING_CLOSE_CALL_HANDLER = ::core::option::Option; +pub type CL_INCOMING_DROP_PARTY_HANDLER = ::core::option::Option; +pub type CL_MAKE_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_MODIFY_CALL_QOS_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_OPEN_AF_COMPLETE_HANDLER = ::core::option::Option; +pub type CL_REG_SAP_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_ACTIVATE_VC_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_ADD_PARTY_HANDLER = ::core::option::Option i32>; +pub type CM_CLOSE_AF_HANDLER = ::core::option::Option i32>; +pub type CM_CLOSE_CALL_HANDLER = ::core::option::Option i32>; +pub type CM_DEACTIVATE_VC_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_DEREG_SAP_HANDLER = ::core::option::Option i32>; +pub type CM_DROP_PARTY_HANDLER = ::core::option::Option i32>; +pub type CM_INCOMING_CALL_COMPLETE_HANDLER = ::core::option::Option; +pub type CM_MAKE_CALL_HANDLER = ::core::option::Option i32>; +pub type CM_MODIFY_CALL_QOS_HANDLER = ::core::option::Option i32>; +pub type CM_OPEN_AF_HANDLER = ::core::option::Option i32>; +pub type CM_REG_SAP_HANDLER = ::core::option::Option i32>; +pub type CO_AF_REGISTER_NOTIFY_HANDLER = ::core::option::Option; +pub type CO_CREATE_VC_HANDLER = ::core::option::Option i32>; +pub type CO_DELETE_VC_HANDLER = ::core::option::Option i32>; +pub type MINIPORT_CO_ACTIVATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_CREATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_DEACTIVATE_VC = ::core::option::Option i32>; +pub type MINIPORT_CO_DELETE_VC = ::core::option::Option i32>; +pub type NDIS_PROC = ::core::option::Option; +pub type NDIS_PROC_CALLBACK = ::core::option::Option; +pub type NDIS_TIMER_FUNCTION = ::core::option::Option; +pub type PNDIS_TIMER_FUNCTION = ::core::option::Option; +pub type PROTCOL_CO_AF_REGISTER_NOTIFY = ::core::option::Option; +pub type PROTOCOL_CL_ADD_PARTY_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_CALL_CONNECTED = ::core::option::Option; +pub type PROTOCOL_CL_CLOSE_AF_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_CLOSE_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_DEREGISTER_SAP_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_DROP_PARTY_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CL_INCOMING_CALL_QOS_CHANGE = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_CLOSE_CALL = ::core::option::Option; +pub type PROTOCOL_CL_INCOMING_DROP_PARTY = ::core::option::Option; +pub type PROTOCOL_CL_MAKE_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_MODIFY_CALL_QOS_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_OPEN_AF_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CL_REGISTER_SAP_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_ACTIVATE_VC_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_ADD_PARTY = ::core::option::Option i32>; +pub type PROTOCOL_CM_CLOSE_AF = ::core::option::Option i32>; +pub type PROTOCOL_CM_CLOSE_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_DEACTIVATE_VC_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_DEREGISTER_SAP = ::core::option::Option i32>; +pub type PROTOCOL_CM_DROP_PARTY = ::core::option::Option i32>; +pub type PROTOCOL_CM_INCOMING_CALL_COMPLETE = ::core::option::Option; +pub type PROTOCOL_CM_MAKE_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_MODIFY_QOS_CALL = ::core::option::Option i32>; +pub type PROTOCOL_CM_OPEN_AF = ::core::option::Option i32>; +pub type PROTOCOL_CM_REG_SAP = ::core::option::Option i32>; +pub type PROTOCOL_CO_AF_REGISTER_NOTIFY = ::core::option::Option; +pub type PROTOCOL_CO_CREATE_VC = ::core::option::Option i32>; +pub type PROTOCOL_CO_DELETE_VC = ::core::option::Option i32>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TDI_PNP_HANDLER = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type TDI_REGISTER_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type W_CO_ACTIVATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_CREATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_DEACTIVATE_VC_HANDLER = ::core::option::Option i32>; +pub type W_CO_DELETE_VC_HANDLER = ::core::option::Option i32>; diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs new file mode 100644 index 0000000000..e9827c96ab --- /dev/null +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -0,0 +1,1532 @@ +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] +#[inline] +pub unsafe fn FwpmBfeStateGet0() -> super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SERVICE_STATE { + ::windows_targets::link!("fwpkclnt.sys" "system" fn FwpmBfeStateGet0() -> super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SERVICE_STATE); + FwpmBfeStateGet0() +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmBfeStateSubscribeChanges0(deviceobject: *mut ::core::ffi::c_void, callback: FWPM_SERVICE_STATE_CHANGE_CALLBACK0, context: ::core::option::Option<*const ::core::ffi::c_void>, changehandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("fwpkclnt.sys" "system" fn FwpmBfeStateSubscribeChanges0(deviceobject : *mut ::core::ffi::c_void, callback : FWPM_SERVICE_STATE_CHANGE_CALLBACK0, context : *const ::core::ffi::c_void, changehandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmBfeStateSubscribeChanges0(deviceobject, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), changehandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmBfeStateUnsubscribeChanges0(changehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpkclnt.sys" "system" fn FwpmBfeStateUnsubscribeChanges0(changehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmBfeStateUnsubscribeChanges0(changehandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmCalloutAdd0(enginehandle: P0, callout: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CALLOUT0, sd: P1, id: ::core::option::Option<*mut u32>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, callout : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutAdd0(enginehandle.into_param().abi(), callout, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmCalloutCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CALLOUT_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmCalloutDeleteById0(enginehandle: P0, id: u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutDeleteById0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmCalloutDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmCalloutDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmCalloutEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CALLOUT0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmCalloutGetById0(enginehandle: P0, id: u32, callout: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CALLOUT0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u32, callout : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutGetById0(enginehandle.into_param().abi(), id, callout) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmCalloutGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, callout: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CALLOUT0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, callout : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CALLOUT0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutGetByKey0(enginehandle.into_param().abi(), key, callout) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmCalloutGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmCalloutSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmCalloutSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmCalloutSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmConnectionCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CONNECTION_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmConnectionDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmConnectionEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CONNECTION0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmConnectionGetById0(enginehandle: P0, id: u64, connection: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_CONNECTION0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, connection : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_CONNECTION0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionGetById0(enginehandle.into_param().abi(), id, connection) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmConnectionGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmConnectionSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmConnectionSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmConnectionSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmEngineClose0(enginehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineClose0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineClose0(enginehandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmEngineGetOption0(enginehandle: P0, option: super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_ENGINE_OPTION, value: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWP_VALUE0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineGetOption0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, option : super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_ENGINE_OPTION, value : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWP_VALUE0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineGetOption0(enginehandle.into_param().abi(), option, value) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmEngineGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`, `\"Win32_System_Rpc\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security", feature = "Win32_System_Rpc"))] +#[inline] +pub unsafe fn FwpmEngineOpen0(servername: P0, authnservice: u32, authidentity: ::core::option::Option<*const super::super::super::Win32::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W>, session: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SESSION0>, enginehandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineOpen0(servername : ::windows_core::PCWSTR, authnservice : u32, authidentity : *const super::super::super::Win32::System::Rpc:: SEC_WINNT_AUTH_IDENTITY_W, session : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION0, enginehandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineOpen0(servername.into_param().abi(), authnservice, ::core::mem::transmute(authidentity.unwrap_or(::std::ptr::null())), ::core::mem::transmute(session.unwrap_or(::std::ptr::null())), enginehandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmEngineSetOption0(enginehandle: P0, option: super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_ENGINE_OPTION, newvalue: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWP_VALUE0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineSetOption0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, option : super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_ENGINE_OPTION, newvalue : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWP_VALUE0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineSetOption0(enginehandle.into_param().abi(), option, newvalue) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmEngineSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmEngineSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmEngineSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterAdd0(enginehandle: P0, filter: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER0, sd: P1, id: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, filter : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterAdd0(enginehandle.into_param().abi(), filter, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmFilterDeleteById0(enginehandle: P0, id: u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterDeleteById0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmFilterDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmFilterDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterGetById0(enginehandle: P0, id: u64, filter: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, filter : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterGetById0(enginehandle.into_param().abi(), id, filter) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, filter: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, filter : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterGetByKey0(enginehandle.into_param().abi(), key, filter) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmFilterSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFilterSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmFilterSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[inline] +pub unsafe fn FwpmFreeMemory0(p: *mut *mut ::core::ffi::c_void) { + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmFreeMemory0(p : *mut *mut ::core::ffi::c_void)); + FwpmFreeMemory0(p) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmIPsecTunnelAdd0(enginehandle: P0, flags: u32, mainmodepolicy: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0>, tunnelpolicy: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0, filterconditions: &[super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER_CONDITION0], sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmIPsecTunnelAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmIPsecTunnelAdd0(enginehandle.into_param().abi(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len().try_into().unwrap(), ::core::mem::transmute(filterconditions.as_ptr()), sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmIPsecTunnelAdd1(enginehandle: P0, flags: u32, mainmodepolicy: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1>, tunnelpolicy: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1, filterconditions: &[super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER_CONDITION0], keymodkey: ::core::option::Option<*const ::windows_core::GUID>, sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmIPsecTunnelAdd1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmIPsecTunnelAdd1(enginehandle.into_param().abi(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len().try_into().unwrap(), ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmIPsecTunnelAdd2(enginehandle: P0, flags: u32, mainmodepolicy: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2>, tunnelpolicy: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2, filterconditions: &[super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER_CONDITION0], keymodkey: ::core::option::Option<*const ::windows_core::GUID>, sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmIPsecTunnelAdd2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmIPsecTunnelAdd2(enginehandle.into_param().abi(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len().try_into().unwrap(), ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmIPsecTunnelAdd3(enginehandle: P0, flags: u32, mainmodepolicy: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3>, tunnelpolicy: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3, filterconditions: &[super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_FILTER_CONDITION0], keymodkey: ::core::option::Option<*const ::windows_core::GUID>, sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmIPsecTunnelAdd3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32, mainmodepolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, tunnelpolicy : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, numfilterconditions : u32, filterconditions : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_FILTER_CONDITION0, keymodkey : *const ::windows_core::GUID, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmIPsecTunnelAdd3(enginehandle.into_param().abi(), flags, ::core::mem::transmute(mainmodepolicy.unwrap_or(::std::ptr::null())), tunnelpolicy, filterconditions.len().try_into().unwrap(), ::core::mem::transmute(filterconditions.as_ptr()), ::core::mem::transmute(keymodkey.unwrap_or(::std::ptr::null())), sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmIPsecTunnelDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmIPsecTunnelDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmIPsecTunnelDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmLayerCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_LAYER_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmLayerDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmLayerEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_LAYER0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmLayerGetById0(enginehandle: P0, id: u16, layer: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_LAYER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u16, layer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerGetById0(enginehandle.into_param().abi(), id, layer) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmLayerGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, layer: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_LAYER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, layer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_LAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerGetByKey0(enginehandle.into_param().abi(), key, layer) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmLayerGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmLayerSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmLayerSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmLayerSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmNetEventDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum1(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT1, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum1(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum2(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT2, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum2(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum3(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT3, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT3, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum3(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum4(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT4, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum4(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT4, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum4(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventEnum5(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_NET_EVENT5, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventEnum5(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_NET_EVENT5, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventEnum5(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventsGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventsGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventsGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmNetEventsSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmNetEventsSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmNetEventsSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderAdd0(enginehandle: P0, provider: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER0, sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, provider : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderAdd0(enginehandle.into_param().abi(), provider, sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextAdd0(enginehandle: P0, providercontext: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0, sd: P1, id: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextAdd0(enginehandle.into_param().abi(), providercontext, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextAdd1(enginehandle: P0, providercontext: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1, sd: P1, id: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextAdd1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextAdd1(enginehandle.into_param().abi(), providercontext, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextAdd2(enginehandle: P0, providercontext: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2, sd: P1, id: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextAdd2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextAdd2(enginehandle.into_param().abi(), providercontext, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextAdd3(enginehandle: P0, providercontext: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3, sd: P1, id: ::core::option::Option<*mut u64>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextAdd3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, providercontext : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextAdd3(enginehandle.into_param().abi(), providercontext, sd.into_param().abi(), ::core::mem::transmute(id.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmProviderContextCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmProviderContextDeleteById0(enginehandle: P0, id: u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextDeleteById0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmProviderContextDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmProviderContextDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextEnum1(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextEnum1(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextEnum2(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextEnum2(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextEnum3(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextEnum3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextEnum3(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetById0(enginehandle: P0, id: u64, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetById0(enginehandle.into_param().abi(), id, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetById1(enginehandle: P0, id: u64, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetById1(enginehandle.into_param().abi(), id, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetById2(enginehandle: P0, id: u64, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetById2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetById2(enginehandle.into_param().abi(), id, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetById3(enginehandle: P0, id: u64, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetById3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetById3(enginehandle.into_param().abi(), id, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetByKey0(enginehandle.into_param().abi(), key, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetByKey1(enginehandle: P0, key: *const ::windows_core::GUID, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetByKey1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetByKey1(enginehandle.into_param().abi(), key, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetByKey2(enginehandle: P0, key: *const ::windows_core::GUID, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetByKey2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT2) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetByKey2(enginehandle.into_param().abi(), key, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetByKey3(enginehandle: P0, key: *const ::windows_core::GUID, providercontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetByKey3(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, providercontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_CONTEXT3) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetByKey3(enginehandle.into_param().abi(), key, providercontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderContextSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderContextSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmProviderCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmProviderDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmProviderDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmProviderEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmProviderGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, provider: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_PROVIDER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, provider : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_PROVIDER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderGetByKey0(enginehandle.into_param().abi(), key, provider) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmProviderSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmProviderSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmProviderSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmSessionCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SESSION_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSessionCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSessionCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmSessionDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSessionDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSessionDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmSessionEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SESSION0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSessionEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SESSION0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSessionEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmSubLayerAdd0(enginehandle: P0, sublayer: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SUBLAYER0, sd: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerAdd0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, sublayer : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0, sd : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerAdd0(enginehandle.into_param().abi(), sublayer, sd.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmSubLayerCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SUBLAYER_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmSubLayerDeleteByKey0(enginehandle: P0, key: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerDeleteByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerDeleteByKey0(enginehandle.into_param().abi(), key) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmSubLayerDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmSubLayerEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SUBLAYER0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn FwpmSubLayerGetByKey0(enginehandle: P0, key: *const ::windows_core::GUID, sublayer: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::FWPM_SUBLAYER0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerGetByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, sublayer : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: FWPM_SUBLAYER0) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerGetByKey0(enginehandle.into_param().abi(), key, sublayer) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerGetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerGetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle: P0, key: ::core::option::Option<*const ::windows_core::GUID>, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmSubLayerSetSecurityInfoByKey0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, key : *const ::windows_core::GUID, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmSubLayerSetSecurityInfoByKey0(enginehandle.into_param().abi(), ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmTransactionAbort0(enginehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmTransactionAbort0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmTransactionAbort0(enginehandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmTransactionBegin0(enginehandle: P0, flags: u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmTransactionBegin0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmTransactionBegin0(enginehandle.into_param().abi(), flags) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn FwpmTransactionCommit0(enginehandle: P0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmTransactionCommit0(enginehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmTransactionCommit0(enginehandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmvSwitchEventsGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmvSwitchEventsGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn FwpmvSwitchEventsSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + FwpmvSwitchEventsSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecDospGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecDospGetStatistics0(enginehandle: P0, idpstatistics: *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_DOSP_STATISTICS0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, idpstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospGetStatistics0(enginehandle.into_param().abi(), idpstatistics) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecDospSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecDospStateCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_DOSP_STATE_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospStateCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATE_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospStateCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IPsecDospStateDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospStateDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospStateDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecDospStateEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_DOSP_STATE0, numentries: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecDospStateEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_DOSP_STATE0, numentries : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecDospStateEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentries) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecGetStatistics0(enginehandle: P0, ipsecstatistics: *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_STATISTICS0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ipsecstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecGetStatistics0(enginehandle.into_param().abi(), ipsecstatistics) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecGetStatistics1(enginehandle: P0, ipsecstatistics: *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_STATISTICS1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecGetStatistics1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ipsecstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_STATISTICS1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecGetStatistics1(enginehandle.into_param().abi(), ipsecstatistics) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextAddInbound0(enginehandle: P0, id: u64, inboundbundle: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextAddInbound0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, inboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextAddInbound0(enginehandle.into_param().abi(), id, inboundbundle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextAddInbound1(enginehandle: P0, id: u64, inboundbundle: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextAddInbound1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, inboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextAddInbound1(enginehandle.into_param().abi(), id, inboundbundle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextAddOutbound0(enginehandle: P0, id: u64, outboundbundle: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextAddOutbound0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, outboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextAddOutbound0(enginehandle.into_param().abi(), id, outboundbundle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextAddOutbound1(enginehandle: P0, id: u64, outboundbundle: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextAddOutbound1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, outboundbundle : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_BUNDLE1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextAddOutbound1(enginehandle.into_param().abi(), id, outboundbundle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextCreate0(enginehandle: P0, outboundtraffic: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_TRAFFIC0, inboundfilterid: ::core::option::Option<*mut u64>, id: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextCreate0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, outboundtraffic : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_TRAFFIC0, inboundfilterid : *mut u64, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextCreate0(enginehandle.into_param().abi(), outboundtraffic, ::core::mem::transmute(inboundfilterid.unwrap_or(::std::ptr::null_mut())), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextCreate1(enginehandle: P0, outboundtraffic: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_TRAFFIC1, virtualiftunnelinfo: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_VIRTUAL_IF_TUNNEL_INFO0>, inboundfilterid: ::core::option::Option<*mut u64>, id: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextCreate1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, outboundtraffic : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_TRAFFIC1, virtualiftunnelinfo : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_VIRTUAL_IF_TUNNEL_INFO0, inboundfilterid : *mut u64, id : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextCreate1(enginehandle.into_param().abi(), outboundtraffic, ::core::mem::transmute(virtualiftunnelinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(inboundfilterid.unwrap_or(::std::ptr::null_mut())), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IPsecSaContextDeleteById0(enginehandle: P0, id: u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextDeleteById0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IPsecSaContextDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextEnum1(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT1, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextEnum1(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IPsecSaContextExpire0(enginehandle: P0, id: u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextExpire0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextExpire0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextGetById0(enginehandle: P0, id: u64, sacontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sacontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextGetById0(enginehandle.into_param().abi(), id, sacontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextGetById1(enginehandle: P0, id: u64, sacontext: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sacontext : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextGetById1(enginehandle.into_param().abi(), id, sacontext) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextGetSpi0(enginehandle: P0, id: u64, getspi: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_GETSPI0, inboundspi: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextGetSpi0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI0, inboundspi : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextGetSpi0(enginehandle.into_param().abi(), id, getspi, inboundspi) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextGetSpi1(enginehandle: P0, id: u64, getspi: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_GETSPI1, inboundspi: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextGetSpi1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI1, inboundspi : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextGetSpi1(enginehandle.into_param().abi(), id, getspi, inboundspi) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaContextSetSpi0(enginehandle: P0, id: u64, getspi: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_GETSPI1, inboundspi: u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextSetSpi0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, getspi : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_GETSPI1, inboundspi : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextSetSpi0(enginehandle.into_param().abi(), id, getspi, inboundspi) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaContextUpdate0(enginehandle: P0, flags: u64, newvalues: *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaContextUpdate0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u64, newvalues : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_CONTEXT1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaContextUpdate0(enginehandle.into_param().abi(), flags, newvalues) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IPsecSaCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaDbGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaDbGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaDbGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaDbSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaDbSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaDbSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IPsecSaDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_DETAILS0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_DETAILS0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IPsecSaEnum1(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IPSEC_SA_DETAILS1, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IPsecSaEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IPSEC_SA_DETAILS1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IPsecSaEnum1(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextGetStatistics0(enginehandle: P0, ikeextstatistics: *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_STATISTICS0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextGetStatistics0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ikeextstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_STATISTICS0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextGetStatistics0(enginehandle.into_param().abi(), ikeextstatistics) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextGetStatistics1(enginehandle: P0, ikeextstatistics: *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_STATISTICS1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextGetStatistics1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, ikeextstatistics : *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_STATISTICS1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextGetStatistics1(enginehandle.into_param().abi(), ikeextstatistics) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IkeextSaCreateEnumHandle0(enginehandle: P0, enumtemplate: ::core::option::Option<*const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_ENUM_TEMPLATE0>, enumhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaCreateEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumtemplate : *const super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_ENUM_TEMPLATE0, enumhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaCreateEnumHandle0(enginehandle.into_param().abi(), ::core::mem::transmute(enumtemplate.unwrap_or(::std::ptr::null())), enumhandle) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IkeextSaDbGetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: *mut super::super::super::Win32::Foundation::PSID, sidgroup: *mut super::super::super::Win32::Foundation::PSID, dacl: *mut *mut super::super::super::Win32::Security::ACL, sacl: *mut *mut super::super::super::Win32::Security::ACL, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaDbGetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *mut super::super::super::Win32::Foundation:: PSID, sidgroup : *mut super::super::super::Win32::Foundation:: PSID, dacl : *mut *mut super::super::super::Win32::Security:: ACL, sacl : *mut *mut super::super::super::Win32::Security:: ACL, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaDbGetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, sidowner, sidgroup, dacl, sacl, securitydescriptor) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn IkeextSaDbSetSecurityInfo0(enginehandle: P0, securityinfo: u32, sidowner: ::core::option::Option<*const super::super::super::Win32::Security::SID>, sidgroup: ::core::option::Option<*const super::super::super::Win32::Security::SID>, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, sacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaDbSetSecurityInfo0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, securityinfo : u32, sidowner : *const super::super::super::Win32::Security:: SID, sidgroup : *const super::super::super::Win32::Security:: SID, dacl : *const super::super::super::Win32::Security:: ACL, sacl : *const super::super::super::Win32::Security:: ACL) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaDbSetSecurityInfo0(enginehandle.into_param().abi(), securityinfo, ::core::mem::transmute(sidowner.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sidgroup.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(sacl.unwrap_or(::std::ptr::null()))) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IkeextSaDeleteById0(enginehandle: P0, id: u64) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaDeleteById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaDeleteById0(enginehandle.into_param().abi(), id) +} +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn IkeextSaDestroyEnumHandle0(enginehandle: P0, enumhandle: P1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaDestroyEnumHandle0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaDestroyEnumHandle0(enginehandle.into_param().abi(), enumhandle.into_param().abi()) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaEnum0(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS0, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaEnum0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS0, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaEnum0(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaEnum1(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS1, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaEnum1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS1, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaEnum1(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaEnum2(enginehandle: P0, enumhandle: P1, numentriesrequested: u32, entries: *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS2, numentriesreturned: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaEnum2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, enumhandle : super::super::super::Win32::Foundation:: HANDLE, numentriesrequested : u32, entries : *mut *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS2, numentriesreturned : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaEnum2(enginehandle.into_param().abi(), enumhandle.into_param().abi(), numentriesrequested, entries, numentriesreturned) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaGetById0(enginehandle: P0, id: u64, sa: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS0) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaGetById0(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS0) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaGetById0(enginehandle.into_param().abi(), id, sa) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaGetById1(enginehandle: P0, id: u64, salookupcontext: ::core::option::Option<*const ::windows_core::GUID>, sa: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS1) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaGetById1(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_core::GUID, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS1) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaGetById1(enginehandle.into_param().abi(), id, ::core::mem::transmute(salookupcontext.unwrap_or(::std::ptr::null())), sa) +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_WindowsFilteringPlatform"))] +#[inline] +pub unsafe fn IkeextSaGetById2(enginehandle: P0, id: u64, salookupcontext: ::core::option::Option<*const ::windows_core::GUID>, sa: *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform::IKEEXT_SA_DETAILS2) -> super::super::super::Win32::Foundation::NTSTATUS +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("fwpuclnt.dll" "system" fn IkeextSaGetById2(enginehandle : super::super::super::Win32::Foundation:: HANDLE, id : u64, salookupcontext : *const ::windows_core::GUID, sa : *mut *mut super::super::super::Win32::NetworkManagement::WindowsFilteringPlatform:: IKEEXT_SA_DETAILS2) -> super::super::super::Win32::Foundation:: NTSTATUS); + IkeextSaGetById2(enginehandle.into_param().abi(), id, ::core::mem::transmute(salookupcontext.unwrap_or(::std::ptr::null())), sa) +} +#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"] +#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] +pub type FWPM_SERVICE_STATE_CHANGE_CALLBACK0 = ::core::option::Option; diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/mod.rs new file mode 100644 index 0000000000..d67a76208a --- /dev/null +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "Wdk_NetworkManagement_Ndis")] +#[doc = "Required features: `\"Wdk_NetworkManagement_Ndis\"`"] +pub mod Ndis; +#[cfg(feature = "Wdk_NetworkManagement_WindowsFilteringPlatform")] +#[doc = "Required features: `\"Wdk_NetworkManagement_WindowsFilteringPlatform\"`"] +pub mod WindowsFilteringPlatform; diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs index 5aa260e001..86e94b7821 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs @@ -2429,6 +2429,22 @@ pub const FLT_VALID_FILE_NAME_FORMATS: u32 = 255u32; pub const FLT_VALID_FILE_NAME_QUERY_METHODS: u32 = 65280u32; pub const FLT_VOLUME_CONTEXT: u32 = 1u32; pub const GUID_ECP_FLT_CREATEFILE_TARGET: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xce08041d_f411_447f_b70d_ccee45c23fac); +pub const IRP_MJ_ACQUIRE_FOR_CC_FLUSH: u16 = 65531u16; +pub const IRP_MJ_ACQUIRE_FOR_MOD_WRITE: u16 = 65533u16; +pub const IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION: u16 = 65535u16; +pub const IRP_MJ_FAST_IO_CHECK_IF_POSSIBLE: u16 = 65523u16; +pub const IRP_MJ_MDL_READ: u16 = 65521u16; +pub const IRP_MJ_MDL_READ_COMPLETE: u16 = 65520u16; +pub const IRP_MJ_MDL_WRITE_COMPLETE: u16 = 65518u16; +pub const IRP_MJ_NETWORK_QUERY_OPEN: u16 = 65522u16; +pub const IRP_MJ_OPERATION_END: u16 = 128u16; +pub const IRP_MJ_PREPARE_MDL_WRITE: u16 = 65519u16; +pub const IRP_MJ_QUERY_OPEN: u16 = 65529u16; +pub const IRP_MJ_RELEASE_FOR_CC_FLUSH: u16 = 65530u16; +pub const IRP_MJ_RELEASE_FOR_MOD_WRITE: u16 = 65532u16; +pub const IRP_MJ_RELEASE_FOR_SECTION_SYNCHRONIZATION: u16 = 65534u16; +pub const IRP_MJ_VOLUME_DISMOUNT: u16 = 65516u16; +pub const IRP_MJ_VOLUME_MOUNT: u16 = 65517u16; pub const VOL_PROP_FL_DAX_VOLUME: u32 = 1u32; #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs index 8fc079d3ca..fc33f8a24f 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -2129,18 +2129,18 @@ pub unsafe fn IoRegisterFileSystem(deviceobject: *const super::super::Foundation #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); +pub unsafe fn IoRegisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: *const super::super::Foundation::DRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS); IoRegisterFsRegistrationChange(driverobject, drivernotificationroutine) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterFsRegistrationChangeMountAware(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION, synchronizewithmounts: P0) -> super::super::super::Win32::Foundation::NTSTATUS +pub unsafe fn IoRegisterFsRegistrationChangeMountAware(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: *const super::super::Foundation::DRIVER_FS_NOTIFICATION, synchronizewithmounts: P0) -> super::super::super::Win32::Foundation::NTSTATUS where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChangeMountAware(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION, synchronizewithmounts : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterFsRegistrationChangeMountAware(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION, synchronizewithmounts : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); IoRegisterFsRegistrationChangeMountAware(driverobject, drivernotificationroutine, synchronizewithmounts.into_param().abi()) } #[inline] @@ -2226,8 +2226,8 @@ pub unsafe fn IoUnregisterFileSystem(deviceobject: *const super::super::Foundati #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoUnregisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: PDRIVER_FS_NOTIFICATION) { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : PDRIVER_FS_NOTIFICATION)); +pub unsafe fn IoUnregisterFsRegistrationChange(driverobject: *const super::super::Foundation::DRIVER_OBJECT, drivernotificationroutine: *const super::super::Foundation::DRIVER_FS_NOTIFICATION) { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterFsRegistrationChange(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, drivernotificationroutine : *const super::super::Foundation:: DRIVER_FS_NOTIFICATION)); IoUnregisterFsRegistrationChange(driverobject, drivernotificationroutine) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] @@ -3429,17 +3429,6 @@ pub unsafe fn RtlCompressChunks(uncompressedbuffer: &[u8], compressedbuffer: &mu #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RtlConvertSidToUnicodeString(unicodestring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sid: P0, allocatedestinationstring: P1) -> super::super::super::Win32::Foundation::NTSTATUS -where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, -{ - ::windows_targets::link!("ntdll.dll" "system" fn RtlConvertSidToUnicodeString(unicodestring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sid : super::super::super::Win32::Foundation:: PSID, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); - RtlConvertSidToUnicodeString(unicodestring, sid.into_param().abi(), allocatedestinationstring.into_param().abi()) -} -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -#[inline] pub unsafe fn RtlCopyLuid(destinationluid: *mut super::super::super::Win32::Foundation::LUID, sourceluid: *const super::super::super::Win32::Foundation::LUID) { ::windows_targets::link!("ntdll.dll" "system" fn RtlCopyLuid(destinationluid : *mut super::super::super::Win32::Foundation:: LUID, sourceluid : *const super::super::super::Win32::Foundation:: LUID)); RtlCopyLuid(destinationluid, sourceluid) @@ -5618,6 +5607,13 @@ pub const FSRTL_VOLUME_UNLOCK: u32 = 5u32; pub const FSRTL_VOLUME_WEARING_OUT: u32 = 9u32; pub const FSRTL_VOLUME_WORM_NEAR_FULL: u32 = 8u32; pub const FSRTL_WILD_CHARACTER: u32 = 8u32; +pub const FS_FILTER_ACQUIRE_FOR_CC_FLUSH: u16 = 65531u16; +pub const FS_FILTER_ACQUIRE_FOR_MOD_WRITE: u16 = 65533u16; +pub const FS_FILTER_ACQUIRE_FOR_SECTION_SYNCHRONIZATION: u16 = 65535u16; +pub const FS_FILTER_QUERY_OPEN: u16 = 65529u16; +pub const FS_FILTER_RELEASE_FOR_CC_FLUSH: u16 = 65530u16; +pub const FS_FILTER_RELEASE_FOR_MOD_WRITE: u16 = 65532u16; +pub const FS_FILTER_RELEASE_FOR_SECTION_SYNCHRONIZATION: u16 = 65534u16; pub const FS_FILTER_SECTION_SYNC_IMAGE_EXTENTS_ARE_NOT_RVA: u32 = 8u32; pub const FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_ACCESS: u32 = 1u32; pub const FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_WRITE: u32 = 2u32; @@ -16665,9 +16661,6 @@ impl ::core::default::Default for VOLUME_REFS_INFO_BUFFER { #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] pub type ALLOCATE_VIRTUAL_MEMORY_EX_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_FS_NOTIFICATION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type FREE_VIRTUAL_MEMORY_EX_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; @@ -16696,7 +16689,6 @@ pub type PCOMPLETE_LOCK_IRP_ROUTINE = ::core::option::Option; -pub type PDRIVER_FS_NOTIFICATION = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub type PFILTER_REPORT_CHANGE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; diff --git a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs index b62c5259a4..24fd111659 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs @@ -1415,11 +1415,11 @@ pub unsafe fn HalAcquireDisplayOwnership(resetdisplayparameters: PHAL_RESET_DISP ::windows_targets::link!("hal.dll" "system" fn HalAcquireDisplayOwnership(resetdisplayparameters : PHAL_RESET_DISPLAY_PARAMETERS)); HalAcquireDisplayOwnership(resetdisplayparameters) } -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn HalAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, wcb: *const WAIT_CONTEXT_BLOCK, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL) -> super::super::super::Win32::Foundation::NTSTATUS { - ::windows_targets::link!("hal.dll" "system" fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS); +pub unsafe fn HalAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, wcb: *const WAIT_CONTEXT_BLOCK, numberofmapregisters: u32, executionroutine: *const super::super::Foundation::DRIVER_CONTROL) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("hal.dll" "system" fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS); HalAllocateAdapterChannel(adapterobject, wcb, numberofmapregisters, executionroutine) } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`"] @@ -1602,15 +1602,15 @@ where #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +pub unsafe fn IoAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: *const super::super::Foundation::DRIVER_CONTROL, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); IoAllocateAdapterChannel(adapterobject, deviceobject, numberofmapregisters, executionroutine, context) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoAllocateController(controllerobject: *const CONTROLLER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, executionroutine: PDRIVER_CONTROL, context: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateController(controllerobject : *const CONTROLLER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void)); +pub unsafe fn IoAllocateController(controllerobject: *const CONTROLLER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, executionroutine: *const super::super::Foundation::DRIVER_CONTROL, context: ::core::option::Option<*const ::core::ffi::c_void>) { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateController(controllerobject : *const CONTROLLER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, executionroutine : *const super::super::Foundation:: DRIVER_CONTROL, context : *const ::core::ffi::c_void)); IoAllocateController(controllerobject, deviceobject, executionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] @@ -2618,8 +2618,8 @@ pub unsafe fn IoRegisterBootDriverCallback(callbackfunction: PBOOT_DRIVER_CALLBA #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterBootDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: PDRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterBootDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); +pub unsafe fn IoRegisterBootDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: *const super::super::Foundation::DRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterBootDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : *const super::super::Foundation:: DRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); IoRegisterBootDriverReinitialization(driverobject, driverreinitializationroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "Required features: `\"Win32_Foundation\"`"] @@ -2639,8 +2639,8 @@ pub unsafe fn IoRegisterDeviceInterface(physicaldeviceobject: *const super::supe #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: PDRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); +pub unsafe fn IoRegisterDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: *const super::super::Foundation::DRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : *const super::super::Foundation:: DRIVER_REINITIALIZE, context : *const ::core::ffi::c_void)); IoRegisterDriverReinitialization(driverobject, driverreinitializationroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] @@ -2653,8 +2653,8 @@ pub unsafe fn IoRegisterLastChanceShutdownNotification(deviceobject: *const supe #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoRegisterPlugPlayNotification(eventcategory: IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags: u32, eventcategorydata: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, callbackroutine: PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>, notificationentry: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); +pub unsafe fn IoRegisterPlugPlayNotification(eventcategory: IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags: u32, eventcategorydata: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, callbackroutine: *const super::super::Foundation::DRIVER_NOTIFICATION_CALLBACK_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>, notificationentry: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : *const super::super::Foundation:: DRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS); IoRegisterPlugPlayNotification(eventcategory, eventcategoryflags, ::core::mem::transmute(eventcategorydata.unwrap_or(::std::ptr::null())), driverobject, callbackroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), notificationentry) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] @@ -3033,9 +3033,9 @@ where #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] #[inline] -pub unsafe fn IoStartPacket(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, key: ::core::option::Option<*const u32>, cancelfunction: super::super::Foundation::PDRIVER_CANCEL) { - ::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, key : *const u32, cancelfunction : super::super::Foundation:: PDRIVER_CANCEL)); - IoStartPacket(deviceobject, irp, ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), cancelfunction) +pub unsafe fn IoStartPacket(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, key: ::core::option::Option<*const u32>, cancelfunction: ::core::option::Option<*const super::super::Foundation::DRIVER_CANCEL>) { + ::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, key : *const u32, cancelfunction : *const super::super::Foundation:: DRIVER_CANCEL)); + IoStartPacket(deviceobject, irp, ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), ::core::mem::transmute(cancelfunction.unwrap_or(::std::ptr::null()))) } #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] @@ -6581,11 +6581,6 @@ pub unsafe fn RtlCopyUnicodeString(destinationstring: *mut super::super::super:: ::windows_targets::link!("ntdll.dll" "system" fn RtlCopyUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING)); RtlCopyUnicodeString(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null()))) } -#[inline] -pub unsafe fn RtlCrc64(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u64) -> u64 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlCrc64(buffer : *const ::core::ffi::c_void, size : usize, initialcrc : u64) -> u64); - RtlCrc64(buffer, size, initialcrc) -} #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] #[inline] @@ -10672,6 +10667,13 @@ pub const PciAcsBitDisable: PCI_ACS_BIT = PCI_ACS_BIT(2i32); pub const PciAcsBitDontCare: PCI_ACS_BIT = PCI_ACS_BIT(3i32); pub const PciAcsBitEnable: PCI_ACS_BIT = PCI_ACS_BIT(1i32); pub const PciAcsReserved: PCI_ACS_BIT = PCI_ACS_BIT(0i32); +pub const PciAddressParityError: u16 = 6u16; +pub const PciBusDataParityError: u16 = 1u16; +pub const PciBusMasterAbort: u16 = 3u16; +pub const PciBusSystemError: u16 = 2u16; +pub const PciBusTimeOut: u16 = 4u16; +pub const PciBusUnknownError: u16 = 0u16; +pub const PciCommandParityError: u16 = 7u16; pub const PciConventional: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(0i32); pub const PciDeviceD3Cold_Reason_Default_State_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(8i32); pub const PciDeviceD3Cold_Reason_INF_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(9i32); @@ -10693,6 +10695,7 @@ pub const PciExpressRootComplexIntegratedEndpoint: PCI_EXPRESS_DEVICE_TYPE = PCI pub const PciExpressRootPort: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(4i32); pub const PciExpressToPciXBridge: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(7i32); pub const PciExpressUpstreamSwitchPort: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(5i32); +pub const PciMasterDataParityError: u16 = 5u16; pub const PciXMode1: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(1i32); pub const PciXMode2: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(2i32); pub const PciXToExpressBridge: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(8i32); @@ -26014,7 +26017,7 @@ impl ::core::default::Default for MAP_REGISTER_ENTRY { #[doc = "Required features: `\"Wdk_Foundation\"`"] #[cfg(feature = "Wdk_Foundation")] pub struct MCA_DRIVER_INFO { - pub ExceptionCallback: PDRIVER_MCA_EXCEPTION_CALLBACK, + pub ExceptionCallback: isize, pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE, pub DeviceContext: *mut ::core::ffi::c_void, } @@ -26029,7 +26032,7 @@ impl ::core::clone::Clone for MCA_DRIVER_INFO { #[cfg(feature = "Wdk_Foundation")] impl ::core::fmt::Debug for MCA_DRIVER_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("MCA_DRIVER_INFO").field("DeviceContext", &self.DeviceContext).finish() + f.debug_struct("MCA_DRIVER_INFO").field("ExceptionCallback", &self.ExceptionCallback).field("DeviceContext", &self.DeviceContext).finish() } } #[cfg(feature = "Wdk_Foundation")] @@ -39653,95 +39656,95 @@ impl ::core::default::Default for VM_COUNTERS_EX2 { } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct WAIT_CONTEXT_BLOCK { pub Anonymous: WAIT_CONTEXT_BLOCK_0, - pub DeviceRoutine: PDRIVER_CONTROL, + pub DeviceRoutine: *mut super::super::Foundation::DRIVER_CONTROL, pub DeviceContext: *mut ::core::ffi::c_void, pub NumberOfMapRegisters: u32, pub DeviceObject: *mut ::core::ffi::c_void, pub CurrentIrp: *mut ::core::ffi::c_void, pub BufferChainingDpc: *mut super::super::Foundation::KDPC, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for WAIT_CONTEXT_BLOCK { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub union WAIT_CONTEXT_BLOCK_0 { pub WaitQueueEntry: KDEVICE_QUEUE_ENTRY, pub Anonymous: WAIT_CONTEXT_BLOCK_0_0, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0 {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0 { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK_0 { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for WAIT_CONTEXT_BLOCK_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub struct WAIT_CONTEXT_BLOCK_0_0 { pub DmaWaitEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub NumberOfChannels: u32, pub _bitfield: u32, } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0_0 {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0_0 { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::fmt::Debug for WAIT_CONTEXT_BLOCK_0_0 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("WAIT_CONTEXT_BLOCK_0_0").field("DmaWaitEntry", &self.DmaWaitEntry).field("NumberOfChannels", &self.NumberOfChannels).field("_bitfield", &self._bitfield).finish() } } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK_0_0 { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::cmp::PartialEq for WAIT_CONTEXT_BLOCK_0_0 { fn eq(&self, other: &Self) -> bool { self.DmaWaitEntry == other.DmaWaitEntry && self.NumberOfChannels == other.NumberOfChannels && self._bitfield == other._bitfield } } -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::cmp::Eq for WAIT_CONTEXT_BLOCK_0_0 {} -#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] impl ::core::default::Default for WAIT_CONTEXT_BLOCK_0_0 { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -45624,42 +45627,9 @@ pub type DEVICE_RESET_HANDLER = ::core::option::Option; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_ADD_DEVICE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_CANCEL = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_CONTROL = ::core::option::Option IO_ALLOCATION_ACTION>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_DISPATCH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_DISPATCH_PAGED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type DRIVER_DISPATCH_RAISED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_INITIALIZE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type DRIVER_LIST_CONTROL = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub type DRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_REINITIALIZE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_STARTIO = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type DRIVER_UNLOAD = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] pub type ENABLE_VIRTUALIZATION = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Win32_System_Diagnostics_Etw\"`"] #[cfg(feature = "Win32_System_Diagnostics_Etw")] @@ -45672,87 +45642,6 @@ pub type EXT_DELETE_CALLBACK = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_DETACH_DEVICE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_DEVICE_CONTROL = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_LOCK = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ_COMPLETE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_PREPARE_MDL_WRITE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_BASIC_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_OPEN = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_QUERY_STANDARD_INFO = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_READ = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_READ_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FILE = ::core::option::Option; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_ALL = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_UNLOCK_SINGLE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_WRITE = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; -#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] -#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type FAST_IO_WRITE_COMPRESSED = ::core::option::Option super::super::super::Win32::Foundation::BOOLEAN>; pub type FPGA_BUS_SCAN = ::core::option::Option; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -45964,10 +45853,10 @@ pub type NPEM_CONTROL_SET_STANDARD_CONTROL = ::core::option::Option; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PALLOCATE_ADAPTER_CHANNEL = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PALLOCATE_ADAPTER_CHANNEL = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PALLOCATE_ADAPTER_CHANNEL_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PALLOCATE_ADAPTER_CHANNEL_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type PALLOCATE_COMMON_BUFFER = ::core::option::Option *mut ::core::ffi::c_void>; @@ -45995,10 +45884,10 @@ pub type PBOUND_CALLBACK = ::core::option::Option pub type PBUILD_MDL_FROM_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PBUILD_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PBUILD_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PBUILD_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PBUILD_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] pub type PCALCULATE_SCATTER_GATHER_LIST_SIZE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; @@ -46114,18 +46003,8 @@ pub type PDEVICE_RESET_COMPLETION = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PDMA_COMPLETION_ROUTINE = ::core::option::Option; pub type PDRIVER_CMC_EXCEPTION_CALLBACK = ::core::option::Option; -pub type PDRIVER_CONTROL = ::core::option::Option IO_ALLOCATION_ACTION>; pub type PDRIVER_CPE_EXCEPTION_CALLBACK = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_DISPATCH_PAGED = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PDRIVER_EXCPTN_CALLBACK = ::core::option::Option; -pub type PDRIVER_LIST_CONTROL = ::core::option::Option; -pub type PDRIVER_MCA_EXCEPTION_CALLBACK = ::core::option::Option; -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub type PDRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; -pub type PDRIVER_REINITIALIZE = ::core::option::Option; pub type PDRIVER_VERIFIER_THUNK_ROUTINE = ::core::option::Option usize>; #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -46241,10 +46120,10 @@ pub type PGET_IDLE_WAKE_INFO = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PGET_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PGET_SCATTER_GATHER_LIST = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`"] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))] -pub type PGET_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; +pub type PGET_SCATTER_GATHER_LIST_EX = ::core::option::Option super::super::super::Win32::Foundation::NTSTATUS>; pub type PGET_SDEV_IDENTIFIER = ::core::option::Option u64>; pub type PGET_SET_DEVICE_DATA = ::core::option::Option u32>; #[doc = "Required features: `\"Win32_Foundation\"`"] diff --git a/crates/libs/windows/src/Windows/Wdk/mod.rs b/crates/libs/windows/src/Windows/Wdk/mod.rs index f23f661261..3d03ff6f6c 100644 --- a/crates/libs/windows/src/Windows/Wdk/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/mod.rs @@ -1,9 +1,15 @@ +#[cfg(feature = "Wdk_Devices")] +#[doc = "Required features: `\"Wdk_Devices\"`"] +pub mod Devices; #[cfg(feature = "Wdk_Foundation")] #[doc = "Required features: `\"Wdk_Foundation\"`"] pub mod Foundation; #[cfg(feature = "Wdk_Graphics")] #[doc = "Required features: `\"Wdk_Graphics\"`"] pub mod Graphics; +#[cfg(feature = "Wdk_NetworkManagement")] +#[doc = "Required features: `\"Wdk_NetworkManagement\"`"] +pub mod NetworkManagement; #[cfg(feature = "Wdk_Storage")] #[doc = "Required features: `\"Wdk_Storage\"`"] pub mod Storage; diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index a4aee4cde3..9a68bc5671 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -629,19 +629,19 @@ where CM_Get_Device_Interface_ListW(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags) } #[inline] -pub unsafe fn CM_Get_Device_Interface_List_ExA(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: u32, hmachine: isize) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_ExA(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine: isize) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); CM_Get_Device_Interface_List_ExA(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) } #[inline] -pub unsafe fn CM_Get_Device_Interface_List_ExW(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: u32, hmachine: isize) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_ExW(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine: isize) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_ExW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); CM_Get_Device_Interface_List_ExW(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len().try_into().unwrap(), ulflags, hmachine) } #[inline] @@ -6380,101 +6380,101 @@ pub const SetupFileLogDiskTagfile: SetupFileLogInfo = SetupFileLogInfo(2i32); pub const SetupFileLogMax: SetupFileLogInfo = SetupFileLogInfo(5i32); pub const SetupFileLogOtherInfo: SetupFileLogInfo = SetupFileLogInfo(4i32); pub const SetupFileLogSourceFilename: SetupFileLogInfo = SetupFileLogInfo(0i32); -pub const fDD_BYTE: u32 = 0u32; -pub const fDD_BYTE_AND_WORD: u32 = 3u32; -pub const fDD_BusMaster: u32 = 4u32; -pub const fDD_DWORD: u32 = 2u32; -pub const fDD_NoBusMaster: u32 = 0u32; -pub const fDD_TypeA: u32 = 8u32; -pub const fDD_TypeB: u32 = 16u32; -pub const fDD_TypeF: u32 = 24u32; -pub const fDD_TypeStandard: u32 = 0u32; -pub const fDD_WORD: u32 = 1u32; -pub const fIOD_10_BIT_DECODE: u32 = 4u32; -pub const fIOD_12_BIT_DECODE: u32 = 8u32; -pub const fIOD_16_BIT_DECODE: u32 = 16u32; -pub const fIOD_DECODE: u32 = 252u32; -pub const fIOD_IO: u32 = 1u32; -pub const fIOD_Memory: u32 = 0u32; -pub const fIOD_PASSIVE_DECODE: u32 = 64u32; -pub const fIOD_PORT_BAR: u32 = 256u32; -pub const fIOD_POSITIVE_DECODE: u32 = 32u32; -pub const fIOD_PortType: u32 = 1u32; -pub const fIOD_WINDOW_DECODE: u32 = 128u32; -pub const fIRQD_Edge: u32 = 2u32; -pub const fIRQD_Exclusive: u32 = 0u32; -pub const fIRQD_Level: u32 = 0u32; -pub const fIRQD_Level_Bit: u32 = 1u32; -pub const fIRQD_Share: u32 = 1u32; -pub const fIRQD_Share_Bit: u32 = 0u32; -pub const fMD_24: u32 = 0u32; -pub const fMD_32: u32 = 2u32; -pub const fMD_32_24: u32 = 2u32; -pub const fMD_Cacheable: u32 = 32u32; -pub const fMD_CombinedWrite: u32 = 16u32; -pub const fMD_CombinedWriteAllowed: u32 = 16u32; -pub const fMD_CombinedWriteDisallowed: u32 = 0u32; -pub const fMD_MEMORY_BAR: u32 = 128u32; -pub const fMD_MemoryType: u32 = 1u32; -pub const fMD_NonCacheable: u32 = 0u32; -pub const fMD_Pref: u32 = 4u32; -pub const fMD_PrefetchAllowed: u32 = 4u32; -pub const fMD_PrefetchDisallowed: u32 = 0u32; -pub const fMD_Prefetchable: u32 = 4u32; -pub const fMD_RAM: u32 = 1u32; -pub const fMD_ROM: u32 = 0u32; -pub const fMD_ReadAllowed: u32 = 0u32; -pub const fMD_ReadDisallowed: u32 = 8u32; -pub const fMD_Readable: u32 = 8u32; -pub const fMD_WINDOW_DECODE: u32 = 64u32; -pub const fPCD_ATTRIBUTES_PER_WINDOW: u32 = 32768u32; -pub const fPCD_IO1_16: u32 = 65536u32; -pub const fPCD_IO1_SRC_16: u32 = 262144u32; -pub const fPCD_IO1_WS_16: u32 = 524288u32; -pub const fPCD_IO1_ZW_8: u32 = 131072u32; -pub const fPCD_IO2_16: u32 = 1048576u32; -pub const fPCD_IO2_SRC_16: u32 = 4194304u32; -pub const fPCD_IO2_WS_16: u32 = 8388608u32; -pub const fPCD_IO2_ZW_8: u32 = 2097152u32; -pub const fPCD_IO_16: u32 = 1u32; -pub const fPCD_IO_8: u32 = 0u32; -pub const fPCD_IO_SRC_16: u32 = 32u32; -pub const fPCD_IO_WS_16: u32 = 64u32; -pub const fPCD_IO_ZW_8: u32 = 16u32; -pub const fPCD_MEM1_16: u32 = 67108864u32; -pub const fPCD_MEM1_A: u32 = 4u32; -pub const fPCD_MEM1_WS_ONE: u32 = 16777216u32; -pub const fPCD_MEM1_WS_THREE: u32 = 50331648u32; -pub const fPCD_MEM1_WS_TWO: u32 = 33554432u32; -pub const fPCD_MEM2_16: u32 = 1073741824u32; -pub const fPCD_MEM2_A: u32 = 8u32; -pub const fPCD_MEM2_WS_ONE: u32 = 268435456u32; -pub const fPCD_MEM2_WS_THREE: u32 = 805306368u32; -pub const fPCD_MEM2_WS_TWO: u32 = 536870912u32; -pub const fPCD_MEM_16: u32 = 2u32; -pub const fPCD_MEM_8: u32 = 0u32; -pub const fPCD_MEM_A: u32 = 4u32; -pub const fPCD_MEM_WS_ONE: u32 = 256u32; -pub const fPCD_MEM_WS_THREE: u32 = 768u32; -pub const fPCD_MEM_WS_TWO: u32 = 512u32; -pub const fPMF_AUDIO_ENABLE: u32 = 8u32; -pub const mDD_BusMaster: u32 = 4u32; -pub const mDD_Type: u32 = 24u32; -pub const mDD_Width: u32 = 3u32; -pub const mIRQD_Edge_Level: u32 = 2u32; -pub const mIRQD_Share: u32 = 1u32; -pub const mMD_32_24: u32 = 2u32; -pub const mMD_Cacheable: u32 = 32u32; -pub const mMD_CombinedWrite: u32 = 16u32; -pub const mMD_MemoryType: u32 = 1u32; -pub const mMD_Prefetchable: u32 = 4u32; -pub const mMD_Readable: u32 = 8u32; -pub const mPCD_IO_8_16: u32 = 1u32; -pub const mPCD_MEM1_WS: u32 = 50331648u32; -pub const mPCD_MEM2_WS: u32 = 805306368u32; -pub const mPCD_MEM_8_16: u32 = 2u32; -pub const mPCD_MEM_A_C: u32 = 12u32; -pub const mPCD_MEM_WS: u32 = 768u32; +pub const fDD_BYTE: DD_FLAGS = DD_FLAGS(0u32); +pub const fDD_BYTE_AND_WORD: DD_FLAGS = DD_FLAGS(3u32); +pub const fDD_BusMaster: DD_FLAGS = DD_FLAGS(4u32); +pub const fDD_DWORD: DD_FLAGS = DD_FLAGS(2u32); +pub const fDD_NoBusMaster: DD_FLAGS = DD_FLAGS(0u32); +pub const fDD_TypeA: DD_FLAGS = DD_FLAGS(8u32); +pub const fDD_TypeB: DD_FLAGS = DD_FLAGS(16u32); +pub const fDD_TypeF: DD_FLAGS = DD_FLAGS(24u32); +pub const fDD_TypeStandard: DD_FLAGS = DD_FLAGS(0u32); +pub const fDD_WORD: DD_FLAGS = DD_FLAGS(1u32); +pub const fIOD_10_BIT_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(4u32); +pub const fIOD_12_BIT_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(8u32); +pub const fIOD_16_BIT_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(16u32); +pub const fIOD_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(252u32); +pub const fIOD_IO: IOD_DESFLAGS = IOD_DESFLAGS(1u32); +pub const fIOD_Memory: IOD_DESFLAGS = IOD_DESFLAGS(0u32); +pub const fIOD_PASSIVE_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(64u32); +pub const fIOD_PORT_BAR: IOD_DESFLAGS = IOD_DESFLAGS(256u32); +pub const fIOD_POSITIVE_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(32u32); +pub const fIOD_PortType: IOD_DESFLAGS = IOD_DESFLAGS(1u32); +pub const fIOD_WINDOW_DECODE: IOD_DESFLAGS = IOD_DESFLAGS(128u32); +pub const fIRQD_Edge: IRQD_FLAGS = IRQD_FLAGS(2u32); +pub const fIRQD_Exclusive: IRQD_FLAGS = IRQD_FLAGS(0u32); +pub const fIRQD_Level: IRQD_FLAGS = IRQD_FLAGS(0u32); +pub const fIRQD_Level_Bit: IRQD_FLAGS = IRQD_FLAGS(1u32); +pub const fIRQD_Share: IRQD_FLAGS = IRQD_FLAGS(1u32); +pub const fIRQD_Share_Bit: IRQD_FLAGS = IRQD_FLAGS(0u32); +pub const fMD_24: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_32: MD_FLAGS = MD_FLAGS(2u32); +pub const fMD_32_24: MD_FLAGS = MD_FLAGS(2u32); +pub const fMD_Cacheable: MD_FLAGS = MD_FLAGS(32u32); +pub const fMD_CombinedWrite: MD_FLAGS = MD_FLAGS(16u32); +pub const fMD_CombinedWriteAllowed: MD_FLAGS = MD_FLAGS(16u32); +pub const fMD_CombinedWriteDisallowed: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_MEMORY_BAR: MD_FLAGS = MD_FLAGS(128u32); +pub const fMD_MemoryType: MD_FLAGS = MD_FLAGS(1u32); +pub const fMD_NonCacheable: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_Pref: MD_FLAGS = MD_FLAGS(4u32); +pub const fMD_PrefetchAllowed: MD_FLAGS = MD_FLAGS(4u32); +pub const fMD_PrefetchDisallowed: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_Prefetchable: MD_FLAGS = MD_FLAGS(4u32); +pub const fMD_RAM: MD_FLAGS = MD_FLAGS(1u32); +pub const fMD_ROM: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_ReadAllowed: MD_FLAGS = MD_FLAGS(0u32); +pub const fMD_ReadDisallowed: MD_FLAGS = MD_FLAGS(8u32); +pub const fMD_Readable: MD_FLAGS = MD_FLAGS(8u32); +pub const fMD_WINDOW_DECODE: MD_FLAGS = MD_FLAGS(64u32); +pub const fPCD_ATTRIBUTES_PER_WINDOW: PCD_FLAGS = PCD_FLAGS(32768u32); +pub const fPCD_IO1_16: PCD_FLAGS = PCD_FLAGS(65536u32); +pub const fPCD_IO1_SRC_16: PCD_FLAGS = PCD_FLAGS(262144u32); +pub const fPCD_IO1_WS_16: PCD_FLAGS = PCD_FLAGS(524288u32); +pub const fPCD_IO1_ZW_8: PCD_FLAGS = PCD_FLAGS(131072u32); +pub const fPCD_IO2_16: PCD_FLAGS = PCD_FLAGS(1048576u32); +pub const fPCD_IO2_SRC_16: PCD_FLAGS = PCD_FLAGS(4194304u32); +pub const fPCD_IO2_WS_16: PCD_FLAGS = PCD_FLAGS(8388608u32); +pub const fPCD_IO2_ZW_8: PCD_FLAGS = PCD_FLAGS(2097152u32); +pub const fPCD_IO_16: PCD_FLAGS = PCD_FLAGS(1u32); +pub const fPCD_IO_8: PCD_FLAGS = PCD_FLAGS(0u32); +pub const fPCD_IO_SRC_16: PCD_FLAGS = PCD_FLAGS(32u32); +pub const fPCD_IO_WS_16: PCD_FLAGS = PCD_FLAGS(64u32); +pub const fPCD_IO_ZW_8: PCD_FLAGS = PCD_FLAGS(16u32); +pub const fPCD_MEM1_16: PCD_FLAGS = PCD_FLAGS(67108864u32); +pub const fPCD_MEM1_A: PCD_FLAGS = PCD_FLAGS(4u32); +pub const fPCD_MEM1_WS_ONE: PCD_FLAGS = PCD_FLAGS(16777216u32); +pub const fPCD_MEM1_WS_THREE: PCD_FLAGS = PCD_FLAGS(50331648u32); +pub const fPCD_MEM1_WS_TWO: PCD_FLAGS = PCD_FLAGS(33554432u32); +pub const fPCD_MEM2_16: PCD_FLAGS = PCD_FLAGS(1073741824u32); +pub const fPCD_MEM2_A: PCD_FLAGS = PCD_FLAGS(8u32); +pub const fPCD_MEM2_WS_ONE: PCD_FLAGS = PCD_FLAGS(268435456u32); +pub const fPCD_MEM2_WS_THREE: PCD_FLAGS = PCD_FLAGS(805306368u32); +pub const fPCD_MEM2_WS_TWO: PCD_FLAGS = PCD_FLAGS(536870912u32); +pub const fPCD_MEM_16: PCD_FLAGS = PCD_FLAGS(2u32); +pub const fPCD_MEM_8: PCD_FLAGS = PCD_FLAGS(0u32); +pub const fPCD_MEM_A: PCD_FLAGS = PCD_FLAGS(4u32); +pub const fPCD_MEM_WS_ONE: PCD_FLAGS = PCD_FLAGS(256u32); +pub const fPCD_MEM_WS_THREE: PCD_FLAGS = PCD_FLAGS(768u32); +pub const fPCD_MEM_WS_TWO: PCD_FLAGS = PCD_FLAGS(512u32); +pub const fPMF_AUDIO_ENABLE: PMF_FLAGS = PMF_FLAGS(8u32); +pub const mDD_BusMaster: DD_FLAGS = DD_FLAGS(4u32); +pub const mDD_Type: DD_FLAGS = DD_FLAGS(24u32); +pub const mDD_Width: DD_FLAGS = DD_FLAGS(3u32); +pub const mIRQD_Edge_Level: IRQD_FLAGS = IRQD_FLAGS(2u32); +pub const mIRQD_Share: IRQD_FLAGS = IRQD_FLAGS(1u32); +pub const mMD_32_24: MD_FLAGS = MD_FLAGS(2u32); +pub const mMD_Cacheable: MD_FLAGS = MD_FLAGS(32u32); +pub const mMD_CombinedWrite: MD_FLAGS = MD_FLAGS(16u32); +pub const mMD_MemoryType: MD_FLAGS = MD_FLAGS(1u32); +pub const mMD_Prefetchable: MD_FLAGS = MD_FLAGS(4u32); +pub const mMD_Readable: MD_FLAGS = MD_FLAGS(8u32); +pub const mPCD_IO_8_16: PCD_FLAGS = PCD_FLAGS(1u32); +pub const mPCD_MEM1_WS: PCD_FLAGS = PCD_FLAGS(50331648u32); +pub const mPCD_MEM2_WS: PCD_FLAGS = PCD_FLAGS(805306368u32); +pub const mPCD_MEM_8_16: PCD_FLAGS = PCD_FLAGS(2u32); +pub const mPCD_MEM_A_C: PCD_FLAGS = PCD_FLAGS(12u32); +pub const mPCD_MEM_WS: PCD_FLAGS = PCD_FLAGS(768u32); pub const mPMF_AUDIO_ENABLE: u32 = 8u32; #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -7028,6 +7028,61 @@ impl ::core::fmt::Debug for CONFIGRET { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DD_FLAGS(pub u32); +impl ::core::marker::Copy for DD_FLAGS {} +impl ::core::clone::Clone for DD_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DD_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DD_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DD_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DD_FLAGS").field(&self.0).finish() + } +} +impl DD_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for DD_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for DD_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for DD_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for DD_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for DD_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct DIINSTALLDEVICE_FLAGS(pub u32); impl ::core::marker::Copy for DIINSTALLDEVICE_FLAGS {} impl ::core::clone::Clone for DIINSTALLDEVICE_FLAGS { @@ -7303,6 +7358,171 @@ impl ::core::ops::Not for INF_STYLE { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct IOD_DESFLAGS(pub u32); +impl ::core::marker::Copy for IOD_DESFLAGS {} +impl ::core::clone::Clone for IOD_DESFLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for IOD_DESFLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for IOD_DESFLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for IOD_DESFLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("IOD_DESFLAGS").field(&self.0).finish() + } +} +impl IOD_DESFLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for IOD_DESFLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for IOD_DESFLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for IOD_DESFLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for IOD_DESFLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for IOD_DESFLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct IRQD_FLAGS(pub u32); +impl ::core::marker::Copy for IRQD_FLAGS {} +impl ::core::clone::Clone for IRQD_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for IRQD_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for IRQD_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for IRQD_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("IRQD_FLAGS").field(&self.0).finish() + } +} +impl IRQD_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for IRQD_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for IRQD_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for IRQD_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for IRQD_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for IRQD_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MD_FLAGS(pub u32); +impl ::core::marker::Copy for MD_FLAGS {} +impl ::core::clone::Clone for MD_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for MD_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for MD_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MD_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MD_FLAGS").field(&self.0).finish() + } +} +impl MD_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for MD_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for MD_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for MD_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for MD_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for MD_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct OEM_SOURCE_MEDIA_TYPE(pub u32); impl ::core::marker::Copy for OEM_SOURCE_MEDIA_TYPE {} impl ::core::clone::Clone for OEM_SOURCE_MEDIA_TYPE { @@ -7325,6 +7545,116 @@ impl ::core::fmt::Debug for OEM_SOURCE_MEDIA_TYPE { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PCD_FLAGS(pub u32); +impl ::core::marker::Copy for PCD_FLAGS {} +impl ::core::clone::Clone for PCD_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PCD_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PCD_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PCD_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PCD_FLAGS").field(&self.0).finish() + } +} +impl PCD_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for PCD_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for PCD_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for PCD_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for PCD_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for PCD_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PMF_FLAGS(pub u32); +impl ::core::marker::Copy for PMF_FLAGS {} +impl ::core::clone::Clone for PMF_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PMF_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PMF_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PMF_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PMF_FLAGS").field(&self.0).finish() + } +} +impl PMF_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for PMF_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for PMF_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for PMF_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for PMF_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for PMF_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct PNP_VETO_TYPE(pub i32); impl ::core::marker::Copy for PNP_VETO_TYPE {} impl ::core::clone::Clone for PNP_VETO_TYPE { @@ -8379,7 +8709,7 @@ impl ::core::default::Default for DEVPRIVATE_RESOURCE { pub struct DMA_DES { pub DD_Count: u32, pub DD_Type: u32, - pub DD_Flags: u32, + pub DD_Flags: DD_FLAGS, pub DD_Alloc_Chan: u32, } impl ::core::marker::Copy for DMA_DES {} @@ -8923,7 +9253,7 @@ pub struct IO_DES { pub IOD_Type: u32, pub IOD_Alloc_Base: u64, pub IOD_Alloc_End: u64, - pub IOD_DesFlags: u32, + pub IOD_DesFlags: IOD_DESFLAGS, } impl ::core::marker::Copy for IO_DES {} impl ::core::clone::Clone for IO_DES { @@ -8985,7 +9315,7 @@ impl ::core::default::Default for IO_RESOURCE { pub struct IRQ_DES_32 { pub IRQD_Count: u32, pub IRQD_Type: u32, - pub IRQD_Flags: u32, + pub IRQD_Flags: IRQD_FLAGS, pub IRQD_Alloc_Num: u32, pub IRQD_Affinity: u32, } @@ -9007,7 +9337,7 @@ impl ::core::default::Default for IRQ_DES_32 { pub struct IRQ_DES_64 { pub IRQD_Count: u32, pub IRQD_Type: u32, - pub IRQD_Flags: u32, + pub IRQD_Flags: IRQD_FLAGS, pub IRQD_Alloc_Num: u32, pub IRQD_Affinity: u64, } @@ -9089,7 +9419,7 @@ pub struct MEM_DES { pub MD_Type: u32, pub MD_Alloc_Base: u64, pub MD_Alloc_End: u64, - pub MD_Flags: u32, + pub MD_Flags: MD_FLAGS, pub MD_Reserved: u32, } impl ::core::marker::Copy for MEM_DES {} @@ -9217,7 +9547,7 @@ impl ::core::default::Default for MEM_RESOURCE { pub struct MFCARD_DES { pub PMF_Count: u32, pub PMF_Type: u32, - pub PMF_Flags: u32, + pub PMF_Flags: PMF_FLAGS, pub PMF_ConfigOptions: u8, pub PMF_IoResourceIndex: u8, pub PMF_Reserved: [u8; 2], @@ -9259,7 +9589,7 @@ impl ::core::default::Default for MFCARD_RESOURCE { pub struct PCCARD_DES { pub PCD_Count: u32, pub PCD_Type: u32, - pub PCD_Flags: u32, + pub PCD_Flags: PCD_FLAGS, pub PCD_ConfigIndex: u8, pub PCD_Reserved: [u8; 3], pub PCD_MemoryCardBase1: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs index e53da40af9..eaeb1f6bd7 100644 --- a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs @@ -6175,15 +6175,33 @@ pub const RPC_NT_WRONG_KIND_OF_BINDING: NTSTATUS = NTSTATUS(-1073610750i32); pub const RPC_NT_WRONG_PIPE_VERSION: NTSTATUS = NTSTATUS(-1073545122i32); pub const RPC_NT_WRONG_STUB_VERSION: NTSTATUS = NTSTATUS(-1073545125i32); pub const RPC_NT_ZERO_DIVIDE: NTSTATUS = NTSTATUS(-1073610684i32); +pub const RPC_S_ACCESS_DENIED: i32 = -1073741790i32; +pub const RPC_S_ASYNC_CALL_PENDING: i32 = 259i32; +pub const RPC_S_BUFFER_TOO_SMALL: i32 = -1073741789i32; pub const RPC_S_CALLPENDING: ::windows_core::HRESULT = ::windows_core::HRESULT(-2147417835i32); +pub const RPC_S_INVALID_ARG: i32 = -1073741811i32; +pub const RPC_S_INVALID_LEVEL: i32 = -1073741811i32; +pub const RPC_S_INVALID_SECURITY_DESC: i32 = -1073741703i32; +pub const RPC_S_NOT_ENOUGH_QUOTA: i32 = -1073741756i32; +pub const RPC_S_OUT_OF_MEMORY: i32 = -1073741801i32; +pub const RPC_S_OUT_OF_THREADS: i32 = -1073741801i32; +pub const RPC_S_SERVER_OUT_OF_MEMORY: i32 = -1073741307i32; +pub const RPC_S_UNKNOWN_PRINCIPAL: i32 = -1073741709i32; pub const RPC_S_WAITONTIMER: ::windows_core::HRESULT = ::windows_core::HRESULT(-2147417834i32); pub const RPC_X_BAD_STUB_DATA: i32 = 1783i32; pub const RPC_X_BYTE_COUNT_TOO_SMALL: i32 = 1782i32; pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE: i32 = 1781i32; +pub const RPC_X_ENUM_VALUE_TOO_LARGE: i32 = 1781i32; +pub const RPC_X_INVALID_BOUND: i32 = -1073610717i32; +pub const RPC_X_INVALID_BUFFER: i32 = -1073741306i32; pub const RPC_X_INVALID_ES_ACTION: i32 = 1827i32; pub const RPC_X_INVALID_PIPE_OBJECT: i32 = 1830i32; +pub const RPC_X_INVALID_PIPE_OPERATION: i32 = 1831i32; +pub const RPC_X_INVALID_TAG: i32 = -1073610718i32; +pub const RPC_X_NO_MEMORY: i32 = -1073741801i32; pub const RPC_X_NO_MORE_ENTRIES: i32 = 1772i32; pub const RPC_X_NULL_REF_POINTER: i32 = 1780i32; +pub const RPC_X_PIPE_APP_MEMORY: i32 = -1073741801i32; pub const RPC_X_PIPE_CLOSED: i32 = 1916i32; pub const RPC_X_PIPE_DISCIPLINE_ERROR: i32 = 1917i32; pub const RPC_X_PIPE_EMPTY: i32 = 1918i32; @@ -6191,6 +6209,7 @@ pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE: i32 = 1779i32; pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL: i32 = 1773i32; pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE: i32 = 1774i32; pub const RPC_X_SS_CONTEXT_DAMAGED: i32 = 1777i32; +pub const RPC_X_SS_CONTEXT_MISMATCH: i32 = -1073545211i32; pub const RPC_X_SS_HANDLES_MISMATCH: i32 = 1778i32; pub const RPC_X_SS_IN_NULL_CONTEXT: i32 = 1775i32; pub const RPC_X_WRONG_ES_VERSION: i32 = 1828i32; diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs index 62c043792d..2d13dae910 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -405,6 +405,7 @@ pub const D3D_FEATURE_LEVEL_12_0: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49152i32 pub const D3D_FEATURE_LEVEL_12_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49408i32); pub const D3D_FEATURE_LEVEL_12_2: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49664i32); pub const D3D_FEATURE_LEVEL_1_0_CORE: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(4096i32); +pub const D3D_FEATURE_LEVEL_1_0_GENERIC: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(256i32); pub const D3D_FEATURE_LEVEL_9_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37120i32); pub const D3D_FEATURE_LEVEL_9_2: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37376i32); pub const D3D_FEATURE_LEVEL_9_3: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37632i32); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index 973aac96ac..27d37487a7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -142,23 +142,6 @@ impl ID3D12CommandSignature_Vtbl { *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } -pub trait ID3D12DSRDeviceFactory_Impl: Sized { - fn CreateDSRDevice(&self, pd3d12device: ::core::option::Option<&ID3D12Device>, nodemask: u32, riid: *const ::windows_core::GUID, ppvdsrdevice: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>; -} -impl ::windows_core::RuntimeName for ID3D12DSRDeviceFactory {} -impl ID3D12DSRDeviceFactory_Vtbl { - pub const fn new, Impl: ID3D12DSRDeviceFactory_Impl, const OFFSET: isize>() -> ID3D12DSRDeviceFactory_Vtbl { - unsafe extern "system" fn CreateDSRDevice, Impl: ID3D12DSRDeviceFactory_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pd3d12device: *mut ::core::ffi::c_void, nodemask: u32, riid: *const ::windows_core::GUID, ppvdsrdevice: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { - let this = (this as *const *const ()).offset(OFFSET) as *const Identity; - let this = (*this).get_impl(); - this.CreateDSRDevice(::windows_core::from_raw_borrowed(&pd3d12device), ::core::mem::transmute_copy(&nodemask), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppvdsrdevice)).into() - } - Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateDSRDevice: CreateDSRDevice:: } - } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - } -} pub trait ID3D12Debug_Impl: Sized { fn EnableDebugLayer(&self); } @@ -1091,6 +1074,44 @@ impl ID3D12Device12_Vtbl { } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Security"))] +pub trait ID3D12Device13_Impl: Sized + ID3D12Device12_Impl { + fn OpenExistingHeapFromAddress1(&self, paddress: *const ::core::ffi::c_void, size: usize, riid: *const ::windows_core::GUID, ppvheap: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Security"))] +impl ::windows_core::RuntimeName for ID3D12Device13 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Security"))] +impl ID3D12Device13_Vtbl { + pub const fn new, Impl: ID3D12Device13_Impl, const OFFSET: isize>() -> ID3D12Device13_Vtbl { + unsafe extern "system" fn OpenExistingHeapFromAddress1, Impl: ID3D12Device13_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, paddress: *const ::core::ffi::c_void, size: usize, riid: *const ::windows_core::GUID, ppvheap: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.OpenExistingHeapFromAddress1(::core::mem::transmute_copy(&paddress), ::core::mem::transmute_copy(&size), ::core::mem::transmute_copy(&riid), ::core::mem::transmute_copy(&ppvheap)).into() + } + Self { + base__: ID3D12Device12_Vtbl::new::(), + OpenExistingHeapFromAddress1: OpenExistingHeapFromAddress1::, + } + } + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + } +} +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Security"))] pub trait ID3D12Device2_Impl: Sized + ID3D12Device1_Impl { fn CreatePipelineState(&self, pdesc: *const D3D12_PIPELINE_STATE_STREAM_DESC, riid: *const ::windows_core::GUID, pppipelinestate: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>; } @@ -2916,7 +2937,7 @@ impl ID3D12InfoQueue_Vtbl { #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub trait ID3D12InfoQueue1_Impl: Sized + ID3D12InfoQueue_Impl { - fn RegisterMessageCallback(&self, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *const ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::Result<()>; + fn RegisterMessageCallback(&self, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *mut ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::Result<()>; fn UnregisterMessageCallback(&self, callbackcookie: u32) -> ::windows_core::Result<()>; } #[cfg(feature = "Win32_Foundation")] @@ -2924,7 +2945,7 @@ impl ::windows_core::RuntimeName for ID3D12InfoQueue1 {} #[cfg(feature = "Win32_Foundation")] impl ID3D12InfoQueue1_Vtbl { pub const fn new, Impl: ID3D12InfoQueue1_Impl, const OFFSET: isize>() -> ID3D12InfoQueue1_Vtbl { - unsafe extern "system" fn RegisterMessageCallback, Impl: ID3D12InfoQueue1_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *const ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn RegisterMessageCallback, Impl: ID3D12InfoQueue1_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *mut ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.RegisterMessageCallback(::core::mem::transmute_copy(&callbackfunc), ::core::mem::transmute_copy(&callbackfilterflags), ::core::mem::transmute_copy(&pcontext), ::core::mem::transmute_copy(&pcallbackcookie)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs index 1ff0a1f67c..a52adfbe6f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -319,34 +319,6 @@ pub struct ID3D12CommandSignature_Vtbl { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] -pub struct ID3D12DSRDeviceFactory(::windows_core::IUnknown); -impl ID3D12DSRDeviceFactory { - pub unsafe fn CreateDSRDevice(&self, pd3d12device: P0, nodemask: u32) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam, - T: ::windows_core::ComInterface, - { - let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).CreateDSRDevice)(::windows_core::Interface::as_raw(self), pd3d12device.into_param().abi(), nodemask, &::IID, &mut result__).from_abi(result__) - } -} -::windows_core::imp::interface_hierarchy!(ID3D12DSRDeviceFactory, ::windows_core::IUnknown); -unsafe impl ::core::marker::Send for ID3D12DSRDeviceFactory {} -unsafe impl ::core::marker::Sync for ID3D12DSRDeviceFactory {} -unsafe impl ::windows_core::Interface for ID3D12DSRDeviceFactory { - type Vtable = ID3D12DSRDeviceFactory_Vtbl; -} -unsafe impl ::windows_core::ComInterface for ID3D12DSRDeviceFactory { - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x51ee7783_6426_4428_b182_42f3541fca71); -} -#[repr(C)] -#[doc(hidden)] -pub struct ID3D12DSRDeviceFactory_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub CreateDSRDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pd3d12device: *mut ::core::ffi::c_void, nodemask: u32, riid: *const ::windows_core::GUID, ppvdsrdevice: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct ID3D12Debug(::windows_core::IUnknown); impl ID3D12Debug { pub unsafe fn EnableDebugLayer(&self) { @@ -2715,59 +2687,579 @@ impl ID3D12Device11 { (::windows_core::Interface::vtable(self).CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) } } -::windows_core::imp::interface_hierarchy!(ID3D12Device11, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); -unsafe impl ::core::marker::Send for ID3D12Device11 {} -unsafe impl ::core::marker::Sync for ID3D12Device11 {} -unsafe impl ::windows_core::Interface for ID3D12Device11 { - type Vtable = ID3D12Device11_Vtbl; +::windows_core::imp::interface_hierarchy!(ID3D12Device11, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); +unsafe impl ::core::marker::Send for ID3D12Device11 {} +unsafe impl ::core::marker::Sync for ID3D12Device11 {} +unsafe impl ::windows_core::Interface for ID3D12Device11 { + type Vtable = ID3D12Device11_Vtbl; +} +unsafe impl ::windows_core::ComInterface for ID3D12Device11 { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5405c344_d457_444e_b4dd_2366e45aee39); +} +#[repr(C)] +#[doc(hidden)] +pub struct ID3D12Device11_Vtbl { + pub base__: ID3D12Device10_Vtbl, + pub CreateSampler2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE), +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] +pub struct ID3D12Device12(::windows_core::IUnknown); +impl ID3D12Device12 { + pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetPrivateData)(::windows_core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() + } + pub unsafe fn SetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateData)(::windows_core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() + } + pub unsafe fn SetPrivateDataInterface(&self, guid: *const ::windows_core::GUID, pdata: P0) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::IUnknown>, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateDataInterface)(::windows_core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() + } + pub unsafe fn SetName(&self, name: P0) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetName)(::windows_core::Interface::as_raw(self), name.into_param().abi()).ok() + } + pub unsafe fn GetNodeCount(&self) -> u32 { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetNodeCount)(::windows_core::Interface::as_raw(self)) + } + pub unsafe fn CreateCommandQueue(&self, pdesc: *const D3D12_COMMAND_QUEUE_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] + pub unsafe fn CreateGraphicsPipelineState(&self, pdesc: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() + } + pub unsafe fn CreateDescriptorHeap(&self, pdescriptorheapdesc: *const D3D12_DESCRIPTOR_HEAP_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) + } + pub unsafe fn CreateRootSignature(&self, nodemask: u32, pblobwithrootsignature: &[u8]) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateShaderResourceView(&self, presource: P0, pdesc: ::core::option::Option<*const D3D12_SHADER_RESOURCE_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateShaderResourceView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateUnorderedAccessView(&self, presource: P0, pcounterresource: P1, pdesc: ::core::option::Option<*const D3D12_UNORDERED_ACCESS_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) + where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateUnorderedAccessView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), pcounterresource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateRenderTargetView(&self, presource: P0, pdesc: ::core::option::Option<*const D3D12_RENDER_TARGET_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRenderTargetView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateDepthStencilView(&self, presource: P0, pdesc: ::core::option::Option<*const D3D12_DEPTH_STENCIL_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDepthStencilView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + } + pub unsafe fn CreateSampler(&self, pdesc: *const D3D12_SAMPLER_DESC, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSampler)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) + } + pub unsafe fn CopyDescriptors(&self, numdestdescriptorranges: u32, pdestdescriptorrangestarts: *const D3D12_CPU_DESCRIPTOR_HANDLE, pdestdescriptorrangesizes: ::core::option::Option<*const u32>, numsrcdescriptorranges: u32, psrcdescriptorrangestarts: *const D3D12_CPU_DESCRIPTOR_HANDLE, psrcdescriptorrangesizes: ::core::option::Option<*const u32>, descriptorheapstype: D3D12_DESCRIPTOR_HEAP_TYPE) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptors)(::windows_core::Interface::as_raw(self), numdestdescriptorranges, pdestdescriptorrangestarts, ::core::mem::transmute(pdestdescriptorrangesizes.unwrap_or(::std::ptr::null())), numsrcdescriptorranges, psrcdescriptorrangestarts, ::core::mem::transmute(psrcdescriptorrangesizes.unwrap_or(::std::ptr::null())), descriptorheapstype) + } + pub unsafe fn CopyDescriptorsSimple(&self, numdescriptors: u32, destdescriptorrangestart: D3D12_CPU_DESCRIPTOR_HANDLE, srcdescriptorrangestart: D3D12_CPU_DESCRIPTOR_HANDLE, descriptorheapstype: D3D12_DESCRIPTOR_HEAP_TYPE) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptorsSimple)(::windows_core::Interface::as_raw(self), numdescriptors, ::core::mem::transmute(destdescriptorrangestart), ::core::mem::transmute(srcdescriptorrangestart), descriptorheapstype) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetResourceAllocationInfo(&self, visiblemask: u32, presourcedescs: &[D3D12_RESOURCE_DESC]) -> D3D12_RESOURCE_ALLOCATION_INFO { + let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, presourcedescs.len().try_into().unwrap(), ::core::mem::transmute(presourcedescs.as_ptr())); + result__ + } + pub unsafe fn GetCustomHeapProperties(&self, nodemask: u32, heaptype: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { + let mut result__: D3D12_HEAP_PROPERTIES = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCustomHeapProperties)(::windows_core::Interface::as_raw(self), &mut result__, nodemask, heaptype); + result__ + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateCommittedResource(&self, pheapproperties: *const D3D12_HEAP_PROPERTIES, heapflags: D3D12_HEAP_FLAGS, pdesc: *const D3D12_RESOURCE_DESC, initialresourcestate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreatePlacedResource(&self, pheap: P0, heapoffset: u64, pdesc: *const D3D12_RESOURCE_DESC, initialstate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateReservedResource(&self, pdesc: *const D3D12_RESOURCE_DESC, initialstate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] + pub unsafe fn CreateSharedHandle(&self, pobject: P0, pattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, access: u32, name: P1) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows_core::Interface::as_raw(self), pobject.into_param().abi(), ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null())), access, name.into_param().abi(), &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn OpenSharedHandle(&self, nthandle: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn OpenSharedHandleByName(&self, name: P0, access: u32) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows_core::Interface::as_raw(self), name.into_param().abi(), access, &mut result__).from_abi(result__) + } + pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.MakeResident)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() + } + pub unsafe fn Evict(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.Evict)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() + } + pub unsafe fn CreateFence(&self, initialvalue: u64, flags: D3D12_FENCE_FLAGS) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetCopyableFootprints(&self, presourcedesc: *const D3D12_RESOURCE_DESC, firstsubresource: u32, numsubresources: u32, baseoffset: u64, playouts: ::core::option::Option<*mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT>, pnumrows: ::core::option::Option<*mut u32>, prowsizeinbytes: ::core::option::Option<*mut u64>, ptotalbytes: ::core::option::Option<*mut u64>) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCopyableFootprints)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) + } + pub unsafe fn CreateQueryHeap(&self, pdesc: *const D3D12_QUERY_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn SetStablePowerState(&self, enable: P0) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetStablePowerState)(::windows_core::Interface::as_raw(self), enable.into_param().abi()).ok() + } + pub unsafe fn CreateCommandSignature(&self, pdesc: *const D3D12_COMMAND_SIGNATURE_DESC, prootsignature: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceTiling)(::windows_core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetAdapterLuid(&self) -> super::super::Foundation::LUID { + let mut result__: super::super::Foundation::LUID = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetAdapterLuid)(::windows_core::Interface::as_raw(self), &mut result__); + result__ + } + pub unsafe fn CreatePipelineLibrary(&self, plibraryblob: &[u8]) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const ::core::option::Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetEventOnMultipleFenceCompletion)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ppfences), pfencevalues, numfences, flags, hevent.into_param().abi()).ok() + } + pub unsafe fn SetResidencyPriority(&self, numobjects: u32, ppobjects: *const ::core::option::Option, ppriorities: *const D3D12_RESIDENCY_PRIORITY) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetResidencyPriority)(::windows_core::Interface::as_raw(self), numobjects, ::core::mem::transmute(ppobjects), ppriorities).ok() + } + pub unsafe fn CreatePipelineState(&self, pdesc: *const D3D12_PIPELINE_STATE_STREAM_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.EnqueueMakeResident)(::windows_core::Interface::as_raw(self), flags, ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr()), pfencetosignal.into_param().abi(), fencevaluetosignal).ok() + } + pub unsafe fn CreateCommandList1(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, flags: D3D12_COMMAND_LIST_FLAGS) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateCommittedResource1(&self, pheapproperties: *const D3D12_HEAP_PROPERTIES, heapflags: D3D12_HEAP_FLAGS, pdesc: *const D3D12_RESOURCE_DESC, initialresourcestate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateReservedResource1(&self, pdesc: *const D3D12_RESOURCE_DESC, initialstate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetResourceAllocationInfo1(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { + let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo1)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + result__ + } + pub unsafe fn CreateLifetimeTracker(&self, powner: P0) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn RemoveDevice(&self) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) + } + pub unsafe fn EnumerateMetaCommands(&self, pnummetacommands: *mut u32, pdescs: ::core::option::Option<*mut D3D12_META_COMMAND_DESC>) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommands)(::windows_core::Interface::as_raw(self), pnummetacommands, ::core::mem::transmute(pdescs.unwrap_or(::std::ptr::null_mut()))).ok() + } + pub unsafe fn EnumerateMetaCommandParameters(&self, commandid: *const ::windows_core::GUID, stage: D3D12_META_COMMAND_PARAMETER_STAGE, ptotalstructuresizeinbytes: ::core::option::Option<*mut u32>, pparametercount: *mut u32, pparameterdescs: ::core::option::Option<*mut D3D12_META_COMMAND_PARAMETER_DESC>) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommandParameters)(::windows_core::Interface::as_raw(self), commandid, stage, ::core::mem::transmute(ptotalstructuresizeinbytes.unwrap_or(::std::ptr::null_mut())), pparametercount, ::core::mem::transmute(pparameterdescs.unwrap_or(::std::ptr::null_mut()))).ok() + } + pub unsafe fn CreateMetaCommand(&self, commandid: *const ::windows_core::GUID, nodemask: u32, pcreationparametersdata: ::core::option::Option<*const ::core::ffi::c_void>, creationparametersdatasizeinbytes: usize) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetRaytracingAccelerationStructurePrebuildInfo(&self, pdesc: *const D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS, pinfo: *mut D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetRaytracingAccelerationStructurePrebuildInfo)(::windows_core::Interface::as_raw(self), pdesc, pinfo) + } + pub unsafe fn CheckDriverMatchingIdentifier(&self, serializeddatatype: D3D12_SERIALIZED_DATA_TYPE, pidentifiertocheck: *const D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER) -> D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CheckDriverMatchingIdentifier)(::windows_core::Interface::as_raw(self), serializeddatatype, pidentifiertocheck) + } + #[doc = "Required features: `\"Win32_Foundation\"`"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn SetBackgroundProcessingMode(&self, mode: D3D12_BACKGROUND_PROCESSING_MODE, measurementsaction: D3D12_MEASUREMENTS_ACTION, heventtosignaluponcompletion: P0, pbfurthermeasurementsdesired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.SetBackgroundProcessingMode)(::windows_core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into_param().abi(), ::core::mem::transmute(pbfurthermeasurementsdesired.unwrap_or(::std::ptr::null_mut()))).ok() + } + pub unsafe fn AddToStateObject(&self, paddition: *const D3D12_STATE_OBJECT_DESC, pstateobjecttogrowfrom: P0) -> ::windows_core::Result + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + } + pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetResourceAllocationInfo2(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { + let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetResourceAllocationInfo2)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + result__ + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateCommittedResource2(&self, pheapproperties: *const D3D12_HEAP_PROPERTIES, heapflags: D3D12_HEAP_FLAGS, pdesc: *const D3D12_RESOURCE_DESC1, initialresourcestate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreatePlacedResource1(&self, pheap: P0, heapoffset: u64, pdesc: *const D3D12_RESOURCE_DESC1, initialstate: D3D12_RESOURCE_STATES, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) + where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateSamplerFeedbackUnorderedAccessView)(::windows_core::Interface::as_raw(self), ptargetedresource.into_param().abi(), pfeedbackresource.into_param().abi(), ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetCopyableFootprints1(&self, presourcedesc: *const D3D12_RESOURCE_DESC1, firstsubresource: u32, numsubresources: u32, baseoffset: u64, playouts: ::core::option::Option<*mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT>, pnumrows: ::core::option::Option<*mut u32>, prowsizeinbytes: ::core::option::Option<*mut u64>, ptotalbytes: ::core::option::Option<*mut u64>) { + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCopyableFootprints1)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) + } + pub unsafe fn CreateShaderCacheSession(&self, pdesc: *const D3D12_SHADER_CACHE_SESSION_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).base__.base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() + } + pub unsafe fn CreateCommandQueue1(&self, pdesc: *const D3D12_COMMAND_QUEUE_DESC, creatorid: *const ::windows_core::GUID) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateCommittedResource3(&self, pheapproperties: *const D3D12_HEAP_PROPERTIES, heapflags: D3D12_HEAP_FLAGS, pdesc: *const D3D12_RESOURCE_DESC1, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pprotectedsession: P0, pcastableformats: ::core::option::Option<&[super::Dxgi::Common::DXGI_FORMAT]>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreatePlacedResource2(&self, pheap: P0, heapoffset: u64, pdesc: *const D3D12_RESOURCE_DESC1, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pcastableformats: ::core::option::Option<&[super::Dxgi::Common::DXGI_FORMAT]>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn CreateReservedResource2(&self, pdesc: *const D3D12_RESOURCE_DESC, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: ::core::option::Option<*const D3D12_CLEAR_VALUE>, pprotectedsession: P0, pcastableformats: ::core::option::Option<&[super::Dxgi::Common::DXGI_FORMAT]>, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam, + T: ::windows_core::ComInterface, + { + (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + } + pub unsafe fn CreateSampler2(&self, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { + (::windows_core::Interface::vtable(self).base__.CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) + } + #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub unsafe fn GetResourceAllocationInfo3(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, pnumcastableformats: ::core::option::Option<*const u32>, ppcastableformats: ::core::option::Option<*const *const super::Dxgi::Common::DXGI_FORMAT>, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { + let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetResourceAllocationInfo3)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(pnumcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + result__ + } +} +::windows_core::imp::interface_hierarchy!(ID3D12Device12, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11); +unsafe impl ::core::marker::Send for ID3D12Device12 {} +unsafe impl ::core::marker::Sync for ID3D12Device12 {} +unsafe impl ::windows_core::Interface for ID3D12Device12 { + type Vtable = ID3D12Device12_Vtbl; } -unsafe impl ::windows_core::ComInterface for ID3D12Device11 { - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5405c344_d457_444e_b4dd_2366e45aee39); +unsafe impl ::windows_core::ComInterface for ID3D12Device12 { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5af5c532_4c91_4cd0_b541_15a405395fc5); } #[repr(C)] #[doc(hidden)] -pub struct ID3D12Device11_Vtbl { - pub base__: ID3D12Device10_Vtbl, - pub CreateSampler2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE), +pub struct ID3D12Device12_Vtbl { + pub base__: ID3D12Device11_Vtbl, + #[cfg(feature = "Win32_Graphics_Dxgi_Common")] + pub GetResourceAllocationInfo3: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut D3D12_RESOURCE_ALLOCATION_INFO, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, pnumcastableformats: *const u32, ppcastableformats: *const *const super::Dxgi::Common::DXGI_FORMAT, presourceallocationinfo1: *mut D3D12_RESOURCE_ALLOCATION_INFO1), + #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] + GetResourceAllocationInfo3: usize, } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] -pub struct ID3D12Device12(::windows_core::IUnknown); -impl ID3D12Device12 { +pub struct ID3D12Device13(::windows_core::IUnknown); +impl ID3D12Device13 { pub unsafe fn GetPrivateData(&self, guid: *const ::windows_core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetPrivateData)(::windows_core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetPrivateData)(::windows_core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn SetPrivateData(&self, guid: *const ::windows_core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateData)(::windows_core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateData)(::windows_core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() } pub unsafe fn SetPrivateDataInterface(&self, guid: *const ::windows_core::GUID, pdata: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::IUnknown>, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateDataInterface)(::windows_core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetPrivateDataInterface)(::windows_core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() } pub unsafe fn SetName(&self, name: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetName)(::windows_core::Interface::as_raw(self), name.into_param().abi()).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetName)(::windows_core::Interface::as_raw(self), name.into_param().abi()).ok() } pub unsafe fn GetNodeCount(&self) -> u32 { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetNodeCount)(::windows_core::Interface::as_raw(self)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetNodeCount)(::windows_core::Interface::as_raw(self)) } pub unsafe fn CreateCommandQueue(&self, pdesc: *const D3D12_COMMAND_QUEUE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandQueue)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandAllocator)(::windows_core::Interface::as_raw(self), r#type, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] @@ -2776,14 +3268,14 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateGraphicsPipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateComputePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> ::windows_core::Result where @@ -2792,30 +3284,30 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList)(::windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.into_param().abi(), pinitialstate.into_param().abi(), &::IID, &mut result__).from_abi(result__) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows_core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() } pub unsafe fn CreateDescriptorHeap(&self, pdescriptorheapdesc: *const D3D12_DESCRIPTOR_HEAP_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDescriptorHeap)(::windows_core::Interface::as_raw(self), pdescriptorheapdesc, &::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDescriptorHandleIncrementSize)(::windows_core::Interface::as_raw(self), descriptorheaptype) } pub unsafe fn CreateRootSignature(&self, nodemask: u32, pblobwithrootsignature: &[u8]) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRootSignature)(::windows_core::Interface::as_raw(self), nodemask, ::core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateConstantBufferView(&self, pdesc: ::core::option::Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateConstantBufferView)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2823,7 +3315,7 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateShaderResourceView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateShaderResourceView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2832,7 +3324,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateUnorderedAccessView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), pcounterresource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateUnorderedAccessView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), pcounterresource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2840,7 +3332,7 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRenderTargetView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateRenderTargetView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2848,27 +3340,27 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDepthStencilView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateDepthStencilView)(::windows_core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(destdescriptor)) } pub unsafe fn CreateSampler(&self, pdesc: *const D3D12_SAMPLER_DESC, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSampler)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSampler)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) } pub unsafe fn CopyDescriptors(&self, numdestdescriptorranges: u32, pdestdescriptorrangestarts: *const D3D12_CPU_DESCRIPTOR_HANDLE, pdestdescriptorrangesizes: ::core::option::Option<*const u32>, numsrcdescriptorranges: u32, psrcdescriptorrangestarts: *const D3D12_CPU_DESCRIPTOR_HANDLE, psrcdescriptorrangesizes: ::core::option::Option<*const u32>, descriptorheapstype: D3D12_DESCRIPTOR_HEAP_TYPE) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptors)(::windows_core::Interface::as_raw(self), numdestdescriptorranges, pdestdescriptorrangestarts, ::core::mem::transmute(pdestdescriptorrangesizes.unwrap_or(::std::ptr::null())), numsrcdescriptorranges, psrcdescriptorrangestarts, ::core::mem::transmute(psrcdescriptorrangesizes.unwrap_or(::std::ptr::null())), descriptorheapstype) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptors)(::windows_core::Interface::as_raw(self), numdestdescriptorranges, pdestdescriptorrangestarts, ::core::mem::transmute(pdestdescriptorrangesizes.unwrap_or(::std::ptr::null())), numsrcdescriptorranges, psrcdescriptorrangestarts, ::core::mem::transmute(psrcdescriptorrangesizes.unwrap_or(::std::ptr::null())), descriptorheapstype) } pub unsafe fn CopyDescriptorsSimple(&self, numdescriptors: u32, destdescriptorrangestart: D3D12_CPU_DESCRIPTOR_HANDLE, srcdescriptorrangestart: D3D12_CPU_DESCRIPTOR_HANDLE, descriptorheapstype: D3D12_DESCRIPTOR_HEAP_TYPE) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptorsSimple)(::windows_core::Interface::as_raw(self), numdescriptors, ::core::mem::transmute(destdescriptorrangestart), ::core::mem::transmute(srcdescriptorrangestart), descriptorheapstype) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CopyDescriptorsSimple)(::windows_core::Interface::as_raw(self), numdescriptors, ::core::mem::transmute(destdescriptorrangestart), ::core::mem::transmute(srcdescriptorrangestart), descriptorheapstype) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetResourceAllocationInfo(&self, visiblemask: u32, presourcedescs: &[D3D12_RESOURCE_DESC]) -> D3D12_RESOURCE_ALLOCATION_INFO { let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, presourcedescs.len().try_into().unwrap(), ::core::mem::transmute(presourcedescs.as_ptr())); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, presourcedescs.len().try_into().unwrap(), ::core::mem::transmute(presourcedescs.as_ptr())); result__ } pub unsafe fn GetCustomHeapProperties(&self, nodemask: u32, heaptype: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { let mut result__: D3D12_HEAP_PROPERTIES = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCustomHeapProperties)(::windows_core::Interface::as_raw(self), &mut result__, nodemask, heaptype); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCustomHeapProperties)(::windows_core::Interface::as_raw(self), &mut result__, nodemask, heaptype); result__ } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2877,13 +3369,13 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap(&self, pdesc: *const D3D12_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2892,7 +3384,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePlacedResource)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2900,7 +3392,7 @@ impl ID3D12Device12 { where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] @@ -2910,7 +3402,7 @@ impl ID3D12Device12 { P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows_core::Interface::as_raw(self), pobject.into_param().abi(), ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null())), access, name.into_param().abi(), &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateSharedHandle)(::windows_core::Interface::as_raw(self), pobject.into_param().abi(), ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null())), access, name.into_param().abi(), &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -2919,7 +3411,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandle)(::windows_core::Interface::as_raw(self), nthandle.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -2928,34 +3420,34 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows_core::Interface::as_raw(self), name.into_param().abi(), access, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenSharedHandleByName)(::windows_core::Interface::as_raw(self), name.into_param().abi(), access, &mut result__).from_abi(result__) } pub unsafe fn MakeResident(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.MakeResident)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.MakeResident)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() } pub unsafe fn Evict(&self, ppobjects: &[::core::option::Option]) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.Evict)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.Evict)(::windows_core::Interface::as_raw(self), ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr())).ok() } pub unsafe fn CreateFence(&self, initialvalue: u64, flags: D3D12_FENCE_FLAGS) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateFence)(::windows_core::Interface::as_raw(self), initialvalue, flags, &::IID, &mut result__).from_abi(result__) } pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows_core::Interface::as_raw(self)).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetCopyableFootprints(&self, presourcedesc: *const D3D12_RESOURCE_DESC, firstsubresource: u32, numsubresources: u32, baseoffset: u64, playouts: ::core::option::Option<*mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT>, pnumrows: ::core::option::Option<*mut u32>, prowsizeinbytes: ::core::option::Option<*mut u64>, ptotalbytes: ::core::option::Option<*mut u64>) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCopyableFootprints)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetCopyableFootprints)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) } pub unsafe fn CreateQueryHeap(&self, pdesc: *const D3D12_QUERY_HEAP_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateQueryHeap)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -2963,26 +3455,26 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetStablePowerState)(::windows_core::Interface::as_raw(self), enable.into_param().abi()).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetStablePowerState)(::windows_core::Interface::as_raw(self), enable.into_param().abi()).ok() } pub unsafe fn CreateCommandSignature(&self, pdesc: *const D3D12_COMMAND_SIGNATURE_DESC, prootsignature: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandSignature)(::windows_core::Interface::as_raw(self), pdesc, prootsignature.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn GetResourceTiling(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D12_PACKED_MIP_INFO>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D12_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D12_SUBRESOURCE_TILING) where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceTiling)(::windows_core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceTiling)(::windows_core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] pub unsafe fn GetAdapterLuid(&self) -> super::super::Foundation::LUID { let mut result__: super::super::Foundation::LUID = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetAdapterLuid)(::windows_core::Interface::as_raw(self), &mut result__); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.GetAdapterLuid)(::windows_core::Interface::as_raw(self), &mut result__); result__ } pub unsafe fn CreatePipelineLibrary(&self, plibraryblob: &[u8]) -> ::windows_core::Result @@ -2990,7 +3482,7 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineLibrary)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -2998,24 +3490,24 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetEventOnMultipleFenceCompletion)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ppfences), pfencevalues, numfences, flags, hevent.into_param().abi()).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetEventOnMultipleFenceCompletion)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(ppfences), pfencevalues, numfences, flags, hevent.into_param().abi()).ok() } pub unsafe fn SetResidencyPriority(&self, numobjects: u32, ppobjects: *const ::core::option::Option, ppriorities: *const D3D12_RESIDENCY_PRIORITY) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetResidencyPriority)(::windows_core::Interface::as_raw(self), numobjects, ::core::mem::transmute(ppobjects), ppriorities).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.SetResidencyPriority)(::windows_core::Interface::as_raw(self), numobjects, ::core::mem::transmute(ppobjects), ppriorities).ok() } pub unsafe fn CreatePipelineState(&self, pdesc: *const D3D12_PIPELINE_STATE_STREAM_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.CreatePipelineState)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } pub unsafe fn OpenExistingHeapFromAddress(&self, paddress: *const ::core::ffi::c_void) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromAddress)(::windows_core::Interface::as_raw(self), paddress, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -3025,27 +3517,27 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.OpenExistingHeapFromFileMapping)(::windows_core::Interface::as_raw(self), hfilemapping.into_param().abi(), &::IID, &mut result__).from_abi(result__) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[::core::option::Option], pfencetosignal: P0, fencevaluetosignal: u64) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.EnqueueMakeResident)(::windows_core::Interface::as_raw(self), flags, ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr()), pfencetosignal.into_param().abi(), fencevaluetosignal).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.base__.EnqueueMakeResident)(::windows_core::Interface::as_raw(self), flags, ppobjects.len().try_into().unwrap(), ::core::mem::transmute(ppobjects.as_ptr()), pfencetosignal.into_param().abi(), fencevaluetosignal).ok() } pub unsafe fn CreateCommandList1(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, flags: D3D12_COMMAND_LIST_FLAGS) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommandList1)(::windows_core::Interface::as_raw(self), nodemask, r#type, flags, &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3054,14 +3546,14 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateCommittedResource1)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateHeap1(&self, pdesc: *const D3D12_HEAP_DESC, pprotectedsession: P0, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateHeap1)(::windows_core::Interface::as_raw(self), pdesc, pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3070,13 +3562,13 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.CreateReservedResource1)(::windows_core::Interface::as_raw(self), pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetResourceAllocationInfo1(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo1)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.base__.GetResourceAllocationInfo1)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); result__ } pub unsafe fn CreateLifetimeTracker(&self, powner: P0) -> ::windows_core::Result @@ -3085,38 +3577,38 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateLifetimeTracker)(::windows_core::Interface::as_raw(self), powner.into_param().abi(), &::IID, &mut result__).from_abi(result__) } pub unsafe fn RemoveDevice(&self) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.RemoveDevice)(::windows_core::Interface::as_raw(self)) } pub unsafe fn EnumerateMetaCommands(&self, pnummetacommands: *mut u32, pdescs: ::core::option::Option<*mut D3D12_META_COMMAND_DESC>) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommands)(::windows_core::Interface::as_raw(self), pnummetacommands, ::core::mem::transmute(pdescs.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommands)(::windows_core::Interface::as_raw(self), pnummetacommands, ::core::mem::transmute(pdescs.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn EnumerateMetaCommandParameters(&self, commandid: *const ::windows_core::GUID, stage: D3D12_META_COMMAND_PARAMETER_STAGE, ptotalstructuresizeinbytes: ::core::option::Option<*mut u32>, pparametercount: *mut u32, pparameterdescs: ::core::option::Option<*mut D3D12_META_COMMAND_PARAMETER_DESC>) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommandParameters)(::windows_core::Interface::as_raw(self), commandid, stage, ::core::mem::transmute(ptotalstructuresizeinbytes.unwrap_or(::std::ptr::null_mut())), pparametercount, ::core::mem::transmute(pparameterdescs.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.EnumerateMetaCommandParameters)(::windows_core::Interface::as_raw(self), commandid, stage, ::core::mem::transmute(ptotalstructuresizeinbytes.unwrap_or(::std::ptr::null_mut())), pparametercount, ::core::mem::transmute(pparameterdescs.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn CreateMetaCommand(&self, commandid: *const ::windows_core::GUID, nodemask: u32, pcreationparametersdata: ::core::option::Option<*const ::core::ffi::c_void>, creationparametersdatasizeinbytes: usize) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateMetaCommand)(::windows_core::Interface::as_raw(self), commandid, nodemask, ::core::mem::transmute(pcreationparametersdata.unwrap_or(::std::ptr::null())), creationparametersdatasizeinbytes, &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CreateStateObject)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetRaytracingAccelerationStructurePrebuildInfo(&self, pdesc: *const D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS, pinfo: *mut D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.GetRaytracingAccelerationStructurePrebuildInfo)(::windows_core::Interface::as_raw(self), pdesc, pinfo) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.GetRaytracingAccelerationStructurePrebuildInfo)(::windows_core::Interface::as_raw(self), pdesc, pinfo) } pub unsafe fn CheckDriverMatchingIdentifier(&self, serializeddatatype: D3D12_SERIALIZED_DATA_TYPE, pidentifiertocheck: *const D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER) -> D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.CheckDriverMatchingIdentifier)(::windows_core::Interface::as_raw(self), serializeddatatype, pidentifiertocheck) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.base__.CheckDriverMatchingIdentifier)(::windows_core::Interface::as_raw(self), serializeddatatype, pidentifiertocheck) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -3124,7 +3616,7 @@ impl ID3D12Device12 { where P0: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.SetBackgroundProcessingMode)(::windows_core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into_param().abi(), ::core::mem::transmute(pbfurthermeasurementsdesired.unwrap_or(::std::ptr::null_mut()))).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.base__.SetBackgroundProcessingMode)(::windows_core::Interface::as_raw(self), mode, measurementsaction, heventtosignaluponcompletion.into_param().abi(), ::core::mem::transmute(pbfurthermeasurementsdesired.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn AddToStateObject(&self, paddition: *const D3D12_STATE_OBJECT_DESC, pstateobjecttogrowfrom: P0) -> ::windows_core::Result where @@ -3132,20 +3624,20 @@ impl ID3D12Device12 { T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.AddToStateObject)(::windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.into_param().abi(), &::IID, &mut result__).from_abi(result__) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.base__.CreateProtectedResourceSession1)(::windows_core::Interface::as_raw(self), pdesc, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetResourceAllocationInfo2(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetResourceAllocationInfo2)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetResourceAllocationInfo2)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); result__ } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3155,7 +3647,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCommittedResource2)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initialresourcestate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3164,35 +3656,35 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePlacedResource1)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initialstate, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSamplerFeedbackUnorderedAccessView(&self, ptargetedresource: P0, pfeedbackresource: P1, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateSamplerFeedbackUnorderedAccessView)(::windows_core::Interface::as_raw(self), ptargetedresource.into_param().abi(), pfeedbackresource.into_param().abi(), ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSamplerFeedbackUnorderedAccessView)(::windows_core::Interface::as_raw(self), ptargetedresource.into_param().abi(), pfeedbackresource.into_param().abi(), ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetCopyableFootprints1(&self, presourcedesc: *const D3D12_RESOURCE_DESC1, firstsubresource: u32, numsubresources: u32, baseoffset: u64, playouts: ::core::option::Option<*mut D3D12_PLACED_SUBRESOURCE_FOOTPRINT>, pnumrows: ::core::option::Option<*mut u32>, prowsizeinbytes: ::core::option::Option<*mut u64>, ptotalbytes: ::core::option::Option<*mut u64>) { - (::windows_core::Interface::vtable(self).base__.base__.base__.base__.GetCopyableFootprints1)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCopyableFootprints1)(::windows_core::Interface::as_raw(self), presourcedesc, firstsubresource, numsubresources, baseoffset, ::core::mem::transmute(playouts.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumrows.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(prowsizeinbytes.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ptotalbytes.unwrap_or(::std::ptr::null_mut()))) } pub unsafe fn CreateShaderCacheSession(&self, pdesc: *const D3D12_SHADER_CACHE_SESSION_DESC, result__: *mut ::core::option::Option) -> ::windows_core::Result<()> where T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateShaderCacheSession)(::windows_core::Interface::as_raw(self), pdesc, &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn ShaderCacheControl(&self, kinds: D3D12_SHADER_CACHE_KIND_FLAGS, control: D3D12_SHADER_CACHE_CONTROL_FLAGS) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.ShaderCacheControl)(::windows_core::Interface::as_raw(self), kinds, control).ok() } pub unsafe fn CreateCommandQueue1(&self, pdesc: *const D3D12_COMMAND_QUEUE_DESC, creatorid: *const ::windows_core::GUID) -> ::windows_core::Result where T: ::windows_core::ComInterface, { let mut result__ = ::std::ptr::null_mut(); - (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) + (::windows_core::Interface::vtable(self).base__.base__.base__.base__.CreateCommandQueue1)(::windows_core::Interface::as_raw(self), pdesc, creatorid, &::IID, &mut result__).from_abi(result__) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3201,7 +3693,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateCommittedResource3)(::windows_core::Interface::as_raw(self), pheapproperties, heapflags, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3210,7 +3702,7 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreatePlacedResource2)(::windows_core::Interface::as_raw(self), pheap.into_param().abi(), heapoffset, pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -3219,36 +3711,40 @@ impl ID3D12Device12 { P0: ::windows_core::IntoParam, T: ::windows_core::ComInterface, { - (::windows_core::Interface::vtable(self).base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() + (::windows_core::Interface::vtable(self).base__.base__.base__.CreateReservedResource2)(::windows_core::Interface::as_raw(self), pdesc, initiallayout, ::core::mem::transmute(poptimizedclearvalue.unwrap_or(::std::ptr::null())), pprotectedsession.into_param().abi(), pcastableformats.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), ::core::mem::transmute(pcastableformats.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), &::IID, result__ as *mut _ as *mut _).ok() } pub unsafe fn CreateSampler2(&self, pdesc: *const D3D12_SAMPLER_DESC2, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { - (::windows_core::Interface::vtable(self).base__.CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) + (::windows_core::Interface::vtable(self).base__.base__.CreateSampler2)(::windows_core::Interface::as_raw(self), pdesc, ::core::mem::transmute(destdescriptor)) } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub unsafe fn GetResourceAllocationInfo3(&self, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, pnumcastableformats: ::core::option::Option<*const u32>, ppcastableformats: ::core::option::Option<*const *const super::Dxgi::Common::DXGI_FORMAT>, presourceallocationinfo1: ::core::option::Option<*mut D3D12_RESOURCE_ALLOCATION_INFO1>) -> D3D12_RESOURCE_ALLOCATION_INFO { let mut result__: D3D12_RESOURCE_ALLOCATION_INFO = ::core::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetResourceAllocationInfo3)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(pnumcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); + (::windows_core::Interface::vtable(self).base__.GetResourceAllocationInfo3)(::windows_core::Interface::as_raw(self), &mut result__, visiblemask, numresourcedescs, presourcedescs, ::core::mem::transmute(pnumcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppcastableformats.unwrap_or(::std::ptr::null())), ::core::mem::transmute(presourceallocationinfo1.unwrap_or(::std::ptr::null_mut()))); result__ } + pub unsafe fn OpenExistingHeapFromAddress1(&self, paddress: *const ::core::ffi::c_void, size: usize) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).OpenExistingHeapFromAddress1)(::windows_core::Interface::as_raw(self), paddress, size, &::IID, &mut result__).from_abi(result__) + } } -::windows_core::imp::interface_hierarchy!(ID3D12Device12, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11); -unsafe impl ::core::marker::Send for ID3D12Device12 {} -unsafe impl ::core::marker::Sync for ID3D12Device12 {} -unsafe impl ::windows_core::Interface for ID3D12Device12 { - type Vtable = ID3D12Device12_Vtbl; +::windows_core::imp::interface_hierarchy!(ID3D12Device13, ::windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11, ID3D12Device12); +unsafe impl ::core::marker::Send for ID3D12Device13 {} +unsafe impl ::core::marker::Sync for ID3D12Device13 {} +unsafe impl ::windows_core::Interface for ID3D12Device13 { + type Vtable = ID3D12Device13_Vtbl; } -unsafe impl ::windows_core::ComInterface for ID3D12Device12 { - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5af5c532_4c91_4cd0_b541_15a405395fc5); +unsafe impl ::windows_core::ComInterface for ID3D12Device13 { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14eecffc_4df8_40f7_a118_5c816f45695e); } #[repr(C)] #[doc(hidden)] -pub struct ID3D12Device12_Vtbl { - pub base__: ID3D12Device11_Vtbl, - #[cfg(feature = "Win32_Graphics_Dxgi_Common")] - pub GetResourceAllocationInfo3: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, result__: *mut D3D12_RESOURCE_ALLOCATION_INFO, visiblemask: u32, numresourcedescs: u32, presourcedescs: *const D3D12_RESOURCE_DESC1, pnumcastableformats: *const u32, ppcastableformats: *const *const super::Dxgi::Common::DXGI_FORMAT, presourceallocationinfo1: *mut D3D12_RESOURCE_ALLOCATION_INFO1), - #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] - GetResourceAllocationInfo3: usize, +pub struct ID3D12Device13_Vtbl { + pub base__: ID3D12Device12_Vtbl, + pub OpenExistingHeapFromAddress1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, paddress: *const ::core::ffi::c_void, size: usize, riid: *const ::windows_core::GUID, ppvheap: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] @@ -11182,7 +11678,7 @@ impl ID3D12InfoQueue1 { pub unsafe fn GetMuteDebugOutput(&self) -> super::super::Foundation::BOOL { (::windows_core::Interface::vtable(self).base__.GetMuteDebugOutput)(::windows_core::Interface::as_raw(self)) } - pub unsafe fn RegisterMessageCallback(&self, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *const ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::Result<()> { + pub unsafe fn RegisterMessageCallback(&self, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *mut ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).RegisterMessageCallback)(::windows_core::Interface::as_raw(self), callbackfunc, callbackfilterflags, pcontext, pcallbackcookie).ok() } pub unsafe fn UnregisterMessageCallback(&self, callbackcookie: u32) -> ::windows_core::Result<()> { @@ -11202,7 +11698,7 @@ unsafe impl ::windows_core::ComInterface for ID3D12InfoQueue1 { #[doc(hidden)] pub struct ID3D12InfoQueue1_Vtbl { pub base__: ID3D12InfoQueue_Vtbl, - pub RegisterMessageCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *const ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::HRESULT, + pub RegisterMessageCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callbackfunc: D3D12MessageFunc, callbackfilterflags: D3D12_MESSAGE_CALLBACK_FLAGS, pcontext: *mut ::core::ffi::c_void, pcallbackcookie: *mut u32) -> ::windows_core::HRESULT, pub UnregisterMessageCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callbackcookie: u32) -> ::windows_core::HRESULT, } #[repr(transparent)] @@ -12903,7 +13399,6 @@ pub struct ID3D12VirtualizationGuestDevice_Vtbl { ShareWithHost: usize, pub CreateFenceFd: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfence: *mut ::core::ffi::c_void, fencevalue: u64, pfencefd: *mut i32) -> ::windows_core::HRESULT, } -pub const CLSID_D3D12DSRDeviceFactory: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f9bdcac_f629_455e_ab13_a807fbe9aba4); pub const CLSID_D3D12Debug: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2352aeb_dd84_49fe_b97b_a9dcfdcc1b4f); pub const CLSID_D3D12DeviceFactory: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x114863bf_c386_4aee_b39d_8f0bbb062955); pub const CLSID_D3D12DeviceRemovedExtendedData: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4a75bbc4_9ff4_4ad8_9f18_abae84dc5ff2); @@ -12922,6 +13417,7 @@ pub const D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT64: D3D12_AUTO_BREADCRUMB pub const D3D12_AUTO_BREADCRUMB_OP_BARRIER: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(45i32); pub const D3D12_AUTO_BREADCRUMB_OP_BEGINEVENT: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(1i32); pub const D3D12_AUTO_BREADCRUMB_OP_BEGINSUBMISSION: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(19i32); +pub const D3D12_AUTO_BREADCRUMB_OP_BEGIN_COMMAND_LIST: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(46i32); pub const D3D12_AUTO_BREADCRUMB_OP_BUILDRAYTRACINGACCELERATIONSTRUCTURE: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(31i32); pub const D3D12_AUTO_BREADCRUMB_OP_CLEARDEPTHSTENCILVIEW: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(14i32); pub const D3D12_AUTO_BREADCRUMB_OP_CLEARRENDERTARGETVIEW: D3D12_AUTO_BREADCRUMB_OP = D3D12_AUTO_BREADCRUMB_OP(12i32); @@ -13418,6 +13914,7 @@ pub const D3D12_FEATURE_D3D12_OPTIONS17: D3D12_FEATURE = D3D12_FEATURE(46i32); pub const D3D12_FEATURE_D3D12_OPTIONS18: D3D12_FEATURE = D3D12_FEATURE(47i32); pub const D3D12_FEATURE_D3D12_OPTIONS19: D3D12_FEATURE = D3D12_FEATURE(48i32); pub const D3D12_FEATURE_D3D12_OPTIONS2: D3D12_FEATURE = D3D12_FEATURE(18i32); +pub const D3D12_FEATURE_D3D12_OPTIONS20: D3D12_FEATURE = D3D12_FEATURE(49i32); pub const D3D12_FEATURE_D3D12_OPTIONS3: D3D12_FEATURE = D3D12_FEATURE(21i32); pub const D3D12_FEATURE_D3D12_OPTIONS4: D3D12_FEATURE = D3D12_FEATURE(23i32); pub const D3D12_FEATURE_D3D12_OPTIONS5: D3D12_FEATURE = D3D12_FEATURE(27i32); @@ -13431,7 +13928,10 @@ pub const D3D12_FEATURE_FEATURE_LEVELS: D3D12_FEATURE = D3D12_FEATURE(2i32); pub const D3D12_FEATURE_FORMAT_INFO: D3D12_FEATURE = D3D12_FEATURE(5i32); pub const D3D12_FEATURE_FORMAT_SUPPORT: D3D12_FEATURE = D3D12_FEATURE(3i32); pub const D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT: D3D12_FEATURE = D3D12_FEATURE(6i32); +pub const D3D12_FEATURE_HARDWARE_COPY: D3D12_FEATURE = D3D12_FEATURE(52i32); pub const D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS: D3D12_FEATURE = D3D12_FEATURE(4i32); +pub const D3D12_FEATURE_PLACED_RESOURCE_SUPPORT_INFO: D3D12_FEATURE = D3D12_FEATURE(51i32); +pub const D3D12_FEATURE_PREDICATION: D3D12_FEATURE = D3D12_FEATURE(50i32); pub const D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_SUPPORT: D3D12_FEATURE = D3D12_FEATURE(10i32); pub const D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPES: D3D12_FEATURE = D3D12_FEATURE(34i32); pub const D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPE_COUNT: D3D12_FEATURE = D3D12_FEATURE(33i32); @@ -14021,6 +14521,7 @@ pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_RT_OUTPUT_MISMA pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_TYPE_MISMATCH: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(677i32); pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_ROOT_SIGNATURE_MISMATCH: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(690i32); pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RENDERTARGETVIEW_NOT_SET: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(679i32); +pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RENDER_TARGET_WRONG_WRITE_MASK: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1382i32); pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RTV_FORMAT_NOT_UNKNOWN: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(655i32); pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RUNTIME_INTERNAL_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1105i32); pub const D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_COMPONENTTYPE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(661i32); @@ -14259,7 +14760,7 @@ pub const D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_HEAP_UNSUPPORTED_PARAMETERS: D3D pub const D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_INVALID_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1309i32); pub const D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_UNSUPPORTED_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1310i32); pub const D3D12_MESSAGE_ID_CREATE_VIDEO_PROCESSOR_CAPS_FAILURE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1108i32); -pub const D3D12_MESSAGE_ID_D3D12_MESSAGES_END: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1381i32); +pub const D3D12_MESSAGE_ID_D3D12_MESSAGES_END: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1387i32); pub const D3D12_MESSAGE_ID_DATA_STATIC_DESCRIPTOR_INVALID_DATA_CHANGE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1002i32); pub const D3D12_MESSAGE_ID_DATA_STATIC_WHILE_SET_AT_EXECUTE_DESCRIPTOR_INVALID_DATA_CHANGE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1003i32); pub const D3D12_MESSAGE_ID_DECODE_FRAME_INVALID_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(988i32); @@ -14372,6 +14873,7 @@ pub const D3D12_MESSAGE_ID_EXECUTE_BUNDLE_TYPE: D3D12_MESSAGE_ID = D3D12_MESSAGE pub const D3D12_MESSAGE_ID_EXECUTE_INDIRECT_INVALID_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(744i32); pub const D3D12_MESSAGE_ID_EXECUTE_INDIRECT_ZERO_COMMAND_COUNT: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1357i32); pub const D3D12_MESSAGE_ID_FENCE_INVALIDOPERATION: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1078i32); +pub const D3D12_MESSAGE_ID_GENERIC_DEVICE_OPERATION_UNSUPPORTED: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1381i32); pub const D3D12_MESSAGE_ID_GEOMETRY_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1232i32); pub const D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDBASEOFFSET: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(740i32); pub const D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDSUBRESOURCERANGE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(739i32); @@ -14386,10 +14888,12 @@ pub const D3D12_MESSAGE_ID_GETHEAPPROPERTIES_INVALIDRESOURCE: D3D12_MESSAGE_ID = pub const D3D12_MESSAGE_ID_GETPRIVATEDATA_MOREDATA: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(20i32); pub const D3D12_MESSAGE_ID_GETRESOURCEALLOCATIONINFO_INVALIDRDESCS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(702i32); pub const D3D12_MESSAGE_ID_GET_PIPELINE_STACK_SIZE_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1197i32); +pub const D3D12_MESSAGE_ID_GET_PROGRAM_IDENTIFIER_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(118i32); pub const D3D12_MESSAGE_ID_GET_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO_INVALID: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1162i32); pub const D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1195i32); pub const D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_SIZE_INVALID: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1199i32); pub const D3D12_MESSAGE_ID_GET_SHADER_STACK_SIZE_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1196i32); +pub const D3D12_MESSAGE_ID_GET_WORK_GRAPH_PROPERTIES_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(119i32); pub const D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_HEAP_INDEX_OUT_OF_BOUNDS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(936i32); pub const D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TABLE_REGISTER_INDEX_OUT_OF_BOUNDS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(937i32); pub const D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TYPE_MISMATCH: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(939i32); @@ -14509,10 +15013,12 @@ pub const D3D12_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR: D3D12_MESSAGE_ID pub const D3D12_MESSAGE_ID_OVERSIZED_DISPATCH: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1296i32); pub const D3D12_MESSAGE_ID_PIPELINELIBRARY_SERIALIZE_NOTENOUGHMEMORY: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(973i32); pub const D3D12_MESSAGE_ID_PIPELINE_STATE_TYPE_MISMATCH: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(951i32); +pub const D3D12_MESSAGE_ID_PIX_EVENT_UNDERFLOW: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1384i32); pub const D3D12_MESSAGE_ID_POSSIBLE_INVALID_USE_OF_NON_RESIDENT_RESOURCE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(609i32); pub const D3D12_MESSAGE_ID_POSSIBLY_INVALID_SUBRESOURCE_STATE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(607i32); pub const D3D12_MESSAGE_ID_PRIMITIVE_TOPOLOGY_MISMATCH_PIPELINE_STATE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(611i32); pub const D3D12_MESSAGE_ID_PRIMITIVE_TOPOLOGY_TRIANGLE_FANS_NOT_SUPPORTED: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1360i32); +pub const D3D12_MESSAGE_ID_PROBABLE_PIX_EVENT_LEAK: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1383i32); pub const D3D12_MESSAGE_ID_PROCESS_FRAME_INVALID_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1066i32); pub const D3D12_MESSAGE_ID_PROGRAMMABLE_MSAA_UNSUPPORTED: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1048i32); pub const D3D12_MESSAGE_ID_PROTECTED_RESOURCE_SESSION_UNSUPPORTED: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1077i32); @@ -14521,6 +15027,8 @@ pub const D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDBOX: D3D12_MESSAGE_ID = D3 pub const D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDHEAP: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(894i32); pub const D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDRESOURCE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(895i32); pub const D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDSUBRESOURCE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(897i32); +pub const D3D12_MESSAGE_ID_RECREATEAT_INSUFFICIENT_SUPPORT: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1386i32); +pub const D3D12_MESSAGE_ID_RECREATEAT_INVALID_TARGET: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1385i32); pub const D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDOBJECT: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(916i32); pub const D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDSIZE: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(915i32); pub const D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_UNRECOGNIZEDPROPERTIES: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(914i32); @@ -14625,6 +15133,7 @@ pub const D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID: D3D12_MESSAGE_ID = D3D12_ME pub const D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID_DESC: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(715i32); pub const D3D12_MESSAGE_ID_SET_PIPELINE_STACK_SIZE_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(1198i32); pub const D3D12_MESSAGE_ID_SET_PREDICATION_INVALID_PARAMETERS: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(734i32); +pub const D3D12_MESSAGE_ID_SET_PROGRAM_ERROR: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(120i32); pub const D3D12_MESSAGE_ID_SET_RENDER_TARGETS_INVALID: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(728i32); pub const D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_BUFFER_VIEW_INVALID: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(710i32); pub const D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_INVALID: D3D12_MESSAGE_ID = D3D12_MESSAGE_ID(709i32); @@ -14773,7 +15282,7 @@ pub const D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VS: D3D12_PIPELINE_STATE_SUBOBJECT pub const D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT: u32 = 15u32; pub const D3D12_PREDICATION_OP_EQUAL_ZERO: D3D12_PREDICATION_OP = D3D12_PREDICATION_OP(0i32); pub const D3D12_PREDICATION_OP_NOT_EQUAL_ZERO: D3D12_PREDICATION_OP = D3D12_PREDICATION_OP(1i32); -pub const D3D12_PREVIEW_SDK_VERSION: u32 = 710u32; +pub const D3D12_PREVIEW_SDK_VERSION: u32 = 712u32; pub const D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT: u32 = 16u32; pub const D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE: D3D12_PRIMITIVE_TOPOLOGY_TYPE = D3D12_PRIMITIVE_TOPOLOGY_TYPE(2i32); pub const D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH: D3D12_PRIMITIVE_TOPOLOGY_TYPE = D3D12_PRIMITIVE_TOPOLOGY_TYPE(4i32); @@ -14888,6 +15397,8 @@ pub const D3D12_RAY_FLAG_NONE: D3D12_RAY_FLAGS = D3D12_RAY_FLAGS(0i32); pub const D3D12_RAY_FLAG_SKIP_CLOSEST_HIT_SHADER: D3D12_RAY_FLAGS = D3D12_RAY_FLAGS(8i32); pub const D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES: D3D12_RAY_FLAGS = D3D12_RAY_FLAGS(512i32); pub const D3D12_RAY_FLAG_SKIP_TRIANGLES: D3D12_RAY_FLAGS = D3D12_RAY_FLAGS(256i32); +pub const D3D12_RECREATE_AT_TIER_1: D3D12_RECREATE_AT_TIER = D3D12_RECREATE_AT_TIER(1i32); +pub const D3D12_RECREATE_AT_TIER_NOT_SUPPORTED: D3D12_RECREATE_AT_TIER = D3D12_RECREATE_AT_TIER(0i32); pub const D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_CLEAR: D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE = D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE(2i32); pub const D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_DISCARD: D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE = D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE(0i32); pub const D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_NO_ACCESS: D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE = D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE(3i32); @@ -14993,6 +15504,11 @@ pub const D3D12_RESOURCE_STATE_PREDICATION: D3D12_RESOURCE_STATES = D3D12_RESOUR pub const D3D12_RESOURCE_STATE_PRESENT: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(0i32); pub const D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(4194304i32); pub const D3D12_RESOURCE_STATE_RENDER_TARGET: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(4i32); +pub const D3D12_RESOURCE_STATE_RESERVED_INTERNAL_100000: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(1048576i32); +pub const D3D12_RESOURCE_STATE_RESERVED_INTERNAL_4000: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(16384i32); +pub const D3D12_RESOURCE_STATE_RESERVED_INTERNAL_40000000: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(1073741824i32); +pub const D3D12_RESOURCE_STATE_RESERVED_INTERNAL_8000: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(32768i32); +pub const D3D12_RESOURCE_STATE_RESERVED_INTERNAL_80000000: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(-2147483648i32); pub const D3D12_RESOURCE_STATE_RESOLVE_DEST: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(4096i32); pub const D3D12_RESOURCE_STATE_RESOLVE_SOURCE: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(8192i32); pub const D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE: D3D12_RESOURCE_STATES = D3D12_RESOURCE_STATES(16777216i32); @@ -15047,7 +15563,7 @@ pub const D3D12_SAMPLER_FEEDBACK_TIER_NOT_SUPPORTED: D3D12_SAMPLER_FEEDBACK_TIER pub const D3D12_SAMPLER_FLAG_NONE: D3D12_SAMPLER_FLAGS = D3D12_SAMPLER_FLAGS(0i32); pub const D3D12_SAMPLER_FLAG_NON_NORMALIZED_COORDINATES: D3D12_SAMPLER_FLAGS = D3D12_SAMPLER_FLAGS(2i32); pub const D3D12_SAMPLER_FLAG_UINT_BORDER_COLOR: D3D12_SAMPLER_FLAGS = D3D12_SAMPLER_FLAGS(1i32); -pub const D3D12_SDK_VERSION: u32 = 610u32; +pub const D3D12_SDK_VERSION: u32 = 611u32; pub const D3D12_SERIALIZED_DATA_RAYTRACING_ACCELERATION_STRUCTURE: D3D12_SERIALIZED_DATA_TYPE = D3D12_SERIALIZED_DATA_TYPE(0i32); pub const D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR: D3D12_SHADER_CACHE_CONTROL_FLAGS = D3D12_SHADER_CACHE_CONTROL_FLAGS(4i32); pub const D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLE: D3D12_SHADER_CACHE_CONTROL_FLAGS = D3D12_SHADER_CACHE_CONTROL_FLAGS(1i32); @@ -15271,6 +15787,11 @@ pub const D3D12_VIDEO_DECODE_MAX_HISTOGRAM_COMPONENTS: u32 = 4u32; pub const D3D12_VIDEO_DECODE_MIN_BITSTREAM_OFFSET_ALIGNMENT: u32 = 256u32; pub const D3D12_VIDEO_DECODE_MIN_HISTOGRAM_OFFSET_ALIGNMENT: u32 = 256u32; pub const D3D12_VIDEO_DECODE_STATUS_MACROBLOCKS_AFFECTED_UNKNOWN: u32 = 4294967295u32; +pub const D3D12_VIDEO_ENCODER_AV1_INVALID_DPB_RESOURCE_INDEX: u32 = 255u32; +pub const D3D12_VIDEO_ENCODER_AV1_MAX_TILE_COLS: u32 = 64u32; +pub const D3D12_VIDEO_ENCODER_AV1_MAX_TILE_ROWS: u32 = 64u32; +pub const D3D12_VIDEO_ENCODER_AV1_SUPERRES_DENOM_MIN: u32 = 9u32; +pub const D3D12_VIDEO_ENCODER_AV1_SUPERRES_NUM: u32 = 8u32; pub const D3D12_VIDEO_PROCESS_MAX_FILTERS: u32 = 32u32; pub const D3D12_VIDEO_PROCESS_STEREO_VIEWS: u32 = 2u32; pub const D3D12_VIEWPORT_AND_SCISSORRECT_MAX_INDEX: u32 = 15u32; @@ -18840,6 +19361,28 @@ impl ::core::ops::Not for D3D12_RAY_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_RECREATE_AT_TIER(pub i32); +impl ::core::marker::Copy for D3D12_RECREATE_AT_TIER {} +impl ::core::clone::Clone for D3D12_RECREATE_AT_TIER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_RECREATE_AT_TIER { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_RECREATE_AT_TIER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_RECREATE_AT_TIER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_RECREATE_AT_TIER").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE(pub i32); impl ::core::marker::Copy for D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE {} impl ::core::clone::Clone for D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE { @@ -22526,7 +23069,7 @@ impl ::core::default::Default for D3D12_DRED_PAGE_FAULT_OUTPUT2 { pub struct D3D12_DXIL_LIBRARY_DESC { pub DXILLibrary: D3D12_SHADER_BYTECODE, pub NumExports: u32, - pub pExports: *mut D3D12_EXPORT_DESC, + pub pExports: *const D3D12_EXPORT_DESC, } impl ::core::marker::Copy for D3D12_DXIL_LIBRARY_DESC {} impl ::core::clone::Clone for D3D12_DXIL_LIBRARY_DESC { @@ -22588,7 +23131,7 @@ impl ::core::default::Default for D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION { pub struct D3D12_EXISTING_COLLECTION_DESC { pub pExistingCollection: ::std::mem::ManuallyDrop<::core::option::Option>, pub NumExports: u32, - pub pExports: *mut D3D12_EXPORT_DESC, + pub pExports: *const D3D12_EXPORT_DESC, } impl ::core::clone::Clone for D3D12_EXISTING_COLLECTION_DESC { fn clone(&self) -> Self { @@ -23403,6 +23946,45 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_D3D12_OPTIONS2 { #[repr(C)] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + pub ComputeOnlyWriteWatchSupported: super::super::Foundation::BOOL, + pub RecreateAtTier: D3D12_RECREATE_AT_TIER, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_D3D12_OPTIONS20 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_D3D12_OPTIONS20").field("ComputeOnlyWriteWatchSupported", &self.ComputeOnlyWriteWatchSupported).field("RecreateAtTier", &self.RecreateAtTier).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + fn eq(&self, other: &Self) -> bool { + self.ComputeOnlyWriteWatchSupported == other.ComputeOnlyWriteWatchSupported && self.RecreateAtTier == other.RecreateAtTier + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_D3D12_OPTIONS20 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_D3D12_OPTIONS20 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] pub struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 { pub CopyQueueTimestampQueriesSupported: super::super::Foundation::BOOL, pub CastingFullyTypedFormatSupported: super::super::Foundation::BOOL, @@ -23909,6 +24491,44 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT } } #[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_HARDWARE_COPY { + pub Supported: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_HARDWARE_COPY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_HARDWARE_COPY { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_HARDWARE_COPY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_HARDWARE_COPY").field("Supported", &self.Supported).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_HARDWARE_COPY { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_HARDWARE_COPY { + fn eq(&self, other: &Self) -> bool { + self.Supported == other.Supported + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_HARDWARE_COPY {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_HARDWARE_COPY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] pub struct D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS { @@ -23950,6 +24570,85 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS } } #[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + pub Format: super::Dxgi::Common::DXGI_FORMAT, + pub Dimension: D3D12_RESOURCE_DIMENSION, + pub DestHeapProperties: D3D12_HEAP_PROPERTIES, + pub Supported: super::super::Foundation::BOOL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO").field("Format", &self.Format).field("Dimension", &self.Dimension).field("DestHeapProperties", &self.DestHeapProperties).field("Supported", &self.Supported).finish() + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + fn eq(&self, other: &Self) -> bool { + self.Format == other.Format && self.Dimension == other.Dimension && self.DestHeapProperties == other.DestHeapProperties && self.Supported == other.Supported + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_PLACED_RESOURCE_SUPPORT_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_PREDICATION { + pub Supported: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_PREDICATION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_PREDICATION { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_PREDICATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_PREDICATION").field("Supported", &self.Supported).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_PREDICATION { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_PREDICATION { + fn eq(&self, other: &Self) -> bool { + self.Supported == other.Supported + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_PREDICATION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_PREDICATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { pub NodeIndex: u32, pub Support: D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS, diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs index cc157f1cdd..7cbef0072a 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -24876,6 +24876,7 @@ pub const D3D12_FEATURE_VIDEO_DECODE_SUPPORT: D3D12_FEATURE_VIDEO = D3D12_FEATUR pub const D3D12_FEATURE_VIDEO_ENCODER_CODEC: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(33i32); pub const D3D12_FEATURE_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(42i32); pub const D3D12_FEATURE_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(44i32); +pub const D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(46i32); pub const D3D12_FEATURE_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(40i32); pub const D3D12_FEATURE_VIDEO_ENCODER_HEAP_SIZE: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(41i32); pub const D3D12_FEATURE_VIDEO_ENCODER_INPUT_FORMAT: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(37i32); @@ -24886,6 +24887,7 @@ pub const D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL: D3D12_FEATURE_VIDEO = D3D12 pub const D3D12_FEATURE_VIDEO_ENCODER_RATE_CONTROL_MODE: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(38i32); pub const D3D12_FEATURE_VIDEO_ENCODER_RESOURCE_REQUIREMENTS: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(45i32); pub const D3D12_FEATURE_VIDEO_ENCODER_SUPPORT: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(43i32); +pub const D3D12_FEATURE_VIDEO_ENCODER_SUPPORT1: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(47i32); pub const D3D12_FEATURE_VIDEO_EXTENSION_COMMANDS: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(23i32); pub const D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_COUNT: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(22i32); pub const D3D12_FEATURE_VIDEO_EXTENSION_COMMAND_PARAMETERS: D3D12_FEATURE_VIDEO = D3D12_FEATURE_VIDEO(25i32); @@ -24939,6 +24941,16 @@ pub const D3D12_VIDEO_DECODE_PROFILE_H264_STEREO: ::windows_core::GUID = ::windo pub const D3D12_VIDEO_DECODE_PROFILE_H264_STEREO_PROGRESSIVE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd79be8da_0cf1_4c81_b82a_69a4e236f43d); pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b11d51b_2f4c_4452_bcc3_09f2a1160cc0); pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x107af0e0_ef1a_4d19_aba8_67a163073d13); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10_422: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0bac4fe5_1532_4429_a854_f84de04953db); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10_444: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0dabeffa_4458_4602_bc03_0795659d617c); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN10_EXT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9cc55490_e37c_4932_8684_4920f9f6409c); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN12: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1a72925f_0c2c_4f15_96fb_b17d1473603f); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN12_422: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x55bcac81_f311_4093_a7d0_1cbc0b849bee); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN12_444: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9798634d_fe9d_48e5_b4da_dbec45b3df01); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN16: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa4fbdbb0_a113_482b_a232_635cc0697f6d); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MAIN_444: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4008018f_f537_4b36_98cf_61af8a2c1a33); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MONOCHROME: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0685b993_3d8c_43a0_8b28_d74c2d6899a4); +pub const D3D12_VIDEO_DECODE_PROFILE_HEVC_MONOCHROME10: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x142a1d0f_69dd_4ec9_8591_b12ffcb91a29); pub const D3D12_VIDEO_DECODE_PROFILE_MPEG1_AND_MPEG2: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x86695f12_340e_4f04_9fd3_9253dd327460); pub const D3D12_VIDEO_DECODE_PROFILE_MPEG2: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xee27417f_5e28_4e65_beea_1d26b508adc9); pub const D3D12_VIDEO_DECODE_PROFILE_MPEG4PT2_ADVSIMPLE_NOGMC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xed418a9f_010d_4eda_9ae3_9a65358d8d2e); @@ -24959,6 +24971,174 @@ pub const D3D12_VIDEO_DECODE_TIER_1: D3D12_VIDEO_DECODE_TIER = D3D12_VIDEO_DECOD pub const D3D12_VIDEO_DECODE_TIER_2: D3D12_VIDEO_DECODE_TIER = D3D12_VIDEO_DECODE_TIER(2i32); pub const D3D12_VIDEO_DECODE_TIER_3: D3D12_VIDEO_DECODE_TIER = D3D12_VIDEO_DECODE_TIER(3i32); pub const D3D12_VIDEO_DECODE_TIER_NOT_SUPPORTED: D3D12_VIDEO_DECODE_TIER = D3D12_VIDEO_DECODE_TIER(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE_COMPOUND_REFERENCE: D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE = D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE_SINGLE_REFERENCE: D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE = D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_128x128_SUPERBLOCK: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_ALLOW_HIGH_PRECISION_MV: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(8388608i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_AUTO_SEGMENTATION: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(65536i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_CDEF_FILTERING: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(4096i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_CUSTOM_SEGMENTATION: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(131072i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DELTA_LF_PARAMS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(33554432i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_DUAL_FILTER: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FILTER_INTRA: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FORCED_INTEGER_MOTION_VECTORS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(256i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_FRAME_REFERENCE_MOTION_VECTORS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(16384i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTERINTRA_COMPOUND: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTRA_BLOCK_COPY: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(8192i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_INTRA_EDGE_FILTER: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_JNT_COMP: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(128i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_LOOP_FILTER_DELTAS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(262144i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_LOOP_RESTORATION_FILTER: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(1024i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_MASKED_COMPOUND: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_MOTION_MODE_SWITCHABLE: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(4194304i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_ORDER_HINT_TOOLS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(32768i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_PALETTE_ENCODING: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(2048i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_QUANTIZATION_DELTAS: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(524288i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_QUANTIZATION_MATRIX: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(1048576i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_REDUCED_TX_SET: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(2097152i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SKIP_MODE_PRESENT: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(16777216i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_SUPER_RESOLUTION: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(512i32); +pub const D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAG_WARPED_MOTION: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(32i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_AREA: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_CODEC_CONSTRAINT: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_COLS_COUNT: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_HARDWARE_CONSTRAINT: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_NOT_SPECIFIED: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_ROWS_COUNT: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_TOTAL_TILES: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(128i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAG_WIDTH: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(32i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTER_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_INTRA_ONLY_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_KEY_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAG_SWITCH_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTER_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_INTRA_ONLY_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_KEY_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_SWITCH_FRAME: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE = D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_BILINEAR: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SHARP: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_EIGHTTAP_SMOOTH: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_BILINEAR: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP_SHARP: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_EIGHTTAP_SMOOTH: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAG_SWITCHABLE: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_SWITCHABLE: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS = D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_2_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_2_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_2_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_2_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_3_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_3_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(5i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_3_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(6i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_3_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(7i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_4_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_4_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(9i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_4_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(10i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_4_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(11i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_5_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(12i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_5_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(13i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_5_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(14i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_5_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(15i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_6_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_6_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(17i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_6_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(18i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_6_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(19i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_7_0: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(20i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_7_1: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(21i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_7_2: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(22i32); +pub const D3D12_VIDEO_ENCODER_AV1_LEVELS_7_3: D3D12_VIDEO_ENCODER_AV1_LEVELS = D3D12_VIDEO_ENCODER_AV1_LEVELS(23i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_HIGH_PRECISION_MV: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(16384i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ALLOW_INTRA_BLOCK_COPY: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_DISABLE_CDF_UPDATE: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_DISABLE_FRAME_END_UPDATE_CDF: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(256i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_ERROR_RESILIENT_MODE: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_FRAME_SEGMENTATION_AUTO: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(512i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_FRAME_SEGMENTATION_CUSTOM: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(1024i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_PALETTE_ENCODING: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_SKIP_MODE: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_ENABLE_WARPED_MOTION: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(2048i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_FORCE_INTEGER_MOTION_VECTORS: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(32i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_FRAME_REFERENCE_MOTION_VECTORS: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_MOTION_MODE_SWITCHABLE: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(8192i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_REDUCED_TX_SET: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(4096i32); +pub const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAG_USE_SUPER_RESOLUTION: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(128i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_CDEF_DATA: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_COMPOUND_PREDICTION_MODE: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_CONTEXT_UPDATE_TILE_ID: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(32i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_LOOP_FILTER: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_LOOP_FILTER_DELTA: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_PRIMARY_REF_FRAME: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(128i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_QUANTIZATION: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_QUANTIZATION_DELTA: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAG_REFERENCE_INDICES: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS = D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(256i32); +pub const D3D12_VIDEO_ENCODER_AV1_PROFILE_HIGH: D3D12_VIDEO_ENCODER_AV1_PROFILE = D3D12_VIDEO_ENCODER_AV1_PROFILE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_PROFILE_MAIN: D3D12_VIDEO_ENCODER_AV1_PROFILE = D3D12_VIDEO_ENCODER_AV1_PROFILE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_PROFILE_PROFESSIONAL: D3D12_VIDEO_ENCODER_AV1_PROFILE = D3D12_VIDEO_ENCODER_AV1_PROFILE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_AFFINE: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_AFFINE: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_IDENTITY: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_ROTZOOM: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAG_TRANSLATION: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_IDENTITY: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_ROTZOOM: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_TRANSLATION: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION = D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_128x128: D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_256x256: D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_32x32: D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_64x64: D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAG_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_128x128: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_256x256: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_32x32: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_64x64: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE_DISABLED: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_DISABLED: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_SGRPROJ: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_SWITCHABLE: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE_WIENER: D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE = D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_16x16: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_32x32: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_4x4: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_64x64: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE_8x8: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_GLOBALMV: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_U: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_V: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(5i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_H: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(3i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_LF_Y_V: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_Q: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_REF_FRAME: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(6i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_ALT_SKIP: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(7i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_DISABLED: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_GLOBALMV: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(256i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_U: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(16i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_V: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(32i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_Y_H: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(8i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_LF_Y_V: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_Q: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_ALT_SKIP: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(128i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_DISABLED: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAG_REF_FRAME: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_AV1_TIER_HIGH: D3D12_VIDEO_ENCODER_AV1_TIER = D3D12_VIDEO_ENCODER_AV1_TIER(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_TIER_MAIN: D3D12_VIDEO_ENCODER_AV1_TIER = D3D12_VIDEO_ENCODER_AV1_TIER(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_LARGEST: D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS(2i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_NONE: D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_ONLY4x4: D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAG_SELECT: D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS = D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_LARGEST: D3D12_VIDEO_ENCODER_AV1_TX_MODE = D3D12_VIDEO_ENCODER_AV1_TX_MODE(1i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_ONLY4x4: D3D12_VIDEO_ENCODER_AV1_TX_MODE = D3D12_VIDEO_ENCODER_AV1_TX_MODE(0i32); +pub const D3D12_VIDEO_ENCODER_AV1_TX_MODE_SELECT: D3D12_VIDEO_ENCODER_AV1_TX_MODE = D3D12_VIDEO_ENCODER_AV1_TX_MODE(2i32); +pub const D3D12_VIDEO_ENCODER_CODEC_AV1: D3D12_VIDEO_ENCODER_CODEC = D3D12_VIDEO_ENCODER_CODEC(2i32); pub const D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_DISABLED: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES = D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES(0i32); pub const D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_SPATIAL: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES = D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES(2i32); pub const D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_TEMPORAL: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES = D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES(1i32); @@ -25026,8 +25206,10 @@ pub const D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPP pub const D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_SUBREGION_LAYOUT_CONFIGURATION_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS = D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS(2i32); pub const D3D12_VIDEO_ENCODER_FLAG_NONE: D3D12_VIDEO_ENCODER_FLAGS = D3D12_VIDEO_ENCODER_FLAGS(0i32); pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_BYTES_PER_SUBREGION: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(1i32); +pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_CONFIGURABLE_GRID_PARTITION: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(6i32); pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_FULL_FRAME: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(0i32); pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_SQUARE_UNITS_PER_SUBREGION_ROW_UNALIGNED: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(2i32); +pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_UNIFORM_GRID_PARTITION: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(5i32); pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_UNIFORM_PARTITIONING_ROWS_PER_SUBREGION: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(3i32); pub const D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_UNIFORM_PARTITIONING_SUBREGIONS_PER_FRAME: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE = D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(4i32); pub const D3D12_VIDEO_ENCODER_FRAME_TYPE_H264_B_FRAME: D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 = D3D12_VIDEO_ENCODER_FRAME_TYPE_H264(2i32); @@ -25074,6 +25256,7 @@ pub const D3D12_VIDEO_ENCODER_LEVELS_HEVC_52: D3D12_VIDEO_ENCODER_LEVELS_HEVC = pub const D3D12_VIDEO_ENCODER_LEVELS_HEVC_6: D3D12_VIDEO_ENCODER_LEVELS_HEVC = D3D12_VIDEO_ENCODER_LEVELS_HEVC(10i32); pub const D3D12_VIDEO_ENCODER_LEVELS_HEVC_61: D3D12_VIDEO_ENCODER_LEVELS_HEVC = D3D12_VIDEO_ENCODER_LEVELS_HEVC(11i32); pub const D3D12_VIDEO_ENCODER_LEVELS_HEVC_62: D3D12_VIDEO_ENCODER_LEVELS_HEVC = D3D12_VIDEO_ENCODER_LEVELS_HEVC(12i32); +pub const D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_EIGHTH_PIXEL: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE = D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(4i32); pub const D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_FULL_PIXEL: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE = D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(1i32); pub const D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_HALF_PIXEL: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE = D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(2i32); pub const D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE_MAXIMUM: D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE = D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(0i32); @@ -25090,10 +25273,12 @@ pub const D3D12_VIDEO_ENCODER_PROFILE_H264_MAIN: D3D12_VIDEO_ENCODER_PROFILE_H26 pub const D3D12_VIDEO_ENCODER_PROFILE_HEVC_MAIN: D3D12_VIDEO_ENCODER_PROFILE_HEVC = D3D12_VIDEO_ENCODER_PROFILE_HEVC(0i32); pub const D3D12_VIDEO_ENCODER_PROFILE_HEVC_MAIN10: D3D12_VIDEO_ENCODER_PROFILE_HEVC = D3D12_VIDEO_ENCODER_PROFILE_HEVC(1i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_DELTA_QP: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(1i32); +pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_EXTENSION1_SUPPORT: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(64i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_FRAME_ANALYSIS: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(2i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_INITIAL_QP: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(8i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_MAX_FRAME_SIZE: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(16i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QP_RANGE: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(4i32); +pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_QUALITY_VS_SPEED: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(128i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_VBV_SIZES: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(32i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_NONE: D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS = D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(0i32); pub const D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE_ABSOLUTE_QP_MAP: D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE = D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE(0i32); @@ -25112,9 +25297,11 @@ pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMI pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_NONE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(0i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_ADJUSTABLE_QP_RANGE_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(256i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_DELTA_QP_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(64i32); +pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_EXTENSION1_SUPPORT: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(8192i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_FRAME_ANALYSIS_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(16i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_INITIAL_QP_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(512i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_MAX_FRAME_SIZE_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(1024i32); +pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_QUALITY_VS_SPEED_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(16384i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_RECONFIGURATION_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(2i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RATE_CONTROL_VBV_SIZE_CONFIG_AVAILABLE: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(8i32); pub const D3D12_VIDEO_ENCODER_SUPPORT_FLAG_RECONSTRUCTED_FRAMES_REQUIRE_TEXTURE_ARRAYS: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS = D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(32i32); @@ -25132,6 +25319,7 @@ pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_NONE: D3D12_VIDEO_ENCODER_VALIDATI pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_RATE_CONTROL_CONFIGURATION_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(64i32); pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_RATE_CONTROL_MODE_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(32i32); pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_RESOLUTION_NOT_SUPPORTED_IN_LIST: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(512i32); +pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_DATA_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(4096i32); pub const D3D12_VIDEO_ENCODER_VALIDATION_FLAG_SUBREGION_LAYOUT_MODE_NOT_SUPPORTED: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS = D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(256i32); pub const D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_NONE: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS = D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS(0i32); pub const D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAG_READ: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS = D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS(1i32); @@ -29335,98 +29523,131 @@ impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_TIER { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC { +pub struct D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { +pub struct D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29434,76 +29655,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { +pub struct D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29511,76 +29732,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DE } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { +pub struct D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29588,76 +29809,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { +pub struct D3D12_VIDEO_ENCODER_AV1_LEVELS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_LEVELS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_LEVELS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_LEVELS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_LEVELS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_LEVELS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_LEVELS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29665,54 +29886,54 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_F } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29720,54 +29941,98 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_F } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_PROFILE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_PROFILE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_PROFILE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_PROFILE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_PROFILE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_PROFILE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_PROFILE").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29775,54 +30040,54 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29830,120 +30095,142 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +pub struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_FRAME_TYPE_H264(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { +pub struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_TYPE_H264").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_HEAP_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_HEAP_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_HEAP_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_HEAP_FLAGS { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_HEAP_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -29951,142 +30238,98 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_HEAP_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { +pub struct D3D12_VIDEO_ENCODER_AV1_TIER(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_TIER {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_TIER { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_TIER { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_TIER { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_TIER { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_TIER").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_LEVELS_H264(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_LEVELS_H264 {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_LEVELS_H264 { +pub struct D3D12_VIDEO_ENCODER_AV1_TX_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_TX_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_TX_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_LEVELS_H264 { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_TX_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_LEVELS_H264 { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_TX_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_LEVELS_H264 { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_TX_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_LEVELS_H264").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_TX_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_LEVELS_HEVC(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_LEVELS_HEVC {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_LEVELS_HEVC { +pub struct D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_LEVELS_HEVC { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_LEVELS_HEVC { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_LEVELS_HEVC { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_LEVELS_HEVC").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS").field(&self.0).finish() - } -} -impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30094,109 +30337,98 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FL } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS").field(&self.0).finish() - } -} -impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC").field(&self.0).finish() } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { + type TypeKind = ::windows_core::CopyType; } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30204,98 +30436,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_PROFILE_H264(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PROFILE_H264 {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PROFILE_H264 { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for D3D12_VIDEO_ENCODER_PROFILE_H264 { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PROFILE_H264 { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PROFILE_H264 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_PROFILE_H264").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_PROFILE_HEVC(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PROFILE_HEVC {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PROFILE_HEVC { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_PROFILE_HEVC { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PROFILE_HEVC { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PROFILE_HEVC { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_PROFILE_HEVC").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30303,76 +30513,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30380,54 +30590,76 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_SUPPORT_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_TUSIZE").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { - type Output = Self; +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { + type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30435,76 +30667,54 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_TIER_HEVC(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_TIER_HEVC {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_TIER_HEVC { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for D3D12_VIDEO_ENCODER_TIER_HEVC { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_TIER_HEVC { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_TIER_HEVC { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_TIER_HEVC").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +pub struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_ENCODER_VALIDATION_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30512,54 +30722,54 @@ impl ::core::ops::Not for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +pub struct D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30567,186 +30777,175 @@ impl ::core::ops::Not for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE {} -impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { +pub struct D3D12_VIDEO_ENCODER_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE {} -impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_ENCODER_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE").field(&self.0).finish() +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_FIELD_TYPE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_FIELD_TYPE {} -impl ::core::clone::Clone for D3D12_VIDEO_FIELD_TYPE { - fn clone(&self) -> Self { - *self +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) } } -impl ::core::default::Default for D3D12_VIDEO_FIELD_TYPE { - fn default() -> Self { - Self(0) +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_FIELD_TYPE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_FIELD_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_FIELD_TYPE").field(&self.0).finish() +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE {} -impl ::core::clone::Clone for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { +pub struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_FRAME_STEREO_FORMAT(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_FRAME_STEREO_FORMAT {} -impl ::core::clone::Clone for D3D12_VIDEO_FRAME_STEREO_FORMAT { +pub struct D3D12_VIDEO_ENCODER_FRAME_TYPE_H264(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_FRAME_STEREO_FORMAT { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_FRAME_STEREO_FORMAT { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_FRAME_STEREO_FORMAT { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_TYPE_H264 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_FRAME_STEREO_FORMAT").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_TYPE_H264").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE {} -impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { +pub struct D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +pub struct D3D12_VIDEO_ENCODER_HEAP_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_HEAP_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_HEAP_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_HEAP_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_HEAP_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_HEAP_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_HEAP_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl D3D12_VIDEO_ENCODER_HEAP_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_HEAP_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_HEAP_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_HEAP_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_HEAP_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_HEAP_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30754,153 +30953,142 @@ impl ::core::ops::Not for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION {} -impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { +pub struct D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - fn clone(&self) -> Self { - *self +pub struct D3D12_VIDEO_ENCODER_LEVELS_H264(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_LEVELS_H264 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_LEVELS_H264 { + fn clone(&self) -> Self { + *self } } -impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_LEVELS_H264 { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_LEVELS_H264 { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_LEVELS_H264 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS").field(&self.0).finish() - } -} -impl D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) + f.debug_tuple("D3D12_VIDEO_ENCODER_LEVELS_H264").field(&self.0).finish() } } -impl ::core::ops::BitAnd for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_LEVELS_HEVC(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_LEVELS_HEVC {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_LEVELS_HEVC { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +impl ::core::default::Default for D3D12_VIDEO_ENCODER_LEVELS_HEVC { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_LEVELS_HEVC { + type TypeKind = ::windows_core::CopyType; } -impl ::core::ops::Not for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_LEVELS_HEVC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_LEVELS_HEVC").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { +pub struct D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS(pub u32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30908,54 +31096,54 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS(pub u32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -30963,54 +31151,54 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_FEATURE_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FEATURE_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +pub struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_FEATURE_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31018,76 +31206,98 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_FILTER(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FILTER {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FILTER { +pub struct D3D12_VIDEO_ENCODER_PROFILE_H264(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PROFILE_H264 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PROFILE_H264 { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_FILTER { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_PROFILE_H264 { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FILTER { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PROFILE_H264 { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FILTER { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PROFILE_H264 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_FILTER").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_PROFILE_H264").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_FILTER_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FILTER_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +pub struct D3D12_VIDEO_ENCODER_PROFILE_HEVC(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PROFILE_HEVC {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PROFILE_HEVC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_PROFILE_HEVC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_PROFILE_HEVC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_PROFILE_HEVC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_FILTER_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_PROFILE_HEVC").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_FILTER_FLAGS { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FILTER_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31095,54 +31305,76 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FILTER_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31150,76 +31382,54 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_ORIENTATION(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_ORIENTATION {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_ORIENTATION { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for D3D12_VIDEO_PROCESS_ORIENTATION { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_ORIENTATION { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_ORIENTATION { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_ORIENTATION").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROCESS_SUPPORT_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +pub struct D3D12_VIDEO_ENCODER_SUPPORT_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROCESS_SUPPORT_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_SUPPORT_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31227,54 +31437,76 @@ impl ::core::ops::Not for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +pub struct D3D12_VIDEO_ENCODER_TIER_HEVC(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_TIER_HEVC {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_TIER_HEVC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_ENCODER_TIER_HEVC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_TIER_HEVC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_TIER_HEVC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_ENCODER_TIER_HEVC").field(&self.0).finish() } } -impl D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct D3D12_VIDEO_ENCODER_VALIDATION_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("D3D12_VIDEO_ENCODER_VALIDATION_FLAGS").field(&self.0).finish() + } +} +impl D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31282,54 +31514,54 @@ impl ::core::ops::Not for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3D12_VIDEO_SCALE_SUPPORT_FLAGS(pub i32); -impl ::core::marker::Copy for D3D12_VIDEO_SCALE_SUPPORT_FLAGS {} -impl ::core::clone::Clone for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("D3D12_VIDEO_SCALE_SUPPORT_FLAGS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS").field(&self.0).finish() } } -impl D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::ops::BitOr for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::ops::BitAnd for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::ops::BitOrAssign for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::ops::BitAndAssign for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { +impl ::core::ops::Not for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_FLAGS { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -31337,2353 +31569,2276 @@ impl ::core::ops::Not for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_BufferfType(pub i32); -impl ::core::marker::Copy for DXVA2_BufferfType {} -impl ::core::clone::Clone for DXVA2_BufferfType { +pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE {} +impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_BufferfType { +impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_BufferfType { +impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_BufferfType { +impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_BufferfType").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_DeinterlaceTech(pub i32); -impl ::core::marker::Copy for DXVA2_DeinterlaceTech {} -impl ::core::clone::Clone for DXVA2_DeinterlaceTech { +pub struct D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_DeinterlaceTech { +impl ::core::default::Default for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_DeinterlaceTech { +impl ::windows_core::TypeKind for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_DeinterlaceTech { +impl ::core::fmt::Debug for D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_DeinterlaceTech").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_DestData(pub i32); -impl ::core::marker::Copy for DXVA2_DestData {} -impl ::core::clone::Clone for DXVA2_DestData { +pub struct D3D12_VIDEO_FIELD_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_FIELD_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_FIELD_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_DestData { +impl ::core::default::Default for D3D12_VIDEO_FIELD_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_DestData { +impl ::windows_core::TypeKind for D3D12_VIDEO_FIELD_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_DestData { +impl ::core::fmt::Debug for D3D12_VIDEO_FIELD_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_DestData").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_FIELD_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_DetailFilterTech(pub i32); -impl ::core::marker::Copy for DXVA2_DetailFilterTech {} -impl ::core::clone::Clone for DXVA2_DetailFilterTech { +pub struct D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE {} +impl ::core::clone::Clone for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_DetailFilterTech { +impl ::core::default::Default for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_DetailFilterTech { +impl ::windows_core::TypeKind for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_DetailFilterTech { +impl ::core::fmt::Debug for D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_DetailFilterTech").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_FilterType(pub i32); -impl ::core::marker::Copy for DXVA2_FilterType {} -impl ::core::clone::Clone for DXVA2_FilterType { +pub struct D3D12_VIDEO_FRAME_STEREO_FORMAT(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_FRAME_STEREO_FORMAT {} +impl ::core::clone::Clone for D3D12_VIDEO_FRAME_STEREO_FORMAT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_FilterType { +impl ::core::default::Default for D3D12_VIDEO_FRAME_STEREO_FORMAT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_FilterType { +impl ::windows_core::TypeKind for D3D12_VIDEO_FRAME_STEREO_FORMAT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_FilterType { +impl ::core::fmt::Debug for D3D12_VIDEO_FRAME_STEREO_FORMAT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_FilterType").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_FRAME_STEREO_FORMAT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_NoiseFilterTech(pub i32); -impl ::core::marker::Copy for DXVA2_NoiseFilterTech {} -impl ::core::clone::Clone for DXVA2_NoiseFilterTech { +pub struct D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE {} +impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_NoiseFilterTech { +impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_NoiseFilterTech { +impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_NoiseFilterTech { +impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_NoiseFilterTech").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_NominalRange(pub i32); -impl ::core::marker::Copy for DXVA2_NominalRange {} -impl ::core::clone::Clone for DXVA2_NominalRange { +pub struct D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_NominalRange { +impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_NominalRange { +impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_NominalRange { +impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_NominalRange").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_ProcAmp(pub i32); -impl ::core::marker::Copy for DXVA2_ProcAmp {} -impl ::core::clone::Clone for DXVA2_ProcAmp { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVA2_ProcAmp { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVA2_ProcAmp { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVA2_ProcAmp { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_ProcAmp").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_SampleData(pub i32); -impl ::core::marker::Copy for DXVA2_SampleData {} -impl ::core::clone::Clone for DXVA2_SampleData { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for DXVA2_SampleData { - fn default() -> Self { - Self(0) +impl ::core::ops::BitAndAssign for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) } } -impl ::windows_core::TypeKind for DXVA2_SampleData { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_SampleData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_SampleData").field(&self.0).finish() +impl ::core::ops::Not for D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_SampleFormat(pub i32); -impl ::core::marker::Copy for DXVA2_SampleFormat {} -impl ::core::clone::Clone for DXVA2_SampleFormat { +pub struct D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION {} +impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_SampleFormat { +impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_SampleFormat { +impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_SampleFormat { +impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_SampleFormat").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_SurfaceType(pub i32); -impl ::core::marker::Copy for DXVA2_SurfaceType {} -impl ::core::clone::Clone for DXVA2_SurfaceType { +pub struct D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_SurfaceType { +impl ::core::default::Default for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_SurfaceType { +impl ::windows_core::TypeKind for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_SurfaceType { +impl ::core::fmt::Debug for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_SurfaceType").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VPDev(pub i32); -impl ::core::marker::Copy for DXVA2_VPDev {} -impl ::core::clone::Clone for DXVA2_VPDev { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVA2_VPDev { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVA2_VPDev { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_VPDev { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VPDev").field(&self.0).finish() +impl ::core::ops::BitAnd for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoChromaSubSampling(pub i32); -impl ::core::marker::Copy for DXVA2_VideoChromaSubSampling {} -impl ::core::clone::Clone for DXVA2_VideoChromaSubSampling { - fn clone(&self) -> Self { - *self +impl ::core::ops::BitOrAssign for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) } } -impl ::core::default::Default for DXVA2_VideoChromaSubSampling { - fn default() -> Self { - Self(0) +impl ::core::ops::BitAndAssign for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) } } -impl ::windows_core::TypeKind for DXVA2_VideoChromaSubSampling { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_VideoChromaSubSampling { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoChromaSubSampling").field(&self.0).finish() +impl ::core::ops::Not for D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoLighting(pub i32); -impl ::core::marker::Copy for DXVA2_VideoLighting {} -impl ::core::clone::Clone for DXVA2_VideoLighting { +pub struct D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_VideoLighting { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_VideoLighting { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_VideoLighting { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoLighting").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_ALPHA_FILL_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoPrimaries(pub i32); -impl ::core::marker::Copy for DXVA2_VideoPrimaries {} -impl ::core::clone::Clone for DXVA2_VideoPrimaries { +pub struct D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS(pub u32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_VideoPrimaries { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_VideoPrimaries { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_VideoPrimaries { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoPrimaries").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoProcess(pub i32); -impl ::core::marker::Copy for DXVA2_VideoProcess {} -impl ::core::clone::Clone for DXVA2_VideoProcess { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVA2_VideoProcess { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVA2_VideoProcess { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_VideoProcess { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoProcess").field(&self.0).finish() +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoRenderTargetType(pub i32); -impl ::core::marker::Copy for DXVA2_VideoRenderTargetType {} -impl ::core::clone::Clone for DXVA2_VideoRenderTargetType { - fn clone(&self) -> Self { - *self +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) } } -impl ::core::default::Default for DXVA2_VideoRenderTargetType { - fn default() -> Self { - Self(0) +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) } } -impl ::windows_core::TypeKind for DXVA2_VideoRenderTargetType { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_VideoRenderTargetType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoRenderTargetType").field(&self.0).finish() +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoTransferFunction(pub i32); -impl ::core::marker::Copy for DXVA2_VideoTransferFunction {} -impl ::core::clone::Clone for DXVA2_VideoTransferFunction { +pub struct D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS(pub u32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA2_VideoTransferFunction { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA2_VideoTransferFunction { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA2_VideoTransferFunction { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoTransferFunction").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA2_VideoTransferMatrix(pub i32); -impl ::core::marker::Copy for DXVA2_VideoTransferMatrix {} -impl ::core::clone::Clone for DXVA2_VideoTransferMatrix { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVA2_VideoTransferMatrix { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVA2_VideoTransferMatrix { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVA2_VideoTransferMatrix { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA2_VideoTransferMatrix").field(&self.0).finish() +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_ALPHA_FILL_MODE(pub i32); -impl ::core::marker::Copy for DXVAHD_ALPHA_FILL_MODE {} -impl ::core::clone::Clone for DXVAHD_ALPHA_FILL_MODE { - fn clone(&self) -> Self { - *self +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) } } -impl ::core::default::Default for DXVAHD_ALPHA_FILL_MODE { - fn default() -> Self { - Self(0) +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) } } -impl ::windows_core::TypeKind for DXVAHD_ALPHA_FILL_MODE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for DXVAHD_ALPHA_FILL_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_ALPHA_FILL_MODE").field(&self.0).finish() +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_BLT_STATE(pub i32); -impl ::core::marker::Copy for DXVAHD_BLT_STATE {} -impl ::core::clone::Clone for DXVAHD_BLT_STATE { +pub struct D3D12_VIDEO_PROCESS_FEATURE_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FEATURE_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_BLT_STATE { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_BLT_STATE { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_BLT_STATE { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_BLT_STATE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_FEATURE_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_DEVICE_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_DEVICE_CAPS {} -impl ::core::clone::Clone for DXVAHD_DEVICE_CAPS { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_DEVICE_CAPS { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_DEVICE_CAPS { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_DEVICE_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_DEVICE_CAPS").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FEATURE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_DEVICE_TYPE(pub i32); -impl ::core::marker::Copy for DXVAHD_DEVICE_TYPE {} -impl ::core::clone::Clone for DXVAHD_DEVICE_TYPE { +pub struct D3D12_VIDEO_PROCESS_FILTER(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FILTER {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FILTER { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_DEVICE_TYPE { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_FILTER { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_DEVICE_TYPE { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FILTER { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_DEVICE_TYPE { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FILTER { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_DEVICE_TYPE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_FILTER").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_DEVICE_USAGE(pub i32); -impl ::core::marker::Copy for DXVAHD_DEVICE_USAGE {} -impl ::core::clone::Clone for DXVAHD_DEVICE_USAGE { +pub struct D3D12_VIDEO_PROCESS_FILTER_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_FILTER_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_FILTER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_DEVICE_USAGE { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_FILTER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_DEVICE_USAGE { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_FILTER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_DEVICE_USAGE { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_FILTER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_DEVICE_USAGE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_FILTER_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_FEATURE_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_FEATURE_CAPS {} -impl ::core::clone::Clone for DXVAHD_FEATURE_CAPS { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_FILTER_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_FEATURE_CAPS { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_FILTER_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_FEATURE_CAPS { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_FILTER_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_FEATURE_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_FEATURE_CAPS").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_FILTER_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_FILTER_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_FILTER_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_FILTER(pub i32); -impl ::core::marker::Copy for DXVAHD_FILTER {} -impl ::core::clone::Clone for DXVAHD_FILTER { +pub struct D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_FILTER { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_FILTER { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_FILTER { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_FILTER").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_FILTER_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_FILTER_CAPS {} -impl ::core::clone::Clone for DXVAHD_FILTER_CAPS { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_FILTER_CAPS { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_FILTER_CAPS { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_FILTER_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_FILTER_CAPS").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_INPUT_STREAM_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_FRAME_FORMAT(pub i32); -impl ::core::marker::Copy for DXVAHD_FRAME_FORMAT {} -impl ::core::clone::Clone for DXVAHD_FRAME_FORMAT { +pub struct D3D12_VIDEO_PROCESS_ORIENTATION(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_ORIENTATION {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_ORIENTATION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_FRAME_FORMAT { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_ORIENTATION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_FRAME_FORMAT { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_ORIENTATION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_FRAME_FORMAT { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_ORIENTATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_FRAME_FORMAT").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_ORIENTATION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_INPUT_FORMAT_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_INPUT_FORMAT_CAPS {} -impl ::core::clone::Clone for DXVAHD_INPUT_FORMAT_CAPS { +pub struct D3D12_VIDEO_PROCESS_SUPPORT_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_INPUT_FORMAT_CAPS { +impl ::core::default::Default for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_INPUT_FORMAT_CAPS { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_INPUT_FORMAT_CAPS { +impl ::core::fmt::Debug for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_INPUT_FORMAT_CAPS").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROCESS_SUPPORT_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_ITELECINE_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_ITELECINE_CAPS {} -impl ::core::clone::Clone for DXVAHD_ITELECINE_CAPS { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_ITELECINE_CAPS { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_ITELECINE_CAPS { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_ITELECINE_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_ITELECINE_CAPS").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_PROCESS_SUPPORT_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_OUTPUT_RATE(pub i32); -impl ::core::marker::Copy for DXVAHD_OUTPUT_RATE {} -impl ::core::clone::Clone for DXVAHD_OUTPUT_RATE { +pub struct D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_OUTPUT_RATE { +impl ::core::default::Default for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_OUTPUT_RATE { +impl ::windows_core::TypeKind for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_OUTPUT_RATE { +impl ::core::fmt::Debug for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_OUTPUT_RATE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_PROCESSOR_CAPS(pub i32); -impl ::core::marker::Copy for DXVAHD_PROCESSOR_CAPS {} -impl ::core::clone::Clone for DXVAHD_PROCESSOR_CAPS { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_PROCESSOR_CAPS { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_PROCESSOR_CAPS { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_PROCESSOR_CAPS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_PROCESSOR_CAPS").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_STREAM_STATE(pub i32); -impl ::core::marker::Copy for DXVAHD_STREAM_STATE {} -impl ::core::clone::Clone for DXVAHD_STREAM_STATE { +pub struct D3D12_VIDEO_SCALE_SUPPORT_FLAGS(pub i32); +impl ::core::marker::Copy for D3D12_VIDEO_SCALE_SUPPORT_FLAGS {} +impl ::core::clone::Clone for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVAHD_STREAM_STATE { +impl ::core::default::Default for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVAHD_STREAM_STATE { +impl ::windows_core::TypeKind for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVAHD_STREAM_STATE { +impl ::core::fmt::Debug for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_STREAM_STATE").field(&self.0).finish() + f.debug_tuple("D3D12_VIDEO_SCALE_SUPPORT_FLAGS").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVAHD_SURFACE_TYPE(pub i32); -impl ::core::marker::Copy for DXVAHD_SURFACE_TYPE {} -impl ::core::clone::Clone for DXVAHD_SURFACE_TYPE { - fn clone(&self) -> Self { - *self +impl D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for DXVAHD_SURFACE_TYPE { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for DXVAHD_SURFACE_TYPE { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for DXVAHD_SURFACE_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVAHD_SURFACE_TYPE").field(&self.0).finish() +impl ::core::ops::BitOrAssign for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for D3D12_VIDEO_SCALE_SUPPORT_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_DeinterlaceTech(pub i32); -impl ::core::marker::Copy for DXVA_DeinterlaceTech {} -impl ::core::clone::Clone for DXVA_DeinterlaceTech { +pub struct DXVA2_BufferfType(pub i32); +impl ::core::marker::Copy for DXVA2_BufferfType {} +impl ::core::clone::Clone for DXVA2_BufferfType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_DeinterlaceTech { +impl ::core::default::Default for DXVA2_BufferfType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_DeinterlaceTech { +impl ::windows_core::TypeKind for DXVA2_BufferfType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_DeinterlaceTech { +impl ::core::fmt::Debug for DXVA2_BufferfType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_DeinterlaceTech").field(&self.0).finish() + f.debug_tuple("DXVA2_BufferfType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_DestinationFlags(pub i32); -impl ::core::marker::Copy for DXVA_DestinationFlags {} -impl ::core::clone::Clone for DXVA_DestinationFlags { +pub struct DXVA2_DeinterlaceTech(pub i32); +impl ::core::marker::Copy for DXVA2_DeinterlaceTech {} +impl ::core::clone::Clone for DXVA2_DeinterlaceTech { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_DestinationFlags { +impl ::core::default::Default for DXVA2_DeinterlaceTech { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_DestinationFlags { +impl ::windows_core::TypeKind for DXVA2_DeinterlaceTech { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_DestinationFlags { +impl ::core::fmt::Debug for DXVA2_DeinterlaceTech { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_DestinationFlags").field(&self.0).finish() + f.debug_tuple("DXVA2_DeinterlaceTech").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_NominalRange(pub i32); -impl ::core::marker::Copy for DXVA_NominalRange {} -impl ::core::clone::Clone for DXVA_NominalRange { +pub struct DXVA2_DestData(pub i32); +impl ::core::marker::Copy for DXVA2_DestData {} +impl ::core::clone::Clone for DXVA2_DestData { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_NominalRange { +impl ::core::default::Default for DXVA2_DestData { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_NominalRange { +impl ::windows_core::TypeKind for DXVA2_DestData { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_NominalRange { +impl ::core::fmt::Debug for DXVA2_DestData { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_NominalRange").field(&self.0).finish() + f.debug_tuple("DXVA2_DestData").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_ProcAmpControlProp(pub i32); -impl ::core::marker::Copy for DXVA_ProcAmpControlProp {} -impl ::core::clone::Clone for DXVA_ProcAmpControlProp { +pub struct DXVA2_DetailFilterTech(pub i32); +impl ::core::marker::Copy for DXVA2_DetailFilterTech {} +impl ::core::clone::Clone for DXVA2_DetailFilterTech { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_ProcAmpControlProp { +impl ::core::default::Default for DXVA2_DetailFilterTech { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_ProcAmpControlProp { +impl ::windows_core::TypeKind for DXVA2_DetailFilterTech { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_ProcAmpControlProp { +impl ::core::fmt::Debug for DXVA2_DetailFilterTech { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_ProcAmpControlProp").field(&self.0).finish() + f.debug_tuple("DXVA2_DetailFilterTech").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_SampleFlags(pub i32); -impl ::core::marker::Copy for DXVA_SampleFlags {} -impl ::core::clone::Clone for DXVA_SampleFlags { +pub struct DXVA2_FilterType(pub i32); +impl ::core::marker::Copy for DXVA2_FilterType {} +impl ::core::clone::Clone for DXVA2_FilterType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_SampleFlags { +impl ::core::default::Default for DXVA2_FilterType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_SampleFlags { +impl ::windows_core::TypeKind for DXVA2_FilterType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_SampleFlags { +impl ::core::fmt::Debug for DXVA2_FilterType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_SampleFlags").field(&self.0).finish() + f.debug_tuple("DXVA2_FilterType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_SampleFormat(pub i32); -impl ::core::marker::Copy for DXVA_SampleFormat {} -impl ::core::clone::Clone for DXVA_SampleFormat { +pub struct DXVA2_NoiseFilterTech(pub i32); +impl ::core::marker::Copy for DXVA2_NoiseFilterTech {} +impl ::core::clone::Clone for DXVA2_NoiseFilterTech { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_SampleFormat { +impl ::core::default::Default for DXVA2_NoiseFilterTech { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_SampleFormat { +impl ::windows_core::TypeKind for DXVA2_NoiseFilterTech { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_SampleFormat { +impl ::core::fmt::Debug for DXVA2_NoiseFilterTech { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_SampleFormat").field(&self.0).finish() + f.debug_tuple("DXVA2_NoiseFilterTech").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoChromaSubsampling(pub i32); -impl ::core::marker::Copy for DXVA_VideoChromaSubsampling {} -impl ::core::clone::Clone for DXVA_VideoChromaSubsampling { +pub struct DXVA2_NominalRange(pub i32); +impl ::core::marker::Copy for DXVA2_NominalRange {} +impl ::core::clone::Clone for DXVA2_NominalRange { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoChromaSubsampling { +impl ::core::default::Default for DXVA2_NominalRange { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoChromaSubsampling { +impl ::windows_core::TypeKind for DXVA2_NominalRange { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoChromaSubsampling { +impl ::core::fmt::Debug for DXVA2_NominalRange { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoChromaSubsampling").field(&self.0).finish() + f.debug_tuple("DXVA2_NominalRange").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoLighting(pub i32); -impl ::core::marker::Copy for DXVA_VideoLighting {} -impl ::core::clone::Clone for DXVA_VideoLighting { +pub struct DXVA2_ProcAmp(pub i32); +impl ::core::marker::Copy for DXVA2_ProcAmp {} +impl ::core::clone::Clone for DXVA2_ProcAmp { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoLighting { +impl ::core::default::Default for DXVA2_ProcAmp { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoLighting { +impl ::windows_core::TypeKind for DXVA2_ProcAmp { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoLighting { +impl ::core::fmt::Debug for DXVA2_ProcAmp { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoLighting").field(&self.0).finish() + f.debug_tuple("DXVA2_ProcAmp").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoPrimaries(pub i32); -impl ::core::marker::Copy for DXVA_VideoPrimaries {} -impl ::core::clone::Clone for DXVA_VideoPrimaries { +pub struct DXVA2_SampleData(pub i32); +impl ::core::marker::Copy for DXVA2_SampleData {} +impl ::core::clone::Clone for DXVA2_SampleData { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoPrimaries { +impl ::core::default::Default for DXVA2_SampleData { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoPrimaries { +impl ::windows_core::TypeKind for DXVA2_SampleData { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoPrimaries { +impl ::core::fmt::Debug for DXVA2_SampleData { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoPrimaries").field(&self.0).finish() + f.debug_tuple("DXVA2_SampleData").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoProcessCaps(pub i32); -impl ::core::marker::Copy for DXVA_VideoProcessCaps {} -impl ::core::clone::Clone for DXVA_VideoProcessCaps { +pub struct DXVA2_SampleFormat(pub i32); +impl ::core::marker::Copy for DXVA2_SampleFormat {} +impl ::core::clone::Clone for DXVA2_SampleFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoProcessCaps { +impl ::core::default::Default for DXVA2_SampleFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoProcessCaps { +impl ::windows_core::TypeKind for DXVA2_SampleFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoProcessCaps { +impl ::core::fmt::Debug for DXVA2_SampleFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoProcessCaps").field(&self.0).finish() + f.debug_tuple("DXVA2_SampleFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoTransferFunction(pub i32); -impl ::core::marker::Copy for DXVA_VideoTransferFunction {} -impl ::core::clone::Clone for DXVA_VideoTransferFunction { +pub struct DXVA2_SurfaceType(pub i32); +impl ::core::marker::Copy for DXVA2_SurfaceType {} +impl ::core::clone::Clone for DXVA2_SurfaceType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoTransferFunction { +impl ::core::default::Default for DXVA2_SurfaceType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoTransferFunction { +impl ::windows_core::TypeKind for DXVA2_SurfaceType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoTransferFunction { +impl ::core::fmt::Debug for DXVA2_SurfaceType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoTransferFunction").field(&self.0).finish() + f.debug_tuple("DXVA2_SurfaceType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXVA_VideoTransferMatrix(pub i32); -impl ::core::marker::Copy for DXVA_VideoTransferMatrix {} -impl ::core::clone::Clone for DXVA_VideoTransferMatrix { +pub struct DXVA2_VPDev(pub i32); +impl ::core::marker::Copy for DXVA2_VPDev {} +impl ::core::clone::Clone for DXVA2_VPDev { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DXVA_VideoTransferMatrix { +impl ::core::default::Default for DXVA2_VPDev { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DXVA_VideoTransferMatrix { +impl ::windows_core::TypeKind for DXVA2_VPDev { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DXVA_VideoTransferMatrix { +impl ::core::fmt::Debug for DXVA2_VPDev { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DXVA_VideoTransferMatrix").field(&self.0).finish() + f.debug_tuple("DXVA2_VPDev").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DeviceStreamState(pub i32); -impl ::core::marker::Copy for DeviceStreamState {} -impl ::core::clone::Clone for DeviceStreamState { +pub struct DXVA2_VideoChromaSubSampling(pub i32); +impl ::core::marker::Copy for DXVA2_VideoChromaSubSampling {} +impl ::core::clone::Clone for DXVA2_VideoChromaSubSampling { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for DeviceStreamState { +impl ::core::default::Default for DXVA2_VideoChromaSubSampling { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for DeviceStreamState { +impl ::windows_core::TypeKind for DXVA2_VideoChromaSubSampling { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for DeviceStreamState { +impl ::core::fmt::Debug for DXVA2_VideoChromaSubSampling { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("DeviceStreamState").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoChromaSubSampling").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct EAllocationType(pub i32); -impl ::core::marker::Copy for EAllocationType {} -impl ::core::clone::Clone for EAllocationType { +pub struct DXVA2_VideoLighting(pub i32); +impl ::core::marker::Copy for DXVA2_VideoLighting {} +impl ::core::clone::Clone for DXVA2_VideoLighting { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for EAllocationType { +impl ::core::default::Default for DXVA2_VideoLighting { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for EAllocationType { +impl ::windows_core::TypeKind for DXVA2_VideoLighting { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for EAllocationType { +impl ::core::fmt::Debug for DXVA2_VideoLighting { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EAllocationType").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoLighting").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct EVRFilterConfigPrefs(pub i32); -impl ::core::marker::Copy for EVRFilterConfigPrefs {} -impl ::core::clone::Clone for EVRFilterConfigPrefs { +pub struct DXVA2_VideoPrimaries(pub i32); +impl ::core::marker::Copy for DXVA2_VideoPrimaries {} +impl ::core::clone::Clone for DXVA2_VideoPrimaries { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for EVRFilterConfigPrefs { +impl ::core::default::Default for DXVA2_VideoPrimaries { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for EVRFilterConfigPrefs { +impl ::windows_core::TypeKind for DXVA2_VideoPrimaries { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for EVRFilterConfigPrefs { +impl ::core::fmt::Debug for DXVA2_VideoPrimaries { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("EVRFilterConfigPrefs").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoPrimaries").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct FILE_ACCESSMODE(pub i32); -impl ::core::marker::Copy for FILE_ACCESSMODE {} -impl ::core::clone::Clone for FILE_ACCESSMODE { +pub struct DXVA2_VideoProcess(pub i32); +impl ::core::marker::Copy for DXVA2_VideoProcess {} +impl ::core::clone::Clone for DXVA2_VideoProcess { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for FILE_ACCESSMODE { +impl ::core::default::Default for DXVA2_VideoProcess { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for FILE_ACCESSMODE { +impl ::windows_core::TypeKind for DXVA2_VideoProcess { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for FILE_ACCESSMODE { +impl ::core::fmt::Debug for DXVA2_VideoProcess { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FILE_ACCESSMODE").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoProcess").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct FILE_OPENMODE(pub i32); -impl ::core::marker::Copy for FILE_OPENMODE {} -impl ::core::clone::Clone for FILE_OPENMODE { +pub struct DXVA2_VideoRenderTargetType(pub i32); +impl ::core::marker::Copy for DXVA2_VideoRenderTargetType {} +impl ::core::clone::Clone for DXVA2_VideoRenderTargetType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for FILE_OPENMODE { +impl ::core::default::Default for DXVA2_VideoRenderTargetType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for FILE_OPENMODE { +impl ::windows_core::TypeKind for DXVA2_VideoRenderTargetType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for FILE_OPENMODE { +impl ::core::fmt::Debug for DXVA2_VideoRenderTargetType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("FILE_OPENMODE").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoRenderTargetType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct KSMETHOD_OPMVIDEOOUTPUT(pub i32); -impl ::core::marker::Copy for KSMETHOD_OPMVIDEOOUTPUT {} -impl ::core::clone::Clone for KSMETHOD_OPMVIDEOOUTPUT { +pub struct DXVA2_VideoTransferFunction(pub i32); +impl ::core::marker::Copy for DXVA2_VideoTransferFunction {} +impl ::core::clone::Clone for DXVA2_VideoTransferFunction { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for KSMETHOD_OPMVIDEOOUTPUT { +impl ::core::default::Default for DXVA2_VideoTransferFunction { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for KSMETHOD_OPMVIDEOOUTPUT { +impl ::windows_core::TypeKind for DXVA2_VideoTransferFunction { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for KSMETHOD_OPMVIDEOOUTPUT { +impl ::core::fmt::Debug for DXVA2_VideoTransferFunction { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("KSMETHOD_OPMVIDEOOUTPUT").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoTransferFunction").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS(pub u32); -impl ::core::marker::Copy for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS {} -impl ::core::clone::Clone for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { +pub struct DXVA2_VideoTransferMatrix(pub i32); +impl ::core::marker::Copy for DXVA2_VideoTransferMatrix {} +impl ::core::clone::Clone for DXVA2_VideoTransferMatrix { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { +impl ::core::default::Default for DXVA2_VideoTransferMatrix { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { +impl ::windows_core::TypeKind for DXVA2_VideoTransferMatrix { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { +impl ::core::fmt::Debug for DXVA2_VideoTransferMatrix { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVA2_VideoTransferMatrix").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF2DBuffer_LockFlags(pub i32); -impl ::core::marker::Copy for MF2DBuffer_LockFlags {} -impl ::core::clone::Clone for MF2DBuffer_LockFlags { +pub struct DXVAHD_ALPHA_FILL_MODE(pub i32); +impl ::core::marker::Copy for DXVAHD_ALPHA_FILL_MODE {} +impl ::core::clone::Clone for DXVAHD_ALPHA_FILL_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF2DBuffer_LockFlags { +impl ::core::default::Default for DXVAHD_ALPHA_FILL_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF2DBuffer_LockFlags { +impl ::windows_core::TypeKind for DXVAHD_ALPHA_FILL_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF2DBuffer_LockFlags { +impl ::core::fmt::Debug for DXVAHD_ALPHA_FILL_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF2DBuffer_LockFlags").field(&self.0).finish() + f.debug_tuple("DXVAHD_ALPHA_FILL_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF3DVideoOutputType(pub i32); -impl ::core::marker::Copy for MF3DVideoOutputType {} -impl ::core::clone::Clone for MF3DVideoOutputType { +pub struct DXVAHD_BLT_STATE(pub i32); +impl ::core::marker::Copy for DXVAHD_BLT_STATE {} +impl ::core::clone::Clone for DXVAHD_BLT_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF3DVideoOutputType { +impl ::core::default::Default for DXVAHD_BLT_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF3DVideoOutputType { +impl ::windows_core::TypeKind for DXVAHD_BLT_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF3DVideoOutputType { +impl ::core::fmt::Debug for DXVAHD_BLT_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF3DVideoOutputType").field(&self.0).finish() + f.debug_tuple("DXVAHD_BLT_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFASF_INDEXER_FLAGS(pub i32); -impl ::core::marker::Copy for MFASF_INDEXER_FLAGS {} -impl ::core::clone::Clone for MFASF_INDEXER_FLAGS { +pub struct DXVAHD_DEVICE_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_DEVICE_CAPS {} +impl ::core::clone::Clone for DXVAHD_DEVICE_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFASF_INDEXER_FLAGS { +impl ::core::default::Default for DXVAHD_DEVICE_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFASF_INDEXER_FLAGS { +impl ::windows_core::TypeKind for DXVAHD_DEVICE_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFASF_INDEXER_FLAGS { +impl ::core::fmt::Debug for DXVAHD_DEVICE_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASF_INDEXER_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_DEVICE_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFASF_MULTIPLEXERFLAGS(pub i32); -impl ::core::marker::Copy for MFASF_MULTIPLEXERFLAGS {} -impl ::core::clone::Clone for MFASF_MULTIPLEXERFLAGS { +pub struct DXVAHD_DEVICE_TYPE(pub i32); +impl ::core::marker::Copy for DXVAHD_DEVICE_TYPE {} +impl ::core::clone::Clone for DXVAHD_DEVICE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFASF_MULTIPLEXERFLAGS { +impl ::core::default::Default for DXVAHD_DEVICE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFASF_MULTIPLEXERFLAGS { +impl ::windows_core::TypeKind for DXVAHD_DEVICE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFASF_MULTIPLEXERFLAGS { +impl ::core::fmt::Debug for DXVAHD_DEVICE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASF_MULTIPLEXERFLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_DEVICE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFASF_SPLITTERFLAGS(pub i32); -impl ::core::marker::Copy for MFASF_SPLITTERFLAGS {} -impl ::core::clone::Clone for MFASF_SPLITTERFLAGS { +pub struct DXVAHD_DEVICE_USAGE(pub i32); +impl ::core::marker::Copy for DXVAHD_DEVICE_USAGE {} +impl ::core::clone::Clone for DXVAHD_DEVICE_USAGE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFASF_SPLITTERFLAGS { +impl ::core::default::Default for DXVAHD_DEVICE_USAGE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFASF_SPLITTERFLAGS { +impl ::windows_core::TypeKind for DXVAHD_DEVICE_USAGE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFASF_SPLITTERFLAGS { +impl ::core::fmt::Debug for DXVAHD_DEVICE_USAGE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASF_SPLITTERFLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_DEVICE_USAGE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFASF_STREAMSELECTOR_FLAGS(pub i32); -impl ::core::marker::Copy for MFASF_STREAMSELECTOR_FLAGS {} -impl ::core::clone::Clone for MFASF_STREAMSELECTOR_FLAGS { +pub struct DXVAHD_FEATURE_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_FEATURE_CAPS {} +impl ::core::clone::Clone for DXVAHD_FEATURE_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFASF_STREAMSELECTOR_FLAGS { +impl ::core::default::Default for DXVAHD_FEATURE_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFASF_STREAMSELECTOR_FLAGS { +impl ::windows_core::TypeKind for DXVAHD_FEATURE_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFASF_STREAMSELECTOR_FLAGS { +impl ::core::fmt::Debug for DXVAHD_FEATURE_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASF_STREAMSELECTOR_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_FEATURE_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFASYNC_WORKQUEUE_TYPE(pub i32); -impl ::core::marker::Copy for MFASYNC_WORKQUEUE_TYPE {} -impl ::core::clone::Clone for MFASYNC_WORKQUEUE_TYPE { +pub struct DXVAHD_FILTER(pub i32); +impl ::core::marker::Copy for DXVAHD_FILTER {} +impl ::core::clone::Clone for DXVAHD_FILTER { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFASYNC_WORKQUEUE_TYPE { +impl ::core::default::Default for DXVAHD_FILTER { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFASYNC_WORKQUEUE_TYPE { +impl ::windows_core::TypeKind for DXVAHD_FILTER { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFASYNC_WORKQUEUE_TYPE { +impl ::core::fmt::Debug for DXVAHD_FILTER { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFASYNC_WORKQUEUE_TYPE").field(&self.0).finish() + f.debug_tuple("DXVAHD_FILTER").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFAudioConstriction(pub i32); -impl ::core::marker::Copy for MFAudioConstriction {} -impl ::core::clone::Clone for MFAudioConstriction { +pub struct DXVAHD_FILTER_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_FILTER_CAPS {} +impl ::core::clone::Clone for DXVAHD_FILTER_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFAudioConstriction { +impl ::core::default::Default for DXVAHD_FILTER_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFAudioConstriction { +impl ::windows_core::TypeKind for DXVAHD_FILTER_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFAudioConstriction { +impl ::core::fmt::Debug for DXVAHD_FILTER_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFAudioConstriction").field(&self.0).finish() + f.debug_tuple("DXVAHD_FILTER_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFBYTESTREAM_SEEK_ORIGIN(pub i32); -impl ::core::marker::Copy for MFBYTESTREAM_SEEK_ORIGIN {} -impl ::core::clone::Clone for MFBYTESTREAM_SEEK_ORIGIN { +pub struct DXVAHD_FRAME_FORMAT(pub i32); +impl ::core::marker::Copy for DXVAHD_FRAME_FORMAT {} +impl ::core::clone::Clone for DXVAHD_FRAME_FORMAT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFBYTESTREAM_SEEK_ORIGIN { +impl ::core::default::Default for DXVAHD_FRAME_FORMAT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFBYTESTREAM_SEEK_ORIGIN { +impl ::windows_core::TypeKind for DXVAHD_FRAME_FORMAT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFBYTESTREAM_SEEK_ORIGIN { +impl ::core::fmt::Debug for DXVAHD_FRAME_FORMAT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFBYTESTREAM_SEEK_ORIGIN").field(&self.0).finish() + f.debug_tuple("DXVAHD_FRAME_FORMAT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFCLOCK_CHARACTERISTICS_FLAGS(pub i32); -impl ::core::marker::Copy for MFCLOCK_CHARACTERISTICS_FLAGS {} -impl ::core::clone::Clone for MFCLOCK_CHARACTERISTICS_FLAGS { +pub struct DXVAHD_INPUT_FORMAT_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_INPUT_FORMAT_CAPS {} +impl ::core::clone::Clone for DXVAHD_INPUT_FORMAT_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFCLOCK_CHARACTERISTICS_FLAGS { +impl ::core::default::Default for DXVAHD_INPUT_FORMAT_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFCLOCK_CHARACTERISTICS_FLAGS { +impl ::windows_core::TypeKind for DXVAHD_INPUT_FORMAT_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFCLOCK_CHARACTERISTICS_FLAGS { +impl ::core::fmt::Debug for DXVAHD_INPUT_FORMAT_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFCLOCK_CHARACTERISTICS_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_INPUT_FORMAT_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFCLOCK_RELATIONAL_FLAGS(pub i32); -impl ::core::marker::Copy for MFCLOCK_RELATIONAL_FLAGS {} -impl ::core::clone::Clone for MFCLOCK_RELATIONAL_FLAGS { +pub struct DXVAHD_ITELECINE_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_ITELECINE_CAPS {} +impl ::core::clone::Clone for DXVAHD_ITELECINE_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFCLOCK_RELATIONAL_FLAGS { +impl ::core::default::Default for DXVAHD_ITELECINE_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFCLOCK_RELATIONAL_FLAGS { +impl ::windows_core::TypeKind for DXVAHD_ITELECINE_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFCLOCK_RELATIONAL_FLAGS { +impl ::core::fmt::Debug for DXVAHD_ITELECINE_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFCLOCK_RELATIONAL_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVAHD_ITELECINE_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFCLOCK_STATE(pub i32); -impl ::core::marker::Copy for MFCLOCK_STATE {} -impl ::core::clone::Clone for MFCLOCK_STATE { +pub struct DXVAHD_OUTPUT_RATE(pub i32); +impl ::core::marker::Copy for DXVAHD_OUTPUT_RATE {} +impl ::core::clone::Clone for DXVAHD_OUTPUT_RATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFCLOCK_STATE { +impl ::core::default::Default for DXVAHD_OUTPUT_RATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFCLOCK_STATE { +impl ::windows_core::TypeKind for DXVAHD_OUTPUT_RATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFCLOCK_STATE { +impl ::core::fmt::Debug for DXVAHD_OUTPUT_RATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFCLOCK_STATE").field(&self.0).finish() + f.debug_tuple("DXVAHD_OUTPUT_RATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFCameraIntrinsic_DistortionModelType(pub i32); -impl ::core::marker::Copy for MFCameraIntrinsic_DistortionModelType {} -impl ::core::clone::Clone for MFCameraIntrinsic_DistortionModelType { +pub struct DXVAHD_PROCESSOR_CAPS(pub i32); +impl ::core::marker::Copy for DXVAHD_PROCESSOR_CAPS {} +impl ::core::clone::Clone for DXVAHD_PROCESSOR_CAPS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFCameraIntrinsic_DistortionModelType { +impl ::core::default::Default for DXVAHD_PROCESSOR_CAPS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFCameraIntrinsic_DistortionModelType { +impl ::windows_core::TypeKind for DXVAHD_PROCESSOR_CAPS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFCameraIntrinsic_DistortionModelType { +impl ::core::fmt::Debug for DXVAHD_PROCESSOR_CAPS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFCameraIntrinsic_DistortionModelType").field(&self.0).finish() + f.debug_tuple("DXVAHD_PROCESSOR_CAPS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFCameraOcclusionState(pub i32); -impl ::core::marker::Copy for MFCameraOcclusionState {} -impl ::core::clone::Clone for MFCameraOcclusionState { +pub struct DXVAHD_STREAM_STATE(pub i32); +impl ::core::marker::Copy for DXVAHD_STREAM_STATE {} +impl ::core::clone::Clone for DXVAHD_STREAM_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFCameraOcclusionState { +impl ::core::default::Default for DXVAHD_STREAM_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFCameraOcclusionState { +impl ::windows_core::TypeKind for DXVAHD_STREAM_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFCameraOcclusionState { +impl ::core::fmt::Debug for DXVAHD_STREAM_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFCameraOcclusionState").field(&self.0).finish() - } -} -impl MFCameraOcclusionState { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for MFCameraOcclusionState { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) - } -} -impl ::core::ops::BitAnd for MFCameraOcclusionState { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) - } -} -impl ::core::ops::BitOrAssign for MFCameraOcclusionState { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) - } -} -impl ::core::ops::BitAndAssign for MFCameraOcclusionState { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } -} -impl ::core::ops::Not for MFCameraOcclusionState { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) + f.debug_tuple("DXVAHD_STREAM_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFDepthMeasurement(pub i32); -impl ::core::marker::Copy for MFDepthMeasurement {} -impl ::core::clone::Clone for MFDepthMeasurement { +pub struct DXVAHD_SURFACE_TYPE(pub i32); +impl ::core::marker::Copy for DXVAHD_SURFACE_TYPE {} +impl ::core::clone::Clone for DXVAHD_SURFACE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFDepthMeasurement { +impl ::core::default::Default for DXVAHD_SURFACE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFDepthMeasurement { +impl ::windows_core::TypeKind for DXVAHD_SURFACE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFDepthMeasurement { +impl ::core::fmt::Debug for DXVAHD_SURFACE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFDepthMeasurement").field(&self.0).finish() + f.debug_tuple("DXVAHD_SURFACE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFFrameSourceTypes(pub i32); -impl ::core::marker::Copy for MFFrameSourceTypes {} -impl ::core::clone::Clone for MFFrameSourceTypes { +pub struct DXVA_DeinterlaceTech(pub i32); +impl ::core::marker::Copy for DXVA_DeinterlaceTech {} +impl ::core::clone::Clone for DXVA_DeinterlaceTech { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFFrameSourceTypes { +impl ::core::default::Default for DXVA_DeinterlaceTech { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFFrameSourceTypes { +impl ::windows_core::TypeKind for DXVA_DeinterlaceTech { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFFrameSourceTypes { +impl ::core::fmt::Debug for DXVA_DeinterlaceTech { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFFrameSourceTypes").field(&self.0).finish() + f.debug_tuple("DXVA_DeinterlaceTech").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFMEDIASOURCE_CHARACTERISTICS(pub i32); -impl ::core::marker::Copy for MFMEDIASOURCE_CHARACTERISTICS {} -impl ::core::clone::Clone for MFMEDIASOURCE_CHARACTERISTICS { +pub struct DXVA_DestinationFlags(pub i32); +impl ::core::marker::Copy for DXVA_DestinationFlags {} +impl ::core::clone::Clone for DXVA_DestinationFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFMEDIASOURCE_CHARACTERISTICS { +impl ::core::default::Default for DXVA_DestinationFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFMEDIASOURCE_CHARACTERISTICS { +impl ::windows_core::TypeKind for DXVA_DestinationFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFMEDIASOURCE_CHARACTERISTICS { +impl ::core::fmt::Debug for DXVA_DestinationFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFMEDIASOURCE_CHARACTERISTICS").field(&self.0).finish() + f.debug_tuple("DXVA_DestinationFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNETSOURCE_CACHE_STATE(pub i32); -impl ::core::marker::Copy for MFNETSOURCE_CACHE_STATE {} -impl ::core::clone::Clone for MFNETSOURCE_CACHE_STATE { +pub struct DXVA_NominalRange(pub i32); +impl ::core::marker::Copy for DXVA_NominalRange {} +impl ::core::clone::Clone for DXVA_NominalRange { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNETSOURCE_CACHE_STATE { +impl ::core::default::Default for DXVA_NominalRange { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNETSOURCE_CACHE_STATE { +impl ::windows_core::TypeKind for DXVA_NominalRange { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNETSOURCE_CACHE_STATE { +impl ::core::fmt::Debug for DXVA_NominalRange { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNETSOURCE_CACHE_STATE").field(&self.0).finish() + f.debug_tuple("DXVA_NominalRange").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNETSOURCE_PROTOCOL_TYPE(pub i32); -impl ::core::marker::Copy for MFNETSOURCE_PROTOCOL_TYPE {} -impl ::core::clone::Clone for MFNETSOURCE_PROTOCOL_TYPE { +pub struct DXVA_ProcAmpControlProp(pub i32); +impl ::core::marker::Copy for DXVA_ProcAmpControlProp {} +impl ::core::clone::Clone for DXVA_ProcAmpControlProp { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNETSOURCE_PROTOCOL_TYPE { +impl ::core::default::Default for DXVA_ProcAmpControlProp { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNETSOURCE_PROTOCOL_TYPE { +impl ::windows_core::TypeKind for DXVA_ProcAmpControlProp { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNETSOURCE_PROTOCOL_TYPE { +impl ::core::fmt::Debug for DXVA_ProcAmpControlProp { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNETSOURCE_PROTOCOL_TYPE").field(&self.0).finish() + f.debug_tuple("DXVA_ProcAmpControlProp").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNETSOURCE_STATISTICS_IDS(pub i32); -impl ::core::marker::Copy for MFNETSOURCE_STATISTICS_IDS {} -impl ::core::clone::Clone for MFNETSOURCE_STATISTICS_IDS { +pub struct DXVA_SampleFlags(pub i32); +impl ::core::marker::Copy for DXVA_SampleFlags {} +impl ::core::clone::Clone for DXVA_SampleFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNETSOURCE_STATISTICS_IDS { +impl ::core::default::Default for DXVA_SampleFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNETSOURCE_STATISTICS_IDS { +impl ::windows_core::TypeKind for DXVA_SampleFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNETSOURCE_STATISTICS_IDS { +impl ::core::fmt::Debug for DXVA_SampleFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNETSOURCE_STATISTICS_IDS").field(&self.0).finish() + f.debug_tuple("DXVA_SampleFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNETSOURCE_TRANSPORT_TYPE(pub i32); -impl ::core::marker::Copy for MFNETSOURCE_TRANSPORT_TYPE {} -impl ::core::clone::Clone for MFNETSOURCE_TRANSPORT_TYPE { +pub struct DXVA_SampleFormat(pub i32); +impl ::core::marker::Copy for DXVA_SampleFormat {} +impl ::core::clone::Clone for DXVA_SampleFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNETSOURCE_TRANSPORT_TYPE { +impl ::core::default::Default for DXVA_SampleFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNETSOURCE_TRANSPORT_TYPE { +impl ::windows_core::TypeKind for DXVA_SampleFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNETSOURCE_TRANSPORT_TYPE { +impl ::core::fmt::Debug for DXVA_SampleFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNETSOURCE_TRANSPORT_TYPE").field(&self.0).finish() + f.debug_tuple("DXVA_SampleFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNET_PROXYSETTINGS(pub i32); -impl ::core::marker::Copy for MFNET_PROXYSETTINGS {} -impl ::core::clone::Clone for MFNET_PROXYSETTINGS { +pub struct DXVA_VideoChromaSubsampling(pub i32); +impl ::core::marker::Copy for DXVA_VideoChromaSubsampling {} +impl ::core::clone::Clone for DXVA_VideoChromaSubsampling { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNET_PROXYSETTINGS { +impl ::core::default::Default for DXVA_VideoChromaSubsampling { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNET_PROXYSETTINGS { +impl ::windows_core::TypeKind for DXVA_VideoChromaSubsampling { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNET_PROXYSETTINGS { +impl ::core::fmt::Debug for DXVA_VideoChromaSubsampling { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNET_PROXYSETTINGS").field(&self.0).finish() + f.debug_tuple("DXVA_VideoChromaSubsampling").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNetAuthenticationFlags(pub i32); -impl ::core::marker::Copy for MFNetAuthenticationFlags {} -impl ::core::clone::Clone for MFNetAuthenticationFlags { +pub struct DXVA_VideoLighting(pub i32); +impl ::core::marker::Copy for DXVA_VideoLighting {} +impl ::core::clone::Clone for DXVA_VideoLighting { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNetAuthenticationFlags { +impl ::core::default::Default for DXVA_VideoLighting { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNetAuthenticationFlags { +impl ::windows_core::TypeKind for DXVA_VideoLighting { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNetAuthenticationFlags { +impl ::core::fmt::Debug for DXVA_VideoLighting { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNetAuthenticationFlags").field(&self.0).finish() + f.debug_tuple("DXVA_VideoLighting").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNetCredentialOptions(pub i32); -impl ::core::marker::Copy for MFNetCredentialOptions {} -impl ::core::clone::Clone for MFNetCredentialOptions { +pub struct DXVA_VideoPrimaries(pub i32); +impl ::core::marker::Copy for DXVA_VideoPrimaries {} +impl ::core::clone::Clone for DXVA_VideoPrimaries { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNetCredentialOptions { +impl ::core::default::Default for DXVA_VideoPrimaries { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNetCredentialOptions { +impl ::windows_core::TypeKind for DXVA_VideoPrimaries { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNetCredentialOptions { +impl ::core::fmt::Debug for DXVA_VideoPrimaries { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNetCredentialOptions").field(&self.0).finish() + f.debug_tuple("DXVA_VideoPrimaries").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNetCredentialRequirements(pub i32); -impl ::core::marker::Copy for MFNetCredentialRequirements {} -impl ::core::clone::Clone for MFNetCredentialRequirements { +pub struct DXVA_VideoProcessCaps(pub i32); +impl ::core::marker::Copy for DXVA_VideoProcessCaps {} +impl ::core::clone::Clone for DXVA_VideoProcessCaps { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNetCredentialRequirements { +impl ::core::default::Default for DXVA_VideoProcessCaps { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNetCredentialRequirements { +impl ::windows_core::TypeKind for DXVA_VideoProcessCaps { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNetCredentialRequirements { +impl ::core::fmt::Debug for DXVA_VideoProcessCaps { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNetCredentialRequirements").field(&self.0).finish() + f.debug_tuple("DXVA_VideoProcessCaps").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFNominalRange(pub i32); -impl ::core::marker::Copy for MFNominalRange {} -impl ::core::clone::Clone for MFNominalRange { +pub struct DXVA_VideoTransferFunction(pub i32); +impl ::core::marker::Copy for DXVA_VideoTransferFunction {} +impl ::core::clone::Clone for DXVA_VideoTransferFunction { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFNominalRange { +impl ::core::default::Default for DXVA_VideoTransferFunction { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFNominalRange { +impl ::windows_core::TypeKind for DXVA_VideoTransferFunction { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFNominalRange { +impl ::core::fmt::Debug for DXVA_VideoTransferFunction { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFNominalRange").field(&self.0).finish() + f.debug_tuple("DXVA_VideoTransferFunction").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFPMPSESSION_CREATION_FLAGS(pub i32); -impl ::core::marker::Copy for MFPMPSESSION_CREATION_FLAGS {} -impl ::core::clone::Clone for MFPMPSESSION_CREATION_FLAGS { +pub struct DXVA_VideoTransferMatrix(pub i32); +impl ::core::marker::Copy for DXVA_VideoTransferMatrix {} +impl ::core::clone::Clone for DXVA_VideoTransferMatrix { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFPMPSESSION_CREATION_FLAGS { +impl ::core::default::Default for DXVA_VideoTransferMatrix { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFPMPSESSION_CREATION_FLAGS { +impl ::windows_core::TypeKind for DXVA_VideoTransferMatrix { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFPMPSESSION_CREATION_FLAGS { +impl ::core::fmt::Debug for DXVA_VideoTransferMatrix { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFPMPSESSION_CREATION_FLAGS").field(&self.0).finish() + f.debug_tuple("DXVA_VideoTransferMatrix").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFPOLICYMANAGER_ACTION(pub i32); -impl ::core::marker::Copy for MFPOLICYMANAGER_ACTION {} -impl ::core::clone::Clone for MFPOLICYMANAGER_ACTION { +pub struct DeviceStreamState(pub i32); +impl ::core::marker::Copy for DeviceStreamState {} +impl ::core::clone::Clone for DeviceStreamState { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFPOLICYMANAGER_ACTION { +impl ::core::default::Default for DeviceStreamState { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFPOLICYMANAGER_ACTION { +impl ::windows_core::TypeKind for DeviceStreamState { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFPOLICYMANAGER_ACTION { +impl ::core::fmt::Debug for DeviceStreamState { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFPOLICYMANAGER_ACTION").field(&self.0).finish() + f.debug_tuple("DeviceStreamState").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFP_CREATION_OPTIONS(pub i32); -impl ::core::marker::Copy for MFP_CREATION_OPTIONS {} -impl ::core::clone::Clone for MFP_CREATION_OPTIONS { +pub struct EAllocationType(pub i32); +impl ::core::marker::Copy for EAllocationType {} +impl ::core::clone::Clone for EAllocationType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFP_CREATION_OPTIONS { +impl ::core::default::Default for EAllocationType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFP_CREATION_OPTIONS { +impl ::windows_core::TypeKind for EAllocationType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFP_CREATION_OPTIONS { +impl ::core::fmt::Debug for EAllocationType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFP_CREATION_OPTIONS").field(&self.0).finish() + f.debug_tuple("EAllocationType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFP_EVENT_TYPE(pub i32); -impl ::core::marker::Copy for MFP_EVENT_TYPE {} -impl ::core::clone::Clone for MFP_EVENT_TYPE { +pub struct EVRFilterConfigPrefs(pub i32); +impl ::core::marker::Copy for EVRFilterConfigPrefs {} +impl ::core::clone::Clone for EVRFilterConfigPrefs { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFP_EVENT_TYPE { +impl ::core::default::Default for EVRFilterConfigPrefs { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFP_EVENT_TYPE { +impl ::windows_core::TypeKind for EVRFilterConfigPrefs { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFP_EVENT_TYPE { +impl ::core::fmt::Debug for EVRFilterConfigPrefs { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFP_EVENT_TYPE").field(&self.0).finish() + f.debug_tuple("EVRFilterConfigPrefs").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFP_MEDIAPLAYER_STATE(pub i32); -impl ::core::marker::Copy for MFP_MEDIAPLAYER_STATE {} -impl ::core::clone::Clone for MFP_MEDIAPLAYER_STATE { +pub struct FILE_ACCESSMODE(pub i32); +impl ::core::marker::Copy for FILE_ACCESSMODE {} +impl ::core::clone::Clone for FILE_ACCESSMODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFP_MEDIAPLAYER_STATE { +impl ::core::default::Default for FILE_ACCESSMODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFP_MEDIAPLAYER_STATE { +impl ::windows_core::TypeKind for FILE_ACCESSMODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFP_MEDIAPLAYER_STATE { +impl ::core::fmt::Debug for FILE_ACCESSMODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFP_MEDIAPLAYER_STATE").field(&self.0).finish() + f.debug_tuple("FILE_ACCESSMODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFRATE_DIRECTION(pub i32); -impl ::core::marker::Copy for MFRATE_DIRECTION {} -impl ::core::clone::Clone for MFRATE_DIRECTION { +pub struct FILE_OPENMODE(pub i32); +impl ::core::marker::Copy for FILE_OPENMODE {} +impl ::core::clone::Clone for FILE_OPENMODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFRATE_DIRECTION { +impl ::core::default::Default for FILE_OPENMODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFRATE_DIRECTION { +impl ::windows_core::TypeKind for FILE_OPENMODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFRATE_DIRECTION { +impl ::core::fmt::Debug for FILE_OPENMODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFRATE_DIRECTION").field(&self.0).finish() + f.debug_tuple("FILE_OPENMODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSESSION_GETFULLTOPOLOGY_FLAGS(pub i32); -impl ::core::marker::Copy for MFSESSION_GETFULLTOPOLOGY_FLAGS {} -impl ::core::clone::Clone for MFSESSION_GETFULLTOPOLOGY_FLAGS { +pub struct KSMETHOD_OPMVIDEOOUTPUT(pub i32); +impl ::core::marker::Copy for KSMETHOD_OPMVIDEOOUTPUT {} +impl ::core::clone::Clone for KSMETHOD_OPMVIDEOOUTPUT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSESSION_GETFULLTOPOLOGY_FLAGS { +impl ::core::default::Default for KSMETHOD_OPMVIDEOOUTPUT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSESSION_GETFULLTOPOLOGY_FLAGS { +impl ::windows_core::TypeKind for KSMETHOD_OPMVIDEOOUTPUT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSESSION_GETFULLTOPOLOGY_FLAGS { +impl ::core::fmt::Debug for KSMETHOD_OPMVIDEOOUTPUT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSESSION_GETFULLTOPOLOGY_FLAGS").field(&self.0).finish() + f.debug_tuple("KSMETHOD_OPMVIDEOOUTPUT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSESSION_SETTOPOLOGY_FLAGS(pub i32); -impl ::core::marker::Copy for MFSESSION_SETTOPOLOGY_FLAGS {} -impl ::core::clone::Clone for MFSESSION_SETTOPOLOGY_FLAGS { +pub struct MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS(pub u32); +impl ::core::marker::Copy for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS {} +impl ::core::clone::Clone for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSESSION_SETTOPOLOGY_FLAGS { +impl ::core::default::Default for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSESSION_SETTOPOLOGY_FLAGS { +impl ::windows_core::TypeKind for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSESSION_SETTOPOLOGY_FLAGS { +impl ::core::fmt::Debug for MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSESSION_SETTOPOLOGY_FLAGS").field(&self.0).finish() + f.debug_tuple("MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSHUTDOWN_STATUS(pub i32); -impl ::core::marker::Copy for MFSHUTDOWN_STATUS {} -impl ::core::clone::Clone for MFSHUTDOWN_STATUS { +pub struct MF2DBuffer_LockFlags(pub i32); +impl ::core::marker::Copy for MF2DBuffer_LockFlags {} +impl ::core::clone::Clone for MF2DBuffer_LockFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSHUTDOWN_STATUS { +impl ::core::default::Default for MF2DBuffer_LockFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSHUTDOWN_STATUS { +impl ::windows_core::TypeKind for MF2DBuffer_LockFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSHUTDOWN_STATUS { +impl ::core::fmt::Debug for MF2DBuffer_LockFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSHUTDOWN_STATUS").field(&self.0).finish() + f.debug_tuple("MF2DBuffer_LockFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSINK_WMDRMACTION(pub i32); -impl ::core::marker::Copy for MFSINK_WMDRMACTION {} -impl ::core::clone::Clone for MFSINK_WMDRMACTION { +pub struct MF3DVideoOutputType(pub i32); +impl ::core::marker::Copy for MF3DVideoOutputType {} +impl ::core::clone::Clone for MF3DVideoOutputType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSINK_WMDRMACTION { +impl ::core::default::Default for MF3DVideoOutputType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSINK_WMDRMACTION { +impl ::windows_core::TypeKind for MF3DVideoOutputType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSINK_WMDRMACTION { +impl ::core::fmt::Debug for MF3DVideoOutputType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSINK_WMDRMACTION").field(&self.0).finish() + f.debug_tuple("MF3DVideoOutputType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSTREAMSINK_MARKER_TYPE(pub i32); -impl ::core::marker::Copy for MFSTREAMSINK_MARKER_TYPE {} -impl ::core::clone::Clone for MFSTREAMSINK_MARKER_TYPE { +pub struct MFASF_INDEXER_FLAGS(pub i32); +impl ::core::marker::Copy for MFASF_INDEXER_FLAGS {} +impl ::core::clone::Clone for MFASF_INDEXER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSTREAMSINK_MARKER_TYPE { +impl ::core::default::Default for MFASF_INDEXER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSTREAMSINK_MARKER_TYPE { +impl ::windows_core::TypeKind for MFASF_INDEXER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSTREAMSINK_MARKER_TYPE { +impl ::core::fmt::Debug for MFASF_INDEXER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSTREAMSINK_MARKER_TYPE").field(&self.0).finish() + f.debug_tuple("MFASF_INDEXER_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSampleAllocatorUsage(pub i32); -impl ::core::marker::Copy for MFSampleAllocatorUsage {} -impl ::core::clone::Clone for MFSampleAllocatorUsage { +pub struct MFASF_MULTIPLEXERFLAGS(pub i32); +impl ::core::marker::Copy for MFASF_MULTIPLEXERFLAGS {} +impl ::core::clone::Clone for MFASF_MULTIPLEXERFLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSampleAllocatorUsage { +impl ::core::default::Default for MFASF_MULTIPLEXERFLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSampleAllocatorUsage { +impl ::windows_core::TypeKind for MFASF_MULTIPLEXERFLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSampleAllocatorUsage { +impl ::core::fmt::Debug for MFASF_MULTIPLEXERFLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSampleAllocatorUsage").field(&self.0).finish() + f.debug_tuple("MFASF_MULTIPLEXERFLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSampleEncryptionProtectionScheme(pub i32); -impl ::core::marker::Copy for MFSampleEncryptionProtectionScheme {} -impl ::core::clone::Clone for MFSampleEncryptionProtectionScheme { +pub struct MFASF_SPLITTERFLAGS(pub i32); +impl ::core::marker::Copy for MFASF_SPLITTERFLAGS {} +impl ::core::clone::Clone for MFASF_SPLITTERFLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSampleEncryptionProtectionScheme { +impl ::core::default::Default for MFASF_SPLITTERFLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSampleEncryptionProtectionScheme { +impl ::windows_core::TypeKind for MFASF_SPLITTERFLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSampleEncryptionProtectionScheme { +impl ::core::fmt::Debug for MFASF_SPLITTERFLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSampleEncryptionProtectionScheme").field(&self.0).finish() + f.debug_tuple("MFASF_SPLITTERFLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSensorDeviceMode(pub i32); -impl ::core::marker::Copy for MFSensorDeviceMode {} -impl ::core::clone::Clone for MFSensorDeviceMode { +pub struct MFASF_STREAMSELECTOR_FLAGS(pub i32); +impl ::core::marker::Copy for MFASF_STREAMSELECTOR_FLAGS {} +impl ::core::clone::Clone for MFASF_STREAMSELECTOR_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSensorDeviceMode { +impl ::core::default::Default for MFASF_STREAMSELECTOR_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSensorDeviceMode { +impl ::windows_core::TypeKind for MFASF_STREAMSELECTOR_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSensorDeviceMode { +impl ::core::fmt::Debug for MFASF_STREAMSELECTOR_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSensorDeviceMode").field(&self.0).finish() + f.debug_tuple("MFASF_STREAMSELECTOR_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSensorDeviceType(pub i32); -impl ::core::marker::Copy for MFSensorDeviceType {} -impl ::core::clone::Clone for MFSensorDeviceType { +pub struct MFASYNC_WORKQUEUE_TYPE(pub i32); +impl ::core::marker::Copy for MFASYNC_WORKQUEUE_TYPE {} +impl ::core::clone::Clone for MFASYNC_WORKQUEUE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSensorDeviceType { +impl ::core::default::Default for MFASYNC_WORKQUEUE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSensorDeviceType { +impl ::windows_core::TypeKind for MFASYNC_WORKQUEUE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSensorDeviceType { +impl ::core::fmt::Debug for MFASYNC_WORKQUEUE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSensorDeviceType").field(&self.0).finish() + f.debug_tuple("MFASYNC_WORKQUEUE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSensorStreamType(pub i32); -impl ::core::marker::Copy for MFSensorStreamType {} -impl ::core::clone::Clone for MFSensorStreamType { +pub struct MFAudioConstriction(pub i32); +impl ::core::marker::Copy for MFAudioConstriction {} +impl ::core::clone::Clone for MFAudioConstriction { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSensorStreamType { +impl ::core::default::Default for MFAudioConstriction { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSensorStreamType { +impl ::windows_core::TypeKind for MFAudioConstriction { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSensorStreamType { +impl ::core::fmt::Debug for MFAudioConstriction { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSensorStreamType").field(&self.0).finish() + f.debug_tuple("MFAudioConstriction").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFSequencerTopologyFlags(pub i32); -impl ::core::marker::Copy for MFSequencerTopologyFlags {} -impl ::core::clone::Clone for MFSequencerTopologyFlags { +pub struct MFBYTESTREAM_SEEK_ORIGIN(pub i32); +impl ::core::marker::Copy for MFBYTESTREAM_SEEK_ORIGIN {} +impl ::core::clone::Clone for MFBYTESTREAM_SEEK_ORIGIN { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFSequencerTopologyFlags { +impl ::core::default::Default for MFBYTESTREAM_SEEK_ORIGIN { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFSequencerTopologyFlags { +impl ::windows_core::TypeKind for MFBYTESTREAM_SEEK_ORIGIN { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFSequencerTopologyFlags { +impl ::core::fmt::Debug for MFBYTESTREAM_SEEK_ORIGIN { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFSequencerTopologyFlags").field(&self.0).finish() + f.debug_tuple("MFBYTESTREAM_SEEK_ORIGIN").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFStandardVideoFormat(pub i32); -impl ::core::marker::Copy for MFStandardVideoFormat {} -impl ::core::clone::Clone for MFStandardVideoFormat { +pub struct MFCLOCK_CHARACTERISTICS_FLAGS(pub i32); +impl ::core::marker::Copy for MFCLOCK_CHARACTERISTICS_FLAGS {} +impl ::core::clone::Clone for MFCLOCK_CHARACTERISTICS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFStandardVideoFormat { +impl ::core::default::Default for MFCLOCK_CHARACTERISTICS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFStandardVideoFormat { +impl ::windows_core::TypeKind for MFCLOCK_CHARACTERISTICS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFStandardVideoFormat { +impl ::core::fmt::Debug for MFCLOCK_CHARACTERISTICS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFStandardVideoFormat").field(&self.0).finish() + f.debug_tuple("MFCLOCK_CHARACTERISTICS_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFTIMER_FLAGS(pub i32); -impl ::core::marker::Copy for MFTIMER_FLAGS {} -impl ::core::clone::Clone for MFTIMER_FLAGS { +pub struct MFCLOCK_RELATIONAL_FLAGS(pub i32); +impl ::core::marker::Copy for MFCLOCK_RELATIONAL_FLAGS {} +impl ::core::clone::Clone for MFCLOCK_RELATIONAL_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFTIMER_FLAGS { +impl ::core::default::Default for MFCLOCK_RELATIONAL_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFTIMER_FLAGS { +impl ::windows_core::TypeKind for MFCLOCK_RELATIONAL_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFTIMER_FLAGS { +impl ::core::fmt::Debug for MFCLOCK_RELATIONAL_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFTIMER_FLAGS").field(&self.0).finish() + f.debug_tuple("MFCLOCK_RELATIONAL_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFTOPOLOGY_DXVA_MODE(pub i32); -impl ::core::marker::Copy for MFTOPOLOGY_DXVA_MODE {} -impl ::core::clone::Clone for MFTOPOLOGY_DXVA_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MFTOPOLOGY_DXVA_MODE { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for MFTOPOLOGY_DXVA_MODE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for MFTOPOLOGY_DXVA_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFTOPOLOGY_DXVA_MODE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFTOPOLOGY_HARDWARE_MODE(pub i32); -impl ::core::marker::Copy for MFTOPOLOGY_HARDWARE_MODE {} -impl ::core::clone::Clone for MFTOPOLOGY_HARDWARE_MODE { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MFTOPOLOGY_HARDWARE_MODE { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for MFTOPOLOGY_HARDWARE_MODE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for MFTOPOLOGY_HARDWARE_MODE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFTOPOLOGY_HARDWARE_MODE").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFT_AUDIO_DECODER_DEGRADATION_REASON(pub i32); -impl ::core::marker::Copy for MFT_AUDIO_DECODER_DEGRADATION_REASON {} -impl ::core::clone::Clone for MFT_AUDIO_DECODER_DEGRADATION_REASON { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for MFT_AUDIO_DECODER_DEGRADATION_REASON { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for MFT_AUDIO_DECODER_DEGRADATION_REASON { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for MFT_AUDIO_DECODER_DEGRADATION_REASON { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFT_AUDIO_DECODER_DEGRADATION_REASON").field(&self.0).finish() - } -} -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFT_AUDIO_DECODER_DEGRADATION_TYPE(pub i32); -impl ::core::marker::Copy for MFT_AUDIO_DECODER_DEGRADATION_TYPE {} -impl ::core::clone::Clone for MFT_AUDIO_DECODER_DEGRADATION_TYPE { +pub struct MFCLOCK_STATE(pub i32); +impl ::core::marker::Copy for MFCLOCK_STATE {} +impl ::core::clone::Clone for MFCLOCK_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFT_AUDIO_DECODER_DEGRADATION_TYPE { +impl ::core::default::Default for MFCLOCK_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFT_AUDIO_DECODER_DEGRADATION_TYPE { +impl ::windows_core::TypeKind for MFCLOCK_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFT_AUDIO_DECODER_DEGRADATION_TYPE { +impl ::core::fmt::Debug for MFCLOCK_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFT_AUDIO_DECODER_DEGRADATION_TYPE").field(&self.0).finish() + f.debug_tuple("MFCLOCK_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFT_DRAIN_TYPE(pub i32); -impl ::core::marker::Copy for MFT_DRAIN_TYPE {} -impl ::core::clone::Clone for MFT_DRAIN_TYPE { +pub struct MFCameraIntrinsic_DistortionModelType(pub i32); +impl ::core::marker::Copy for MFCameraIntrinsic_DistortionModelType {} +impl ::core::clone::Clone for MFCameraIntrinsic_DistortionModelType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFT_DRAIN_TYPE { +impl ::core::default::Default for MFCameraIntrinsic_DistortionModelType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFT_DRAIN_TYPE { +impl ::windows_core::TypeKind for MFCameraIntrinsic_DistortionModelType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFT_DRAIN_TYPE { +impl ::core::fmt::Debug for MFCameraIntrinsic_DistortionModelType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFT_DRAIN_TYPE").field(&self.0).finish() + f.debug_tuple("MFCameraIntrinsic_DistortionModelType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFT_ENUM_FLAG(pub i32); -impl ::core::marker::Copy for MFT_ENUM_FLAG {} -impl ::core::clone::Clone for MFT_ENUM_FLAG { +pub struct MFCameraOcclusionState(pub i32); +impl ::core::marker::Copy for MFCameraOcclusionState {} +impl ::core::clone::Clone for MFCameraOcclusionState { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFT_ENUM_FLAG { +impl ::core::default::Default for MFCameraOcclusionState { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFT_ENUM_FLAG { +impl ::windows_core::TypeKind for MFCameraOcclusionState { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFT_ENUM_FLAG { +impl ::core::fmt::Debug for MFCameraOcclusionState { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFT_ENUM_FLAG").field(&self.0).finish() + f.debug_tuple("MFCameraOcclusionState").field(&self.0).finish() } } -impl MFT_ENUM_FLAG { +impl MFCameraOcclusionState { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for MFT_ENUM_FLAG { +impl ::core::ops::BitOr for MFCameraOcclusionState { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for MFT_ENUM_FLAG { +impl ::core::ops::BitAnd for MFCameraOcclusionState { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for MFT_ENUM_FLAG { +impl ::core::ops::BitOrAssign for MFCameraOcclusionState { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for MFT_ENUM_FLAG { +impl ::core::ops::BitAndAssign for MFCameraOcclusionState { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for MFT_ENUM_FLAG { +impl ::core::ops::Not for MFCameraOcclusionState { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -33691,2771 +33846,2848 @@ impl ::core::ops::Not for MFT_ENUM_FLAG { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFT_MESSAGE_TYPE(pub i32); -impl ::core::marker::Copy for MFT_MESSAGE_TYPE {} -impl ::core::clone::Clone for MFT_MESSAGE_TYPE { +pub struct MFDepthMeasurement(pub i32); +impl ::core::marker::Copy for MFDepthMeasurement {} +impl ::core::clone::Clone for MFDepthMeasurement { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFT_MESSAGE_TYPE { +impl ::core::default::Default for MFDepthMeasurement { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFT_MESSAGE_TYPE { +impl ::windows_core::TypeKind for MFDepthMeasurement { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFT_MESSAGE_TYPE { +impl ::core::fmt::Debug for MFDepthMeasurement { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFT_MESSAGE_TYPE").field(&self.0).finish() + f.debug_tuple("MFDepthMeasurement").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVP_MESSAGE_TYPE(pub i32); -impl ::core::marker::Copy for MFVP_MESSAGE_TYPE {} -impl ::core::clone::Clone for MFVP_MESSAGE_TYPE { +pub struct MFFrameSourceTypes(pub i32); +impl ::core::marker::Copy for MFFrameSourceTypes {} +impl ::core::clone::Clone for MFFrameSourceTypes { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVP_MESSAGE_TYPE { +impl ::core::default::Default for MFFrameSourceTypes { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVP_MESSAGE_TYPE { +impl ::windows_core::TypeKind for MFFrameSourceTypes { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVP_MESSAGE_TYPE { +impl ::core::fmt::Debug for MFFrameSourceTypes { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVP_MESSAGE_TYPE").field(&self.0).finish() + f.debug_tuple("MFFrameSourceTypes").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideo3DFormat(pub i32); -impl ::core::marker::Copy for MFVideo3DFormat {} -impl ::core::clone::Clone for MFVideo3DFormat { +pub struct MFMEDIASOURCE_CHARACTERISTICS(pub i32); +impl ::core::marker::Copy for MFMEDIASOURCE_CHARACTERISTICS {} +impl ::core::clone::Clone for MFMEDIASOURCE_CHARACTERISTICS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideo3DFormat { +impl ::core::default::Default for MFMEDIASOURCE_CHARACTERISTICS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideo3DFormat { +impl ::windows_core::TypeKind for MFMEDIASOURCE_CHARACTERISTICS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideo3DFormat { +impl ::core::fmt::Debug for MFMEDIASOURCE_CHARACTERISTICS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideo3DFormat").field(&self.0).finish() + f.debug_tuple("MFMEDIASOURCE_CHARACTERISTICS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideo3DSampleFormat(pub i32); -impl ::core::marker::Copy for MFVideo3DSampleFormat {} -impl ::core::clone::Clone for MFVideo3DSampleFormat { +pub struct MFNETSOURCE_CACHE_STATE(pub i32); +impl ::core::marker::Copy for MFNETSOURCE_CACHE_STATE {} +impl ::core::clone::Clone for MFNETSOURCE_CACHE_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideo3DSampleFormat { +impl ::core::default::Default for MFNETSOURCE_CACHE_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideo3DSampleFormat { +impl ::windows_core::TypeKind for MFNETSOURCE_CACHE_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideo3DSampleFormat { +impl ::core::fmt::Debug for MFNETSOURCE_CACHE_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideo3DSampleFormat").field(&self.0).finish() + f.debug_tuple("MFNETSOURCE_CACHE_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoAlphaBitmapFlags(pub i32); -impl ::core::marker::Copy for MFVideoAlphaBitmapFlags {} -impl ::core::clone::Clone for MFVideoAlphaBitmapFlags { +pub struct MFNETSOURCE_PROTOCOL_TYPE(pub i32); +impl ::core::marker::Copy for MFNETSOURCE_PROTOCOL_TYPE {} +impl ::core::clone::Clone for MFNETSOURCE_PROTOCOL_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoAlphaBitmapFlags { +impl ::core::default::Default for MFNETSOURCE_PROTOCOL_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoAlphaBitmapFlags { +impl ::windows_core::TypeKind for MFNETSOURCE_PROTOCOL_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoAlphaBitmapFlags { +impl ::core::fmt::Debug for MFNETSOURCE_PROTOCOL_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoAlphaBitmapFlags").field(&self.0).finish() + f.debug_tuple("MFNETSOURCE_PROTOCOL_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoAspectRatioMode(pub i32); -impl ::core::marker::Copy for MFVideoAspectRatioMode {} -impl ::core::clone::Clone for MFVideoAspectRatioMode { +pub struct MFNETSOURCE_STATISTICS_IDS(pub i32); +impl ::core::marker::Copy for MFNETSOURCE_STATISTICS_IDS {} +impl ::core::clone::Clone for MFNETSOURCE_STATISTICS_IDS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoAspectRatioMode { +impl ::core::default::Default for MFNETSOURCE_STATISTICS_IDS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoAspectRatioMode { +impl ::windows_core::TypeKind for MFNETSOURCE_STATISTICS_IDS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoAspectRatioMode { +impl ::core::fmt::Debug for MFNETSOURCE_STATISTICS_IDS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoAspectRatioMode").field(&self.0).finish() + f.debug_tuple("MFNETSOURCE_STATISTICS_IDS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoChromaSubsampling(pub i32); -impl ::core::marker::Copy for MFVideoChromaSubsampling {} -impl ::core::clone::Clone for MFVideoChromaSubsampling { +pub struct MFNETSOURCE_TRANSPORT_TYPE(pub i32); +impl ::core::marker::Copy for MFNETSOURCE_TRANSPORT_TYPE {} +impl ::core::clone::Clone for MFNETSOURCE_TRANSPORT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoChromaSubsampling { +impl ::core::default::Default for MFNETSOURCE_TRANSPORT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoChromaSubsampling { +impl ::windows_core::TypeKind for MFNETSOURCE_TRANSPORT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoChromaSubsampling { +impl ::core::fmt::Debug for MFNETSOURCE_TRANSPORT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoChromaSubsampling").field(&self.0).finish() + f.debug_tuple("MFNETSOURCE_TRANSPORT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoDRMFlags(pub i32); -impl ::core::marker::Copy for MFVideoDRMFlags {} -impl ::core::clone::Clone for MFVideoDRMFlags { +pub struct MFNET_PROXYSETTINGS(pub i32); +impl ::core::marker::Copy for MFNET_PROXYSETTINGS {} +impl ::core::clone::Clone for MFNET_PROXYSETTINGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoDRMFlags { +impl ::core::default::Default for MFNET_PROXYSETTINGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoDRMFlags { +impl ::windows_core::TypeKind for MFNET_PROXYSETTINGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoDRMFlags { +impl ::core::fmt::Debug for MFNET_PROXYSETTINGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoDRMFlags").field(&self.0).finish() + f.debug_tuple("MFNET_PROXYSETTINGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoDSPMode(pub i32); -impl ::core::marker::Copy for MFVideoDSPMode {} -impl ::core::clone::Clone for MFVideoDSPMode { +pub struct MFNetAuthenticationFlags(pub i32); +impl ::core::marker::Copy for MFNetAuthenticationFlags {} +impl ::core::clone::Clone for MFNetAuthenticationFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoDSPMode { +impl ::core::default::Default for MFNetAuthenticationFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoDSPMode { +impl ::windows_core::TypeKind for MFNetAuthenticationFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoDSPMode { +impl ::core::fmt::Debug for MFNetAuthenticationFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoDSPMode").field(&self.0).finish() + f.debug_tuple("MFNetAuthenticationFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoFlags(pub i32); -impl ::core::marker::Copy for MFVideoFlags {} -impl ::core::clone::Clone for MFVideoFlags { +pub struct MFNetCredentialOptions(pub i32); +impl ::core::marker::Copy for MFNetCredentialOptions {} +impl ::core::clone::Clone for MFNetCredentialOptions { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoFlags { +impl ::core::default::Default for MFNetCredentialOptions { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoFlags { +impl ::windows_core::TypeKind for MFNetCredentialOptions { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoFlags { +impl ::core::fmt::Debug for MFNetCredentialOptions { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoFlags").field(&self.0).finish() + f.debug_tuple("MFNetCredentialOptions").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoInterlaceMode(pub i32); -impl ::core::marker::Copy for MFVideoInterlaceMode {} -impl ::core::clone::Clone for MFVideoInterlaceMode { +pub struct MFNetCredentialRequirements(pub i32); +impl ::core::marker::Copy for MFNetCredentialRequirements {} +impl ::core::clone::Clone for MFNetCredentialRequirements { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoInterlaceMode { +impl ::core::default::Default for MFNetCredentialRequirements { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoInterlaceMode { +impl ::windows_core::TypeKind for MFNetCredentialRequirements { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoInterlaceMode { +impl ::core::fmt::Debug for MFNetCredentialRequirements { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoInterlaceMode").field(&self.0).finish() + f.debug_tuple("MFNetCredentialRequirements").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoLighting(pub i32); -impl ::core::marker::Copy for MFVideoLighting {} -impl ::core::clone::Clone for MFVideoLighting { +pub struct MFNominalRange(pub i32); +impl ::core::marker::Copy for MFNominalRange {} +impl ::core::clone::Clone for MFNominalRange { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoLighting { +impl ::core::default::Default for MFNominalRange { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoLighting { +impl ::windows_core::TypeKind for MFNominalRange { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoLighting { +impl ::core::fmt::Debug for MFNominalRange { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoLighting").field(&self.0).finish() + f.debug_tuple("MFNominalRange").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoMixPrefs(pub i32); -impl ::core::marker::Copy for MFVideoMixPrefs {} -impl ::core::clone::Clone for MFVideoMixPrefs { +pub struct MFPMPSESSION_CREATION_FLAGS(pub i32); +impl ::core::marker::Copy for MFPMPSESSION_CREATION_FLAGS {} +impl ::core::clone::Clone for MFPMPSESSION_CREATION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoMixPrefs { +impl ::core::default::Default for MFPMPSESSION_CREATION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoMixPrefs { +impl ::windows_core::TypeKind for MFPMPSESSION_CREATION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoMixPrefs { +impl ::core::fmt::Debug for MFPMPSESSION_CREATION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoMixPrefs").field(&self.0).finish() + f.debug_tuple("MFPMPSESSION_CREATION_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoPadFlags(pub i32); -impl ::core::marker::Copy for MFVideoPadFlags {} -impl ::core::clone::Clone for MFVideoPadFlags { +pub struct MFPOLICYMANAGER_ACTION(pub i32); +impl ::core::marker::Copy for MFPOLICYMANAGER_ACTION {} +impl ::core::clone::Clone for MFPOLICYMANAGER_ACTION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoPadFlags { +impl ::core::default::Default for MFPOLICYMANAGER_ACTION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoPadFlags { +impl ::windows_core::TypeKind for MFPOLICYMANAGER_ACTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoPadFlags { +impl ::core::fmt::Debug for MFPOLICYMANAGER_ACTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoPadFlags").field(&self.0).finish() + f.debug_tuple("MFPOLICYMANAGER_ACTION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoPrimaries(pub i32); -impl ::core::marker::Copy for MFVideoPrimaries {} -impl ::core::clone::Clone for MFVideoPrimaries { +pub struct MFP_CREATION_OPTIONS(pub i32); +impl ::core::marker::Copy for MFP_CREATION_OPTIONS {} +impl ::core::clone::Clone for MFP_CREATION_OPTIONS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoPrimaries { +impl ::core::default::Default for MFP_CREATION_OPTIONS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoPrimaries { +impl ::windows_core::TypeKind for MFP_CREATION_OPTIONS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoPrimaries { +impl ::core::fmt::Debug for MFP_CREATION_OPTIONS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoPrimaries").field(&self.0).finish() + f.debug_tuple("MFP_CREATION_OPTIONS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoRenderPrefs(pub i32); -impl ::core::marker::Copy for MFVideoRenderPrefs {} -impl ::core::clone::Clone for MFVideoRenderPrefs { +pub struct MFP_EVENT_TYPE(pub i32); +impl ::core::marker::Copy for MFP_EVENT_TYPE {} +impl ::core::clone::Clone for MFP_EVENT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoRenderPrefs { +impl ::core::default::Default for MFP_EVENT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoRenderPrefs { +impl ::windows_core::TypeKind for MFP_EVENT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoRenderPrefs { +impl ::core::fmt::Debug for MFP_EVENT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoRenderPrefs").field(&self.0).finish() + f.debug_tuple("MFP_EVENT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoRotationFormat(pub i32); -impl ::core::marker::Copy for MFVideoRotationFormat {} -impl ::core::clone::Clone for MFVideoRotationFormat { +pub struct MFP_MEDIAPLAYER_STATE(pub i32); +impl ::core::marker::Copy for MFP_MEDIAPLAYER_STATE {} +impl ::core::clone::Clone for MFP_MEDIAPLAYER_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoRotationFormat { +impl ::core::default::Default for MFP_MEDIAPLAYER_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoRotationFormat { +impl ::windows_core::TypeKind for MFP_MEDIAPLAYER_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoRotationFormat { +impl ::core::fmt::Debug for MFP_MEDIAPLAYER_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoRotationFormat").field(&self.0).finish() + f.debug_tuple("MFP_MEDIAPLAYER_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoSphericalFormat(pub i32); -impl ::core::marker::Copy for MFVideoSphericalFormat {} -impl ::core::clone::Clone for MFVideoSphericalFormat { +pub struct MFRATE_DIRECTION(pub i32); +impl ::core::marker::Copy for MFRATE_DIRECTION {} +impl ::core::clone::Clone for MFRATE_DIRECTION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoSphericalFormat { +impl ::core::default::Default for MFRATE_DIRECTION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoSphericalFormat { +impl ::windows_core::TypeKind for MFRATE_DIRECTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoSphericalFormat { +impl ::core::fmt::Debug for MFRATE_DIRECTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoSphericalFormat").field(&self.0).finish() + f.debug_tuple("MFRATE_DIRECTION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoSphericalProjectionMode(pub i32); -impl ::core::marker::Copy for MFVideoSphericalProjectionMode {} -impl ::core::clone::Clone for MFVideoSphericalProjectionMode { +pub struct MFSESSION_GETFULLTOPOLOGY_FLAGS(pub i32); +impl ::core::marker::Copy for MFSESSION_GETFULLTOPOLOGY_FLAGS {} +impl ::core::clone::Clone for MFSESSION_GETFULLTOPOLOGY_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoSphericalProjectionMode { +impl ::core::default::Default for MFSESSION_GETFULLTOPOLOGY_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoSphericalProjectionMode { +impl ::windows_core::TypeKind for MFSESSION_GETFULLTOPOLOGY_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoSphericalProjectionMode { +impl ::core::fmt::Debug for MFSESSION_GETFULLTOPOLOGY_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoSphericalProjectionMode").field(&self.0).finish() + f.debug_tuple("MFSESSION_GETFULLTOPOLOGY_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoSrcContentHintFlags(pub i32); -impl ::core::marker::Copy for MFVideoSrcContentHintFlags {} -impl ::core::clone::Clone for MFVideoSrcContentHintFlags { +pub struct MFSESSION_SETTOPOLOGY_FLAGS(pub i32); +impl ::core::marker::Copy for MFSESSION_SETTOPOLOGY_FLAGS {} +impl ::core::clone::Clone for MFSESSION_SETTOPOLOGY_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoSrcContentHintFlags { +impl ::core::default::Default for MFSESSION_SETTOPOLOGY_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoSrcContentHintFlags { +impl ::windows_core::TypeKind for MFSESSION_SETTOPOLOGY_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoSrcContentHintFlags { +impl ::core::fmt::Debug for MFSESSION_SETTOPOLOGY_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoSrcContentHintFlags").field(&self.0).finish() + f.debug_tuple("MFSESSION_SETTOPOLOGY_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoTransferFunction(pub i32); -impl ::core::marker::Copy for MFVideoTransferFunction {} -impl ::core::clone::Clone for MFVideoTransferFunction { +pub struct MFSHUTDOWN_STATUS(pub i32); +impl ::core::marker::Copy for MFSHUTDOWN_STATUS {} +impl ::core::clone::Clone for MFSHUTDOWN_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoTransferFunction { +impl ::core::default::Default for MFSHUTDOWN_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoTransferFunction { +impl ::windows_core::TypeKind for MFSHUTDOWN_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoTransferFunction { +impl ::core::fmt::Debug for MFSHUTDOWN_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoTransferFunction").field(&self.0).finish() + f.debug_tuple("MFSHUTDOWN_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVideoTransferMatrix(pub i32); -impl ::core::marker::Copy for MFVideoTransferMatrix {} -impl ::core::clone::Clone for MFVideoTransferMatrix { +pub struct MFSINK_WMDRMACTION(pub i32); +impl ::core::marker::Copy for MFSINK_WMDRMACTION {} +impl ::core::clone::Clone for MFSINK_WMDRMACTION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVideoTransferMatrix { +impl ::core::default::Default for MFSINK_WMDRMACTION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVideoTransferMatrix { +impl ::windows_core::TypeKind for MFSINK_WMDRMACTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVideoTransferMatrix { +impl ::core::fmt::Debug for MFSINK_WMDRMACTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVideoTransferMatrix").field(&self.0).finish() + f.debug_tuple("MFSINK_WMDRMACTION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVirtualCameraAccess(pub i32); -impl ::core::marker::Copy for MFVirtualCameraAccess {} -impl ::core::clone::Clone for MFVirtualCameraAccess { +pub struct MFSTREAMSINK_MARKER_TYPE(pub i32); +impl ::core::marker::Copy for MFSTREAMSINK_MARKER_TYPE {} +impl ::core::clone::Clone for MFSTREAMSINK_MARKER_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVirtualCameraAccess { +impl ::core::default::Default for MFSTREAMSINK_MARKER_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVirtualCameraAccess { +impl ::windows_core::TypeKind for MFSTREAMSINK_MARKER_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVirtualCameraAccess { +impl ::core::fmt::Debug for MFSTREAMSINK_MARKER_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVirtualCameraAccess").field(&self.0).finish() + f.debug_tuple("MFSTREAMSINK_MARKER_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVirtualCameraLifetime(pub i32); -impl ::core::marker::Copy for MFVirtualCameraLifetime {} -impl ::core::clone::Clone for MFVirtualCameraLifetime { +pub struct MFSampleAllocatorUsage(pub i32); +impl ::core::marker::Copy for MFSampleAllocatorUsage {} +impl ::core::clone::Clone for MFSampleAllocatorUsage { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVirtualCameraLifetime { +impl ::core::default::Default for MFSampleAllocatorUsage { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVirtualCameraLifetime { +impl ::windows_core::TypeKind for MFSampleAllocatorUsage { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVirtualCameraLifetime { +impl ::core::fmt::Debug for MFSampleAllocatorUsage { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVirtualCameraLifetime").field(&self.0).finish() + f.debug_tuple("MFSampleAllocatorUsage").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFVirtualCameraType(pub i32); -impl ::core::marker::Copy for MFVirtualCameraType {} -impl ::core::clone::Clone for MFVirtualCameraType { +pub struct MFSampleEncryptionProtectionScheme(pub i32); +impl ::core::marker::Copy for MFSampleEncryptionProtectionScheme {} +impl ::core::clone::Clone for MFSampleEncryptionProtectionScheme { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFVirtualCameraType { +impl ::core::default::Default for MFSampleEncryptionProtectionScheme { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFVirtualCameraType { +impl ::windows_core::TypeKind for MFSampleEncryptionProtectionScheme { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFVirtualCameraType { +impl ::core::fmt::Debug for MFSampleEncryptionProtectionScheme { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFVirtualCameraType").field(&self.0).finish() + f.debug_tuple("MFSampleEncryptionProtectionScheme").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MFWaveFormatExConvertFlags(pub i32); -impl ::core::marker::Copy for MFWaveFormatExConvertFlags {} -impl ::core::clone::Clone for MFWaveFormatExConvertFlags { +pub struct MFSensorDeviceMode(pub i32); +impl ::core::marker::Copy for MFSensorDeviceMode {} +impl ::core::clone::Clone for MFSensorDeviceMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MFWaveFormatExConvertFlags { +impl ::core::default::Default for MFSensorDeviceMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MFWaveFormatExConvertFlags { +impl ::windows_core::TypeKind for MFSensorDeviceMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MFWaveFormatExConvertFlags { +impl ::core::fmt::Debug for MFSensorDeviceMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MFWaveFormatExConvertFlags").field(&self.0).finish() + f.debug_tuple("MFSensorDeviceMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_ACTIVATE_CUSTOM_MIXER(pub i32); -impl ::core::marker::Copy for MF_ACTIVATE_CUSTOM_MIXER {} -impl ::core::clone::Clone for MF_ACTIVATE_CUSTOM_MIXER { +pub struct MFSensorDeviceType(pub i32); +impl ::core::marker::Copy for MFSensorDeviceType {} +impl ::core::clone::Clone for MFSensorDeviceType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_ACTIVATE_CUSTOM_MIXER { +impl ::core::default::Default for MFSensorDeviceType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_ACTIVATE_CUSTOM_MIXER { +impl ::windows_core::TypeKind for MFSensorDeviceType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_ACTIVATE_CUSTOM_MIXER { +impl ::core::fmt::Debug for MFSensorDeviceType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_ACTIVATE_CUSTOM_MIXER").field(&self.0).finish() + f.debug_tuple("MFSensorDeviceType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_ACTIVATE_CUSTOM_PRESENTER(pub i32); -impl ::core::marker::Copy for MF_ACTIVATE_CUSTOM_PRESENTER {} -impl ::core::clone::Clone for MF_ACTIVATE_CUSTOM_PRESENTER { +pub struct MFSensorStreamType(pub i32); +impl ::core::marker::Copy for MFSensorStreamType {} +impl ::core::clone::Clone for MFSensorStreamType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_ACTIVATE_CUSTOM_PRESENTER { +impl ::core::default::Default for MFSensorStreamType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_ACTIVATE_CUSTOM_PRESENTER { +impl ::windows_core::TypeKind for MFSensorStreamType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_ACTIVATE_CUSTOM_PRESENTER { +impl ::core::fmt::Debug for MFSensorStreamType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_ACTIVATE_CUSTOM_PRESENTER").field(&self.0).finish() + f.debug_tuple("MFSensorStreamType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_ATTRIBUTES_MATCH_TYPE(pub i32); -impl ::core::marker::Copy for MF_ATTRIBUTES_MATCH_TYPE {} -impl ::core::clone::Clone for MF_ATTRIBUTES_MATCH_TYPE { +pub struct MFSequencerTopologyFlags(pub i32); +impl ::core::marker::Copy for MFSequencerTopologyFlags {} +impl ::core::clone::Clone for MFSequencerTopologyFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_ATTRIBUTES_MATCH_TYPE { +impl ::core::default::Default for MFSequencerTopologyFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_ATTRIBUTES_MATCH_TYPE { +impl ::windows_core::TypeKind for MFSequencerTopologyFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_ATTRIBUTES_MATCH_TYPE { +impl ::core::fmt::Debug for MFSequencerTopologyFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_ATTRIBUTES_MATCH_TYPE").field(&self.0).finish() + f.debug_tuple("MFSequencerTopologyFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_ATTRIBUTE_SERIALIZE_OPTIONS(pub i32); -impl ::core::marker::Copy for MF_ATTRIBUTE_SERIALIZE_OPTIONS {} -impl ::core::clone::Clone for MF_ATTRIBUTE_SERIALIZE_OPTIONS { +pub struct MFStandardVideoFormat(pub i32); +impl ::core::marker::Copy for MFStandardVideoFormat {} +impl ::core::clone::Clone for MFStandardVideoFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_ATTRIBUTE_SERIALIZE_OPTIONS { +impl ::core::default::Default for MFStandardVideoFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_ATTRIBUTE_SERIALIZE_OPTIONS { +impl ::windows_core::TypeKind for MFStandardVideoFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_ATTRIBUTE_SERIALIZE_OPTIONS { +impl ::core::fmt::Debug for MFStandardVideoFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_ATTRIBUTE_SERIALIZE_OPTIONS").field(&self.0).finish() + f.debug_tuple("MFStandardVideoFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_ATTRIBUTE_TYPE(pub i32); -impl ::core::marker::Copy for MF_ATTRIBUTE_TYPE {} -impl ::core::clone::Clone for MF_ATTRIBUTE_TYPE { +pub struct MFTIMER_FLAGS(pub i32); +impl ::core::marker::Copy for MFTIMER_FLAGS {} +impl ::core::clone::Clone for MFTIMER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_ATTRIBUTE_TYPE { +impl ::core::default::Default for MFTIMER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_ATTRIBUTE_TYPE { +impl ::windows_core::TypeKind for MFTIMER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_ATTRIBUTE_TYPE { +impl ::core::fmt::Debug for MFTIMER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_ATTRIBUTE_TYPE").field(&self.0).finish() + f.debug_tuple("MFTIMER_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_AUVRHP_ROOMMODEL(pub i32); -impl ::core::marker::Copy for MF_AUVRHP_ROOMMODEL {} -impl ::core::clone::Clone for MF_AUVRHP_ROOMMODEL { +pub struct MFTOPOLOGY_DXVA_MODE(pub i32); +impl ::core::marker::Copy for MFTOPOLOGY_DXVA_MODE {} +impl ::core::clone::Clone for MFTOPOLOGY_DXVA_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_AUVRHP_ROOMMODEL { +impl ::core::default::Default for MFTOPOLOGY_DXVA_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_AUVRHP_ROOMMODEL { +impl ::windows_core::TypeKind for MFTOPOLOGY_DXVA_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_AUVRHP_ROOMMODEL { +impl ::core::fmt::Debug for MFTOPOLOGY_DXVA_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_AUVRHP_ROOMMODEL").field(&self.0).finish() + f.debug_tuple("MFTOPOLOGY_DXVA_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAMERA_CONTROL_CONFIGURATION_TYPE(pub i32); -impl ::core::marker::Copy for MF_CAMERA_CONTROL_CONFIGURATION_TYPE {} -impl ::core::clone::Clone for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { +pub struct MFTOPOLOGY_HARDWARE_MODE(pub i32); +impl ::core::marker::Copy for MFTOPOLOGY_HARDWARE_MODE {} +impl ::core::clone::Clone for MFTOPOLOGY_HARDWARE_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { +impl ::core::default::Default for MFTOPOLOGY_HARDWARE_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { +impl ::windows_core::TypeKind for MFTOPOLOGY_HARDWARE_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { +impl ::core::fmt::Debug for MFTOPOLOGY_HARDWARE_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAMERA_CONTROL_CONFIGURATION_TYPE").field(&self.0).finish() + f.debug_tuple("MFTOPOLOGY_HARDWARE_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE(pub i32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { +pub struct MFT_AUDIO_DECODER_DEGRADATION_REASON(pub i32); +impl ::core::marker::Copy for MFT_AUDIO_DECODER_DEGRADATION_REASON {} +impl ::core::clone::Clone for MFT_AUDIO_DECODER_DEGRADATION_REASON { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { +impl ::core::default::Default for MFT_AUDIO_DECODER_DEGRADATION_REASON { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { +impl ::windows_core::TypeKind for MFT_AUDIO_DECODER_DEGRADATION_REASON { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { +impl ::core::fmt::Debug for MFT_AUDIO_DECODER_DEGRADATION_REASON { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE").field(&self.0).finish() + f.debug_tuple("MFT_AUDIO_DECODER_DEGRADATION_REASON").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_DEVICE_TYPE(pub i32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_DEVICE_TYPE {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_DEVICE_TYPE { +pub struct MFT_AUDIO_DECODER_DEGRADATION_TYPE(pub i32); +impl ::core::marker::Copy for MFT_AUDIO_DECODER_DEGRADATION_TYPE {} +impl ::core::clone::Clone for MFT_AUDIO_DECODER_DEGRADATION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_DEVICE_TYPE { +impl ::core::default::Default for MFT_AUDIO_DECODER_DEGRADATION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_DEVICE_TYPE { +impl ::windows_core::TypeKind for MFT_AUDIO_DECODER_DEGRADATION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_DEVICE_TYPE { +impl ::core::fmt::Debug for MFT_AUDIO_DECODER_DEGRADATION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_DEVICE_TYPE").field(&self.0).finish() + f.debug_tuple("MFT_AUDIO_DECODER_DEGRADATION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE(pub i32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { +pub struct MFT_DRAIN_TYPE(pub i32); +impl ::core::marker::Copy for MFT_DRAIN_TYPE {} +impl ::core::clone::Clone for MFT_DRAIN_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { +impl ::core::default::Default for MFT_DRAIN_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { +impl ::windows_core::TypeKind for MFT_DRAIN_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { +impl ::core::fmt::Debug for MFT_DRAIN_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE").field(&self.0).finish() + f.debug_tuple("MFT_DRAIN_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_SINK_TYPE(pub i32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_SINK_TYPE {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_SINK_TYPE { +pub struct MFT_ENUM_FLAG(pub i32); +impl ::core::marker::Copy for MFT_ENUM_FLAG {} +impl ::core::clone::Clone for MFT_ENUM_FLAG { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_SINK_TYPE { +impl ::core::default::Default for MFT_ENUM_FLAG { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_SINK_TYPE { +impl ::windows_core::TypeKind for MFT_ENUM_FLAG { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_SINK_TYPE { +impl ::core::fmt::Debug for MFT_ENUM_FLAG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_SINK_TYPE").field(&self.0).finish() + f.debug_tuple("MFT_ENUM_FLAG").field(&self.0).finish() + } +} +impl MFT_ENUM_FLAG { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for MFT_ENUM_FLAG { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for MFT_ENUM_FLAG { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for MFT_ENUM_FLAG { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for MFT_ENUM_FLAG { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for MFT_ENUM_FLAG { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_SOURCE(pub u32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_SOURCE {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_SOURCE { +pub struct MFT_MESSAGE_TYPE(pub i32); +impl ::core::marker::Copy for MFT_MESSAGE_TYPE {} +impl ::core::clone::Clone for MFT_MESSAGE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_SOURCE { +impl ::core::default::Default for MFT_MESSAGE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_SOURCE { +impl ::windows_core::TypeKind for MFT_MESSAGE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_SOURCE { +impl ::core::fmt::Debug for MFT_MESSAGE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_SOURCE").field(&self.0).finish() + f.debug_tuple("MFT_MESSAGE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CAPTURE_ENGINE_STREAM_CATEGORY(pub i32); -impl ::core::marker::Copy for MF_CAPTURE_ENGINE_STREAM_CATEGORY {} -impl ::core::clone::Clone for MF_CAPTURE_ENGINE_STREAM_CATEGORY { +pub struct MFVP_MESSAGE_TYPE(pub i32); +impl ::core::marker::Copy for MFVP_MESSAGE_TYPE {} +impl ::core::clone::Clone for MFVP_MESSAGE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CAPTURE_ENGINE_STREAM_CATEGORY { +impl ::core::default::Default for MFVP_MESSAGE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_STREAM_CATEGORY { +impl ::windows_core::TypeKind for MFVP_MESSAGE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_STREAM_CATEGORY { +impl ::core::fmt::Debug for MFVP_MESSAGE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CAPTURE_ENGINE_STREAM_CATEGORY").field(&self.0).finish() + f.debug_tuple("MFVP_MESSAGE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CONNECT_METHOD(pub i32); -impl ::core::marker::Copy for MF_CONNECT_METHOD {} -impl ::core::clone::Clone for MF_CONNECT_METHOD { +pub struct MFVideo3DFormat(pub i32); +impl ::core::marker::Copy for MFVideo3DFormat {} +impl ::core::clone::Clone for MFVideo3DFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CONNECT_METHOD { +impl ::core::default::Default for MFVideo3DFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CONNECT_METHOD { +impl ::windows_core::TypeKind for MFVideo3DFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CONNECT_METHOD { +impl ::core::fmt::Debug for MFVideo3DFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CONNECT_METHOD").field(&self.0).finish() + f.debug_tuple("MFVideo3DFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CROSS_ORIGIN_POLICY(pub i32); -impl ::core::marker::Copy for MF_CROSS_ORIGIN_POLICY {} -impl ::core::clone::Clone for MF_CROSS_ORIGIN_POLICY { +pub struct MFVideo3DSampleFormat(pub i32); +impl ::core::marker::Copy for MFVideo3DSampleFormat {} +impl ::core::clone::Clone for MFVideo3DSampleFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CROSS_ORIGIN_POLICY { +impl ::core::default::Default for MFVideo3DSampleFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CROSS_ORIGIN_POLICY { +impl ::windows_core::TypeKind for MFVideo3DSampleFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CROSS_ORIGIN_POLICY { +impl ::core::fmt::Debug for MFVideo3DSampleFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CROSS_ORIGIN_POLICY").field(&self.0).finish() + f.debug_tuple("MFVideo3DSampleFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_CUSTOM_DECODE_UNIT_TYPE(pub i32); -impl ::core::marker::Copy for MF_CUSTOM_DECODE_UNIT_TYPE {} -impl ::core::clone::Clone for MF_CUSTOM_DECODE_UNIT_TYPE { +pub struct MFVideoAlphaBitmapFlags(pub i32); +impl ::core::marker::Copy for MFVideoAlphaBitmapFlags {} +impl ::core::clone::Clone for MFVideoAlphaBitmapFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_CUSTOM_DECODE_UNIT_TYPE { +impl ::core::default::Default for MFVideoAlphaBitmapFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_CUSTOM_DECODE_UNIT_TYPE { +impl ::windows_core::TypeKind for MFVideoAlphaBitmapFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_CUSTOM_DECODE_UNIT_TYPE { +impl ::core::fmt::Debug for MFVideoAlphaBitmapFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_CUSTOM_DECODE_UNIT_TYPE").field(&self.0).finish() + f.debug_tuple("MFVideoAlphaBitmapFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_EVENT_TYPE(pub i32); -impl ::core::marker::Copy for MF_EVENT_TYPE {} -impl ::core::clone::Clone for MF_EVENT_TYPE { +pub struct MFVideoAspectRatioMode(pub i32); +impl ::core::marker::Copy for MFVideoAspectRatioMode {} +impl ::core::clone::Clone for MFVideoAspectRatioMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_EVENT_TYPE { +impl ::core::default::Default for MFVideoAspectRatioMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_EVENT_TYPE { +impl ::windows_core::TypeKind for MFVideoAspectRatioMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_EVENT_TYPE { +impl ::core::fmt::Debug for MFVideoAspectRatioMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_EVENT_TYPE").field(&self.0).finish() + f.debug_tuple("MFVideoAspectRatioMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_FILE_ACCESSMODE(pub i32); -impl ::core::marker::Copy for MF_FILE_ACCESSMODE {} -impl ::core::clone::Clone for MF_FILE_ACCESSMODE { +pub struct MFVideoChromaSubsampling(pub i32); +impl ::core::marker::Copy for MFVideoChromaSubsampling {} +impl ::core::clone::Clone for MFVideoChromaSubsampling { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_FILE_ACCESSMODE { +impl ::core::default::Default for MFVideoChromaSubsampling { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_FILE_ACCESSMODE { +impl ::windows_core::TypeKind for MFVideoChromaSubsampling { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_FILE_ACCESSMODE { +impl ::core::fmt::Debug for MFVideoChromaSubsampling { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_FILE_ACCESSMODE").field(&self.0).finish() + f.debug_tuple("MFVideoChromaSubsampling").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_FILE_FLAGS(pub i32); -impl ::core::marker::Copy for MF_FILE_FLAGS {} -impl ::core::clone::Clone for MF_FILE_FLAGS { +pub struct MFVideoDRMFlags(pub i32); +impl ::core::marker::Copy for MFVideoDRMFlags {} +impl ::core::clone::Clone for MFVideoDRMFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_FILE_FLAGS { +impl ::core::default::Default for MFVideoDRMFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_FILE_FLAGS { +impl ::windows_core::TypeKind for MFVideoDRMFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_FILE_FLAGS { +impl ::core::fmt::Debug for MFVideoDRMFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_FILE_FLAGS").field(&self.0).finish() + f.debug_tuple("MFVideoDRMFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_FILE_OPENMODE(pub i32); -impl ::core::marker::Copy for MF_FILE_OPENMODE {} -impl ::core::clone::Clone for MF_FILE_OPENMODE { +pub struct MFVideoDSPMode(pub i32); +impl ::core::marker::Copy for MFVideoDSPMode {} +impl ::core::clone::Clone for MFVideoDSPMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_FILE_OPENMODE { +impl ::core::default::Default for MFVideoDSPMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_FILE_OPENMODE { +impl ::windows_core::TypeKind for MFVideoDSPMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_FILE_OPENMODE { +impl ::core::fmt::Debug for MFVideoDSPMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_FILE_OPENMODE").field(&self.0).finish() + f.debug_tuple("MFVideoDSPMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_HDCP_STATUS(pub i32); -impl ::core::marker::Copy for MF_HDCP_STATUS {} -impl ::core::clone::Clone for MF_HDCP_STATUS { +pub struct MFVideoFlags(pub i32); +impl ::core::marker::Copy for MFVideoFlags {} +impl ::core::clone::Clone for MFVideoFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_HDCP_STATUS { +impl ::core::default::Default for MFVideoFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_HDCP_STATUS { +impl ::windows_core::TypeKind for MFVideoFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_HDCP_STATUS { +impl ::core::fmt::Debug for MFVideoFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_HDCP_STATUS").field(&self.0).finish() + f.debug_tuple("MFVideoFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIAKEYSESSION_MESSAGETYPE(pub i32); -impl ::core::marker::Copy for MF_MEDIAKEYSESSION_MESSAGETYPE {} -impl ::core::clone::Clone for MF_MEDIAKEYSESSION_MESSAGETYPE { +pub struct MFVideoInterlaceMode(pub i32); +impl ::core::marker::Copy for MFVideoInterlaceMode {} +impl ::core::clone::Clone for MFVideoInterlaceMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIAKEYSESSION_MESSAGETYPE { +impl ::core::default::Default for MFVideoInterlaceMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIAKEYSESSION_MESSAGETYPE { +impl ::windows_core::TypeKind for MFVideoInterlaceMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIAKEYSESSION_MESSAGETYPE { +impl ::core::fmt::Debug for MFVideoInterlaceMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIAKEYSESSION_MESSAGETYPE").field(&self.0).finish() + f.debug_tuple("MFVideoInterlaceMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIAKEYSESSION_TYPE(pub i32); -impl ::core::marker::Copy for MF_MEDIAKEYSESSION_TYPE {} -impl ::core::clone::Clone for MF_MEDIAKEYSESSION_TYPE { +pub struct MFVideoLighting(pub i32); +impl ::core::marker::Copy for MFVideoLighting {} +impl ::core::clone::Clone for MFVideoLighting { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIAKEYSESSION_TYPE { +impl ::core::default::Default for MFVideoLighting { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIAKEYSESSION_TYPE { +impl ::windows_core::TypeKind for MFVideoLighting { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIAKEYSESSION_TYPE { +impl ::core::fmt::Debug for MFVideoLighting { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIAKEYSESSION_TYPE").field(&self.0).finish() + f.debug_tuple("MFVideoLighting").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIAKEYS_REQUIREMENT(pub i32); -impl ::core::marker::Copy for MF_MEDIAKEYS_REQUIREMENT {} -impl ::core::clone::Clone for MF_MEDIAKEYS_REQUIREMENT { +pub struct MFVideoMixPrefs(pub i32); +impl ::core::marker::Copy for MFVideoMixPrefs {} +impl ::core::clone::Clone for MFVideoMixPrefs { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIAKEYS_REQUIREMENT { +impl ::core::default::Default for MFVideoMixPrefs { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIAKEYS_REQUIREMENT { +impl ::windows_core::TypeKind for MFVideoMixPrefs { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIAKEYS_REQUIREMENT { +impl ::core::fmt::Debug for MFVideoMixPrefs { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIAKEYS_REQUIREMENT").field(&self.0).finish() + f.debug_tuple("MFVideoMixPrefs").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIAKEY_STATUS(pub i32); -impl ::core::marker::Copy for MF_MEDIAKEY_STATUS {} -impl ::core::clone::Clone for MF_MEDIAKEY_STATUS { +pub struct MFVideoPadFlags(pub i32); +impl ::core::marker::Copy for MFVideoPadFlags {} +impl ::core::clone::Clone for MFVideoPadFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIAKEY_STATUS { +impl ::core::default::Default for MFVideoPadFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIAKEY_STATUS { +impl ::windows_core::TypeKind for MFVideoPadFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIAKEY_STATUS { +impl ::core::fmt::Debug for MFVideoPadFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIAKEY_STATUS").field(&self.0).finish() + f.debug_tuple("MFVideoPadFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_CANPLAY(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_CANPLAY {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_CANPLAY { +pub struct MFVideoPrimaries(pub i32); +impl ::core::marker::Copy for MFVideoPrimaries {} +impl ::core::clone::Clone for MFVideoPrimaries { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_CANPLAY { +impl ::core::default::Default for MFVideoPrimaries { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_CANPLAY { +impl ::windows_core::TypeKind for MFVideoPrimaries { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_CANPLAY { +impl ::core::fmt::Debug for MFVideoPrimaries { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_CANPLAY").field(&self.0).finish() + f.debug_tuple("MFVideoPrimaries").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_CREATEFLAGS(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_CREATEFLAGS {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_CREATEFLAGS { +pub struct MFVideoRenderPrefs(pub i32); +impl ::core::marker::Copy for MFVideoRenderPrefs {} +impl ::core::clone::Clone for MFVideoRenderPrefs { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_CREATEFLAGS { +impl ::core::default::Default for MFVideoRenderPrefs { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_CREATEFLAGS { +impl ::windows_core::TypeKind for MFVideoRenderPrefs { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_CREATEFLAGS { +impl ::core::fmt::Debug for MFVideoRenderPrefs { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_CREATEFLAGS").field(&self.0).finish() + f.debug_tuple("MFVideoRenderPrefs").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_ERR(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_ERR {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_ERR { +pub struct MFVideoRotationFormat(pub i32); +impl ::core::marker::Copy for MFVideoRotationFormat {} +impl ::core::clone::Clone for MFVideoRotationFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_ERR { +impl ::core::default::Default for MFVideoRotationFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_ERR { +impl ::windows_core::TypeKind for MFVideoRotationFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_ERR { +impl ::core::fmt::Debug for MFVideoRotationFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_ERR").field(&self.0).finish() + f.debug_tuple("MFVideoRotationFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_EVENT(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_EVENT {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_EVENT { +pub struct MFVideoSphericalFormat(pub i32); +impl ::core::marker::Copy for MFVideoSphericalFormat {} +impl ::core::clone::Clone for MFVideoSphericalFormat { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_EVENT { +impl ::core::default::Default for MFVideoSphericalFormat { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_EVENT { +impl ::windows_core::TypeKind for MFVideoSphericalFormat { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_EVENT { +impl ::core::fmt::Debug for MFVideoSphericalFormat { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_EVENT").field(&self.0).finish() + f.debug_tuple("MFVideoSphericalFormat").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_EXTENSION_TYPE(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_EXTENSION_TYPE {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_EXTENSION_TYPE { +pub struct MFVideoSphericalProjectionMode(pub i32); +impl ::core::marker::Copy for MFVideoSphericalProjectionMode {} +impl ::core::clone::Clone for MFVideoSphericalProjectionMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_EXTENSION_TYPE { +impl ::core::default::Default for MFVideoSphericalProjectionMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_EXTENSION_TYPE { +impl ::windows_core::TypeKind for MFVideoSphericalProjectionMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_EXTENSION_TYPE { +impl ::core::fmt::Debug for MFVideoSphericalProjectionMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_EXTENSION_TYPE").field(&self.0).finish() + f.debug_tuple("MFVideoSphericalProjectionMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { +pub struct MFVideoSrcContentHintFlags(pub i32); +impl ::core::marker::Copy for MFVideoSrcContentHintFlags {} +impl ::core::clone::Clone for MFVideoSrcContentHintFlags { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { +impl ::core::default::Default for MFVideoSrcContentHintFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { +impl ::windows_core::TypeKind for MFVideoSrcContentHintFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { +impl ::core::fmt::Debug for MFVideoSrcContentHintFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS").field(&self.0).finish() + f.debug_tuple("MFVideoSrcContentHintFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_KEYERR(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_KEYERR {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_KEYERR { +pub struct MFVideoTransferFunction(pub i32); +impl ::core::marker::Copy for MFVideoTransferFunction {} +impl ::core::clone::Clone for MFVideoTransferFunction { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_KEYERR { +impl ::core::default::Default for MFVideoTransferFunction { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_KEYERR { +impl ::windows_core::TypeKind for MFVideoTransferFunction { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_KEYERR { +impl ::core::fmt::Debug for MFVideoTransferFunction { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_KEYERR").field(&self.0).finish() + f.debug_tuple("MFVideoTransferFunction").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_NETWORK(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_NETWORK {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_NETWORK { +pub struct MFVideoTransferMatrix(pub i32); +impl ::core::marker::Copy for MFVideoTransferMatrix {} +impl ::core::clone::Clone for MFVideoTransferMatrix { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_NETWORK { +impl ::core::default::Default for MFVideoTransferMatrix { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_NETWORK { +impl ::windows_core::TypeKind for MFVideoTransferMatrix { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_NETWORK { +impl ::core::fmt::Debug for MFVideoTransferMatrix { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_NETWORK").field(&self.0).finish() + f.debug_tuple("MFVideoTransferMatrix").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_OPM_STATUS(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_OPM_STATUS {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_OPM_STATUS { +pub struct MFVirtualCameraAccess(pub i32); +impl ::core::marker::Copy for MFVirtualCameraAccess {} +impl ::core::clone::Clone for MFVirtualCameraAccess { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_OPM_STATUS { +impl ::core::default::Default for MFVirtualCameraAccess { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_OPM_STATUS { +impl ::windows_core::TypeKind for MFVirtualCameraAccess { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_OPM_STATUS { +impl ::core::fmt::Debug for MFVirtualCameraAccess { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_OPM_STATUS").field(&self.0).finish() + f.debug_tuple("MFVirtualCameraAccess").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_PRELOAD(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_PRELOAD {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_PRELOAD { +pub struct MFVirtualCameraLifetime(pub i32); +impl ::core::marker::Copy for MFVirtualCameraLifetime {} +impl ::core::clone::Clone for MFVirtualCameraLifetime { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_PRELOAD { +impl ::core::default::Default for MFVirtualCameraLifetime { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_PRELOAD { +impl ::windows_core::TypeKind for MFVirtualCameraLifetime { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_PRELOAD { +impl ::core::fmt::Debug for MFVirtualCameraLifetime { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_PRELOAD").field(&self.0).finish() + f.debug_tuple("MFVirtualCameraLifetime").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_PROTECTION_FLAGS(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_PROTECTION_FLAGS {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_PROTECTION_FLAGS { +pub struct MFVirtualCameraType(pub i32); +impl ::core::marker::Copy for MFVirtualCameraType {} +impl ::core::clone::Clone for MFVirtualCameraType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_PROTECTION_FLAGS { +impl ::core::default::Default for MFVirtualCameraType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_PROTECTION_FLAGS { +impl ::windows_core::TypeKind for MFVirtualCameraType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_PROTECTION_FLAGS { +impl ::core::fmt::Debug for MFVirtualCameraType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_PROTECTION_FLAGS").field(&self.0).finish() + f.debug_tuple("MFVirtualCameraType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_READY(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_READY {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_READY { - fn clone(&self) -> Self { +pub struct MFWaveFormatExConvertFlags(pub i32); +impl ::core::marker::Copy for MFWaveFormatExConvertFlags {} +impl ::core::clone::Clone for MFWaveFormatExConvertFlags { + fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_READY { +impl ::core::default::Default for MFWaveFormatExConvertFlags { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_READY { +impl ::windows_core::TypeKind for MFWaveFormatExConvertFlags { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_READY { +impl ::core::fmt::Debug for MFWaveFormatExConvertFlags { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_READY").field(&self.0).finish() + f.debug_tuple("MFWaveFormatExConvertFlags").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_S3D_PACKING_MODE(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_S3D_PACKING_MODE {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_S3D_PACKING_MODE { +pub struct MF_ACTIVATE_CUSTOM_MIXER(pub i32); +impl ::core::marker::Copy for MF_ACTIVATE_CUSTOM_MIXER {} +impl ::core::clone::Clone for MF_ACTIVATE_CUSTOM_MIXER { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_S3D_PACKING_MODE { +impl ::core::default::Default for MF_ACTIVATE_CUSTOM_MIXER { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_S3D_PACKING_MODE { +impl ::windows_core::TypeKind for MF_ACTIVATE_CUSTOM_MIXER { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_S3D_PACKING_MODE { +impl ::core::fmt::Debug for MF_ACTIVATE_CUSTOM_MIXER { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_S3D_PACKING_MODE").field(&self.0).finish() + f.debug_tuple("MF_ACTIVATE_CUSTOM_MIXER").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_SEEK_MODE(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_SEEK_MODE {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_SEEK_MODE { +pub struct MF_ACTIVATE_CUSTOM_PRESENTER(pub i32); +impl ::core::marker::Copy for MF_ACTIVATE_CUSTOM_PRESENTER {} +impl ::core::clone::Clone for MF_ACTIVATE_CUSTOM_PRESENTER { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_SEEK_MODE { +impl ::core::default::Default for MF_ACTIVATE_CUSTOM_PRESENTER { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_SEEK_MODE { +impl ::windows_core::TypeKind for MF_ACTIVATE_CUSTOM_PRESENTER { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_SEEK_MODE { +impl ::core::fmt::Debug for MF_ACTIVATE_CUSTOM_PRESENTER { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_SEEK_MODE").field(&self.0).finish() + f.debug_tuple("MF_ACTIVATE_CUSTOM_PRESENTER").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_STATISTIC(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_STATISTIC {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_STATISTIC { +pub struct MF_ATTRIBUTES_MATCH_TYPE(pub i32); +impl ::core::marker::Copy for MF_ATTRIBUTES_MATCH_TYPE {} +impl ::core::clone::Clone for MF_ATTRIBUTES_MATCH_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_STATISTIC { +impl ::core::default::Default for MF_ATTRIBUTES_MATCH_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_STATISTIC { +impl ::windows_core::TypeKind for MF_ATTRIBUTES_MATCH_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_STATISTIC { +impl ::core::fmt::Debug for MF_ATTRIBUTES_MATCH_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_STATISTIC").field(&self.0).finish() + f.debug_tuple("MF_ATTRIBUTES_MATCH_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_ENGINE_STREAMTYPE_FAILED(pub i32); -impl ::core::marker::Copy for MF_MEDIA_ENGINE_STREAMTYPE_FAILED {} -impl ::core::clone::Clone for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { +pub struct MF_ATTRIBUTE_SERIALIZE_OPTIONS(pub i32); +impl ::core::marker::Copy for MF_ATTRIBUTE_SERIALIZE_OPTIONS {} +impl ::core::clone::Clone for MF_ATTRIBUTE_SERIALIZE_OPTIONS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { +impl ::core::default::Default for MF_ATTRIBUTE_SERIALIZE_OPTIONS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { +impl ::windows_core::TypeKind for MF_ATTRIBUTE_SERIALIZE_OPTIONS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { +impl ::core::fmt::Debug for MF_ATTRIBUTE_SERIALIZE_OPTIONS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_ENGINE_STREAMTYPE_FAILED").field(&self.0).finish() + f.debug_tuple("MF_ATTRIBUTE_SERIALIZE_OPTIONS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MEDIA_SHARING_ENGINE_EVENT(pub i32); -impl ::core::marker::Copy for MF_MEDIA_SHARING_ENGINE_EVENT {} -impl ::core::clone::Clone for MF_MEDIA_SHARING_ENGINE_EVENT { +pub struct MF_ATTRIBUTE_TYPE(pub i32); +impl ::core::marker::Copy for MF_ATTRIBUTE_TYPE {} +impl ::core::clone::Clone for MF_ATTRIBUTE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MEDIA_SHARING_ENGINE_EVENT { +impl ::core::default::Default for MF_ATTRIBUTE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MEDIA_SHARING_ENGINE_EVENT { +impl ::windows_core::TypeKind for MF_ATTRIBUTE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MEDIA_SHARING_ENGINE_EVENT { +impl ::core::fmt::Debug for MF_ATTRIBUTE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MEDIA_SHARING_ENGINE_EVENT").field(&self.0).finish() + f.debug_tuple("MF_ATTRIBUTE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MSE_APPEND_MODE(pub i32); -impl ::core::marker::Copy for MF_MSE_APPEND_MODE {} -impl ::core::clone::Clone for MF_MSE_APPEND_MODE { +pub struct MF_AUVRHP_ROOMMODEL(pub i32); +impl ::core::marker::Copy for MF_AUVRHP_ROOMMODEL {} +impl ::core::clone::Clone for MF_AUVRHP_ROOMMODEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MSE_APPEND_MODE { +impl ::core::default::Default for MF_AUVRHP_ROOMMODEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MSE_APPEND_MODE { +impl ::windows_core::TypeKind for MF_AUVRHP_ROOMMODEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MSE_APPEND_MODE { +impl ::core::fmt::Debug for MF_AUVRHP_ROOMMODEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MSE_APPEND_MODE").field(&self.0).finish() + f.debug_tuple("MF_AUVRHP_ROOMMODEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MSE_ERROR(pub i32); -impl ::core::marker::Copy for MF_MSE_ERROR {} -impl ::core::clone::Clone for MF_MSE_ERROR { +pub struct MF_CAMERA_CONTROL_CONFIGURATION_TYPE(pub i32); +impl ::core::marker::Copy for MF_CAMERA_CONTROL_CONFIGURATION_TYPE {} +impl ::core::clone::Clone for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MSE_ERROR { +impl ::core::default::Default for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MSE_ERROR { +impl ::windows_core::TypeKind for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MSE_ERROR { +impl ::core::fmt::Debug for MF_CAMERA_CONTROL_CONFIGURATION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MSE_ERROR").field(&self.0).finish() + f.debug_tuple("MF_CAMERA_CONTROL_CONFIGURATION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MSE_OPUS_SUPPORT_TYPE(pub i32); -impl ::core::marker::Copy for MF_MSE_OPUS_SUPPORT_TYPE {} -impl ::core::clone::Clone for MF_MSE_OPUS_SUPPORT_TYPE { +pub struct MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE(pub i32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MSE_OPUS_SUPPORT_TYPE { +impl ::core::default::Default for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MSE_OPUS_SUPPORT_TYPE { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MSE_OPUS_SUPPORT_TYPE { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MSE_OPUS_SUPPORT_TYPE").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_AUDIO_PROCESSING_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MSE_READY(pub i32); -impl ::core::marker::Copy for MF_MSE_READY {} -impl ::core::clone::Clone for MF_MSE_READY { +pub struct MF_CAPTURE_ENGINE_DEVICE_TYPE(pub i32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_DEVICE_TYPE {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_DEVICE_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MSE_READY { +impl ::core::default::Default for MF_CAPTURE_ENGINE_DEVICE_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MSE_READY { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_DEVICE_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MSE_READY { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_DEVICE_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MSE_READY").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_DEVICE_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MSE_VP9_SUPPORT_TYPE(pub i32); -impl ::core::marker::Copy for MF_MSE_VP9_SUPPORT_TYPE {} -impl ::core::clone::Clone for MF_MSE_VP9_SUPPORT_TYPE { +pub struct MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE(pub i32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MSE_VP9_SUPPORT_TYPE { +impl ::core::default::Default for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MSE_VP9_SUPPORT_TYPE { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MSE_VP9_SUPPORT_TYPE { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MSE_VP9_SUPPORT_TYPE").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_MEDIA_CATEGORY_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_MT_D3D_RESOURCE_VERSION_ENUM(pub i32); -impl ::core::marker::Copy for MF_MT_D3D_RESOURCE_VERSION_ENUM {} -impl ::core::clone::Clone for MF_MT_D3D_RESOURCE_VERSION_ENUM { +pub struct MF_CAPTURE_ENGINE_SINK_TYPE(pub i32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_SINK_TYPE {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_SINK_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_MT_D3D_RESOURCE_VERSION_ENUM { +impl ::core::default::Default for MF_CAPTURE_ENGINE_SINK_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_MT_D3D_RESOURCE_VERSION_ENUM { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_SINK_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_MT_D3D_RESOURCE_VERSION_ENUM { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_SINK_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_MT_D3D_RESOURCE_VERSION_ENUM").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_SINK_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_OBJECT_TYPE(pub i32); -impl ::core::marker::Copy for MF_OBJECT_TYPE {} -impl ::core::clone::Clone for MF_OBJECT_TYPE { +pub struct MF_CAPTURE_ENGINE_SOURCE(pub u32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_SOURCE {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_SOURCE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_OBJECT_TYPE { +impl ::core::default::Default for MF_CAPTURE_ENGINE_SOURCE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_OBJECT_TYPE { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_SOURCE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_OBJECT_TYPE { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_SOURCE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_OBJECT_TYPE").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_SOURCE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_OPM_ACP_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for MF_OPM_ACP_PROTECTION_LEVEL {} -impl ::core::clone::Clone for MF_OPM_ACP_PROTECTION_LEVEL { +pub struct MF_CAPTURE_ENGINE_STREAM_CATEGORY(pub i32); +impl ::core::marker::Copy for MF_CAPTURE_ENGINE_STREAM_CATEGORY {} +impl ::core::clone::Clone for MF_CAPTURE_ENGINE_STREAM_CATEGORY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_OPM_ACP_PROTECTION_LEVEL { +impl ::core::default::Default for MF_CAPTURE_ENGINE_STREAM_CATEGORY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_OPM_ACP_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_CAPTURE_ENGINE_STREAM_CATEGORY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_OPM_ACP_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_CAPTURE_ENGINE_STREAM_CATEGORY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_OPM_ACP_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_CAPTURE_ENGINE_STREAM_CATEGORY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_OPM_CGMSA_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for MF_OPM_CGMSA_PROTECTION_LEVEL {} -impl ::core::clone::Clone for MF_OPM_CGMSA_PROTECTION_LEVEL { +pub struct MF_CONNECT_METHOD(pub i32); +impl ::core::marker::Copy for MF_CONNECT_METHOD {} +impl ::core::clone::Clone for MF_CONNECT_METHOD { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_OPM_CGMSA_PROTECTION_LEVEL { +impl ::core::default::Default for MF_CONNECT_METHOD { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_OPM_CGMSA_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_CONNECT_METHOD { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_OPM_CGMSA_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_CONNECT_METHOD { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_OPM_CGMSA_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_CONNECT_METHOD").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_PLUGIN_CONTROL_POLICY(pub i32); -impl ::core::marker::Copy for MF_PLUGIN_CONTROL_POLICY {} -impl ::core::clone::Clone for MF_PLUGIN_CONTROL_POLICY { +pub struct MF_CROSS_ORIGIN_POLICY(pub i32); +impl ::core::marker::Copy for MF_CROSS_ORIGIN_POLICY {} +impl ::core::clone::Clone for MF_CROSS_ORIGIN_POLICY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_PLUGIN_CONTROL_POLICY { +impl ::core::default::Default for MF_CROSS_ORIGIN_POLICY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_PLUGIN_CONTROL_POLICY { +impl ::windows_core::TypeKind for MF_CROSS_ORIGIN_POLICY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_PLUGIN_CONTROL_POLICY { +impl ::core::fmt::Debug for MF_CROSS_ORIGIN_POLICY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_PLUGIN_CONTROL_POLICY").field(&self.0).finish() + f.debug_tuple("MF_CROSS_ORIGIN_POLICY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_Plugin_Type(pub i32); -impl ::core::marker::Copy for MF_Plugin_Type {} -impl ::core::clone::Clone for MF_Plugin_Type { +pub struct MF_CUSTOM_DECODE_UNIT_TYPE(pub i32); +impl ::core::marker::Copy for MF_CUSTOM_DECODE_UNIT_TYPE {} +impl ::core::clone::Clone for MF_CUSTOM_DECODE_UNIT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_Plugin_Type { +impl ::core::default::Default for MF_CUSTOM_DECODE_UNIT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_Plugin_Type { +impl ::windows_core::TypeKind for MF_CUSTOM_DECODE_UNIT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_Plugin_Type { +impl ::core::fmt::Debug for MF_CUSTOM_DECODE_UNIT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_Plugin_Type").field(&self.0).finish() + f.debug_tuple("MF_CUSTOM_DECODE_UNIT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_QUALITY_ADVISE_FLAGS(pub i32); -impl ::core::marker::Copy for MF_QUALITY_ADVISE_FLAGS {} -impl ::core::clone::Clone for MF_QUALITY_ADVISE_FLAGS { +pub struct MF_EVENT_TYPE(pub i32); +impl ::core::marker::Copy for MF_EVENT_TYPE {} +impl ::core::clone::Clone for MF_EVENT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_QUALITY_ADVISE_FLAGS { +impl ::core::default::Default for MF_EVENT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_QUALITY_ADVISE_FLAGS { +impl ::windows_core::TypeKind for MF_EVENT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_QUALITY_ADVISE_FLAGS { +impl ::core::fmt::Debug for MF_EVENT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_QUALITY_ADVISE_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_EVENT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_QUALITY_DROP_MODE(pub i32); -impl ::core::marker::Copy for MF_QUALITY_DROP_MODE {} -impl ::core::clone::Clone for MF_QUALITY_DROP_MODE { +pub struct MF_FILE_ACCESSMODE(pub i32); +impl ::core::marker::Copy for MF_FILE_ACCESSMODE {} +impl ::core::clone::Clone for MF_FILE_ACCESSMODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_QUALITY_DROP_MODE { +impl ::core::default::Default for MF_FILE_ACCESSMODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_QUALITY_DROP_MODE { +impl ::windows_core::TypeKind for MF_FILE_ACCESSMODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_QUALITY_DROP_MODE { +impl ::core::fmt::Debug for MF_FILE_ACCESSMODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_QUALITY_DROP_MODE").field(&self.0).finish() + f.debug_tuple("MF_FILE_ACCESSMODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_QUALITY_LEVEL(pub i32); -impl ::core::marker::Copy for MF_QUALITY_LEVEL {} -impl ::core::clone::Clone for MF_QUALITY_LEVEL { +pub struct MF_FILE_FLAGS(pub i32); +impl ::core::marker::Copy for MF_FILE_FLAGS {} +impl ::core::clone::Clone for MF_FILE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_QUALITY_LEVEL { +impl ::core::default::Default for MF_FILE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_QUALITY_LEVEL { +impl ::windows_core::TypeKind for MF_FILE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_QUALITY_LEVEL { +impl ::core::fmt::Debug for MF_FILE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_QUALITY_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_FILE_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_RESOLUTION_FLAGS(pub i32); -impl ::core::marker::Copy for MF_RESOLUTION_FLAGS {} -impl ::core::clone::Clone for MF_RESOLUTION_FLAGS { +pub struct MF_FILE_OPENMODE(pub i32); +impl ::core::marker::Copy for MF_FILE_OPENMODE {} +impl ::core::clone::Clone for MF_FILE_OPENMODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_RESOLUTION_FLAGS { +impl ::core::default::Default for MF_FILE_OPENMODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_RESOLUTION_FLAGS { +impl ::windows_core::TypeKind for MF_FILE_OPENMODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_RESOLUTION_FLAGS { +impl ::core::fmt::Debug for MF_FILE_OPENMODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_RESOLUTION_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_FILE_OPENMODE").field(&self.0).finish() } } -impl MF_RESOLUTION_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MF_HDCP_STATUS(pub i32); +impl ::core::marker::Copy for MF_HDCP_STATUS {} +impl ::core::clone::Clone for MF_HDCP_STATUS { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOr for MF_RESOLUTION_FLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) +impl ::core::default::Default for MF_HDCP_STATUS { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAnd for MF_RESOLUTION_FLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) +impl ::windows_core::TypeKind for MF_HDCP_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MF_HDCP_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MF_HDCP_STATUS").field(&self.0).finish() } } -impl ::core::ops::BitOrAssign for MF_RESOLUTION_FLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MF_MEDIAKEYSESSION_MESSAGETYPE(pub i32); +impl ::core::marker::Copy for MF_MEDIAKEYSESSION_MESSAGETYPE {} +impl ::core::clone::Clone for MF_MEDIAKEYSESSION_MESSAGETYPE { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitAndAssign for MF_RESOLUTION_FLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) +impl ::core::default::Default for MF_MEDIAKEYSESSION_MESSAGETYPE { + fn default() -> Self { + Self(0) } } -impl ::core::ops::Not for MF_RESOLUTION_FLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::windows_core::TypeKind for MF_MEDIAKEYSESSION_MESSAGETYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MF_MEDIAKEYSESSION_MESSAGETYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MF_MEDIAKEYSESSION_MESSAGETYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SERVICE_LOOKUP_TYPE(pub i32); -impl ::core::marker::Copy for MF_SERVICE_LOOKUP_TYPE {} -impl ::core::clone::Clone for MF_SERVICE_LOOKUP_TYPE { +pub struct MF_MEDIAKEYSESSION_TYPE(pub i32); +impl ::core::marker::Copy for MF_MEDIAKEYSESSION_TYPE {} +impl ::core::clone::Clone for MF_MEDIAKEYSESSION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SERVICE_LOOKUP_TYPE { +impl ::core::default::Default for MF_MEDIAKEYSESSION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SERVICE_LOOKUP_TYPE { +impl ::windows_core::TypeKind for MF_MEDIAKEYSESSION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SERVICE_LOOKUP_TYPE { +impl ::core::fmt::Debug for MF_MEDIAKEYSESSION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SERVICE_LOOKUP_TYPE").field(&self.0).finish() + f.debug_tuple("MF_MEDIAKEYSESSION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SHARING_ENGINE_EVENT(pub i32); -impl ::core::marker::Copy for MF_SHARING_ENGINE_EVENT {} -impl ::core::clone::Clone for MF_SHARING_ENGINE_EVENT { +pub struct MF_MEDIAKEYS_REQUIREMENT(pub i32); +impl ::core::marker::Copy for MF_MEDIAKEYS_REQUIREMENT {} +impl ::core::clone::Clone for MF_MEDIAKEYS_REQUIREMENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SHARING_ENGINE_EVENT { +impl ::core::default::Default for MF_MEDIAKEYS_REQUIREMENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SHARING_ENGINE_EVENT { +impl ::windows_core::TypeKind for MF_MEDIAKEYS_REQUIREMENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SHARING_ENGINE_EVENT { +impl ::core::fmt::Debug for MF_MEDIAKEYS_REQUIREMENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SHARING_ENGINE_EVENT").field(&self.0).finish() + f.debug_tuple("MF_MEDIAKEYS_REQUIREMENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SINK_WRITER_CONSTANTS(pub u32); -impl ::core::marker::Copy for MF_SINK_WRITER_CONSTANTS {} -impl ::core::clone::Clone for MF_SINK_WRITER_CONSTANTS { +pub struct MF_MEDIAKEY_STATUS(pub i32); +impl ::core::marker::Copy for MF_MEDIAKEY_STATUS {} +impl ::core::clone::Clone for MF_MEDIAKEY_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SINK_WRITER_CONSTANTS { +impl ::core::default::Default for MF_MEDIAKEY_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SINK_WRITER_CONSTANTS { +impl ::windows_core::TypeKind for MF_MEDIAKEY_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SINK_WRITER_CONSTANTS { +impl ::core::fmt::Debug for MF_MEDIAKEY_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SINK_WRITER_CONSTANTS").field(&self.0).finish() + f.debug_tuple("MF_MEDIAKEY_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SOURCE_READER_CONSTANTS(pub i32); -impl ::core::marker::Copy for MF_SOURCE_READER_CONSTANTS {} -impl ::core::clone::Clone for MF_SOURCE_READER_CONSTANTS { +pub struct MF_MEDIA_ENGINE_CANPLAY(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_CANPLAY {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_CANPLAY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SOURCE_READER_CONSTANTS { +impl ::core::default::Default for MF_MEDIA_ENGINE_CANPLAY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SOURCE_READER_CONSTANTS { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_CANPLAY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SOURCE_READER_CONSTANTS { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_CANPLAY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SOURCE_READER_CONSTANTS").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_CANPLAY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SOURCE_READER_CONTROL_FLAG(pub i32); -impl ::core::marker::Copy for MF_SOURCE_READER_CONTROL_FLAG {} -impl ::core::clone::Clone for MF_SOURCE_READER_CONTROL_FLAG { +pub struct MF_MEDIA_ENGINE_CREATEFLAGS(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_CREATEFLAGS {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_CREATEFLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SOURCE_READER_CONTROL_FLAG { +impl ::core::default::Default for MF_MEDIA_ENGINE_CREATEFLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SOURCE_READER_CONTROL_FLAG { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_CREATEFLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SOURCE_READER_CONTROL_FLAG { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_CREATEFLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SOURCE_READER_CONTROL_FLAG").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_CREATEFLAGS").field(&self.0).finish() } } -impl MF_SOURCE_READER_CONTROL_FLAG { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MF_MEDIA_ENGINE_ERR(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_ERR {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_ERR { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOr for MF_SOURCE_READER_CONTROL_FLAG { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) +impl ::core::default::Default for MF_MEDIA_ENGINE_ERR { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAnd for MF_SOURCE_READER_CONTROL_FLAG { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_ERR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_ERR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MF_MEDIA_ENGINE_ERR").field(&self.0).finish() } } -impl ::core::ops::BitOrAssign for MF_SOURCE_READER_CONTROL_FLAG { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MF_MEDIA_ENGINE_EVENT(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_EVENT {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_EVENT { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitAndAssign for MF_SOURCE_READER_CONTROL_FLAG { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) +impl ::core::default::Default for MF_MEDIA_ENGINE_EVENT { + fn default() -> Self { + Self(0) } } -impl ::core::ops::Not for MF_SOURCE_READER_CONTROL_FLAG { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_EVENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_EVENT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MF_MEDIA_ENGINE_EVENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS(pub i32); -impl ::core::marker::Copy for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS {} -impl ::core::clone::Clone for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { +pub struct MF_MEDIA_ENGINE_EXTENSION_TYPE(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_EXTENSION_TYPE {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_EXTENSION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { +impl ::core::default::Default for MF_MEDIA_ENGINE_EXTENSION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_EXTENSION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_EXTENSION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_EXTENSION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_SOURCE_READER_FLAG(pub i32); -impl ::core::marker::Copy for MF_SOURCE_READER_FLAG {} -impl ::core::clone::Clone for MF_SOURCE_READER_FLAG { +pub struct MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_SOURCE_READER_FLAG { +impl ::core::default::Default for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_SOURCE_READER_FLAG { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_SOURCE_READER_FLAG { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_SOURCE_READER_FLAG").field(&self.0).finish() - } -} -impl MF_SOURCE_READER_FLAG { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 + f.debug_tuple("MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS").field(&self.0).finish() } } -impl ::core::ops::BitOr for MF_SOURCE_READER_FLAG { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MF_MEDIA_ENGINE_KEYERR(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_KEYERR {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_KEYERR { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitAnd for MF_SOURCE_READER_FLAG { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) - } -} -impl ::core::ops::BitOrAssign for MF_SOURCE_READER_FLAG { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +impl ::core::default::Default for MF_MEDIA_ENGINE_KEYERR { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAndAssign for MF_SOURCE_READER_FLAG { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_KEYERR { + type TypeKind = ::windows_core::CopyType; } -impl ::core::ops::Not for MF_SOURCE_READER_FLAG { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_KEYERR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MF_MEDIA_ENGINE_KEYERR").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_STREAM_STATE(pub i32); -impl ::core::marker::Copy for MF_STREAM_STATE {} -impl ::core::clone::Clone for MF_STREAM_STATE { +pub struct MF_MEDIA_ENGINE_NETWORK(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_NETWORK {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_NETWORK { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_STREAM_STATE { +impl ::core::default::Default for MF_MEDIA_ENGINE_NETWORK { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_STREAM_STATE { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_NETWORK { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_STREAM_STATE { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_NETWORK { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_STREAM_STATE").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_NETWORK").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_ALIGNMENT(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_ALIGNMENT {} -impl ::core::clone::Clone for MF_TIMED_TEXT_ALIGNMENT { +pub struct MF_MEDIA_ENGINE_OPM_STATUS(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_OPM_STATUS {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_OPM_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_ALIGNMENT { +impl ::core::default::Default for MF_MEDIA_ENGINE_OPM_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_ALIGNMENT { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_OPM_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_ALIGNMENT { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_OPM_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_ALIGNMENT").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_OPM_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_BOUTEN_POSITION(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_BOUTEN_POSITION {} -impl ::core::clone::Clone for MF_TIMED_TEXT_BOUTEN_POSITION { +pub struct MF_MEDIA_ENGINE_PRELOAD(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_PRELOAD {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_PRELOAD { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_BOUTEN_POSITION { +impl ::core::default::Default for MF_MEDIA_ENGINE_PRELOAD { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_BOUTEN_POSITION { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_PRELOAD { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_BOUTEN_POSITION { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_PRELOAD { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_BOUTEN_POSITION").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_PRELOAD").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_BOUTEN_TYPE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_BOUTEN_TYPE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_BOUTEN_TYPE { +pub struct MF_MEDIA_ENGINE_PROTECTION_FLAGS(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_PROTECTION_FLAGS {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_PROTECTION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_BOUTEN_TYPE { +impl ::core::default::Default for MF_MEDIA_ENGINE_PROTECTION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_BOUTEN_TYPE { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_PROTECTION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_BOUTEN_TYPE { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_PROTECTION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_BOUTEN_TYPE").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_PROTECTION_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_CUE_EVENT(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_CUE_EVENT {} -impl ::core::clone::Clone for MF_TIMED_TEXT_CUE_EVENT { +pub struct MF_MEDIA_ENGINE_READY(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_READY {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_READY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_CUE_EVENT { +impl ::core::default::Default for MF_MEDIA_ENGINE_READY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_CUE_EVENT { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_READY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_CUE_EVENT { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_READY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_CUE_EVENT").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_READY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_DECORATION(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_DECORATION {} -impl ::core::clone::Clone for MF_TIMED_TEXT_DECORATION { +pub struct MF_MEDIA_ENGINE_S3D_PACKING_MODE(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_S3D_PACKING_MODE {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_S3D_PACKING_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_DECORATION { +impl ::core::default::Default for MF_MEDIA_ENGINE_S3D_PACKING_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_DECORATION { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_S3D_PACKING_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_DECORATION { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_S3D_PACKING_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_DECORATION").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_S3D_PACKING_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_DISPLAY_ALIGNMENT(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_DISPLAY_ALIGNMENT {} -impl ::core::clone::Clone for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { +pub struct MF_MEDIA_ENGINE_SEEK_MODE(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_SEEK_MODE {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_SEEK_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { +impl ::core::default::Default for MF_MEDIA_ENGINE_SEEK_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_SEEK_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_SEEK_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_DISPLAY_ALIGNMENT").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_SEEK_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_ERROR_CODE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_ERROR_CODE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_ERROR_CODE { +pub struct MF_MEDIA_ENGINE_STATISTIC(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_STATISTIC {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_STATISTIC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_ERROR_CODE { +impl ::core::default::Default for MF_MEDIA_ENGINE_STATISTIC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_ERROR_CODE { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_STATISTIC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_ERROR_CODE { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_STATISTIC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_ERROR_CODE").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_STATISTIC").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_FONT_STYLE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_FONT_STYLE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_FONT_STYLE { +pub struct MF_MEDIA_ENGINE_STREAMTYPE_FAILED(pub i32); +impl ::core::marker::Copy for MF_MEDIA_ENGINE_STREAMTYPE_FAILED {} +impl ::core::clone::Clone for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_FONT_STYLE { +impl ::core::default::Default for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_FONT_STYLE { +impl ::windows_core::TypeKind for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_FONT_STYLE { +impl ::core::fmt::Debug for MF_MEDIA_ENGINE_STREAMTYPE_FAILED { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_FONT_STYLE").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_ENGINE_STREAMTYPE_FAILED").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_RUBY_ALIGN(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_ALIGN {} -impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_ALIGN { +pub struct MF_MEDIA_SHARING_ENGINE_EVENT(pub i32); +impl ::core::marker::Copy for MF_MEDIA_SHARING_ENGINE_EVENT {} +impl ::core::clone::Clone for MF_MEDIA_SHARING_ENGINE_EVENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_RUBY_ALIGN { +impl ::core::default::Default for MF_MEDIA_SHARING_ENGINE_EVENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_ALIGN { +impl ::windows_core::TypeKind for MF_MEDIA_SHARING_ENGINE_EVENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_ALIGN { +impl ::core::fmt::Debug for MF_MEDIA_SHARING_ENGINE_EVENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_RUBY_ALIGN").field(&self.0).finish() + f.debug_tuple("MF_MEDIA_SHARING_ENGINE_EVENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_RUBY_POSITION(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_POSITION {} -impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_POSITION { +pub struct MF_MSE_APPEND_MODE(pub i32); +impl ::core::marker::Copy for MF_MSE_APPEND_MODE {} +impl ::core::clone::Clone for MF_MSE_APPEND_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_RUBY_POSITION { +impl ::core::default::Default for MF_MSE_APPEND_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_POSITION { +impl ::windows_core::TypeKind for MF_MSE_APPEND_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_POSITION { +impl ::core::fmt::Debug for MF_MSE_APPEND_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_RUBY_POSITION").field(&self.0).finish() + f.debug_tuple("MF_MSE_APPEND_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_RUBY_RESERVE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_RESERVE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_RESERVE { +pub struct MF_MSE_ERROR(pub i32); +impl ::core::marker::Copy for MF_MSE_ERROR {} +impl ::core::clone::Clone for MF_MSE_ERROR { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_RUBY_RESERVE { +impl ::core::default::Default for MF_MSE_ERROR { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_RESERVE { +impl ::windows_core::TypeKind for MF_MSE_ERROR { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_RESERVE { +impl ::core::fmt::Debug for MF_MSE_ERROR { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_RUBY_RESERVE").field(&self.0).finish() + f.debug_tuple("MF_MSE_ERROR").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_SCROLL_MODE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_SCROLL_MODE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_SCROLL_MODE { +pub struct MF_MSE_OPUS_SUPPORT_TYPE(pub i32); +impl ::core::marker::Copy for MF_MSE_OPUS_SUPPORT_TYPE {} +impl ::core::clone::Clone for MF_MSE_OPUS_SUPPORT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_SCROLL_MODE { +impl ::core::default::Default for MF_MSE_OPUS_SUPPORT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_SCROLL_MODE { +impl ::windows_core::TypeKind for MF_MSE_OPUS_SUPPORT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_SCROLL_MODE { +impl ::core::fmt::Debug for MF_MSE_OPUS_SUPPORT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_SCROLL_MODE").field(&self.0).finish() + f.debug_tuple("MF_MSE_OPUS_SUPPORT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_TRACK_KIND(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_TRACK_KIND {} -impl ::core::clone::Clone for MF_TIMED_TEXT_TRACK_KIND { +pub struct MF_MSE_READY(pub i32); +impl ::core::marker::Copy for MF_MSE_READY {} +impl ::core::clone::Clone for MF_MSE_READY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_TRACK_KIND { +impl ::core::default::Default for MF_MSE_READY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_TRACK_KIND { +impl ::windows_core::TypeKind for MF_MSE_READY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_TRACK_KIND { +impl ::core::fmt::Debug for MF_MSE_READY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_TRACK_KIND").field(&self.0).finish() + f.debug_tuple("MF_MSE_READY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_TRACK_READY_STATE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_TRACK_READY_STATE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_TRACK_READY_STATE { +pub struct MF_MSE_VP9_SUPPORT_TYPE(pub i32); +impl ::core::marker::Copy for MF_MSE_VP9_SUPPORT_TYPE {} +impl ::core::clone::Clone for MF_MSE_VP9_SUPPORT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_TRACK_READY_STATE { +impl ::core::default::Default for MF_MSE_VP9_SUPPORT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_TRACK_READY_STATE { +impl ::windows_core::TypeKind for MF_MSE_VP9_SUPPORT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_TRACK_READY_STATE { +impl ::core::fmt::Debug for MF_MSE_VP9_SUPPORT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_TRACK_READY_STATE").field(&self.0).finish() + f.debug_tuple("MF_MSE_VP9_SUPPORT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_UNIT_TYPE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_UNIT_TYPE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_UNIT_TYPE { +pub struct MF_MT_D3D_RESOURCE_VERSION_ENUM(pub i32); +impl ::core::marker::Copy for MF_MT_D3D_RESOURCE_VERSION_ENUM {} +impl ::core::clone::Clone for MF_MT_D3D_RESOURCE_VERSION_ENUM { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_UNIT_TYPE { +impl ::core::default::Default for MF_MT_D3D_RESOURCE_VERSION_ENUM { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_UNIT_TYPE { +impl ::windows_core::TypeKind for MF_MT_D3D_RESOURCE_VERSION_ENUM { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_UNIT_TYPE { +impl ::core::fmt::Debug for MF_MT_D3D_RESOURCE_VERSION_ENUM { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_UNIT_TYPE").field(&self.0).finish() + f.debug_tuple("MF_MT_D3D_RESOURCE_VERSION_ENUM").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TIMED_TEXT_WRITING_MODE(pub i32); -impl ::core::marker::Copy for MF_TIMED_TEXT_WRITING_MODE {} -impl ::core::clone::Clone for MF_TIMED_TEXT_WRITING_MODE { +pub struct MF_OBJECT_TYPE(pub i32); +impl ::core::marker::Copy for MF_OBJECT_TYPE {} +impl ::core::clone::Clone for MF_OBJECT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TIMED_TEXT_WRITING_MODE { +impl ::core::default::Default for MF_OBJECT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TIMED_TEXT_WRITING_MODE { +impl ::windows_core::TypeKind for MF_OBJECT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TIMED_TEXT_WRITING_MODE { +impl ::core::fmt::Debug for MF_OBJECT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TIMED_TEXT_WRITING_MODE").field(&self.0).finish() + f.debug_tuple("MF_OBJECT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS(pub i32); -impl ::core::marker::Copy for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS {} -impl ::core::clone::Clone for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { +pub struct MF_OPM_ACP_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for MF_OPM_ACP_PROTECTION_LEVEL {} +impl ::core::clone::Clone for MF_OPM_ACP_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { +impl ::core::default::Default for MF_OPM_ACP_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { +impl ::windows_core::TypeKind for MF_OPM_ACP_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { +impl ::core::fmt::Debug for MF_OPM_ACP_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_OPM_ACP_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TOPOLOGY_TYPE(pub i32); -impl ::core::marker::Copy for MF_TOPOLOGY_TYPE {} -impl ::core::clone::Clone for MF_TOPOLOGY_TYPE { +pub struct MF_OPM_CGMSA_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for MF_OPM_CGMSA_PROTECTION_LEVEL {} +impl ::core::clone::Clone for MF_OPM_CGMSA_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TOPOLOGY_TYPE { +impl ::core::default::Default for MF_OPM_CGMSA_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TOPOLOGY_TYPE { +impl ::windows_core::TypeKind for MF_OPM_CGMSA_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TOPOLOGY_TYPE { +impl ::core::fmt::Debug for MF_OPM_CGMSA_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TOPOLOGY_TYPE").field(&self.0).finish() + f.debug_tuple("MF_OPM_CGMSA_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TOPONODE_DRAIN_MODE(pub i32); -impl ::core::marker::Copy for MF_TOPONODE_DRAIN_MODE {} -impl ::core::clone::Clone for MF_TOPONODE_DRAIN_MODE { +pub struct MF_PLUGIN_CONTROL_POLICY(pub i32); +impl ::core::marker::Copy for MF_PLUGIN_CONTROL_POLICY {} +impl ::core::clone::Clone for MF_PLUGIN_CONTROL_POLICY { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TOPONODE_DRAIN_MODE { +impl ::core::default::Default for MF_PLUGIN_CONTROL_POLICY { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TOPONODE_DRAIN_MODE { +impl ::windows_core::TypeKind for MF_PLUGIN_CONTROL_POLICY { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TOPONODE_DRAIN_MODE { +impl ::core::fmt::Debug for MF_PLUGIN_CONTROL_POLICY { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TOPONODE_DRAIN_MODE").field(&self.0).finish() + f.debug_tuple("MF_PLUGIN_CONTROL_POLICY").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TOPONODE_FLUSH_MODE(pub i32); -impl ::core::marker::Copy for MF_TOPONODE_FLUSH_MODE {} -impl ::core::clone::Clone for MF_TOPONODE_FLUSH_MODE { +pub struct MF_Plugin_Type(pub i32); +impl ::core::marker::Copy for MF_Plugin_Type {} +impl ::core::clone::Clone for MF_Plugin_Type { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TOPONODE_FLUSH_MODE { +impl ::core::default::Default for MF_Plugin_Type { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TOPONODE_FLUSH_MODE { +impl ::windows_core::TypeKind for MF_Plugin_Type { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TOPONODE_FLUSH_MODE { +impl ::core::fmt::Debug for MF_Plugin_Type { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TOPONODE_FLUSH_MODE").field(&self.0).finish() + f.debug_tuple("MF_Plugin_Type").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TOPOSTATUS(pub i32); -impl ::core::marker::Copy for MF_TOPOSTATUS {} -impl ::core::clone::Clone for MF_TOPOSTATUS { +pub struct MF_QUALITY_ADVISE_FLAGS(pub i32); +impl ::core::marker::Copy for MF_QUALITY_ADVISE_FLAGS {} +impl ::core::clone::Clone for MF_QUALITY_ADVISE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TOPOSTATUS { +impl ::core::default::Default for MF_QUALITY_ADVISE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TOPOSTATUS { +impl ::windows_core::TypeKind for MF_QUALITY_ADVISE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TOPOSTATUS { +impl ::core::fmt::Debug for MF_QUALITY_ADVISE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TOPOSTATUS").field(&self.0).finish() + f.debug_tuple("MF_QUALITY_ADVISE_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TRANSCODE_ADJUST_PROFILE_FLAGS(pub i32); -impl ::core::marker::Copy for MF_TRANSCODE_ADJUST_PROFILE_FLAGS {} -impl ::core::clone::Clone for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { +pub struct MF_QUALITY_DROP_MODE(pub i32); +impl ::core::marker::Copy for MF_QUALITY_DROP_MODE {} +impl ::core::clone::Clone for MF_QUALITY_DROP_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { +impl ::core::default::Default for MF_QUALITY_DROP_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { +impl ::windows_core::TypeKind for MF_QUALITY_DROP_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { +impl ::core::fmt::Debug for MF_QUALITY_DROP_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TRANSCODE_ADJUST_PROFILE_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_QUALITY_DROP_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_TRANSCODE_TOPOLOGYMODE_FLAGS(pub i32); -impl ::core::marker::Copy for MF_TRANSCODE_TOPOLOGYMODE_FLAGS {} -impl ::core::clone::Clone for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { +pub struct MF_QUALITY_LEVEL(pub i32); +impl ::core::marker::Copy for MF_QUALITY_LEVEL {} +impl ::core::clone::Clone for MF_QUALITY_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { +impl ::core::default::Default for MF_QUALITY_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { +impl ::windows_core::TypeKind for MF_QUALITY_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { +impl ::core::fmt::Debug for MF_QUALITY_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_TRANSCODE_TOPOLOGYMODE_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_QUALITY_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_URL_TRUST_STATUS(pub i32); -impl ::core::marker::Copy for MF_URL_TRUST_STATUS {} -impl ::core::clone::Clone for MF_URL_TRUST_STATUS { +pub struct MF_RESOLUTION_FLAGS(pub i32); +impl ::core::marker::Copy for MF_RESOLUTION_FLAGS {} +impl ::core::clone::Clone for MF_RESOLUTION_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_URL_TRUST_STATUS { +impl ::core::default::Default for MF_RESOLUTION_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_URL_TRUST_STATUS { +impl ::windows_core::TypeKind for MF_RESOLUTION_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_URL_TRUST_STATUS { +impl ::core::fmt::Debug for MF_RESOLUTION_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_URL_TRUST_STATUS").field(&self.0).finish() + f.debug_tuple("MF_RESOLUTION_FLAGS").field(&self.0).finish() + } +} +impl MF_RESOLUTION_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for MF_RESOLUTION_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for MF_RESOLUTION_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for MF_RESOLUTION_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for MF_RESOLUTION_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for MF_RESOLUTION_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_VIDEO_PROCESSOR_ALGORITHM_TYPE(pub i32); -impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE {} -impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { +pub struct MF_SERVICE_LOOKUP_TYPE(pub i32); +impl ::core::marker::Copy for MF_SERVICE_LOOKUP_TYPE {} +impl ::core::clone::Clone for MF_SERVICE_LOOKUP_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { +impl ::core::default::Default for MF_SERVICE_LOOKUP_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { +impl ::windows_core::TypeKind for MF_SERVICE_LOOKUP_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { +impl ::core::fmt::Debug for MF_SERVICE_LOOKUP_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_VIDEO_PROCESSOR_ALGORITHM_TYPE").field(&self.0).finish() + f.debug_tuple("MF_SERVICE_LOOKUP_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_VIDEO_PROCESSOR_MIRROR(pub i32); -impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_MIRROR {} -impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_MIRROR { +pub struct MF_SHARING_ENGINE_EVENT(pub i32); +impl ::core::marker::Copy for MF_SHARING_ENGINE_EVENT {} +impl ::core::clone::Clone for MF_SHARING_ENGINE_EVENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_VIDEO_PROCESSOR_MIRROR { +impl ::core::default::Default for MF_SHARING_ENGINE_EVENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_MIRROR { +impl ::windows_core::TypeKind for MF_SHARING_ENGINE_EVENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_MIRROR { +impl ::core::fmt::Debug for MF_SHARING_ENGINE_EVENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_VIDEO_PROCESSOR_MIRROR").field(&self.0).finish() + f.debug_tuple("MF_SHARING_ENGINE_EVENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MF_VIDEO_PROCESSOR_ROTATION(pub i32); -impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_ROTATION {} -impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_ROTATION { +pub struct MF_SINK_WRITER_CONSTANTS(pub u32); +impl ::core::marker::Copy for MF_SINK_WRITER_CONSTANTS {} +impl ::core::clone::Clone for MF_SINK_WRITER_CONSTANTS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MF_VIDEO_PROCESSOR_ROTATION { +impl ::core::default::Default for MF_SINK_WRITER_CONSTANTS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_ROTATION { +impl ::windows_core::TypeKind for MF_SINK_WRITER_CONSTANTS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_ROTATION { +impl ::core::fmt::Debug for MF_SINK_WRITER_CONSTANTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MF_VIDEO_PROCESSOR_ROTATION").field(&self.0).finish() + f.debug_tuple("MF_SINK_WRITER_CONSTANTS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MIC_ARRAY_MODE(pub i32); -impl ::core::marker::Copy for MIC_ARRAY_MODE {} -impl ::core::clone::Clone for MIC_ARRAY_MODE { +pub struct MF_SOURCE_READER_CONSTANTS(pub i32); +impl ::core::marker::Copy for MF_SOURCE_READER_CONSTANTS {} +impl ::core::clone::Clone for MF_SOURCE_READER_CONSTANTS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MIC_ARRAY_MODE { +impl ::core::default::Default for MF_SOURCE_READER_CONSTANTS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MIC_ARRAY_MODE { +impl ::windows_core::TypeKind for MF_SOURCE_READER_CONSTANTS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MIC_ARRAY_MODE { +impl ::core::fmt::Debug for MF_SOURCE_READER_CONSTANTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MIC_ARRAY_MODE").field(&self.0).finish() + f.debug_tuple("MF_SOURCE_READER_CONSTANTS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct MPEG2VIDEOINFO_FLAGS(pub u32); -impl ::core::marker::Copy for MPEG2VIDEOINFO_FLAGS {} -impl ::core::clone::Clone for MPEG2VIDEOINFO_FLAGS { +pub struct MF_SOURCE_READER_CONTROL_FLAG(pub i32); +impl ::core::marker::Copy for MF_SOURCE_READER_CONTROL_FLAG {} +impl ::core::clone::Clone for MF_SOURCE_READER_CONTROL_FLAG { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for MPEG2VIDEOINFO_FLAGS { +impl ::core::default::Default for MF_SOURCE_READER_CONTROL_FLAG { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for MPEG2VIDEOINFO_FLAGS { +impl ::windows_core::TypeKind for MF_SOURCE_READER_CONTROL_FLAG { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for MPEG2VIDEOINFO_FLAGS { +impl ::core::fmt::Debug for MF_SOURCE_READER_CONTROL_FLAG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("MPEG2VIDEOINFO_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_SOURCE_READER_CONTROL_FLAG").field(&self.0).finish() } } -impl MPEG2VIDEOINFO_FLAGS { +impl MF_SOURCE_READER_CONTROL_FLAG { pub const fn contains(&self, other: Self) -> bool { self.0 & other.0 == other.0 } } -impl ::core::ops::BitOr for MPEG2VIDEOINFO_FLAGS { +impl ::core::ops::BitOr for MF_SOURCE_READER_CONTROL_FLAG { type Output = Self; fn bitor(self, other: Self) -> Self { Self(self.0 | other.0) } } -impl ::core::ops::BitAnd for MPEG2VIDEOINFO_FLAGS { +impl ::core::ops::BitAnd for MF_SOURCE_READER_CONTROL_FLAG { type Output = Self; fn bitand(self, other: Self) -> Self { Self(self.0 & other.0) } } -impl ::core::ops::BitOrAssign for MPEG2VIDEOINFO_FLAGS { +impl ::core::ops::BitOrAssign for MF_SOURCE_READER_CONTROL_FLAG { fn bitor_assign(&mut self, other: Self) { self.0.bitor_assign(other.0) } } -impl ::core::ops::BitAndAssign for MPEG2VIDEOINFO_FLAGS { +impl ::core::ops::BitAndAssign for MF_SOURCE_READER_CONTROL_FLAG { fn bitand_assign(&mut self, other: Self) { self.0.bitand_assign(other.0) } } -impl ::core::ops::Not for MPEG2VIDEOINFO_FLAGS { +impl ::core::ops::Not for MF_SOURCE_READER_CONTROL_FLAG { type Output = Self; fn not(self) -> Self { Self(self.0.not()) @@ -36463,2689 +36695,4235 @@ impl ::core::ops::Not for MPEG2VIDEOINFO_FLAGS { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_ACP_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for OPM_ACP_PROTECTION_LEVEL {} -impl ::core::clone::Clone for OPM_ACP_PROTECTION_LEVEL { +pub struct MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS(pub i32); +impl ::core::marker::Copy for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS {} +impl ::core::clone::Clone for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_ACP_PROTECTION_LEVEL { +impl ::core::default::Default for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_ACP_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_ACP_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_ACP_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_SOURCE_READER_CURRENT_TYPE_CONSTANTS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_BUS_TYPE(pub i32); -impl ::core::marker::Copy for OPM_BUS_TYPE {} -impl ::core::clone::Clone for OPM_BUS_TYPE { +pub struct MF_SOURCE_READER_FLAG(pub i32); +impl ::core::marker::Copy for MF_SOURCE_READER_FLAG {} +impl ::core::clone::Clone for MF_SOURCE_READER_FLAG { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_BUS_TYPE { +impl ::core::default::Default for MF_SOURCE_READER_FLAG { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_BUS_TYPE { +impl ::windows_core::TypeKind for MF_SOURCE_READER_FLAG { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_BUS_TYPE { +impl ::core::fmt::Debug for MF_SOURCE_READER_FLAG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_BUS_TYPE").field(&self.0).finish() + f.debug_tuple("MF_SOURCE_READER_FLAG").field(&self.0).finish() } } -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_CGMSA(pub i32); -impl ::core::marker::Copy for OPM_CGMSA {} -impl ::core::clone::Clone for OPM_CGMSA { - fn clone(&self) -> Self { - *self +impl MF_SOURCE_READER_FLAG { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 } } -impl ::core::default::Default for OPM_CGMSA { - fn default() -> Self { - Self(0) +impl ::core::ops::BitOr for MF_SOURCE_READER_FLAG { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) } } -impl ::windows_core::TypeKind for OPM_CGMSA { - type TypeKind = ::windows_core::CopyType; +impl ::core::ops::BitAnd for MF_SOURCE_READER_FLAG { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } } -impl ::core::fmt::Debug for OPM_CGMSA { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_CGMSA").field(&self.0).finish() +impl ::core::ops::BitOrAssign for MF_SOURCE_READER_FLAG { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for MF_SOURCE_READER_FLAG { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for MF_SOURCE_READER_FLAG { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_CONNECTOR_TYPE(pub i32); -impl ::core::marker::Copy for OPM_CONNECTOR_TYPE {} -impl ::core::clone::Clone for OPM_CONNECTOR_TYPE { +pub struct MF_STREAM_STATE(pub i32); +impl ::core::marker::Copy for MF_STREAM_STATE {} +impl ::core::clone::Clone for MF_STREAM_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_CONNECTOR_TYPE { +impl ::core::default::Default for MF_STREAM_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_CONNECTOR_TYPE { +impl ::windows_core::TypeKind for MF_STREAM_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_CONNECTOR_TYPE { +impl ::core::fmt::Debug for MF_STREAM_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_CONNECTOR_TYPE").field(&self.0).finish() + f.debug_tuple("MF_STREAM_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_DPCP_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for OPM_DPCP_PROTECTION_LEVEL {} -impl ::core::clone::Clone for OPM_DPCP_PROTECTION_LEVEL { +pub struct MF_TIMED_TEXT_ALIGNMENT(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_ALIGNMENT {} +impl ::core::clone::Clone for MF_TIMED_TEXT_ALIGNMENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_DPCP_PROTECTION_LEVEL { +impl ::core::default::Default for MF_TIMED_TEXT_ALIGNMENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_DPCP_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_ALIGNMENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_DPCP_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_TIMED_TEXT_ALIGNMENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_DPCP_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_ALIGNMENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_DVI_CHARACTERISTIC(pub i32); -impl ::core::marker::Copy for OPM_DVI_CHARACTERISTIC {} -impl ::core::clone::Clone for OPM_DVI_CHARACTERISTIC { +pub struct MF_TIMED_TEXT_BOUTEN_POSITION(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_BOUTEN_POSITION {} +impl ::core::clone::Clone for MF_TIMED_TEXT_BOUTEN_POSITION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_DVI_CHARACTERISTIC { +impl ::core::default::Default for MF_TIMED_TEXT_BOUTEN_POSITION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_DVI_CHARACTERISTIC { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_BOUTEN_POSITION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_DVI_CHARACTERISTIC { +impl ::core::fmt::Debug for MF_TIMED_TEXT_BOUTEN_POSITION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_DVI_CHARACTERISTIC").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_BOUTEN_POSITION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_HDCP_FLAGS(pub i32); -impl ::core::marker::Copy for OPM_HDCP_FLAGS {} -impl ::core::clone::Clone for OPM_HDCP_FLAGS { +pub struct MF_TIMED_TEXT_BOUTEN_TYPE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_BOUTEN_TYPE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_BOUTEN_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_HDCP_FLAGS { +impl ::core::default::Default for MF_TIMED_TEXT_BOUTEN_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_HDCP_FLAGS { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_BOUTEN_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_HDCP_FLAGS { +impl ::core::fmt::Debug for MF_TIMED_TEXT_BOUTEN_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_HDCP_FLAGS").field(&self.0).finish() - } -} -impl OPM_HDCP_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for OPM_HDCP_FLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) - } -} -impl ::core::ops::BitAnd for OPM_HDCP_FLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) - } -} -impl ::core::ops::BitOrAssign for OPM_HDCP_FLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) - } -} -impl ::core::ops::BitAndAssign for OPM_HDCP_FLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } -} -impl ::core::ops::Not for OPM_HDCP_FLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) + f.debug_tuple("MF_TIMED_TEXT_BOUTEN_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_HDCP_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for OPM_HDCP_PROTECTION_LEVEL {} -impl ::core::clone::Clone for OPM_HDCP_PROTECTION_LEVEL { +pub struct MF_TIMED_TEXT_CUE_EVENT(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_CUE_EVENT {} +impl ::core::clone::Clone for MF_TIMED_TEXT_CUE_EVENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_HDCP_PROTECTION_LEVEL { +impl ::core::default::Default for MF_TIMED_TEXT_CUE_EVENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_HDCP_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_CUE_EVENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_HDCP_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_TIMED_TEXT_CUE_EVENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_HDCP_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_CUE_EVENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_HDCP_STATUS(pub i32); -impl ::core::marker::Copy for OPM_HDCP_STATUS {} -impl ::core::clone::Clone for OPM_HDCP_STATUS { +pub struct MF_TIMED_TEXT_DECORATION(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_DECORATION {} +impl ::core::clone::Clone for MF_TIMED_TEXT_DECORATION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_HDCP_STATUS { +impl ::core::default::Default for MF_TIMED_TEXT_DECORATION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_HDCP_STATUS { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_DECORATION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_HDCP_STATUS { +impl ::core::fmt::Debug for MF_TIMED_TEXT_DECORATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_HDCP_STATUS").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_DECORATION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_HDCP_TYPE(pub i32); -impl ::core::marker::Copy for OPM_HDCP_TYPE {} -impl ::core::clone::Clone for OPM_HDCP_TYPE { +pub struct MF_TIMED_TEXT_DISPLAY_ALIGNMENT(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_DISPLAY_ALIGNMENT {} +impl ::core::clone::Clone for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_HDCP_TYPE { +impl ::core::default::Default for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_HDCP_TYPE { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_HDCP_TYPE { +impl ::core::fmt::Debug for MF_TIMED_TEXT_DISPLAY_ALIGNMENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_HDCP_TYPE").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_DISPLAY_ALIGNMENT").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_IMAGE_ASPECT_RATIO_EN300294(pub i32); -impl ::core::marker::Copy for OPM_IMAGE_ASPECT_RATIO_EN300294 {} -impl ::core::clone::Clone for OPM_IMAGE_ASPECT_RATIO_EN300294 { +pub struct MF_TIMED_TEXT_ERROR_CODE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_ERROR_CODE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_ERROR_CODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_IMAGE_ASPECT_RATIO_EN300294 { +impl ::core::default::Default for MF_TIMED_TEXT_ERROR_CODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_IMAGE_ASPECT_RATIO_EN300294 { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_ERROR_CODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_IMAGE_ASPECT_RATIO_EN300294 { +impl ::core::fmt::Debug for MF_TIMED_TEXT_ERROR_CODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_IMAGE_ASPECT_RATIO_EN300294").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_ERROR_CODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_OUTPUT_HARDWARE_PROTECTION(pub i32); -impl ::core::marker::Copy for OPM_OUTPUT_HARDWARE_PROTECTION {} -impl ::core::clone::Clone for OPM_OUTPUT_HARDWARE_PROTECTION { +pub struct MF_TIMED_TEXT_FONT_STYLE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_FONT_STYLE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_FONT_STYLE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_OUTPUT_HARDWARE_PROTECTION { +impl ::core::default::Default for MF_TIMED_TEXT_FONT_STYLE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_OUTPUT_HARDWARE_PROTECTION { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_FONT_STYLE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_OUTPUT_HARDWARE_PROTECTION { +impl ::core::fmt::Debug for MF_TIMED_TEXT_FONT_STYLE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_OUTPUT_HARDWARE_PROTECTION").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_FONT_STYLE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_PROTECTION_STANDARD_TYPE(pub u32); -impl ::core::marker::Copy for OPM_PROTECTION_STANDARD_TYPE {} -impl ::core::clone::Clone for OPM_PROTECTION_STANDARD_TYPE { +pub struct MF_TIMED_TEXT_RUBY_ALIGN(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_ALIGN {} +impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_ALIGN { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_PROTECTION_STANDARD_TYPE { +impl ::core::default::Default for MF_TIMED_TEXT_RUBY_ALIGN { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_PROTECTION_STANDARD_TYPE { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_ALIGN { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_PROTECTION_STANDARD_TYPE { +impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_ALIGN { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_PROTECTION_STANDARD_TYPE").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_RUBY_ALIGN").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_PROTECTION_TYPE(pub i32); -impl ::core::marker::Copy for OPM_PROTECTION_TYPE {} -impl ::core::clone::Clone for OPM_PROTECTION_TYPE { +pub struct MF_TIMED_TEXT_RUBY_POSITION(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_POSITION {} +impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_POSITION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_PROTECTION_TYPE { +impl ::core::default::Default for MF_TIMED_TEXT_RUBY_POSITION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_PROTECTION_TYPE { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_POSITION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_PROTECTION_TYPE { +impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_POSITION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_PROTECTION_TYPE").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_RUBY_POSITION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_STATUS(pub i32); -impl ::core::marker::Copy for OPM_STATUS {} -impl ::core::clone::Clone for OPM_STATUS { +pub struct MF_TIMED_TEXT_RUBY_RESERVE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_RUBY_RESERVE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_RUBY_RESERVE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_STATUS { +impl ::core::default::Default for MF_TIMED_TEXT_RUBY_RESERVE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_STATUS { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_RUBY_RESERVE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_STATUS { +impl ::core::fmt::Debug for MF_TIMED_TEXT_RUBY_RESERVE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_STATUS").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_RUBY_RESERVE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_TYPE(pub i32); -impl ::core::marker::Copy for OPM_TYPE {} -impl ::core::clone::Clone for OPM_TYPE { +pub struct MF_TIMED_TEXT_SCROLL_MODE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_SCROLL_MODE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_SCROLL_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_TYPE { +impl ::core::default::Default for MF_TIMED_TEXT_SCROLL_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_TYPE { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_SCROLL_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_TYPE { +impl ::core::fmt::Debug for MF_TIMED_TEXT_SCROLL_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_TYPE").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_SCROLL_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(pub i32); -impl ::core::marker::Copy for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {} -impl ::core::clone::Clone for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { +pub struct MF_TIMED_TEXT_TRACK_KIND(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_TRACK_KIND {} +impl ::core::clone::Clone for MF_TIMED_TEXT_TRACK_KIND { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { +impl ::core::default::Default for MF_TIMED_TEXT_TRACK_KIND { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_TRACK_KIND { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { +impl ::core::fmt::Debug for MF_TIMED_TEXT_TRACK_KIND { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_TRACK_KIND").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct OPM_VIDEO_OUTPUT_SEMANTICS(pub i32); -impl ::core::marker::Copy for OPM_VIDEO_OUTPUT_SEMANTICS {} -impl ::core::clone::Clone for OPM_VIDEO_OUTPUT_SEMANTICS { +pub struct MF_TIMED_TEXT_TRACK_READY_STATE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_TRACK_READY_STATE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_TRACK_READY_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OPM_VIDEO_OUTPUT_SEMANTICS { +impl ::core::default::Default for MF_TIMED_TEXT_TRACK_READY_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OPM_VIDEO_OUTPUT_SEMANTICS { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_TRACK_READY_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OPM_VIDEO_OUTPUT_SEMANTICS { +impl ::core::fmt::Debug for MF_TIMED_TEXT_TRACK_READY_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OPM_VIDEO_OUTPUT_SEMANTICS").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_TRACK_READY_STATE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct PLAYTO_SOURCE_CREATEFLAGS(pub i32); -impl ::core::marker::Copy for PLAYTO_SOURCE_CREATEFLAGS {} -impl ::core::clone::Clone for PLAYTO_SOURCE_CREATEFLAGS { +pub struct MF_TIMED_TEXT_UNIT_TYPE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_UNIT_TYPE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_UNIT_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for PLAYTO_SOURCE_CREATEFLAGS { +impl ::core::default::Default for MF_TIMED_TEXT_UNIT_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for PLAYTO_SOURCE_CREATEFLAGS { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_UNIT_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for PLAYTO_SOURCE_CREATEFLAGS { +impl ::core::fmt::Debug for MF_TIMED_TEXT_UNIT_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PLAYTO_SOURCE_CREATEFLAGS").field(&self.0).finish() - } -} -impl PLAYTO_SOURCE_CREATEFLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for PLAYTO_SOURCE_CREATEFLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) - } -} -impl ::core::ops::BitAnd for PLAYTO_SOURCE_CREATEFLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) - } -} -impl ::core::ops::BitOrAssign for PLAYTO_SOURCE_CREATEFLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) - } -} -impl ::core::ops::BitAndAssign for PLAYTO_SOURCE_CREATEFLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } -} -impl ::core::ops::Not for PLAYTO_SOURCE_CREATEFLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) + f.debug_tuple("MF_TIMED_TEXT_UNIT_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SAMPLE_PROTECTION_VERSION(pub i32); -impl ::core::marker::Copy for SAMPLE_PROTECTION_VERSION {} -impl ::core::clone::Clone for SAMPLE_PROTECTION_VERSION { +pub struct MF_TIMED_TEXT_WRITING_MODE(pub i32); +impl ::core::marker::Copy for MF_TIMED_TEXT_WRITING_MODE {} +impl ::core::clone::Clone for MF_TIMED_TEXT_WRITING_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SAMPLE_PROTECTION_VERSION { +impl ::core::default::Default for MF_TIMED_TEXT_WRITING_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SAMPLE_PROTECTION_VERSION { +impl ::windows_core::TypeKind for MF_TIMED_TEXT_WRITING_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SAMPLE_PROTECTION_VERSION { +impl ::core::fmt::Debug for MF_TIMED_TEXT_WRITING_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SAMPLE_PROTECTION_VERSION").field(&self.0).finish() + f.debug_tuple("MF_TIMED_TEXT_WRITING_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SEEK_ORIGIN(pub i32); -impl ::core::marker::Copy for SEEK_ORIGIN {} -impl ::core::clone::Clone for SEEK_ORIGIN { +pub struct MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS(pub i32); +impl ::core::marker::Copy for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS {} +impl ::core::clone::Clone for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SEEK_ORIGIN { +impl ::core::default::Default for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SEEK_ORIGIN { +impl ::windows_core::TypeKind for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SEEK_ORIGIN { +impl ::core::fmt::Debug for MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SEEK_ORIGIN").field(&self.0).finish() + f.debug_tuple("MF_TOPOLOGY_RESOLUTION_STATUS_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct TOC_POS_TYPE(pub i32); -impl ::core::marker::Copy for TOC_POS_TYPE {} -impl ::core::clone::Clone for TOC_POS_TYPE { +pub struct MF_TOPOLOGY_TYPE(pub i32); +impl ::core::marker::Copy for MF_TOPOLOGY_TYPE {} +impl ::core::clone::Clone for MF_TOPOLOGY_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for TOC_POS_TYPE { +impl ::core::default::Default for MF_TOPOLOGY_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for TOC_POS_TYPE { +impl ::windows_core::TypeKind for MF_TOPOLOGY_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for TOC_POS_TYPE { +impl ::core::fmt::Debug for MF_TOPOLOGY_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("TOC_POS_TYPE").field(&self.0).finish() + f.debug_tuple("MF_TOPOLOGY_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WMT_PROP_DATATYPE(pub i32); -impl ::core::marker::Copy for WMT_PROP_DATATYPE {} -impl ::core::clone::Clone for WMT_PROP_DATATYPE { +pub struct MF_TOPONODE_DRAIN_MODE(pub i32); +impl ::core::marker::Copy for MF_TOPONODE_DRAIN_MODE {} +impl ::core::clone::Clone for MF_TOPONODE_DRAIN_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for WMT_PROP_DATATYPE { +impl ::core::default::Default for MF_TOPONODE_DRAIN_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for WMT_PROP_DATATYPE { +impl ::windows_core::TypeKind for MF_TOPONODE_DRAIN_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for WMT_PROP_DATATYPE { +impl ::core::fmt::Debug for MF_TOPONODE_DRAIN_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WMT_PROP_DATATYPE").field(&self.0).finish() + f.debug_tuple("MF_TOPONODE_DRAIN_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WMV_DYNAMIC_FLAGS(pub i32); -impl ::core::marker::Copy for WMV_DYNAMIC_FLAGS {} -impl ::core::clone::Clone for WMV_DYNAMIC_FLAGS { +pub struct MF_TOPONODE_FLUSH_MODE(pub i32); +impl ::core::marker::Copy for MF_TOPONODE_FLUSH_MODE {} +impl ::core::clone::Clone for MF_TOPONODE_FLUSH_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for WMV_DYNAMIC_FLAGS { +impl ::core::default::Default for MF_TOPONODE_FLUSH_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for WMV_DYNAMIC_FLAGS { +impl ::windows_core::TypeKind for MF_TOPONODE_FLUSH_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for WMV_DYNAMIC_FLAGS { +impl ::core::fmt::Debug for MF_TOPONODE_FLUSH_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("WMV_DYNAMIC_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_TOPONODE_FLUSH_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFP_CREDENTIAL_FLAGS(pub i32); -impl ::core::marker::Copy for _MFP_CREDENTIAL_FLAGS {} -impl ::core::clone::Clone for _MFP_CREDENTIAL_FLAGS { +pub struct MF_TOPOSTATUS(pub i32); +impl ::core::marker::Copy for MF_TOPOSTATUS {} +impl ::core::clone::Clone for MF_TOPOSTATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFP_CREDENTIAL_FLAGS { +impl ::core::default::Default for MF_TOPOSTATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFP_CREDENTIAL_FLAGS { +impl ::windows_core::TypeKind for MF_TOPOSTATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFP_CREDENTIAL_FLAGS { +impl ::core::fmt::Debug for MF_TOPOSTATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFP_CREDENTIAL_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_TOPOSTATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFP_MEDIAITEM_CHARACTERISTICS(pub i32); -impl ::core::marker::Copy for _MFP_MEDIAITEM_CHARACTERISTICS {} -impl ::core::clone::Clone for _MFP_MEDIAITEM_CHARACTERISTICS { +pub struct MF_TRANSCODE_ADJUST_PROFILE_FLAGS(pub i32); +impl ::core::marker::Copy for MF_TRANSCODE_ADJUST_PROFILE_FLAGS {} +impl ::core::clone::Clone for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFP_MEDIAITEM_CHARACTERISTICS { +impl ::core::default::Default for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFP_MEDIAITEM_CHARACTERISTICS { +impl ::windows_core::TypeKind for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFP_MEDIAITEM_CHARACTERISTICS { +impl ::core::fmt::Debug for MF_TRANSCODE_ADJUST_PROFILE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFP_MEDIAITEM_CHARACTERISTICS").field(&self.0).finish() + f.debug_tuple("MF_TRANSCODE_ADJUST_PROFILE_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_INPUT_DATA_BUFFER_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_INPUT_DATA_BUFFER_FLAGS {} -impl ::core::clone::Clone for _MFT_INPUT_DATA_BUFFER_FLAGS { +pub struct MF_TRANSCODE_TOPOLOGYMODE_FLAGS(pub i32); +impl ::core::marker::Copy for MF_TRANSCODE_TOPOLOGYMODE_FLAGS {} +impl ::core::clone::Clone for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_INPUT_DATA_BUFFER_FLAGS { +impl ::core::default::Default for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_INPUT_DATA_BUFFER_FLAGS { +impl ::windows_core::TypeKind for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_INPUT_DATA_BUFFER_FLAGS { +impl ::core::fmt::Debug for MF_TRANSCODE_TOPOLOGYMODE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_INPUT_DATA_BUFFER_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_TRANSCODE_TOPOLOGYMODE_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_INPUT_STATUS_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_INPUT_STATUS_FLAGS {} -impl ::core::clone::Clone for _MFT_INPUT_STATUS_FLAGS { +pub struct MF_URL_TRUST_STATUS(pub i32); +impl ::core::marker::Copy for MF_URL_TRUST_STATUS {} +impl ::core::clone::Clone for MF_URL_TRUST_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_INPUT_STATUS_FLAGS { +impl ::core::default::Default for MF_URL_TRUST_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_INPUT_STATUS_FLAGS { +impl ::windows_core::TypeKind for MF_URL_TRUST_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_INPUT_STATUS_FLAGS { +impl ::core::fmt::Debug for MF_URL_TRUST_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_INPUT_STATUS_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_URL_TRUST_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_INPUT_STREAM_INFO_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_INPUT_STREAM_INFO_FLAGS {} -impl ::core::clone::Clone for _MFT_INPUT_STREAM_INFO_FLAGS { +pub struct MF_VIDEO_PROCESSOR_ALGORITHM_TYPE(pub i32); +impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE {} +impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_INPUT_STREAM_INFO_FLAGS { +impl ::core::default::Default for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_INPUT_STREAM_INFO_FLAGS { +impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_INPUT_STREAM_INFO_FLAGS { +impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_ALGORITHM_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_INPUT_STREAM_INFO_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_VIDEO_PROCESSOR_ALGORITHM_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_OUTPUT_DATA_BUFFER_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_OUTPUT_DATA_BUFFER_FLAGS {} -impl ::core::clone::Clone for _MFT_OUTPUT_DATA_BUFFER_FLAGS { +pub struct MF_VIDEO_PROCESSOR_MIRROR(pub i32); +impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_MIRROR {} +impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_MIRROR { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_OUTPUT_DATA_BUFFER_FLAGS { +impl ::core::default::Default for MF_VIDEO_PROCESSOR_MIRROR { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_OUTPUT_DATA_BUFFER_FLAGS { +impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_MIRROR { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_OUTPUT_DATA_BUFFER_FLAGS { +impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_MIRROR { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_OUTPUT_DATA_BUFFER_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_VIDEO_PROCESSOR_MIRROR").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_OUTPUT_STATUS_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_OUTPUT_STATUS_FLAGS {} -impl ::core::clone::Clone for _MFT_OUTPUT_STATUS_FLAGS { +pub struct MF_VIDEO_PROCESSOR_ROTATION(pub i32); +impl ::core::marker::Copy for MF_VIDEO_PROCESSOR_ROTATION {} +impl ::core::clone::Clone for MF_VIDEO_PROCESSOR_ROTATION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_OUTPUT_STATUS_FLAGS { +impl ::core::default::Default for MF_VIDEO_PROCESSOR_ROTATION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_OUTPUT_STATUS_FLAGS { +impl ::windows_core::TypeKind for MF_VIDEO_PROCESSOR_ROTATION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_OUTPUT_STATUS_FLAGS { +impl ::core::fmt::Debug for MF_VIDEO_PROCESSOR_ROTATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_OUTPUT_STATUS_FLAGS").field(&self.0).finish() + f.debug_tuple("MF_VIDEO_PROCESSOR_ROTATION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_OUTPUT_STREAM_INFO_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_OUTPUT_STREAM_INFO_FLAGS {} -impl ::core::clone::Clone for _MFT_OUTPUT_STREAM_INFO_FLAGS { +pub struct MIC_ARRAY_MODE(pub i32); +impl ::core::marker::Copy for MIC_ARRAY_MODE {} +impl ::core::clone::Clone for MIC_ARRAY_MODE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_OUTPUT_STREAM_INFO_FLAGS { +impl ::core::default::Default for MIC_ARRAY_MODE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_OUTPUT_STREAM_INFO_FLAGS { +impl ::windows_core::TypeKind for MIC_ARRAY_MODE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_OUTPUT_STREAM_INFO_FLAGS { +impl ::core::fmt::Debug for MIC_ARRAY_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_OUTPUT_STREAM_INFO_FLAGS").field(&self.0).finish() + f.debug_tuple("MIC_ARRAY_MODE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_PROCESS_OUTPUT_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_PROCESS_OUTPUT_FLAGS {} -impl ::core::clone::Clone for _MFT_PROCESS_OUTPUT_FLAGS { +pub struct MPEG2VIDEOINFO_FLAGS(pub u32); +impl ::core::marker::Copy for MPEG2VIDEOINFO_FLAGS {} +impl ::core::clone::Clone for MPEG2VIDEOINFO_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_PROCESS_OUTPUT_FLAGS { +impl ::core::default::Default for MPEG2VIDEOINFO_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_PROCESS_OUTPUT_FLAGS { +impl ::windows_core::TypeKind for MPEG2VIDEOINFO_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_PROCESS_OUTPUT_FLAGS { +impl ::core::fmt::Debug for MPEG2VIDEOINFO_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_PROCESS_OUTPUT_FLAGS").field(&self.0).finish() + f.debug_tuple("MPEG2VIDEOINFO_FLAGS").field(&self.0).finish() + } +} +impl MPEG2VIDEOINFO_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for MPEG2VIDEOINFO_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for MPEG2VIDEOINFO_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for MPEG2VIDEOINFO_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for MPEG2VIDEOINFO_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for MPEG2VIDEOINFO_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_PROCESS_OUTPUT_STATUS(pub i32); -impl ::core::marker::Copy for _MFT_PROCESS_OUTPUT_STATUS {} -impl ::core::clone::Clone for _MFT_PROCESS_OUTPUT_STATUS { +pub struct OPM_ACP_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for OPM_ACP_PROTECTION_LEVEL {} +impl ::core::clone::Clone for OPM_ACP_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_PROCESS_OUTPUT_STATUS { +impl ::core::default::Default for OPM_ACP_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_PROCESS_OUTPUT_STATUS { +impl ::windows_core::TypeKind for OPM_ACP_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_PROCESS_OUTPUT_STATUS { +impl ::core::fmt::Debug for OPM_ACP_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_PROCESS_OUTPUT_STATUS").field(&self.0).finish() + f.debug_tuple("OPM_ACP_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct _MFT_SET_TYPE_FLAGS(pub i32); -impl ::core::marker::Copy for _MFT_SET_TYPE_FLAGS {} -impl ::core::clone::Clone for _MFT_SET_TYPE_FLAGS { +pub struct OPM_BUS_TYPE(pub i32); +impl ::core::marker::Copy for OPM_BUS_TYPE {} +impl ::core::clone::Clone for OPM_BUS_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for _MFT_SET_TYPE_FLAGS { +impl ::core::default::Default for OPM_BUS_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for _MFT_SET_TYPE_FLAGS { +impl ::windows_core::TypeKind for OPM_BUS_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for _MFT_SET_TYPE_FLAGS { +impl ::core::fmt::Debug for OPM_BUS_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("_MFT_SET_TYPE_FLAGS").field(&self.0).finish() + f.debug_tuple("OPM_BUS_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVAudioChannelConfig(pub i32); -impl ::core::marker::Copy for eAVAudioChannelConfig {} -impl ::core::clone::Clone for eAVAudioChannelConfig { +pub struct OPM_CGMSA(pub i32); +impl ::core::marker::Copy for OPM_CGMSA {} +impl ::core::clone::Clone for OPM_CGMSA { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVAudioChannelConfig { +impl ::core::default::Default for OPM_CGMSA { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVAudioChannelConfig { +impl ::windows_core::TypeKind for OPM_CGMSA { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVAudioChannelConfig { +impl ::core::fmt::Debug for OPM_CGMSA { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVAudioChannelConfig").field(&self.0).finish() + f.debug_tuple("OPM_CGMSA").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDDSurroundMode(pub i32); -impl ::core::marker::Copy for eAVDDSurroundMode {} -impl ::core::clone::Clone for eAVDDSurroundMode { +pub struct OPM_CONNECTOR_TYPE(pub i32); +impl ::core::marker::Copy for OPM_CONNECTOR_TYPE {} +impl ::core::clone::Clone for OPM_CONNECTOR_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDDSurroundMode { +impl ::core::default::Default for OPM_CONNECTOR_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDDSurroundMode { +impl ::windows_core::TypeKind for OPM_CONNECTOR_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDDSurroundMode { +impl ::core::fmt::Debug for OPM_CONNECTOR_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDDSurroundMode").field(&self.0).finish() + f.debug_tuple("OPM_CONNECTOR_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDSPLoudnessEqualization(pub i32); -impl ::core::marker::Copy for eAVDSPLoudnessEqualization {} -impl ::core::clone::Clone for eAVDSPLoudnessEqualization { +pub struct OPM_DPCP_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for OPM_DPCP_PROTECTION_LEVEL {} +impl ::core::clone::Clone for OPM_DPCP_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDSPLoudnessEqualization { +impl ::core::default::Default for OPM_DPCP_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDSPLoudnessEqualization { +impl ::windows_core::TypeKind for OPM_DPCP_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDSPLoudnessEqualization { +impl ::core::fmt::Debug for OPM_DPCP_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDSPLoudnessEqualization").field(&self.0).finish() + f.debug_tuple("OPM_DPCP_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDSPSpeakerFill(pub i32); -impl ::core::marker::Copy for eAVDSPSpeakerFill {} -impl ::core::clone::Clone for eAVDSPSpeakerFill { +pub struct OPM_DVI_CHARACTERISTIC(pub i32); +impl ::core::marker::Copy for OPM_DVI_CHARACTERISTIC {} +impl ::core::clone::Clone for OPM_DVI_CHARACTERISTIC { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDSPSpeakerFill { +impl ::core::default::Default for OPM_DVI_CHARACTERISTIC { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDSPSpeakerFill { +impl ::windows_core::TypeKind for OPM_DVI_CHARACTERISTIC { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDSPSpeakerFill { +impl ::core::fmt::Debug for OPM_DVI_CHARACTERISTIC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDSPSpeakerFill").field(&self.0).finish() + f.debug_tuple("OPM_DVI_CHARACTERISTIC").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecAACDownmixMode(pub i32); -impl ::core::marker::Copy for eAVDecAACDownmixMode {} -impl ::core::clone::Clone for eAVDecAACDownmixMode { +pub struct OPM_HDCP_FLAGS(pub i32); +impl ::core::marker::Copy for OPM_HDCP_FLAGS {} +impl ::core::clone::Clone for OPM_HDCP_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecAACDownmixMode { +impl ::core::default::Default for OPM_HDCP_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecAACDownmixMode { +impl ::windows_core::TypeKind for OPM_HDCP_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecAACDownmixMode { +impl ::core::fmt::Debug for OPM_HDCP_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecAACDownmixMode").field(&self.0).finish() + f.debug_tuple("OPM_HDCP_FLAGS").field(&self.0).finish() + } +} +impl OPM_HDCP_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for OPM_HDCP_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for OPM_HDCP_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for OPM_HDCP_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for OPM_HDCP_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for OPM_HDCP_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecAudioDualMono(pub i32); -impl ::core::marker::Copy for eAVDecAudioDualMono {} -impl ::core::clone::Clone for eAVDecAudioDualMono { +pub struct OPM_HDCP_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for OPM_HDCP_PROTECTION_LEVEL {} +impl ::core::clone::Clone for OPM_HDCP_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecAudioDualMono { +impl ::core::default::Default for OPM_HDCP_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecAudioDualMono { +impl ::windows_core::TypeKind for OPM_HDCP_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecAudioDualMono { +impl ::core::fmt::Debug for OPM_HDCP_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecAudioDualMono").field(&self.0).finish() + f.debug_tuple("OPM_HDCP_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecAudioDualMonoReproMode(pub i32); -impl ::core::marker::Copy for eAVDecAudioDualMonoReproMode {} -impl ::core::clone::Clone for eAVDecAudioDualMonoReproMode { +pub struct OPM_HDCP_STATUS(pub i32); +impl ::core::marker::Copy for OPM_HDCP_STATUS {} +impl ::core::clone::Clone for OPM_HDCP_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecAudioDualMonoReproMode { +impl ::core::default::Default for OPM_HDCP_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecAudioDualMonoReproMode { +impl ::windows_core::TypeKind for OPM_HDCP_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecAudioDualMonoReproMode { +impl ::core::fmt::Debug for OPM_HDCP_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecAudioDualMonoReproMode").field(&self.0).finish() + f.debug_tuple("OPM_HDCP_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecDDMatrixDecodingMode(pub i32); -impl ::core::marker::Copy for eAVDecDDMatrixDecodingMode {} -impl ::core::clone::Clone for eAVDecDDMatrixDecodingMode { +pub struct OPM_HDCP_TYPE(pub i32); +impl ::core::marker::Copy for OPM_HDCP_TYPE {} +impl ::core::clone::Clone for OPM_HDCP_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecDDMatrixDecodingMode { +impl ::core::default::Default for OPM_HDCP_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecDDMatrixDecodingMode { +impl ::windows_core::TypeKind for OPM_HDCP_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecDDMatrixDecodingMode { +impl ::core::fmt::Debug for OPM_HDCP_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecDDMatrixDecodingMode").field(&self.0).finish() + f.debug_tuple("OPM_HDCP_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecDDOperationalMode(pub i32); -impl ::core::marker::Copy for eAVDecDDOperationalMode {} -impl ::core::clone::Clone for eAVDecDDOperationalMode { +pub struct OPM_IMAGE_ASPECT_RATIO_EN300294(pub i32); +impl ::core::marker::Copy for OPM_IMAGE_ASPECT_RATIO_EN300294 {} +impl ::core::clone::Clone for OPM_IMAGE_ASPECT_RATIO_EN300294 { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecDDOperationalMode { +impl ::core::default::Default for OPM_IMAGE_ASPECT_RATIO_EN300294 { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecDDOperationalMode { +impl ::windows_core::TypeKind for OPM_IMAGE_ASPECT_RATIO_EN300294 { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecDDOperationalMode { +impl ::core::fmt::Debug for OPM_IMAGE_ASPECT_RATIO_EN300294 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecDDOperationalMode").field(&self.0).finish() + f.debug_tuple("OPM_IMAGE_ASPECT_RATIO_EN300294").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecDDStereoDownMixMode(pub i32); -impl ::core::marker::Copy for eAVDecDDStereoDownMixMode {} -impl ::core::clone::Clone for eAVDecDDStereoDownMixMode { +pub struct OPM_OUTPUT_HARDWARE_PROTECTION(pub i32); +impl ::core::marker::Copy for OPM_OUTPUT_HARDWARE_PROTECTION {} +impl ::core::clone::Clone for OPM_OUTPUT_HARDWARE_PROTECTION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecDDStereoDownMixMode { +impl ::core::default::Default for OPM_OUTPUT_HARDWARE_PROTECTION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecDDStereoDownMixMode { +impl ::windows_core::TypeKind for OPM_OUTPUT_HARDWARE_PROTECTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecDDStereoDownMixMode { +impl ::core::fmt::Debug for OPM_OUTPUT_HARDWARE_PROTECTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecDDStereoDownMixMode").field(&self.0).finish() + f.debug_tuple("OPM_OUTPUT_HARDWARE_PROTECTION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecHEAACDynamicRangeControl(pub i32); -impl ::core::marker::Copy for eAVDecHEAACDynamicRangeControl {} -impl ::core::clone::Clone for eAVDecHEAACDynamicRangeControl { +pub struct OPM_PROTECTION_STANDARD_TYPE(pub u32); +impl ::core::marker::Copy for OPM_PROTECTION_STANDARD_TYPE {} +impl ::core::clone::Clone for OPM_PROTECTION_STANDARD_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecHEAACDynamicRangeControl { +impl ::core::default::Default for OPM_PROTECTION_STANDARD_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecHEAACDynamicRangeControl { +impl ::windows_core::TypeKind for OPM_PROTECTION_STANDARD_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecHEAACDynamicRangeControl { +impl ::core::fmt::Debug for OPM_PROTECTION_STANDARD_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecHEAACDynamicRangeControl").field(&self.0).finish() + f.debug_tuple("OPM_PROTECTION_STANDARD_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoCodecType(pub i32); -impl ::core::marker::Copy for eAVDecVideoCodecType {} -impl ::core::clone::Clone for eAVDecVideoCodecType { +pub struct OPM_PROTECTION_TYPE(pub i32); +impl ::core::marker::Copy for OPM_PROTECTION_TYPE {} +impl ::core::clone::Clone for OPM_PROTECTION_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoCodecType { +impl ::core::default::Default for OPM_PROTECTION_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoCodecType { +impl ::windows_core::TypeKind for OPM_PROTECTION_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoCodecType { +impl ::core::fmt::Debug for OPM_PROTECTION_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoCodecType").field(&self.0).finish() + f.debug_tuple("OPM_PROTECTION_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoDXVABusEncryption(pub i32); -impl ::core::marker::Copy for eAVDecVideoDXVABusEncryption {} -impl ::core::clone::Clone for eAVDecVideoDXVABusEncryption { +pub struct OPM_STATUS(pub i32); +impl ::core::marker::Copy for OPM_STATUS {} +impl ::core::clone::Clone for OPM_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoDXVABusEncryption { +impl ::core::default::Default for OPM_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoDXVABusEncryption { +impl ::windows_core::TypeKind for OPM_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoDXVABusEncryption { +impl ::core::fmt::Debug for OPM_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoDXVABusEncryption").field(&self.0).finish() + f.debug_tuple("OPM_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoDXVAMode(pub i32); -impl ::core::marker::Copy for eAVDecVideoDXVAMode {} -impl ::core::clone::Clone for eAVDecVideoDXVAMode { +pub struct OPM_TYPE(pub i32); +impl ::core::marker::Copy for OPM_TYPE {} +impl ::core::clone::Clone for OPM_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoDXVAMode { +impl ::core::default::Default for OPM_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoDXVAMode { +impl ::windows_core::TypeKind for OPM_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoDXVAMode { +impl ::core::fmt::Debug for OPM_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoDXVAMode").field(&self.0).finish() + f.debug_tuple("OPM_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoH264ErrorConcealment(pub i32); -impl ::core::marker::Copy for eAVDecVideoH264ErrorConcealment {} -impl ::core::clone::Clone for eAVDecVideoH264ErrorConcealment { +pub struct OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(pub i32); +impl ::core::marker::Copy for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {} +impl ::core::clone::Clone for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoH264ErrorConcealment { +impl ::core::default::Default for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoH264ErrorConcealment { +impl ::windows_core::TypeKind for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoH264ErrorConcealment { +impl ::core::fmt::Debug for OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoH264ErrorConcealment").field(&self.0).finish() + f.debug_tuple("OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoInputScanType(pub i32); -impl ::core::marker::Copy for eAVDecVideoInputScanType {} -impl ::core::clone::Clone for eAVDecVideoInputScanType { +pub struct OPM_VIDEO_OUTPUT_SEMANTICS(pub i32); +impl ::core::marker::Copy for OPM_VIDEO_OUTPUT_SEMANTICS {} +impl ::core::clone::Clone for OPM_VIDEO_OUTPUT_SEMANTICS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoInputScanType { +impl ::core::default::Default for OPM_VIDEO_OUTPUT_SEMANTICS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoInputScanType { +impl ::windows_core::TypeKind for OPM_VIDEO_OUTPUT_SEMANTICS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoInputScanType { +impl ::core::fmt::Debug for OPM_VIDEO_OUTPUT_SEMANTICS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoInputScanType").field(&self.0).finish() + f.debug_tuple("OPM_VIDEO_OUTPUT_SEMANTICS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoMPEG2ErrorConcealment(pub i32); -impl ::core::marker::Copy for eAVDecVideoMPEG2ErrorConcealment {} -impl ::core::clone::Clone for eAVDecVideoMPEG2ErrorConcealment { +pub struct PLAYTO_SOURCE_CREATEFLAGS(pub i32); +impl ::core::marker::Copy for PLAYTO_SOURCE_CREATEFLAGS {} +impl ::core::clone::Clone for PLAYTO_SOURCE_CREATEFLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoMPEG2ErrorConcealment { +impl ::core::default::Default for PLAYTO_SOURCE_CREATEFLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoMPEG2ErrorConcealment { +impl ::windows_core::TypeKind for PLAYTO_SOURCE_CREATEFLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoMPEG2ErrorConcealment { +impl ::core::fmt::Debug for PLAYTO_SOURCE_CREATEFLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoMPEG2ErrorConcealment").field(&self.0).finish() + f.debug_tuple("PLAYTO_SOURCE_CREATEFLAGS").field(&self.0).finish() + } +} +impl PLAYTO_SOURCE_CREATEFLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for PLAYTO_SOURCE_CREATEFLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for PLAYTO_SOURCE_CREATEFLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for PLAYTO_SOURCE_CREATEFLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for PLAYTO_SOURCE_CREATEFLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for PLAYTO_SOURCE_CREATEFLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoSWPowerLevel(pub i32); -impl ::core::marker::Copy for eAVDecVideoSWPowerLevel {} -impl ::core::clone::Clone for eAVDecVideoSWPowerLevel { +pub struct SAMPLE_PROTECTION_VERSION(pub i32); +impl ::core::marker::Copy for SAMPLE_PROTECTION_VERSION {} +impl ::core::clone::Clone for SAMPLE_PROTECTION_VERSION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoSWPowerLevel { +impl ::core::default::Default for SAMPLE_PROTECTION_VERSION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoSWPowerLevel { +impl ::windows_core::TypeKind for SAMPLE_PROTECTION_VERSION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoSWPowerLevel { +impl ::core::fmt::Debug for SAMPLE_PROTECTION_VERSION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoSWPowerLevel").field(&self.0).finish() + f.debug_tuple("SAMPLE_PROTECTION_VERSION").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVDecVideoSoftwareDeinterlaceMode(pub i32); -impl ::core::marker::Copy for eAVDecVideoSoftwareDeinterlaceMode {} -impl ::core::clone::Clone for eAVDecVideoSoftwareDeinterlaceMode { +pub struct SEEK_ORIGIN(pub i32); +impl ::core::marker::Copy for SEEK_ORIGIN {} +impl ::core::clone::Clone for SEEK_ORIGIN { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVDecVideoSoftwareDeinterlaceMode { +impl ::core::default::Default for SEEK_ORIGIN { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVDecVideoSoftwareDeinterlaceMode { +impl ::windows_core::TypeKind for SEEK_ORIGIN { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVDecVideoSoftwareDeinterlaceMode { +impl ::core::fmt::Debug for SEEK_ORIGIN { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVDecVideoSoftwareDeinterlaceMode").field(&self.0).finish() + f.debug_tuple("SEEK_ORIGIN").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAV1PictureType(pub i32); -impl ::core::marker::Copy for eAVEncAV1PictureType {} -impl ::core::clone::Clone for eAVEncAV1PictureType { +pub struct TOC_POS_TYPE(pub i32); +impl ::core::marker::Copy for TOC_POS_TYPE {} +impl ::core::clone::Clone for TOC_POS_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAV1PictureType { +impl ::core::default::Default for TOC_POS_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAV1PictureType { +impl ::windows_core::TypeKind for TOC_POS_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAV1PictureType { +impl ::core::fmt::Debug for TOC_POS_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAV1PictureType").field(&self.0).finish() + f.debug_tuple("TOC_POS_TYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAV1VLevel(pub i32); -impl ::core::marker::Copy for eAVEncAV1VLevel {} -impl ::core::clone::Clone for eAVEncAV1VLevel { +pub struct WMT_PROP_DATATYPE(pub i32); +impl ::core::marker::Copy for WMT_PROP_DATATYPE {} +impl ::core::clone::Clone for WMT_PROP_DATATYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAV1VLevel { +impl ::core::default::Default for WMT_PROP_DATATYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAV1VLevel { +impl ::windows_core::TypeKind for WMT_PROP_DATATYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAV1VLevel { +impl ::core::fmt::Debug for WMT_PROP_DATATYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAV1VLevel").field(&self.0).finish() + f.debug_tuple("WMT_PROP_DATATYPE").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAV1VProfile(pub i32); -impl ::core::marker::Copy for eAVEncAV1VProfile {} -impl ::core::clone::Clone for eAVEncAV1VProfile { +pub struct WMV_DYNAMIC_FLAGS(pub i32); +impl ::core::marker::Copy for WMV_DYNAMIC_FLAGS {} +impl ::core::clone::Clone for WMV_DYNAMIC_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAV1VProfile { +impl ::core::default::Default for WMV_DYNAMIC_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAV1VProfile { +impl ::windows_core::TypeKind for WMV_DYNAMIC_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAV1VProfile { +impl ::core::fmt::Debug for WMV_DYNAMIC_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAV1VProfile").field(&self.0).finish() + f.debug_tuple("WMV_DYNAMIC_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAdaptiveMode(pub i32); -impl ::core::marker::Copy for eAVEncAdaptiveMode {} -impl ::core::clone::Clone for eAVEncAdaptiveMode { +pub struct _MFP_CREDENTIAL_FLAGS(pub i32); +impl ::core::marker::Copy for _MFP_CREDENTIAL_FLAGS {} +impl ::core::clone::Clone for _MFP_CREDENTIAL_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAdaptiveMode { +impl ::core::default::Default for _MFP_CREDENTIAL_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAdaptiveMode { +impl ::windows_core::TypeKind for _MFP_CREDENTIAL_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAdaptiveMode { +impl ::core::fmt::Debug for _MFP_CREDENTIAL_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAdaptiveMode").field(&self.0).finish() + f.debug_tuple("_MFP_CREDENTIAL_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAudioDualMono(pub i32); -impl ::core::marker::Copy for eAVEncAudioDualMono {} -impl ::core::clone::Clone for eAVEncAudioDualMono { +pub struct _MFP_MEDIAITEM_CHARACTERISTICS(pub i32); +impl ::core::marker::Copy for _MFP_MEDIAITEM_CHARACTERISTICS {} +impl ::core::clone::Clone for _MFP_MEDIAITEM_CHARACTERISTICS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAudioDualMono { +impl ::core::default::Default for _MFP_MEDIAITEM_CHARACTERISTICS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAudioDualMono { +impl ::windows_core::TypeKind for _MFP_MEDIAITEM_CHARACTERISTICS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAudioDualMono { +impl ::core::fmt::Debug for _MFP_MEDIAITEM_CHARACTERISTICS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAudioDualMono").field(&self.0).finish() + f.debug_tuple("_MFP_MEDIAITEM_CHARACTERISTICS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncAudioInputContent(pub i32); -impl ::core::marker::Copy for eAVEncAudioInputContent {} -impl ::core::clone::Clone for eAVEncAudioInputContent { +pub struct _MFT_INPUT_DATA_BUFFER_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_INPUT_DATA_BUFFER_FLAGS {} +impl ::core::clone::Clone for _MFT_INPUT_DATA_BUFFER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncAudioInputContent { +impl ::core::default::Default for _MFT_INPUT_DATA_BUFFER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncAudioInputContent { +impl ::windows_core::TypeKind for _MFT_INPUT_DATA_BUFFER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncAudioInputContent { +impl ::core::fmt::Debug for _MFT_INPUT_DATA_BUFFER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncAudioInputContent").field(&self.0).finish() + f.debug_tuple("_MFT_INPUT_DATA_BUFFER_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncChromaEncodeMode(pub i32); -impl ::core::marker::Copy for eAVEncChromaEncodeMode {} -impl ::core::clone::Clone for eAVEncChromaEncodeMode { +pub struct _MFT_INPUT_STATUS_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_INPUT_STATUS_FLAGS {} +impl ::core::clone::Clone for _MFT_INPUT_STATUS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncChromaEncodeMode { +impl ::core::default::Default for _MFT_INPUT_STATUS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncChromaEncodeMode { +impl ::windows_core::TypeKind for _MFT_INPUT_STATUS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncChromaEncodeMode { +impl ::core::fmt::Debug for _MFT_INPUT_STATUS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncChromaEncodeMode").field(&self.0).finish() + f.debug_tuple("_MFT_INPUT_STATUS_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncCommonRateControlMode(pub i32); -impl ::core::marker::Copy for eAVEncCommonRateControlMode {} -impl ::core::clone::Clone for eAVEncCommonRateControlMode { +pub struct _MFT_INPUT_STREAM_INFO_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_INPUT_STREAM_INFO_FLAGS {} +impl ::core::clone::Clone for _MFT_INPUT_STREAM_INFO_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncCommonRateControlMode { +impl ::core::default::Default for _MFT_INPUT_STREAM_INFO_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncCommonRateControlMode { +impl ::windows_core::TypeKind for _MFT_INPUT_STREAM_INFO_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncCommonRateControlMode { +impl ::core::fmt::Debug for _MFT_INPUT_STREAM_INFO_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncCommonRateControlMode").field(&self.0).finish() + f.debug_tuple("_MFT_INPUT_STREAM_INFO_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncCommonStreamEndHandling(pub i32); -impl ::core::marker::Copy for eAVEncCommonStreamEndHandling {} -impl ::core::clone::Clone for eAVEncCommonStreamEndHandling { +pub struct _MFT_OUTPUT_DATA_BUFFER_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_OUTPUT_DATA_BUFFER_FLAGS {} +impl ::core::clone::Clone for _MFT_OUTPUT_DATA_BUFFER_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncCommonStreamEndHandling { +impl ::core::default::Default for _MFT_OUTPUT_DATA_BUFFER_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncCommonStreamEndHandling { +impl ::windows_core::TypeKind for _MFT_OUTPUT_DATA_BUFFER_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncCommonStreamEndHandling { +impl ::core::fmt::Debug for _MFT_OUTPUT_DATA_BUFFER_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncCommonStreamEndHandling").field(&self.0).finish() + f.debug_tuple("_MFT_OUTPUT_DATA_BUFFER_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDAtoDConverterType(pub i32); -impl ::core::marker::Copy for eAVEncDDAtoDConverterType {} -impl ::core::clone::Clone for eAVEncDDAtoDConverterType { +pub struct _MFT_OUTPUT_STATUS_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_OUTPUT_STATUS_FLAGS {} +impl ::core::clone::Clone for _MFT_OUTPUT_STATUS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDAtoDConverterType { +impl ::core::default::Default for _MFT_OUTPUT_STATUS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDAtoDConverterType { +impl ::windows_core::TypeKind for _MFT_OUTPUT_STATUS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDAtoDConverterType { +impl ::core::fmt::Debug for _MFT_OUTPUT_STATUS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDAtoDConverterType").field(&self.0).finish() + f.debug_tuple("_MFT_OUTPUT_STATUS_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDDynamicRangeCompressionControl(pub i32); -impl ::core::marker::Copy for eAVEncDDDynamicRangeCompressionControl {} -impl ::core::clone::Clone for eAVEncDDDynamicRangeCompressionControl { +pub struct _MFT_OUTPUT_STREAM_INFO_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_OUTPUT_STREAM_INFO_FLAGS {} +impl ::core::clone::Clone for _MFT_OUTPUT_STREAM_INFO_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDDynamicRangeCompressionControl { +impl ::core::default::Default for _MFT_OUTPUT_STREAM_INFO_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDDynamicRangeCompressionControl { +impl ::windows_core::TypeKind for _MFT_OUTPUT_STREAM_INFO_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDDynamicRangeCompressionControl { +impl ::core::fmt::Debug for _MFT_OUTPUT_STREAM_INFO_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDDynamicRangeCompressionControl").field(&self.0).finish() + f.debug_tuple("_MFT_OUTPUT_STREAM_INFO_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDHeadphoneMode(pub i32); -impl ::core::marker::Copy for eAVEncDDHeadphoneMode {} -impl ::core::clone::Clone for eAVEncDDHeadphoneMode { +pub struct _MFT_PROCESS_OUTPUT_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_PROCESS_OUTPUT_FLAGS {} +impl ::core::clone::Clone for _MFT_PROCESS_OUTPUT_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDHeadphoneMode { +impl ::core::default::Default for _MFT_PROCESS_OUTPUT_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDHeadphoneMode { +impl ::windows_core::TypeKind for _MFT_PROCESS_OUTPUT_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDHeadphoneMode { +impl ::core::fmt::Debug for _MFT_PROCESS_OUTPUT_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDHeadphoneMode").field(&self.0).finish() + f.debug_tuple("_MFT_PROCESS_OUTPUT_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDPreferredStereoDownMixMode(pub i32); -impl ::core::marker::Copy for eAVEncDDPreferredStereoDownMixMode {} -impl ::core::clone::Clone for eAVEncDDPreferredStereoDownMixMode { +pub struct _MFT_PROCESS_OUTPUT_STATUS(pub i32); +impl ::core::marker::Copy for _MFT_PROCESS_OUTPUT_STATUS {} +impl ::core::clone::Clone for _MFT_PROCESS_OUTPUT_STATUS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDPreferredStereoDownMixMode { +impl ::core::default::Default for _MFT_PROCESS_OUTPUT_STATUS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDPreferredStereoDownMixMode { +impl ::windows_core::TypeKind for _MFT_PROCESS_OUTPUT_STATUS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDPreferredStereoDownMixMode { +impl ::core::fmt::Debug for _MFT_PROCESS_OUTPUT_STATUS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDPreferredStereoDownMixMode").field(&self.0).finish() + f.debug_tuple("_MFT_PROCESS_OUTPUT_STATUS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDProductionRoomType(pub i32); -impl ::core::marker::Copy for eAVEncDDProductionRoomType {} -impl ::core::clone::Clone for eAVEncDDProductionRoomType { +pub struct _MFT_SET_TYPE_FLAGS(pub i32); +impl ::core::marker::Copy for _MFT_SET_TYPE_FLAGS {} +impl ::core::clone::Clone for _MFT_SET_TYPE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDProductionRoomType { +impl ::core::default::Default for _MFT_SET_TYPE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDProductionRoomType { +impl ::windows_core::TypeKind for _MFT_SET_TYPE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDProductionRoomType { +impl ::core::fmt::Debug for _MFT_SET_TYPE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDProductionRoomType").field(&self.0).finish() + f.debug_tuple("_MFT_SET_TYPE_FLAGS").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDService(pub i32); -impl ::core::marker::Copy for eAVEncDDService {} -impl ::core::clone::Clone for eAVEncDDService { +pub struct eAVAudioChannelConfig(pub i32); +impl ::core::marker::Copy for eAVAudioChannelConfig {} +impl ::core::clone::Clone for eAVAudioChannelConfig { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDService { +impl ::core::default::Default for eAVAudioChannelConfig { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDService { +impl ::windows_core::TypeKind for eAVAudioChannelConfig { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDService { +impl ::core::fmt::Debug for eAVAudioChannelConfig { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDService").field(&self.0).finish() + f.debug_tuple("eAVAudioChannelConfig").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncDDSurroundExMode(pub i32); -impl ::core::marker::Copy for eAVEncDDSurroundExMode {} -impl ::core::clone::Clone for eAVEncDDSurroundExMode { +pub struct eAVDDSurroundMode(pub i32); +impl ::core::marker::Copy for eAVDDSurroundMode {} +impl ::core::clone::Clone for eAVDDSurroundMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncDDSurroundExMode { +impl ::core::default::Default for eAVDDSurroundMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncDDSurroundExMode { +impl ::windows_core::TypeKind for eAVDDSurroundMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncDDSurroundExMode { +impl ::core::fmt::Debug for eAVDDSurroundMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncDDSurroundExMode").field(&self.0).finish() + f.debug_tuple("eAVDDSurroundMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH263PictureType(pub i32); -impl ::core::marker::Copy for eAVEncH263PictureType {} -impl ::core::clone::Clone for eAVEncH263PictureType { +pub struct eAVDSPLoudnessEqualization(pub i32); +impl ::core::marker::Copy for eAVDSPLoudnessEqualization {} +impl ::core::clone::Clone for eAVDSPLoudnessEqualization { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH263PictureType { +impl ::core::default::Default for eAVDSPLoudnessEqualization { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH263PictureType { +impl ::windows_core::TypeKind for eAVDSPLoudnessEqualization { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH263PictureType { +impl ::core::fmt::Debug for eAVDSPLoudnessEqualization { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH263PictureType").field(&self.0).finish() + f.debug_tuple("eAVDSPLoudnessEqualization").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH263VLevel(pub i32); -impl ::core::marker::Copy for eAVEncH263VLevel {} -impl ::core::clone::Clone for eAVEncH263VLevel { +pub struct eAVDSPSpeakerFill(pub i32); +impl ::core::marker::Copy for eAVDSPSpeakerFill {} +impl ::core::clone::Clone for eAVDSPSpeakerFill { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH263VLevel { +impl ::core::default::Default for eAVDSPSpeakerFill { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH263VLevel { +impl ::windows_core::TypeKind for eAVDSPSpeakerFill { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH263VLevel { +impl ::core::fmt::Debug for eAVDSPSpeakerFill { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH263VLevel").field(&self.0).finish() + f.debug_tuple("eAVDSPSpeakerFill").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH263VProfile(pub i32); -impl ::core::marker::Copy for eAVEncH263VProfile {} -impl ::core::clone::Clone for eAVEncH263VProfile { +pub struct eAVDecAACDownmixMode(pub i32); +impl ::core::marker::Copy for eAVDecAACDownmixMode {} +impl ::core::clone::Clone for eAVDecAACDownmixMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH263VProfile { +impl ::core::default::Default for eAVDecAACDownmixMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH263VProfile { +impl ::windows_core::TypeKind for eAVDecAACDownmixMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH263VProfile { +impl ::core::fmt::Debug for eAVDecAACDownmixMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH263VProfile").field(&self.0).finish() + f.debug_tuple("eAVDecAACDownmixMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH264PictureType(pub i32); -impl ::core::marker::Copy for eAVEncH264PictureType {} -impl ::core::clone::Clone for eAVEncH264PictureType { +pub struct eAVDecAudioDualMono(pub i32); +impl ::core::marker::Copy for eAVDecAudioDualMono {} +impl ::core::clone::Clone for eAVDecAudioDualMono { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH264PictureType { +impl ::core::default::Default for eAVDecAudioDualMono { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH264PictureType { +impl ::windows_core::TypeKind for eAVDecAudioDualMono { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH264PictureType { +impl ::core::fmt::Debug for eAVDecAudioDualMono { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH264PictureType").field(&self.0).finish() + f.debug_tuple("eAVDecAudioDualMono").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH264VLevel(pub i32); -impl ::core::marker::Copy for eAVEncH264VLevel {} -impl ::core::clone::Clone for eAVEncH264VLevel { +pub struct eAVDecAudioDualMonoReproMode(pub i32); +impl ::core::marker::Copy for eAVDecAudioDualMonoReproMode {} +impl ::core::clone::Clone for eAVDecAudioDualMonoReproMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH264VLevel { +impl ::core::default::Default for eAVDecAudioDualMonoReproMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH264VLevel { +impl ::windows_core::TypeKind for eAVDecAudioDualMonoReproMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH264VLevel { +impl ::core::fmt::Debug for eAVDecAudioDualMonoReproMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH264VLevel").field(&self.0).finish() + f.debug_tuple("eAVDecAudioDualMonoReproMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH264VProfile(pub i32); -impl ::core::marker::Copy for eAVEncH264VProfile {} -impl ::core::clone::Clone for eAVEncH264VProfile { +pub struct eAVDecDDMatrixDecodingMode(pub i32); +impl ::core::marker::Copy for eAVDecDDMatrixDecodingMode {} +impl ::core::clone::Clone for eAVDecDDMatrixDecodingMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH264VProfile { +impl ::core::default::Default for eAVDecDDMatrixDecodingMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH264VProfile { +impl ::windows_core::TypeKind for eAVDecDDMatrixDecodingMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH264VProfile { +impl ::core::fmt::Debug for eAVDecDDMatrixDecodingMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH264VProfile").field(&self.0).finish() + f.debug_tuple("eAVDecDDMatrixDecodingMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH265VLevel(pub i32); -impl ::core::marker::Copy for eAVEncH265VLevel {} -impl ::core::clone::Clone for eAVEncH265VLevel { +pub struct eAVDecDDOperationalMode(pub i32); +impl ::core::marker::Copy for eAVDecDDOperationalMode {} +impl ::core::clone::Clone for eAVDecDDOperationalMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH265VLevel { +impl ::core::default::Default for eAVDecDDOperationalMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH265VLevel { +impl ::windows_core::TypeKind for eAVDecDDOperationalMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH265VLevel { +impl ::core::fmt::Debug for eAVDecDDOperationalMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH265VLevel").field(&self.0).finish() + f.debug_tuple("eAVDecDDOperationalMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncH265VProfile(pub i32); -impl ::core::marker::Copy for eAVEncH265VProfile {} -impl ::core::clone::Clone for eAVEncH265VProfile { +pub struct eAVDecDDStereoDownMixMode(pub i32); +impl ::core::marker::Copy for eAVDecDDStereoDownMixMode {} +impl ::core::clone::Clone for eAVDecDDStereoDownMixMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncH265VProfile { +impl ::core::default::Default for eAVDecDDStereoDownMixMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncH265VProfile { +impl ::windows_core::TypeKind for eAVDecDDStereoDownMixMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncH265VProfile { +impl ::core::fmt::Debug for eAVDecDDStereoDownMixMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncH265VProfile").field(&self.0).finish() + f.debug_tuple("eAVDecDDStereoDownMixMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncInputVideoSystem(pub i32); -impl ::core::marker::Copy for eAVEncInputVideoSystem {} -impl ::core::clone::Clone for eAVEncInputVideoSystem { +pub struct eAVDecHEAACDynamicRangeControl(pub i32); +impl ::core::marker::Copy for eAVDecHEAACDynamicRangeControl {} +impl ::core::clone::Clone for eAVDecHEAACDynamicRangeControl { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncInputVideoSystem { +impl ::core::default::Default for eAVDecHEAACDynamicRangeControl { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncInputVideoSystem { +impl ::windows_core::TypeKind for eAVDecHEAACDynamicRangeControl { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncInputVideoSystem { +impl ::core::fmt::Debug for eAVDecHEAACDynamicRangeControl { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncInputVideoSystem").field(&self.0).finish() + f.debug_tuple("eAVDecHEAACDynamicRangeControl").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPACodingMode(pub i32); -impl ::core::marker::Copy for eAVEncMPACodingMode {} -impl ::core::clone::Clone for eAVEncMPACodingMode { - fn clone(&self) -> Self { +pub struct eAVDecVideoCodecType(pub i32); +impl ::core::marker::Copy for eAVDecVideoCodecType {} +impl ::core::clone::Clone for eAVDecVideoCodecType { + fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPACodingMode { +impl ::core::default::Default for eAVDecVideoCodecType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPACodingMode { +impl ::windows_core::TypeKind for eAVDecVideoCodecType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPACodingMode { +impl ::core::fmt::Debug for eAVDecVideoCodecType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPACodingMode").field(&self.0).finish() + f.debug_tuple("eAVDecVideoCodecType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPAEmphasisType(pub i32); -impl ::core::marker::Copy for eAVEncMPAEmphasisType {} -impl ::core::clone::Clone for eAVEncMPAEmphasisType { +pub struct eAVDecVideoDXVABusEncryption(pub i32); +impl ::core::marker::Copy for eAVDecVideoDXVABusEncryption {} +impl ::core::clone::Clone for eAVDecVideoDXVABusEncryption { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPAEmphasisType { +impl ::core::default::Default for eAVDecVideoDXVABusEncryption { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPAEmphasisType { +impl ::windows_core::TypeKind for eAVDecVideoDXVABusEncryption { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPAEmphasisType { +impl ::core::fmt::Debug for eAVDecVideoDXVABusEncryption { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPAEmphasisType").field(&self.0).finish() + f.debug_tuple("eAVDecVideoDXVABusEncryption").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPALayer(pub i32); -impl ::core::marker::Copy for eAVEncMPALayer {} -impl ::core::clone::Clone for eAVEncMPALayer { +pub struct eAVDecVideoDXVAMode(pub i32); +impl ::core::marker::Copy for eAVDecVideoDXVAMode {} +impl ::core::clone::Clone for eAVDecVideoDXVAMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPALayer { +impl ::core::default::Default for eAVDecVideoDXVAMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPALayer { +impl ::windows_core::TypeKind for eAVDecVideoDXVAMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPALayer { +impl ::core::fmt::Debug for eAVDecVideoDXVAMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPALayer").field(&self.0).finish() + f.debug_tuple("eAVDecVideoDXVAMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVFrameFieldMode(pub i32); -impl ::core::marker::Copy for eAVEncMPVFrameFieldMode {} -impl ::core::clone::Clone for eAVEncMPVFrameFieldMode { +pub struct eAVDecVideoH264ErrorConcealment(pub i32); +impl ::core::marker::Copy for eAVDecVideoH264ErrorConcealment {} +impl ::core::clone::Clone for eAVDecVideoH264ErrorConcealment { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVFrameFieldMode { +impl ::core::default::Default for eAVDecVideoH264ErrorConcealment { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVFrameFieldMode { +impl ::windows_core::TypeKind for eAVDecVideoH264ErrorConcealment { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVFrameFieldMode { +impl ::core::fmt::Debug for eAVDecVideoH264ErrorConcealment { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVFrameFieldMode").field(&self.0).finish() + f.debug_tuple("eAVDecVideoH264ErrorConcealment").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVIntraVLCTable(pub i32); -impl ::core::marker::Copy for eAVEncMPVIntraVLCTable {} -impl ::core::clone::Clone for eAVEncMPVIntraVLCTable { +pub struct eAVDecVideoInputScanType(pub i32); +impl ::core::marker::Copy for eAVDecVideoInputScanType {} +impl ::core::clone::Clone for eAVDecVideoInputScanType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVIntraVLCTable { +impl ::core::default::Default for eAVDecVideoInputScanType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVIntraVLCTable { +impl ::windows_core::TypeKind for eAVDecVideoInputScanType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVIntraVLCTable { +impl ::core::fmt::Debug for eAVDecVideoInputScanType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVIntraVLCTable").field(&self.0).finish() + f.debug_tuple("eAVDecVideoInputScanType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVLevel(pub i32); -impl ::core::marker::Copy for eAVEncMPVLevel {} -impl ::core::clone::Clone for eAVEncMPVLevel { +pub struct eAVDecVideoMPEG2ErrorConcealment(pub i32); +impl ::core::marker::Copy for eAVDecVideoMPEG2ErrorConcealment {} +impl ::core::clone::Clone for eAVDecVideoMPEG2ErrorConcealment { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVLevel { +impl ::core::default::Default for eAVDecVideoMPEG2ErrorConcealment { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVLevel { +impl ::windows_core::TypeKind for eAVDecVideoMPEG2ErrorConcealment { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVLevel { +impl ::core::fmt::Debug for eAVDecVideoMPEG2ErrorConcealment { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVLevel").field(&self.0).finish() + f.debug_tuple("eAVDecVideoMPEG2ErrorConcealment").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVProfile(pub i32); -impl ::core::marker::Copy for eAVEncMPVProfile {} -impl ::core::clone::Clone for eAVEncMPVProfile { +pub struct eAVDecVideoSWPowerLevel(pub i32); +impl ::core::marker::Copy for eAVDecVideoSWPowerLevel {} +impl ::core::clone::Clone for eAVDecVideoSWPowerLevel { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVProfile { +impl ::core::default::Default for eAVDecVideoSWPowerLevel { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVProfile { +impl ::windows_core::TypeKind for eAVDecVideoSWPowerLevel { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVProfile { +impl ::core::fmt::Debug for eAVDecVideoSWPowerLevel { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVProfile").field(&self.0).finish() + f.debug_tuple("eAVDecVideoSWPowerLevel").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVQScaleType(pub i32); -impl ::core::marker::Copy for eAVEncMPVQScaleType {} -impl ::core::clone::Clone for eAVEncMPVQScaleType { +pub struct eAVDecVideoSoftwareDeinterlaceMode(pub i32); +impl ::core::marker::Copy for eAVDecVideoSoftwareDeinterlaceMode {} +impl ::core::clone::Clone for eAVDecVideoSoftwareDeinterlaceMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVQScaleType { +impl ::core::default::Default for eAVDecVideoSoftwareDeinterlaceMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVQScaleType { +impl ::windows_core::TypeKind for eAVDecVideoSoftwareDeinterlaceMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVQScaleType { +impl ::core::fmt::Debug for eAVDecVideoSoftwareDeinterlaceMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVQScaleType").field(&self.0).finish() + f.debug_tuple("eAVDecVideoSoftwareDeinterlaceMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVScanPattern(pub i32); -impl ::core::marker::Copy for eAVEncMPVScanPattern {} -impl ::core::clone::Clone for eAVEncMPVScanPattern { +pub struct eAVEncAV1PictureType(pub i32); +impl ::core::marker::Copy for eAVEncAV1PictureType {} +impl ::core::clone::Clone for eAVEncAV1PictureType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVScanPattern { +impl ::core::default::Default for eAVEncAV1PictureType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVScanPattern { +impl ::windows_core::TypeKind for eAVEncAV1PictureType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVScanPattern { +impl ::core::fmt::Debug for eAVEncAV1PictureType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVScanPattern").field(&self.0).finish() + f.debug_tuple("eAVEncAV1PictureType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMPVSceneDetection(pub i32); -impl ::core::marker::Copy for eAVEncMPVSceneDetection {} -impl ::core::clone::Clone for eAVEncMPVSceneDetection { +pub struct eAVEncAV1VLevel(pub i32); +impl ::core::marker::Copy for eAVEncAV1VLevel {} +impl ::core::clone::Clone for eAVEncAV1VLevel { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMPVSceneDetection { +impl ::core::default::Default for eAVEncAV1VLevel { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMPVSceneDetection { +impl ::windows_core::TypeKind for eAVEncAV1VLevel { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMPVSceneDetection { +impl ::core::fmt::Debug for eAVEncAV1VLevel { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMPVSceneDetection").field(&self.0).finish() + f.debug_tuple("eAVEncAV1VLevel").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncMuxOutput(pub i32); -impl ::core::marker::Copy for eAVEncMuxOutput {} -impl ::core::clone::Clone for eAVEncMuxOutput { +pub struct eAVEncAV1VProfile(pub i32); +impl ::core::marker::Copy for eAVEncAV1VProfile {} +impl ::core::clone::Clone for eAVEncAV1VProfile { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncMuxOutput { +impl ::core::default::Default for eAVEncAV1VProfile { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncMuxOutput { +impl ::windows_core::TypeKind for eAVEncAV1VProfile { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncMuxOutput { +impl ::core::fmt::Debug for eAVEncAV1VProfile { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncMuxOutput").field(&self.0).finish() + f.debug_tuple("eAVEncAV1VProfile").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVP9VProfile(pub i32); -impl ::core::marker::Copy for eAVEncVP9VProfile {} -impl ::core::clone::Clone for eAVEncVP9VProfile { +pub struct eAVEncAdaptiveMode(pub i32); +impl ::core::marker::Copy for eAVEncAdaptiveMode {} +impl ::core::clone::Clone for eAVEncAdaptiveMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVP9VProfile { +impl ::core::default::Default for eAVEncAdaptiveMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVP9VProfile { +impl ::windows_core::TypeKind for eAVEncAdaptiveMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVP9VProfile { +impl ::core::fmt::Debug for eAVEncAdaptiveMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVP9VProfile").field(&self.0).finish() + f.debug_tuple("eAVEncAdaptiveMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoChromaResolution(pub i32); -impl ::core::marker::Copy for eAVEncVideoChromaResolution {} -impl ::core::clone::Clone for eAVEncVideoChromaResolution { +pub struct eAVEncAudioDualMono(pub i32); +impl ::core::marker::Copy for eAVEncAudioDualMono {} +impl ::core::clone::Clone for eAVEncAudioDualMono { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoChromaResolution { +impl ::core::default::Default for eAVEncAudioDualMono { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoChromaResolution { +impl ::windows_core::TypeKind for eAVEncAudioDualMono { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoChromaResolution { +impl ::core::fmt::Debug for eAVEncAudioDualMono { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoChromaResolution").field(&self.0).finish() + f.debug_tuple("eAVEncAudioDualMono").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoChromaSubsampling(pub i32); -impl ::core::marker::Copy for eAVEncVideoChromaSubsampling {} -impl ::core::clone::Clone for eAVEncVideoChromaSubsampling { +pub struct eAVEncAudioInputContent(pub i32); +impl ::core::marker::Copy for eAVEncAudioInputContent {} +impl ::core::clone::Clone for eAVEncAudioInputContent { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoChromaSubsampling { +impl ::core::default::Default for eAVEncAudioInputContent { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoChromaSubsampling { +impl ::windows_core::TypeKind for eAVEncAudioInputContent { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoChromaSubsampling { +impl ::core::fmt::Debug for eAVEncAudioInputContent { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoChromaSubsampling").field(&self.0).finish() + f.debug_tuple("eAVEncAudioInputContent").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoColorLighting(pub i32); -impl ::core::marker::Copy for eAVEncVideoColorLighting {} -impl ::core::clone::Clone for eAVEncVideoColorLighting { +pub struct eAVEncChromaEncodeMode(pub i32); +impl ::core::marker::Copy for eAVEncChromaEncodeMode {} +impl ::core::clone::Clone for eAVEncChromaEncodeMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoColorLighting { +impl ::core::default::Default for eAVEncChromaEncodeMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoColorLighting { +impl ::windows_core::TypeKind for eAVEncChromaEncodeMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoColorLighting { +impl ::core::fmt::Debug for eAVEncChromaEncodeMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoColorLighting").field(&self.0).finish() + f.debug_tuple("eAVEncChromaEncodeMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoColorNominalRange(pub i32); -impl ::core::marker::Copy for eAVEncVideoColorNominalRange {} -impl ::core::clone::Clone for eAVEncVideoColorNominalRange { +pub struct eAVEncCommonRateControlMode(pub i32); +impl ::core::marker::Copy for eAVEncCommonRateControlMode {} +impl ::core::clone::Clone for eAVEncCommonRateControlMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoColorNominalRange { +impl ::core::default::Default for eAVEncCommonRateControlMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoColorNominalRange { +impl ::windows_core::TypeKind for eAVEncCommonRateControlMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoColorNominalRange { +impl ::core::fmt::Debug for eAVEncCommonRateControlMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoColorNominalRange").field(&self.0).finish() + f.debug_tuple("eAVEncCommonRateControlMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoColorPrimaries(pub i32); -impl ::core::marker::Copy for eAVEncVideoColorPrimaries {} -impl ::core::clone::Clone for eAVEncVideoColorPrimaries { +pub struct eAVEncCommonStreamEndHandling(pub i32); +impl ::core::marker::Copy for eAVEncCommonStreamEndHandling {} +impl ::core::clone::Clone for eAVEncCommonStreamEndHandling { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoColorPrimaries { +impl ::core::default::Default for eAVEncCommonStreamEndHandling { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoColorPrimaries { +impl ::windows_core::TypeKind for eAVEncCommonStreamEndHandling { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoColorPrimaries { +impl ::core::fmt::Debug for eAVEncCommonStreamEndHandling { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoColorPrimaries").field(&self.0).finish() + f.debug_tuple("eAVEncCommonStreamEndHandling").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoColorTransferFunction(pub i32); -impl ::core::marker::Copy for eAVEncVideoColorTransferFunction {} -impl ::core::clone::Clone for eAVEncVideoColorTransferFunction { +pub struct eAVEncDDAtoDConverterType(pub i32); +impl ::core::marker::Copy for eAVEncDDAtoDConverterType {} +impl ::core::clone::Clone for eAVEncDDAtoDConverterType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoColorTransferFunction { +impl ::core::default::Default for eAVEncDDAtoDConverterType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoColorTransferFunction { +impl ::windows_core::TypeKind for eAVEncDDAtoDConverterType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoColorTransferFunction { +impl ::core::fmt::Debug for eAVEncDDAtoDConverterType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoColorTransferFunction").field(&self.0).finish() + f.debug_tuple("eAVEncDDAtoDConverterType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoColorTransferMatrix(pub i32); -impl ::core::marker::Copy for eAVEncVideoColorTransferMatrix {} -impl ::core::clone::Clone for eAVEncVideoColorTransferMatrix { +pub struct eAVEncDDDynamicRangeCompressionControl(pub i32); +impl ::core::marker::Copy for eAVEncDDDynamicRangeCompressionControl {} +impl ::core::clone::Clone for eAVEncDDDynamicRangeCompressionControl { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoColorTransferMatrix { +impl ::core::default::Default for eAVEncDDDynamicRangeCompressionControl { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoColorTransferMatrix { +impl ::windows_core::TypeKind for eAVEncDDDynamicRangeCompressionControl { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoColorTransferMatrix { +impl ::core::fmt::Debug for eAVEncDDDynamicRangeCompressionControl { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoColorTransferMatrix").field(&self.0).finish() + f.debug_tuple("eAVEncDDDynamicRangeCompressionControl").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoContentType(pub i32); -impl ::core::marker::Copy for eAVEncVideoContentType {} -impl ::core::clone::Clone for eAVEncVideoContentType { +pub struct eAVEncDDHeadphoneMode(pub i32); +impl ::core::marker::Copy for eAVEncDDHeadphoneMode {} +impl ::core::clone::Clone for eAVEncDDHeadphoneMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoContentType { +impl ::core::default::Default for eAVEncDDHeadphoneMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoContentType { +impl ::windows_core::TypeKind for eAVEncDDHeadphoneMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoContentType { +impl ::core::fmt::Debug for eAVEncDDHeadphoneMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoContentType").field(&self.0).finish() + f.debug_tuple("eAVEncDDHeadphoneMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoFilmContent(pub i32); -impl ::core::marker::Copy for eAVEncVideoFilmContent {} -impl ::core::clone::Clone for eAVEncVideoFilmContent { +pub struct eAVEncDDPreferredStereoDownMixMode(pub i32); +impl ::core::marker::Copy for eAVEncDDPreferredStereoDownMixMode {} +impl ::core::clone::Clone for eAVEncDDPreferredStereoDownMixMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoFilmContent { +impl ::core::default::Default for eAVEncDDPreferredStereoDownMixMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoFilmContent { +impl ::windows_core::TypeKind for eAVEncDDPreferredStereoDownMixMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoFilmContent { +impl ::core::fmt::Debug for eAVEncDDPreferredStereoDownMixMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoFilmContent").field(&self.0).finish() + f.debug_tuple("eAVEncDDPreferredStereoDownMixMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoOutputFrameRateConversion(pub i32); -impl ::core::marker::Copy for eAVEncVideoOutputFrameRateConversion {} -impl ::core::clone::Clone for eAVEncVideoOutputFrameRateConversion { +pub struct eAVEncDDProductionRoomType(pub i32); +impl ::core::marker::Copy for eAVEncDDProductionRoomType {} +impl ::core::clone::Clone for eAVEncDDProductionRoomType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoOutputFrameRateConversion { +impl ::core::default::Default for eAVEncDDProductionRoomType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoOutputFrameRateConversion { +impl ::windows_core::TypeKind for eAVEncDDProductionRoomType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoOutputFrameRateConversion { +impl ::core::fmt::Debug for eAVEncDDProductionRoomType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoOutputFrameRateConversion").field(&self.0).finish() + f.debug_tuple("eAVEncDDProductionRoomType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoOutputScanType(pub i32); -impl ::core::marker::Copy for eAVEncVideoOutputScanType {} -impl ::core::clone::Clone for eAVEncVideoOutputScanType { +pub struct eAVEncDDService(pub i32); +impl ::core::marker::Copy for eAVEncDDService {} +impl ::core::clone::Clone for eAVEncDDService { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoOutputScanType { +impl ::core::default::Default for eAVEncDDService { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoOutputScanType { +impl ::windows_core::TypeKind for eAVEncDDService { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoOutputScanType { +impl ::core::fmt::Debug for eAVEncDDService { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoOutputScanType").field(&self.0).finish() + f.debug_tuple("eAVEncDDService").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVEncVideoSourceScanType(pub i32); -impl ::core::marker::Copy for eAVEncVideoSourceScanType {} -impl ::core::clone::Clone for eAVEncVideoSourceScanType { +pub struct eAVEncDDSurroundExMode(pub i32); +impl ::core::marker::Copy for eAVEncDDSurroundExMode {} +impl ::core::clone::Clone for eAVEncDDSurroundExMode { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVEncVideoSourceScanType { +impl ::core::default::Default for eAVEncDDSurroundExMode { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVEncVideoSourceScanType { +impl ::windows_core::TypeKind for eAVEncDDSurroundExMode { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVEncVideoSourceScanType { +impl ::core::fmt::Debug for eAVEncDDSurroundExMode { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVEncVideoSourceScanType").field(&self.0).finish() + f.debug_tuple("eAVEncDDSurroundExMode").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVFastDecodeMode(pub i32); -impl ::core::marker::Copy for eAVFastDecodeMode {} -impl ::core::clone::Clone for eAVFastDecodeMode { +pub struct eAVEncH263PictureType(pub i32); +impl ::core::marker::Copy for eAVEncH263PictureType {} +impl ::core::clone::Clone for eAVEncH263PictureType { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVFastDecodeMode { +impl ::core::default::Default for eAVEncH263PictureType { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVFastDecodeMode { +impl ::windows_core::TypeKind for eAVEncH263PictureType { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVFastDecodeMode { +impl ::core::fmt::Debug for eAVEncH263PictureType { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVFastDecodeMode").field(&self.0).finish() + f.debug_tuple("eAVEncH263PictureType").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eAVScenarioInfo(pub i32); -impl ::core::marker::Copy for eAVScenarioInfo {} -impl ::core::clone::Clone for eAVScenarioInfo { +pub struct eAVEncH263VLevel(pub i32); +impl ::core::marker::Copy for eAVEncH263VLevel {} +impl ::core::clone::Clone for eAVEncH263VLevel { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eAVScenarioInfo { +impl ::core::default::Default for eAVEncH263VLevel { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eAVScenarioInfo { +impl ::windows_core::TypeKind for eAVEncH263VLevel { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eAVScenarioInfo { +impl ::core::fmt::Debug for eAVEncH263VLevel { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eAVScenarioInfo").field(&self.0).finish() + f.debug_tuple("eAVEncH263VLevel").field(&self.0).finish() } } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct eVideoEncoderDisplayContentType(pub i32); -impl ::core::marker::Copy for eVideoEncoderDisplayContentType {} -impl ::core::clone::Clone for eVideoEncoderDisplayContentType { +pub struct eAVEncH263VProfile(pub i32); +impl ::core::marker::Copy for eAVEncH263VProfile {} +impl ::core::clone::Clone for eAVEncH263VProfile { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for eVideoEncoderDisplayContentType { +impl ::core::default::Default for eAVEncH263VProfile { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for eVideoEncoderDisplayContentType { +impl ::windows_core::TypeKind for eAVEncH263VProfile { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for eVideoEncoderDisplayContentType { +impl ::core::fmt::Debug for eAVEncH263VProfile { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("eVideoEncoderDisplayContentType").field(&self.0).finish() + f.debug_tuple("eAVEncH263VProfile").field(&self.0).finish() } } -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct AM_MEDIA_TYPE { - pub majortype: ::windows_core::GUID, - pub subtype: ::windows_core::GUID, - pub bFixedSizeSamples: super::super::Foundation::BOOL, - pub bTemporalCompression: super::super::Foundation::BOOL, - pub lSampleSize: u32, - pub formattype: ::windows_core::GUID, - pub pUnk: ::std::mem::ManuallyDrop<::core::option::Option<::windows_core::IUnknown>>, - pub cbFormat: u32, - pub pbFormat: *mut u8, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for AM_MEDIA_TYPE { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncH264PictureType(pub i32); +impl ::core::marker::Copy for eAVEncH264PictureType {} +impl ::core::clone::Clone for eAVEncH264PictureType { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for AM_MEDIA_TYPE { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("AM_MEDIA_TYPE").field("majortype", &self.majortype).field("subtype", &self.subtype).field("bFixedSizeSamples", &self.bFixedSizeSamples).field("bTemporalCompression", &self.bTemporalCompression).field("lSampleSize", &self.lSampleSize).field("formattype", &self.formattype).field("pUnk", &self.pUnk).field("cbFormat", &self.cbFormat).field("pbFormat", &self.pbFormat).finish() +impl ::core::default::Default for eAVEncH264PictureType { + fn default() -> Self { + Self(0) } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for AM_MEDIA_TYPE { +impl ::windows_core::TypeKind for eAVEncH264PictureType { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for AM_MEDIA_TYPE { - fn eq(&self, other: &Self) -> bool { - self.majortype == other.majortype && self.subtype == other.subtype && self.bFixedSizeSamples == other.bFixedSizeSamples && self.bTemporalCompression == other.bTemporalCompression && self.lSampleSize == other.lSampleSize && self.formattype == other.formattype && self.pUnk == other.pUnk && self.cbFormat == other.cbFormat && self.pbFormat == other.pbFormat +impl ::core::fmt::Debug for eAVEncH264PictureType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncH264PictureType").field(&self.0).finish() } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for AM_MEDIA_TYPE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for AM_MEDIA_TYPE { +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncH264VLevel(pub i32); +impl ::core::marker::Copy for eAVEncH264VLevel {} +impl ::core::clone::Clone for eAVEncH264VLevel { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncH264VLevel { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + Self(0) } } -#[repr(C, packed(1))] -pub struct ASF_FLAT_PICTURE { - pub bPictureType: u8, - pub dwDataLen: u32, +impl ::windows_core::TypeKind for eAVEncH264VLevel { + type TypeKind = ::windows_core::CopyType; } -impl ::core::marker::Copy for ASF_FLAT_PICTURE {} -impl ::core::clone::Clone for ASF_FLAT_PICTURE { +impl ::core::fmt::Debug for eAVEncH264VLevel { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncH264VLevel").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncH264VProfile(pub i32); +impl ::core::marker::Copy for eAVEncH264VProfile {} +impl ::core::clone::Clone for eAVEncH264VProfile { fn clone(&self) -> Self { *self } } -impl ::windows_core::TypeKind for ASF_FLAT_PICTURE { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::default::Default for ASF_FLAT_PICTURE { +impl ::core::default::Default for eAVEncH264VProfile { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + Self(0) } } -#[repr(C, packed(1))] -pub struct ASF_FLAT_SYNCHRONISED_LYRICS { - pub bTimeStampFormat: u8, - pub bContentType: u8, - pub dwLyricsLen: u32, +impl ::windows_core::TypeKind for eAVEncH264VProfile { + type TypeKind = ::windows_core::CopyType; } -impl ::core::marker::Copy for ASF_FLAT_SYNCHRONISED_LYRICS {} -impl ::core::clone::Clone for ASF_FLAT_SYNCHRONISED_LYRICS { +impl ::core::fmt::Debug for eAVEncH264VProfile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncH264VProfile").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncH265VLevel(pub i32); +impl ::core::marker::Copy for eAVEncH265VLevel {} +impl ::core::clone::Clone for eAVEncH265VLevel { fn clone(&self) -> Self { *self } } -impl ::windows_core::TypeKind for ASF_FLAT_SYNCHRONISED_LYRICS { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::default::Default for ASF_FLAT_SYNCHRONISED_LYRICS { +impl ::core::default::Default for eAVEncH265VLevel { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + Self(0) } } -#[repr(C)] -pub struct ASF_INDEX_DESCRIPTOR { - pub Identifier: ASF_INDEX_IDENTIFIER, - pub cPerEntryBytes: u16, - pub szDescription: [u16; 32], - pub dwInterval: u32, +impl ::windows_core::TypeKind for eAVEncH265VLevel { + type TypeKind = ::windows_core::CopyType; } -impl ::core::marker::Copy for ASF_INDEX_DESCRIPTOR {} -impl ::core::clone::Clone for ASF_INDEX_DESCRIPTOR { +impl ::core::fmt::Debug for eAVEncH265VLevel { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncH265VLevel").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncH265VProfile(pub i32); +impl ::core::marker::Copy for eAVEncH265VProfile {} +impl ::core::clone::Clone for eAVEncH265VProfile { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for ASF_INDEX_DESCRIPTOR { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("ASF_INDEX_DESCRIPTOR").field("Identifier", &self.Identifier).field("cPerEntryBytes", &self.cPerEntryBytes).field("szDescription", &self.szDescription).field("dwInterval", &self.dwInterval).finish() +impl ::core::default::Default for eAVEncH265VProfile { + fn default() -> Self { + Self(0) } } -impl ::windows_core::TypeKind for ASF_INDEX_DESCRIPTOR { +impl ::windows_core::TypeKind for eAVEncH265VProfile { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for ASF_INDEX_DESCRIPTOR { +impl ::core::fmt::Debug for eAVEncH265VProfile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncH265VProfile").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncInputVideoSystem(pub i32); +impl ::core::marker::Copy for eAVEncInputVideoSystem {} +impl ::core::clone::Clone for eAVEncInputVideoSystem { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncInputVideoSystem { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncInputVideoSystem { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncInputVideoSystem { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncInputVideoSystem").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPACodingMode(pub i32); +impl ::core::marker::Copy for eAVEncMPACodingMode {} +impl ::core::clone::Clone for eAVEncMPACodingMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPACodingMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPACodingMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPACodingMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPACodingMode").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPAEmphasisType(pub i32); +impl ::core::marker::Copy for eAVEncMPAEmphasisType {} +impl ::core::clone::Clone for eAVEncMPAEmphasisType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPAEmphasisType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPAEmphasisType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPAEmphasisType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPAEmphasisType").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPALayer(pub i32); +impl ::core::marker::Copy for eAVEncMPALayer {} +impl ::core::clone::Clone for eAVEncMPALayer { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPALayer { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPALayer { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPALayer { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPALayer").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVFrameFieldMode(pub i32); +impl ::core::marker::Copy for eAVEncMPVFrameFieldMode {} +impl ::core::clone::Clone for eAVEncMPVFrameFieldMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVFrameFieldMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVFrameFieldMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVFrameFieldMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVFrameFieldMode").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVIntraVLCTable(pub i32); +impl ::core::marker::Copy for eAVEncMPVIntraVLCTable {} +impl ::core::clone::Clone for eAVEncMPVIntraVLCTable { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVIntraVLCTable { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVIntraVLCTable { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVIntraVLCTable { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVIntraVLCTable").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVLevel(pub i32); +impl ::core::marker::Copy for eAVEncMPVLevel {} +impl ::core::clone::Clone for eAVEncMPVLevel { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVLevel { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVLevel { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVLevel { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVLevel").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVProfile(pub i32); +impl ::core::marker::Copy for eAVEncMPVProfile {} +impl ::core::clone::Clone for eAVEncMPVProfile { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVProfile { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVProfile { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVProfile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVProfile").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVQScaleType(pub i32); +impl ::core::marker::Copy for eAVEncMPVQScaleType {} +impl ::core::clone::Clone for eAVEncMPVQScaleType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVQScaleType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVQScaleType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVQScaleType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVQScaleType").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVScanPattern(pub i32); +impl ::core::marker::Copy for eAVEncMPVScanPattern {} +impl ::core::clone::Clone for eAVEncMPVScanPattern { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVScanPattern { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVScanPattern { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVScanPattern { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVScanPattern").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMPVSceneDetection(pub i32); +impl ::core::marker::Copy for eAVEncMPVSceneDetection {} +impl ::core::clone::Clone for eAVEncMPVSceneDetection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMPVSceneDetection { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMPVSceneDetection { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMPVSceneDetection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMPVSceneDetection").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncMuxOutput(pub i32); +impl ::core::marker::Copy for eAVEncMuxOutput {} +impl ::core::clone::Clone for eAVEncMuxOutput { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncMuxOutput { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncMuxOutput { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncMuxOutput { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncMuxOutput").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVP9VProfile(pub i32); +impl ::core::marker::Copy for eAVEncVP9VProfile {} +impl ::core::clone::Clone for eAVEncVP9VProfile { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVP9VProfile { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVP9VProfile { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVP9VProfile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVP9VProfile").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoChromaResolution(pub i32); +impl ::core::marker::Copy for eAVEncVideoChromaResolution {} +impl ::core::clone::Clone for eAVEncVideoChromaResolution { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoChromaResolution { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoChromaResolution { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoChromaResolution { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoChromaResolution").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoChromaSubsampling(pub i32); +impl ::core::marker::Copy for eAVEncVideoChromaSubsampling {} +impl ::core::clone::Clone for eAVEncVideoChromaSubsampling { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoChromaSubsampling { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoChromaSubsampling { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoChromaSubsampling { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoChromaSubsampling").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoColorLighting(pub i32); +impl ::core::marker::Copy for eAVEncVideoColorLighting {} +impl ::core::clone::Clone for eAVEncVideoColorLighting { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoColorLighting { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoColorLighting { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoColorLighting { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoColorLighting").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoColorNominalRange(pub i32); +impl ::core::marker::Copy for eAVEncVideoColorNominalRange {} +impl ::core::clone::Clone for eAVEncVideoColorNominalRange { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoColorNominalRange { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoColorNominalRange { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoColorNominalRange { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoColorNominalRange").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoColorPrimaries(pub i32); +impl ::core::marker::Copy for eAVEncVideoColorPrimaries {} +impl ::core::clone::Clone for eAVEncVideoColorPrimaries { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoColorPrimaries { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoColorPrimaries { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoColorPrimaries { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoColorPrimaries").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoColorTransferFunction(pub i32); +impl ::core::marker::Copy for eAVEncVideoColorTransferFunction {} +impl ::core::clone::Clone for eAVEncVideoColorTransferFunction { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoColorTransferFunction { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoColorTransferFunction { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoColorTransferFunction { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoColorTransferFunction").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoColorTransferMatrix(pub i32); +impl ::core::marker::Copy for eAVEncVideoColorTransferMatrix {} +impl ::core::clone::Clone for eAVEncVideoColorTransferMatrix { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoColorTransferMatrix { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoColorTransferMatrix { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoColorTransferMatrix { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoColorTransferMatrix").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoContentType(pub i32); +impl ::core::marker::Copy for eAVEncVideoContentType {} +impl ::core::clone::Clone for eAVEncVideoContentType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoContentType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoContentType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoContentType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoContentType").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoFilmContent(pub i32); +impl ::core::marker::Copy for eAVEncVideoFilmContent {} +impl ::core::clone::Clone for eAVEncVideoFilmContent { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoFilmContent { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoFilmContent { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoFilmContent { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoFilmContent").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoOutputFrameRateConversion(pub i32); +impl ::core::marker::Copy for eAVEncVideoOutputFrameRateConversion {} +impl ::core::clone::Clone for eAVEncVideoOutputFrameRateConversion { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoOutputFrameRateConversion { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoOutputFrameRateConversion { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoOutputFrameRateConversion { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoOutputFrameRateConversion").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoOutputScanType(pub i32); +impl ::core::marker::Copy for eAVEncVideoOutputScanType {} +impl ::core::clone::Clone for eAVEncVideoOutputScanType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoOutputScanType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoOutputScanType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoOutputScanType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoOutputScanType").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVEncVideoSourceScanType(pub i32); +impl ::core::marker::Copy for eAVEncVideoSourceScanType {} +impl ::core::clone::Clone for eAVEncVideoSourceScanType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVEncVideoSourceScanType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVEncVideoSourceScanType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVEncVideoSourceScanType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVEncVideoSourceScanType").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVFastDecodeMode(pub i32); +impl ::core::marker::Copy for eAVFastDecodeMode {} +impl ::core::clone::Clone for eAVFastDecodeMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVFastDecodeMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVFastDecodeMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVFastDecodeMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVFastDecodeMode").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eAVScenarioInfo(pub i32); +impl ::core::marker::Copy for eAVScenarioInfo {} +impl ::core::clone::Clone for eAVScenarioInfo { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eAVScenarioInfo { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eAVScenarioInfo { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eAVScenarioInfo { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eAVScenarioInfo").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct eVideoEncoderDisplayContentType(pub i32); +impl ::core::marker::Copy for eVideoEncoderDisplayContentType {} +impl ::core::clone::Clone for eVideoEncoderDisplayContentType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for eVideoEncoderDisplayContentType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for eVideoEncoderDisplayContentType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for eVideoEncoderDisplayContentType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("eVideoEncoderDisplayContentType").field(&self.0).finish() + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct AM_MEDIA_TYPE { + pub majortype: ::windows_core::GUID, + pub subtype: ::windows_core::GUID, + pub bFixedSizeSamples: super::super::Foundation::BOOL, + pub bTemporalCompression: super::super::Foundation::BOOL, + pub lSampleSize: u32, + pub formattype: ::windows_core::GUID, + pub pUnk: ::std::mem::ManuallyDrop<::core::option::Option<::windows_core::IUnknown>>, + pub cbFormat: u32, + pub pbFormat: *mut u8, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for AM_MEDIA_TYPE { + fn clone(&self) -> Self { + unsafe { ::core::mem::transmute_copy(self) } + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for AM_MEDIA_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("AM_MEDIA_TYPE").field("majortype", &self.majortype).field("subtype", &self.subtype).field("bFixedSizeSamples", &self.bFixedSizeSamples).field("bTemporalCompression", &self.bTemporalCompression).field("lSampleSize", &self.lSampleSize).field("formattype", &self.formattype).field("pUnk", &self.pUnk).field("cbFormat", &self.cbFormat).field("pbFormat", &self.pbFormat).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for AM_MEDIA_TYPE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for AM_MEDIA_TYPE { + fn eq(&self, other: &Self) -> bool { + self.majortype == other.majortype && self.subtype == other.subtype && self.bFixedSizeSamples == other.bFixedSizeSamples && self.bTemporalCompression == other.bTemporalCompression && self.lSampleSize == other.lSampleSize && self.formattype == other.formattype && self.pUnk == other.pUnk && self.cbFormat == other.cbFormat && self.pbFormat == other.pbFormat + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for AM_MEDIA_TYPE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for AM_MEDIA_TYPE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +pub struct ASF_FLAT_PICTURE { + pub bPictureType: u8, + pub dwDataLen: u32, +} +impl ::core::marker::Copy for ASF_FLAT_PICTURE {} +impl ::core::clone::Clone for ASF_FLAT_PICTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for ASF_FLAT_PICTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for ASF_FLAT_PICTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +pub struct ASF_FLAT_SYNCHRONISED_LYRICS { + pub bTimeStampFormat: u8, + pub bContentType: u8, + pub dwLyricsLen: u32, +} +impl ::core::marker::Copy for ASF_FLAT_SYNCHRONISED_LYRICS {} +impl ::core::clone::Clone for ASF_FLAT_SYNCHRONISED_LYRICS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for ASF_FLAT_SYNCHRONISED_LYRICS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for ASF_FLAT_SYNCHRONISED_LYRICS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct ASF_INDEX_DESCRIPTOR { + pub Identifier: ASF_INDEX_IDENTIFIER, + pub cPerEntryBytes: u16, + pub szDescription: [u16; 32], + pub dwInterval: u32, +} +impl ::core::marker::Copy for ASF_INDEX_DESCRIPTOR {} +impl ::core::clone::Clone for ASF_INDEX_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ASF_INDEX_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ASF_INDEX_DESCRIPTOR").field("Identifier", &self.Identifier).field("cPerEntryBytes", &self.cPerEntryBytes).field("szDescription", &self.szDescription).field("dwInterval", &self.dwInterval).finish() + } +} +impl ::windows_core::TypeKind for ASF_INDEX_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ASF_INDEX_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self.Identifier == other.Identifier && self.cPerEntryBytes == other.cPerEntryBytes && self.szDescription == other.szDescription && self.dwInterval == other.dwInterval + } +} +impl ::core::cmp::Eq for ASF_INDEX_DESCRIPTOR {} +impl ::core::default::Default for ASF_INDEX_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct ASF_INDEX_IDENTIFIER { + pub guidIndexType: ::windows_core::GUID, + pub wStreamNumber: u16, +} +impl ::core::marker::Copy for ASF_INDEX_IDENTIFIER {} +impl ::core::clone::Clone for ASF_INDEX_IDENTIFIER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ASF_INDEX_IDENTIFIER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ASF_INDEX_IDENTIFIER").field("guidIndexType", &self.guidIndexType).field("wStreamNumber", &self.wStreamNumber).finish() + } +} +impl ::windows_core::TypeKind for ASF_INDEX_IDENTIFIER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ASF_INDEX_IDENTIFIER { + fn eq(&self, other: &Self) -> bool { + self.guidIndexType == other.guidIndexType && self.wStreamNumber == other.wStreamNumber + } +} +impl ::core::cmp::Eq for ASF_INDEX_IDENTIFIER {} +impl ::core::default::Default for ASF_INDEX_IDENTIFIER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct ASF_MUX_STATISTICS { + pub cFramesWritten: u32, + pub cFramesDropped: u32, +} +impl ::core::marker::Copy for ASF_MUX_STATISTICS {} +impl ::core::clone::Clone for ASF_MUX_STATISTICS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ASF_MUX_STATISTICS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ASF_MUX_STATISTICS").field("cFramesWritten", &self.cFramesWritten).field("cFramesDropped", &self.cFramesDropped).finish() + } +} +impl ::windows_core::TypeKind for ASF_MUX_STATISTICS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ASF_MUX_STATISTICS { + fn eq(&self, other: &Self) -> bool { + self.cFramesWritten == other.cFramesWritten && self.cFramesDropped == other.cFramesDropped + } +} +impl ::core::cmp::Eq for ASF_MUX_STATISTICS {} +impl ::core::default::Default for ASF_MUX_STATISTICS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct AecQualityMetrics_Struct { + pub i64Timestamp: i64, + pub ConvergenceFlag: u8, + pub MicClippedFlag: u8, + pub MicSilenceFlag: u8, + pub PstvFeadbackFlag: u8, + pub SpkClippedFlag: u8, + pub SpkMuteFlag: u8, + pub GlitchFlag: u8, + pub DoubleTalkFlag: u8, + pub uGlitchCount: u32, + pub uMicClipCount: u32, + pub fDuration: f32, + pub fTSVariance: f32, + pub fTSDriftRate: f32, + pub fVoiceLevel: f32, + pub fNoiseLevel: f32, + pub fERLE: f32, + pub fAvgERLE: f32, + pub dwReserved: u32, +} +impl ::core::marker::Copy for AecQualityMetrics_Struct {} +impl ::core::clone::Clone for AecQualityMetrics_Struct { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for AecQualityMetrics_Struct { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("AecQualityMetrics_Struct") + .field("i64Timestamp", &self.i64Timestamp) + .field("ConvergenceFlag", &self.ConvergenceFlag) + .field("MicClippedFlag", &self.MicClippedFlag) + .field("MicSilenceFlag", &self.MicSilenceFlag) + .field("PstvFeadbackFlag", &self.PstvFeadbackFlag) + .field("SpkClippedFlag", &self.SpkClippedFlag) + .field("SpkMuteFlag", &self.SpkMuteFlag) + .field("GlitchFlag", &self.GlitchFlag) + .field("DoubleTalkFlag", &self.DoubleTalkFlag) + .field("uGlitchCount", &self.uGlitchCount) + .field("uMicClipCount", &self.uMicClipCount) + .field("fDuration", &self.fDuration) + .field("fTSVariance", &self.fTSVariance) + .field("fTSDriftRate", &self.fTSDriftRate) + .field("fVoiceLevel", &self.fVoiceLevel) + .field("fNoiseLevel", &self.fNoiseLevel) + .field("fERLE", &self.fERLE) + .field("fAvgERLE", &self.fAvgERLE) + .field("dwReserved", &self.dwReserved) + .finish() + } +} +impl ::windows_core::TypeKind for AecQualityMetrics_Struct { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for AecQualityMetrics_Struct { + fn eq(&self, other: &Self) -> bool { + self.i64Timestamp == other.i64Timestamp + && self.ConvergenceFlag == other.ConvergenceFlag + && self.MicClippedFlag == other.MicClippedFlag + && self.MicSilenceFlag == other.MicSilenceFlag + && self.PstvFeadbackFlag == other.PstvFeadbackFlag + && self.SpkClippedFlag == other.SpkClippedFlag + && self.SpkMuteFlag == other.SpkMuteFlag + && self.GlitchFlag == other.GlitchFlag + && self.DoubleTalkFlag == other.DoubleTalkFlag + && self.uGlitchCount == other.uGlitchCount + && self.uMicClipCount == other.uMicClipCount + && self.fDuration == other.fDuration + && self.fTSVariance == other.fTSVariance + && self.fTSDriftRate == other.fTSDriftRate + && self.fVoiceLevel == other.fVoiceLevel + && self.fNoiseLevel == other.fNoiseLevel + && self.fERLE == other.fERLE + && self.fAvgERLE == other.fAvgERLE + && self.dwReserved == other.dwReserved + } +} +impl ::core::cmp::Eq for AecQualityMetrics_Struct {} +impl ::core::default::Default for AecQualityMetrics_Struct { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct CodecAPIEventData { + pub guid: ::windows_core::GUID, + pub dataLength: u32, + pub reserved: [u32; 3], +} +impl ::core::marker::Copy for CodecAPIEventData {} +impl ::core::clone::Clone for CodecAPIEventData { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CodecAPIEventData { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CodecAPIEventData").field("guid", &self.guid).field("dataLength", &self.dataLength).field("reserved", &self.reserved).finish() + } +} +impl ::windows_core::TypeKind for CodecAPIEventData { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CodecAPIEventData { + fn eq(&self, other: &Self) -> bool { + self.guid == other.guid && self.dataLength == other.dataLength && self.reserved == other.reserved + } +} +impl ::core::cmp::Eq for CodecAPIEventData {} +impl ::core::default::Default for CodecAPIEventData { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + pub IOCoherent: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE").field("IOCoherent", &self.IOCoherent).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + fn eq(&self, other: &Self) -> bool { + self.IOCoherent == other.IOCoherent + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + pub VideoDecoderHeapDesc: D3D12_VIDEO_DECODER_HEAP_DESC, + pub MemoryPoolL0Size: u64, + pub MemoryPoolL1Size: u64, +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE").field("VideoDecoderHeapDesc", &self.VideoDecoderHeapDesc).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + fn eq(&self, other: &Self) -> bool { + self.VideoDecoderHeapDesc == other.VideoDecoderHeapDesc && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + pub VideoDecoderHeapDesc: D3D12_VIDEO_DECODER_HEAP_DESC, + pub Protected: super::super::Foundation::BOOL, + pub MemoryPoolL0Size: u64, + pub MemoryPoolL1Size: u64, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1").field("VideoDecoderHeapDesc", &self.VideoDecoderHeapDesc).field("Protected", &self.Protected).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + fn eq(&self, other: &Self) -> bool { + self.VideoDecoderHeapDesc == other.VideoDecoderHeapDesc && self.Protected == other.Protected && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + pub NodeIndex: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub DecodeSample: D3D12_VIDEO_SAMPLE, + pub OutputFormat: D3D12_VIDEO_FORMAT, + pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub BitRate: u32, + pub SupportFlags: D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS, + pub ScaleSupport: D3D12_VIDEO_SCALE_SUPPORT, +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("DecodeSample", &self.DecodeSample).field("OutputFormat", &self.OutputFormat).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("SupportFlags", &self.SupportFlags).field("ScaleSupport", &self.ScaleSupport).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.DecodeSample == other.DecodeSample && self.OutputFormat == other.OutputFormat && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.SupportFlags == other.SupportFlags && self.ScaleSupport == other.ScaleSupport + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + pub NodeIndex: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub FormatCount: u32, + pub pOutputFormats: *mut super::super::Graphics::Dxgi::Common::DXGI_FORMAT, +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("FormatCount", &self.FormatCount).field("pOutputFormats", &self.pOutputFormats).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.FormatCount == other.FormatCount && self.pOutputFormats == other.pOutputFormats + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + pub NodeIndex: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub FormatCount: u32, +} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("FormatCount", &self.FormatCount).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.FormatCount == other.FormatCount + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + pub NodeIndex: u32, + pub DecodeProfile: ::windows_core::GUID, + pub Width: u32, + pub Height: u32, + pub DecodeFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub Components: D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS, + pub BinCount: u32, + pub CounterBitDepth: u32, +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM").field("NodeIndex", &self.NodeIndex).field("DecodeProfile", &self.DecodeProfile).field("Width", &self.Width).field("Height", &self.Height).field("DecodeFormat", &self.DecodeFormat).field("Components", &self.Components).field("BinCount", &self.BinCount).field("CounterBitDepth", &self.CounterBitDepth).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.DecodeProfile == other.DecodeProfile && self.Width == other.Width && self.Height == other.Height && self.DecodeFormat == other.DecodeFormat && self.Components == other.Components && self.BinCount == other.BinCount && self.CounterBitDepth == other.CounterBitDepth + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + pub NodeIndex: u32, + pub ProfileCount: u32, + pub pProfiles: *mut ::windows_core::GUID, +} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES").field("NodeIndex", &self.NodeIndex).field("ProfileCount", &self.ProfileCount).field("pProfiles", &self.pProfiles).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.ProfileCount == other.ProfileCount && self.pProfiles == other.pProfiles + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + pub NodeIndex: u32, + pub ProfileCount: u32, +} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT").field("NodeIndex", &self.NodeIndex).field("ProfileCount", &self.ProfileCount).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.ProfileCount == other.ProfileCount + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + pub NodeIndex: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, +} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("SupportFlags", &self.SupportFlags).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.SupportFlags == other.SupportFlags + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { + pub NodeIndex: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub Width: u32, + pub Height: u32, + pub DecodeFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub BitRate: u32, + pub SupportFlags: D3D12_VIDEO_DECODE_SUPPORT_FLAGS, + pub ConfigurationFlags: D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS, + pub DecodeTier: D3D12_VIDEO_DECODE_TIER, +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("Width", &self.Width).field("Height", &self.Height).field("DecodeFormat", &self.DecodeFormat).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("SupportFlags", &self.SupportFlags).field("ConfigurationFlags", &self.ConfigurationFlags).field("DecodeTier", &self.DecodeTier).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.Identifier == other.Identifier && self.cPerEntryBytes == other.cPerEntryBytes && self.szDescription == other.szDescription && self.dwInterval == other.dwInterval + self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.Width == other.Width && self.Height == other.Height && self.DecodeFormat == other.DecodeFormat && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.SupportFlags == other.SupportFlags && self.ConfigurationFlags == other.ConfigurationFlags && self.DecodeTier == other.DecodeTier } } -impl ::core::cmp::Eq for ASF_INDEX_DESCRIPTOR {} -impl ::core::default::Default for ASF_INDEX_DESCRIPTOR { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct ASF_INDEX_IDENTIFIER { - pub guidIndexType: ::windows_core::GUID, - pub wStreamNumber: u16, +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub IsSupported: super::super::Foundation::BOOL, } -impl ::core::marker::Copy for ASF_INDEX_IDENTIFIER {} -impl ::core::clone::Clone for ASF_INDEX_IDENTIFIER { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for ASF_INDEX_IDENTIFIER { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("ASF_INDEX_IDENTIFIER").field("guidIndexType", &self.guidIndexType).field("wStreamNumber", &self.wStreamNumber).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("IsSupported", &self.IsSupported).finish() } } -impl ::windows_core::TypeKind for ASF_INDEX_IDENTIFIER { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for ASF_INDEX_IDENTIFIER { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { fn eq(&self, other: &Self) -> bool { - self.guidIndexType == other.guidIndexType && self.wStreamNumber == other.wStreamNumber + self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.IsSupported == other.IsSupported + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub IsSupported: super::super::Foundation::BOOL, + pub CodecSupportLimits: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub IsSupported: super::super::Foundation::BOOL, + pub PictureSupport: D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub Level: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub SubregionMode: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, + pub FrameResolution: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub CodecSupport: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT, + pub IsSupported: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub Level: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub SubregionMode: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, + pub IsSupported: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { + pub HeapDesc: D3D12_VIDEO_ENCODER_HEAP_DESC, + pub IsSupported: super::super::Foundation::BOOL, + pub MemoryPoolL0Size: u64, + pub MemoryPoolL1Size: u64, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub Format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub IsSupported: super::super::Foundation::BOOL, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub Level: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub IntraRefreshMode: D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE, + pub IsSupported: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { + fn clone(&self) -> Self { + *self } } -impl ::core::cmp::Eq for ASF_INDEX_IDENTIFIER {} -impl ::core::default::Default for ASF_INDEX_IDENTIFIER { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct ASF_MUX_STATISTICS { - pub cFramesWritten: u32, - pub cFramesDropped: u32, +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub ResolutionRatiosCount: u32, + pub IsSupported: super::super::Foundation::BOOL, + pub MinResolutionSupported: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub MaxResolutionSupported: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub ResolutionWidthMultipleRequirement: u32, + pub ResolutionHeightMultipleRequirement: u32, + pub pResolutionRatios: *mut D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC, } -impl ::core::marker::Copy for ASF_MUX_STATISTICS {} -impl ::core::clone::Clone for ASF_MUX_STATISTICS { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for ASF_MUX_STATISTICS { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("ASF_MUX_STATISTICS").field("cFramesWritten", &self.cFramesWritten).field("cFramesDropped", &self.cFramesDropped).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION") + .field("NodeIndex", &self.NodeIndex) + .field("Codec", &self.Codec) + .field("ResolutionRatiosCount", &self.ResolutionRatiosCount) + .field("IsSupported", &self.IsSupported) + .field("MinResolutionSupported", &self.MinResolutionSupported) + .field("MaxResolutionSupported", &self.MaxResolutionSupported) + .field("ResolutionWidthMultipleRequirement", &self.ResolutionWidthMultipleRequirement) + .field("ResolutionHeightMultipleRequirement", &self.ResolutionHeightMultipleRequirement) + .field("pResolutionRatios", &self.pResolutionRatios) + .finish() } } -impl ::windows_core::TypeKind for ASF_MUX_STATISTICS { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for ASF_MUX_STATISTICS { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { fn eq(&self, other: &Self) -> bool { - self.cFramesWritten == other.cFramesWritten && self.cFramesDropped == other.cFramesDropped + self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.ResolutionRatiosCount == other.ResolutionRatiosCount && self.IsSupported == other.IsSupported && self.MinResolutionSupported == other.MinResolutionSupported && self.MaxResolutionSupported == other.MaxResolutionSupported && self.ResolutionWidthMultipleRequirement == other.ResolutionWidthMultipleRequirement && self.ResolutionHeightMultipleRequirement == other.ResolutionHeightMultipleRequirement && self.pResolutionRatios == other.pResolutionRatios } } -impl ::core::cmp::Eq for ASF_MUX_STATISTICS {} -impl ::core::default::Default for ASF_MUX_STATISTICS { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct AecQualityMetrics_Struct { - pub i64Timestamp: i64, - pub ConvergenceFlag: u8, - pub MicClippedFlag: u8, - pub MicSilenceFlag: u8, - pub PstvFeadbackFlag: u8, - pub SpkClippedFlag: u8, - pub SpkMuteFlag: u8, - pub GlitchFlag: u8, - pub DoubleTalkFlag: u8, - pub uGlitchCount: u32, - pub uMicClipCount: u32, - pub fDuration: f32, - pub fTSVariance: f32, - pub fTSDriftRate: f32, - pub fVoiceLevel: f32, - pub fNoiseLevel: f32, - pub fERLE: f32, - pub fAvgERLE: f32, - pub dwReserved: u32, +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub ResolutionRatiosCount: u32, } -impl ::core::marker::Copy for AecQualityMetrics_Struct {} -impl ::core::clone::Clone for AecQualityMetrics_Struct { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for AecQualityMetrics_Struct { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("AecQualityMetrics_Struct") - .field("i64Timestamp", &self.i64Timestamp) - .field("ConvergenceFlag", &self.ConvergenceFlag) - .field("MicClippedFlag", &self.MicClippedFlag) - .field("MicSilenceFlag", &self.MicSilenceFlag) - .field("PstvFeadbackFlag", &self.PstvFeadbackFlag) - .field("SpkClippedFlag", &self.SpkClippedFlag) - .field("SpkMuteFlag", &self.SpkMuteFlag) - .field("GlitchFlag", &self.GlitchFlag) - .field("DoubleTalkFlag", &self.DoubleTalkFlag) - .field("uGlitchCount", &self.uGlitchCount) - .field("uMicClipCount", &self.uMicClipCount) - .field("fDuration", &self.fDuration) - .field("fTSVariance", &self.fTSVariance) - .field("fTSDriftRate", &self.fTSDriftRate) - .field("fVoiceLevel", &self.fVoiceLevel) - .field("fNoiseLevel", &self.fNoiseLevel) - .field("fERLE", &self.fERLE) - .field("fAvgERLE", &self.fAvgERLE) - .field("dwReserved", &self.dwReserved) - .finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("ResolutionRatiosCount", &self.ResolutionRatiosCount).finish() } } -impl ::windows_core::TypeKind for AecQualityMetrics_Struct { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for AecQualityMetrics_Struct { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { fn eq(&self, other: &Self) -> bool { - self.i64Timestamp == other.i64Timestamp - && self.ConvergenceFlag == other.ConvergenceFlag - && self.MicClippedFlag == other.MicClippedFlag - && self.MicSilenceFlag == other.MicSilenceFlag - && self.PstvFeadbackFlag == other.PstvFeadbackFlag - && self.SpkClippedFlag == other.SpkClippedFlag - && self.SpkMuteFlag == other.SpkMuteFlag - && self.GlitchFlag == other.GlitchFlag - && self.DoubleTalkFlag == other.DoubleTalkFlag - && self.uGlitchCount == other.uGlitchCount - && self.uMicClipCount == other.uMicClipCount - && self.fDuration == other.fDuration - && self.fTSVariance == other.fTSVariance - && self.fTSDriftRate == other.fTSDriftRate - && self.fVoiceLevel == other.fVoiceLevel - && self.fNoiseLevel == other.fNoiseLevel - && self.fERLE == other.fERLE - && self.fAvgERLE == other.fAvgERLE - && self.dwReserved == other.dwReserved + self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.ResolutionRatiosCount == other.ResolutionRatiosCount } } -impl ::core::cmp::Eq for AecQualityMetrics_Struct {} -impl ::core::default::Default for AecQualityMetrics_Struct { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct CodecAPIEventData { - pub guid: ::windows_core::GUID, - pub dataLength: u32, - pub reserved: [u32; 3], +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub IsSupported: super::super::Foundation::BOOL, + pub MinSupportedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub MaxSupportedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, } -impl ::core::marker::Copy for CodecAPIEventData {} -impl ::core::clone::Clone for CodecAPIEventData { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for CodecAPIEventData { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("CodecAPIEventData").field("guid", &self.guid).field("dataLength", &self.dataLength).field("reserved", &self.reserved).finish() - } -} -impl ::windows_core::TypeKind for CodecAPIEventData { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for CodecAPIEventData { - fn eq(&self, other: &Self) -> bool { - self.guid == other.guid && self.dataLength == other.dataLength && self.reserved == other.reserved - } -} -impl ::core::cmp::Eq for CodecAPIEventData {} -impl ::core::default::Default for CodecAPIEventData { +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -39153,77 +40931,72 @@ impl ::core::default::Default for CodecAPIEventData { #[repr(C)] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { - pub IOCoherent: super::super::Foundation::BOOL, +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub RateControlMode: D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE, + pub IsSupported: super::super::Foundation::BOOL, } #[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE {} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE {} #[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { fn clone(&self) -> Self { *self } } #[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE").field("IOCoherent", &self.IOCoherent).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("RateControlMode", &self.RateControlMode).field("IsSupported", &self.IsSupported).finish() } } #[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { type TypeKind = ::windows_core::CopyType; } #[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { fn eq(&self, other: &Self) -> bool { - self.IOCoherent == other.IOCoherent + self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.RateControlMode == other.RateControlMode && self.IsSupported == other.IsSupported } } #[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE {} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE {} #[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ARCHITECTURE { +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { - pub VideoDecoderHeapDesc: D3D12_VIDEO_DECODER_HEAP_DESC, - pub MemoryPoolL0Size: u64, - pub MemoryPoolL1Size: u64, +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { + pub MaxSubregionsNumber: u32, + pub MaxIntraRefreshFrameDuration: u32, + pub SubregionBlockPixelsSize: u32, + pub QPMapRegionPixelsSize: u32, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE").field("VideoDecoderHeapDesc", &self.VideoDecoderHeapDesc).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS").field("MaxSubregionsNumber", &self.MaxSubregionsNumber).field("MaxIntraRefreshFrameDuration", &self.MaxIntraRefreshFrameDuration).field("SubregionBlockPixelsSize", &self.SubregionBlockPixelsSize).field("QPMapRegionPixelsSize", &self.QPMapRegionPixelsSize).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { fn eq(&self, other: &Self) -> bool { - self.VideoDecoderHeapDesc == other.VideoDecoderHeapDesc && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + self.MaxSubregionsNumber == other.MaxSubregionsNumber && self.MaxIntraRefreshFrameDuration == other.MaxIntraRefreshFrameDuration && self.SubregionBlockPixelsSize == other.SubregionBlockPixelsSize && self.QPMapRegionPixelsSize == other.QPMapRegionPixelsSize } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -39231,40 +41004,31 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { #[repr(C)] #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { - pub VideoDecoderHeapDesc: D3D12_VIDEO_DECODER_HEAP_DESC, - pub Protected: super::super::Foundation::BOOL, - pub MemoryPoolL0Size: u64, - pub MemoryPoolL1Size: u64, +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { + pub NodeIndex: u32, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub PictureTargetResolution: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub IsSupported: super::super::Foundation::BOOL, + pub CompressedBitstreamBufferAccessAlignment: u32, + pub EncoderMetadataBufferAccessAlignment: u32, + pub MaxEncoderOutputMetadataBufferSize: u32, } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 {} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS {} #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { fn clone(&self) -> Self { *self } } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1").field("VideoDecoderHeapDesc", &self.VideoDecoderHeapDesc).field("Protected", &self.Protected).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { type TypeKind = ::windows_core::CopyType; } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { - fn eq(&self, other: &Self) -> bool { - self.VideoDecoderHeapDesc == other.VideoDecoderHeapDesc && self.Protected == other.Protected && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size - } -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -39272,44 +41036,38 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { #[repr(C)] #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { pub NodeIndex: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub DecodeSample: D3D12_VIDEO_SAMPLE, - pub OutputFormat: D3D12_VIDEO_FORMAT, - pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub BitRate: u32, - pub SupportFlags: D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS, - pub ScaleSupport: D3D12_VIDEO_SCALE_SUPPORT, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub CodecConfiguration: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION, + pub CodecGopSequence: D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE, + pub RateControl: D3D12_VIDEO_ENCODER_RATE_CONTROL, + pub IntraRefresh: D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE, + pub SubregionFrameEncoding: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, + pub ResolutionsListCount: u32, + pub pResolutionList: *const D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub MaxReferenceFramesInDPB: u32, + pub ValidationFlags: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS, + pub SupportFlags: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS, + pub SuggestedProfile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub SuggestedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub pResolutionDependentSupport: *mut D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS, } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT {} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT {} #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { fn clone(&self) -> Self { *self } } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("DecodeSample", &self.DecodeSample).field("OutputFormat", &self.OutputFormat).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("SupportFlags", &self.SupportFlags).field("ScaleSupport", &self.ScaleSupport).finish() - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { type TypeKind = ::windows_core::CopyType; } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { - fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.DecodeSample == other.DecodeSample && self.OutputFormat == other.OutputFormat && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.SupportFlags == other.SupportFlags && self.ScaleSupport == other.ScaleSupport - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT { +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -39317,255 +41075,242 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUP #[repr(C)] #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { +pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 { pub NodeIndex: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub FormatCount: u32, - pub pOutputFormats: *mut super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub Codec: D3D12_VIDEO_ENCODER_CODEC, + pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub CodecConfiguration: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION, + pub CodecGopSequence: D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE, + pub RateControl: D3D12_VIDEO_ENCODER_RATE_CONTROL, + pub IntraRefresh: D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE, + pub SubregionFrameEncoding: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, + pub ResolutionsListCount: u32, + pub pResolutionList: *const D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, + pub MaxReferenceFramesInDPB: u32, + pub ValidationFlags: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS, + pub SupportFlags: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS, + pub SuggestedProfile: D3D12_VIDEO_ENCODER_PROFILE_DESC, + pub SuggestedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub pResolutionDependentSupport: *mut D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS, + pub SubregionFrameEncodingData: D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA, + pub MaxQualityVsSpeed: u32, } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS {} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 {} #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 { fn clone(&self) -> Self { *self } } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("FormatCount", &self.FormatCount).field("pOutputFormats", &self.pOutputFormats).finish() - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 { type TypeKind = ::windows_core::CopyType; } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { - fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.FormatCount == other.FormatCount && self.pOutputFormats == other.pOutputFormats - } -} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS { +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT1 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { pub NodeIndex: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub FormatCount: u32, + pub CommandCount: u32, + pub pCommandInfos: *mut D3D12_VIDEO_EXTENSION_COMMAND_INFO, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("FormatCount", &self.FormatCount).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS").field("NodeIndex", &self.NodeIndex).field("CommandCount", &self.CommandCount).field("pCommandInfos", &self.pCommandInfos).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.FormatCount == other.FormatCount + self.NodeIndex == other.NodeIndex && self.CommandCount == other.CommandCount && self.pCommandInfos == other.pCommandInfos } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_FORMAT_COUNT { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { pub NodeIndex: u32, - pub DecodeProfile: ::windows_core::GUID, - pub Width: u32, - pub Height: u32, - pub DecodeFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub Components: D3D12_VIDEO_DECODE_HISTOGRAM_COMPONENT_FLAGS, - pub BinCount: u32, - pub CounterBitDepth: u32, + pub CommandCount: u32, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM").field("NodeIndex", &self.NodeIndex).field("DecodeProfile", &self.DecodeProfile).field("Width", &self.Width).field("Height", &self.Height).field("DecodeFormat", &self.DecodeFormat).field("Components", &self.Components).field("BinCount", &self.BinCount).field("CounterBitDepth", &self.CounterBitDepth).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT").field("NodeIndex", &self.NodeIndex).field("CommandCount", &self.CommandCount).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.DecodeProfile == other.DecodeProfile && self.Width == other.Width && self.Height == other.Height && self.DecodeFormat == other.DecodeFormat && self.Components == other.Components && self.BinCount == other.BinCount && self.CounterBitDepth == other.CounterBitDepth + self.NodeIndex == other.NodeIndex && self.CommandCount == other.CommandCount } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_HISTOGRAM { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { - pub NodeIndex: u32, - pub ProfileCount: u32, - pub pProfiles: *mut ::windows_core::GUID, +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { + pub CommandId: ::windows_core::GUID, + pub Stage: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE, + pub ParameterCount: u32, + pub pParameterInfos: *mut D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES").field("NodeIndex", &self.NodeIndex).field("ProfileCount", &self.ProfileCount).field("pProfiles", &self.pProfiles).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS").field("CommandId", &self.CommandId).field("Stage", &self.Stage).field("ParameterCount", &self.ParameterCount).field("pParameterInfos", &self.pParameterInfos).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.ProfileCount == other.ProfileCount && self.pProfiles == other.pProfiles + self.CommandId == other.CommandId && self.Stage == other.Stage && self.ParameterCount == other.ParameterCount && self.pParameterInfos == other.pParameterInfos } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILES { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { - pub NodeIndex: u32, - pub ProfileCount: u32, +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { + pub CommandId: ::windows_core::GUID, + pub Stage: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE, + pub ParameterCount: u32, + pub ParameterPacking: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT").field("NodeIndex", &self.NodeIndex).field("ProfileCount", &self.ProfileCount).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT").field("CommandId", &self.CommandId).field("Stage", &self.Stage).field("ParameterCount", &self.ParameterCount).field("ParameterPacking", &self.ParameterPacking).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.ProfileCount == other.ProfileCount + self.CommandId == other.CommandId && self.Stage == other.Stage && self.ParameterCount == other.ParameterCount && self.ParameterPacking == other.ParameterPacking } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROFILE_COUNT { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { pub NodeIndex: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, + pub CommandId: ::windows_core::GUID, + pub pCreationParameters: *const ::core::ffi::c_void, + pub CreationParametersSizeInBytes: usize, + pub MemoryPoolL0Size: u64, + pub MemoryPoolL1Size: u64, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("SupportFlags", &self.SupportFlags).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE").field("NodeIndex", &self.NodeIndex).field("CommandId", &self.CommandId).field("pCreationParameters", &self.pCreationParameters).field("CreationParametersSizeInBytes", &self.CreationParametersSizeInBytes).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.SupportFlags == other.SupportFlags + self.NodeIndex == other.NodeIndex && self.CommandId == other.CommandId && self.pCreationParameters == other.pCreationParameters && self.CreationParametersSizeInBytes == other.CreationParametersSizeInBytes && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_PROTECTED_RESOURCES { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } -} -#[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +} +#[repr(C)] +pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { pub NodeIndex: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub Width: u32, - pub Height: u32, - pub DecodeFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub BitRate: u32, - pub SupportFlags: D3D12_VIDEO_DECODE_SUPPORT_FLAGS, - pub ConfigurationFlags: D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS, - pub DecodeTier: D3D12_VIDEO_DECODE_TIER, + pub CommandId: ::windows_core::GUID, + pub pInputData: *const ::core::ffi::c_void, + pub InputDataSizeInBytes: usize, + pub pOutputData: *mut ::core::ffi::c_void, + pub OutputDataSizeInBytes: usize, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT").field("NodeIndex", &self.NodeIndex).field("Configuration", &self.Configuration).field("Width", &self.Width).field("Height", &self.Height).field("DecodeFormat", &self.DecodeFormat).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("SupportFlags", &self.SupportFlags).field("ConfigurationFlags", &self.ConfigurationFlags).field("DecodeTier", &self.DecodeTier).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT").field("NodeIndex", &self.NodeIndex).field("CommandId", &self.CommandId).field("pInputData", &self.pInputData).field("InputDataSizeInBytes", &self.InputDataSizeInBytes).field("pOutputData", &self.pOutputData).field("OutputDataSizeInBytes", &self.OutputDataSizeInBytes).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Configuration == other.Configuration && self.Width == other.Width && self.Height == other.Height && self.DecodeFormat == other.DecodeFormat && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.SupportFlags == other.SupportFlags && self.ConfigurationFlags == other.ConfigurationFlags && self.DecodeTier == other.DecodeTier + self.NodeIndex == other.NodeIndex && self.CommandId == other.CommandId && self.pInputData == other.pInputData && self.InputDataSizeInBytes == other.InputDataSizeInBytes && self.pOutputData == other.pOutputData && self.OutputDataSizeInBytes == other.OutputDataSizeInBytes } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -39573,1702 +41318,1840 @@ impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_DECODE_SUPPORT { #[repr(C)] #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +pub struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub IsSupported: super::super::Foundation::BOOL, + pub VideoDecodeSupport: super::super::Foundation::BOOL, + pub VideoProcessSupport: super::super::Foundation::BOOL, + pub VideoEncodeSupport: super::super::Foundation::BOOL, } #[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC {} +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT {} #[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { fn clone(&self) -> Self { *self } } #[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("IsSupported", &self.IsSupported).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT").field("NodeIndex", &self.NodeIndex).field("VideoDecodeSupport", &self.VideoDecodeSupport).field("VideoProcessSupport", &self.VideoProcessSupport).field("VideoEncodeSupport", &self.VideoEncodeSupport).finish() } } #[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { type TypeKind = ::windows_core::CopyType; } #[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.IsSupported == other.IsSupported + self.NodeIndex == other.NodeIndex && self.VideoDecodeSupport == other.VideoDecodeSupport && self.VideoProcessSupport == other.VideoProcessSupport && self.VideoEncodeSupport == other.VideoEncodeSupport } } #[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC {} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT {} #[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC { +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub IsSupported: super::super::Foundation::BOOL, - pub CodecSupportLimits: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT, + pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub BlockSizeFlags: D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS, + pub PrecisionFlags: D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS, + pub SizeRange: D3D12_VIDEO_SIZE_RANGE, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR").field("NodeIndex", &self.NodeIndex).field("InputFormat", &self.InputFormat).field("BlockSizeFlags", &self.BlockSizeFlags).field("PrecisionFlags", &self.PrecisionFlags).field("SizeRange", &self.SizeRange).finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.InputFormat == other.InputFormat && self.BlockSizeFlags == other.BlockSizeFlags && self.PrecisionFlags == other.PrecisionFlags && self.SizeRange == other.SizeRange + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { +pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub IsSupported: super::super::Foundation::BOOL, - pub PictureSupport: D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT, + pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("SupportFlags", &self.SupportFlags).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.SupportFlags == other.SupportFlags + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub Level: D3D12_VIDEO_ENCODER_LEVEL_SETTING, - pub SubregionMode: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, - pub IsSupported: super::super::Foundation::BOOL, + pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub BlockSize: D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE, + pub Precision: D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION, + pub SizeRange: D3D12_VIDEO_SIZE_RANGE, + pub Protected: super::super::Foundation::BOOL, + pub MotionVectorHeapMemoryPoolL0Size: u64, + pub MotionVectorHeapMemoryPoolL1Size: u64, + pub MotionEstimatorMemoryPoolL0Size: u64, + pub MotionEstimatorMemoryPoolL1Size: u64, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE") + .field("NodeIndex", &self.NodeIndex) + .field("InputFormat", &self.InputFormat) + .field("BlockSize", &self.BlockSize) + .field("Precision", &self.Precision) + .field("SizeRange", &self.SizeRange) + .field("Protected", &self.Protected) + .field("MotionVectorHeapMemoryPoolL0Size", &self.MotionVectorHeapMemoryPoolL0Size) + .field("MotionVectorHeapMemoryPoolL1Size", &self.MotionVectorHeapMemoryPoolL1Size) + .field("MotionEstimatorMemoryPoolL0Size", &self.MotionEstimatorMemoryPoolL0Size) + .field("MotionEstimatorMemoryPoolL1Size", &self.MotionEstimatorMemoryPoolL1Size) + .finish() + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.InputFormat == other.InputFormat && self.BlockSize == other.BlockSize && self.Precision == other.Precision && self.SizeRange == other.SizeRange && self.Protected == other.Protected && self.MotionVectorHeapMemoryPoolL0Size == other.MotionVectorHeapMemoryPoolL0Size && self.MotionVectorHeapMemoryPoolL1Size == other.MotionVectorHeapMemoryPoolL1Size && self.MotionEstimatorMemoryPoolL0Size == other.MotionEstimatorMemoryPoolL0Size && self.MotionEstimatorMemoryPoolL1Size == other.MotionEstimatorMemoryPoolL1Size + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { - pub HeapDesc: D3D12_VIDEO_ENCODER_HEAP_DESC, - pub IsSupported: super::super::Foundation::BOOL, +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { + pub NodeMask: u32, + pub pOutputStreamDesc: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC, + pub NumInputStreamDescs: u32, + pub pInputStreamDescs: *const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC, pub MemoryPoolL0Size: u64, pub MemoryPoolL1Size: u64, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE").field("NodeMask", &self.NodeMask).field("pOutputStreamDesc", &self.pOutputStreamDesc).field("NumInputStreamDescs", &self.NumInputStreamDescs).field("pInputStreamDescs", &self.pInputStreamDescs).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { + fn eq(&self, other: &Self) -> bool { + self.NodeMask == other.NodeMask && self.pOutputStreamDesc == other.pOutputStreamDesc && self.NumInputStreamDescs == other.NumInputStreamDescs && self.pInputStreamDescs == other.pInputStreamDescs && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size } } -#[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { - pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub Format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub IsSupported: super::super::Foundation::BOOL, +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } } +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT {} +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { + pub NodeMask: u32, + pub pOutputStreamDesc: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC, + pub NumInputStreamDescs: u32, + pub pInputStreamDescs: *const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC, + pub Protected: super::super::Foundation::BOOL, + pub MemoryPoolL0Size: u64, + pub MemoryPoolL1Size: u64, +} #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { fn clone(&self) -> Self { *self } } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1").field("NodeMask", &self.NodeMask).field("pOutputStreamDesc", &self.pOutputStreamDesc).field("NumInputStreamDescs", &self.NumInputStreamDescs).field("pInputStreamDescs", &self.pInputStreamDescs).field("Protected", &self.Protected).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { type TypeKind = ::windows_core::CopyType; } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_INPUT_FORMAT { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { + fn eq(&self, other: &Self) -> bool { + self.NodeMask == other.NodeMask && self.pOutputStreamDesc == other.pOutputStreamDesc && self.NumInputStreamDescs == other.NumInputStreamDescs && self.pInputStreamDescs == other.pInputStreamDescs && self.Protected == other.Protected && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub Level: D3D12_VIDEO_ENCODER_LEVEL_SETTING, - pub IntraRefreshMode: D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE, - pub IsSupported: super::super::Foundation::BOOL, + pub MaxInputStreams: u32, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS").field("NodeIndex", &self.NodeIndex).field("MaxInputStreams", &self.MaxInputStreams).finish() + } +} +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_INTRA_REFRESH_MODE { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.MaxInputStreams == other.MaxInputStreams + } +} +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub ResolutionRatiosCount: u32, - pub IsSupported: super::super::Foundation::BOOL, - pub MinResolutionSupported: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, - pub MaxResolutionSupported: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, - pub ResolutionWidthMultipleRequirement: u32, - pub ResolutionHeightMultipleRequirement: u32, - pub pResolutionRatios: *mut D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC, + pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES {} +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION") - .field("NodeIndex", &self.NodeIndex) - .field("Codec", &self.Codec) - .field("ResolutionRatiosCount", &self.ResolutionRatiosCount) - .field("IsSupported", &self.IsSupported) - .field("MinResolutionSupported", &self.MinResolutionSupported) - .field("MaxResolutionSupported", &self.MaxResolutionSupported) - .field("ResolutionWidthMultipleRequirement", &self.ResolutionWidthMultipleRequirement) - .field("ResolutionHeightMultipleRequirement", &self.ResolutionHeightMultipleRequirement) - .field("pResolutionRatios", &self.pResolutionRatios) - .finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("SupportFlags", &self.SupportFlags).finish() } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.ResolutionRatiosCount == other.ResolutionRatiosCount && self.IsSupported == other.IsSupported && self.MinResolutionSupported == other.MinResolutionSupported && self.MaxResolutionSupported == other.MaxResolutionSupported && self.ResolutionWidthMultipleRequirement == other.ResolutionWidthMultipleRequirement && self.ResolutionHeightMultipleRequirement == other.ResolutionHeightMultipleRequirement && self.pResolutionRatios == other.pResolutionRatios + self.NodeIndex == other.NodeIndex && self.SupportFlags == other.SupportFlags } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION { +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES {} +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub ResolutionRatiosCount: u32, + pub DeinterlaceMode: D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS, + pub Filters: D3D12_VIDEO_PROCESS_FILTER_FLAGS, + pub FeatureSupport: D3D12_VIDEO_PROCESS_FEATURE_FLAGS, + pub InputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub OutputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub EnableAutoProcessing: super::super::Foundation::BOOL, + pub PastFrames: u32, + pub FutureFrames: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("ResolutionRatiosCount", &self.ResolutionRatiosCount).finish() + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO").field("NodeIndex", &self.NodeIndex).field("DeinterlaceMode", &self.DeinterlaceMode).field("Filters", &self.Filters).field("FeatureSupport", &self.FeatureSupport).field("InputFrameRate", &self.InputFrameRate).field("OutputFrameRate", &self.OutputFrameRate).field("EnableAutoProcessing", &self.EnableAutoProcessing).field("PastFrames", &self.PastFrames).field("FutureFrames", &self.FutureFrames).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.ResolutionRatiosCount == other.ResolutionRatiosCount + self.NodeIndex == other.NodeIndex && self.DeinterlaceMode == other.DeinterlaceMode && self.Filters == other.Filters && self.FeatureSupport == other.FeatureSupport && self.InputFrameRate == other.InputFrameRate && self.OutputFrameRate == other.OutputFrameRate && self.EnableAutoProcessing == other.EnableAutoProcessing && self.PastFrames == other.PastFrames && self.FutureFrames == other.FutureFrames } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub IsSupported: super::super::Foundation::BOOL, - pub MinSupportedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, - pub MaxSupportedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, + pub InputSample: D3D12_VIDEO_SAMPLE, + pub InputFieldType: D3D12_VIDEO_FIELD_TYPE, + pub InputStereoFormat: D3D12_VIDEO_FRAME_STEREO_FORMAT, + pub InputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub OutputFormat: D3D12_VIDEO_FORMAT, + pub OutputStereoFormat: D3D12_VIDEO_FRAME_STEREO_FORMAT, + pub OutputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub SupportFlags: D3D12_VIDEO_PROCESS_SUPPORT_FLAGS, + pub ScaleSupport: D3D12_VIDEO_SCALE_SUPPORT, + pub FeatureSupport: D3D12_VIDEO_PROCESS_FEATURE_FLAGS, + pub DeinterlaceSupport: D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS, + pub AutoProcessingSupport: D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS, + pub FilterSupport: D3D12_VIDEO_PROCESS_FILTER_FLAGS, + pub FilterRangeSupport: [D3D12_VIDEO_PROCESS_FILTER_RANGE; 32], } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT") + .field("NodeIndex", &self.NodeIndex) + .field("InputSample", &self.InputSample) + .field("InputFieldType", &self.InputFieldType) + .field("InputStereoFormat", &self.InputStereoFormat) + .field("InputFrameRate", &self.InputFrameRate) + .field("OutputFormat", &self.OutputFormat) + .field("OutputStereoFormat", &self.OutputStereoFormat) + .field("OutputFrameRate", &self.OutputFrameRate) + .field("SupportFlags", &self.SupportFlags) + .field("ScaleSupport", &self.ScaleSupport) + .field("FeatureSupport", &self.FeatureSupport) + .field("DeinterlaceSupport", &self.DeinterlaceSupport) + .field("AutoProcessingSupport", &self.AutoProcessingSupport) + .field("FilterSupport", &self.FilterSupport) + .field("FilterRangeSupport", &self.FilterRangeSupport) + .finish() + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { + fn eq(&self, other: &Self) -> bool { + self.NodeIndex == other.NodeIndex && self.InputSample == other.InputSample && self.InputFieldType == other.InputFieldType && self.InputStereoFormat == other.InputStereoFormat && self.InputFrameRate == other.InputFrameRate && self.OutputFormat == other.OutputFormat && self.OutputStereoFormat == other.OutputStereoFormat && self.OutputFrameRate == other.OutputFrameRate && self.SupportFlags == other.SupportFlags && self.ScaleSupport == other.ScaleSupport && self.FeatureSupport == other.FeatureSupport && self.DeinterlaceSupport == other.DeinterlaceSupport && self.AutoProcessingSupport == other.AutoProcessingSupport && self.FilterSupport == other.FilterSupport && self.FilterRangeSupport == other.FilterRangeSupport + } +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { - pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub RateControlMode: D3D12_VIDEO_ENCODER_RATE_CONTROL_MODE, - pub IsSupported: super::super::Foundation::BOOL, +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { + pub Status: u64, + pub NumMacroblocksAffected: u64, + pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub BitRate: u32, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE").field("NodeIndex", &self.NodeIndex).field("Codec", &self.Codec).field("RateControlMode", &self.RateControlMode).field("IsSupported", &self.IsSupported).finish() + f.debug_struct("D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS").field("Status", &self.Status).field("NumMacroblocksAffected", &self.NumMacroblocksAffected).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).finish() } -} -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { +} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.Codec == other.Codec && self.RateControlMode == other.RateControlMode && self.IsSupported == other.IsSupported + self.Status == other.Status && self.NumMacroblocksAffected == other.NumMacroblocksAffected && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RATE_CONTROL_MODE { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { - pub MaxSubregionsNumber: u32, - pub MaxIntraRefreshFrameDuration: u32, - pub SubregionBlockPixelsSize: u32, - pub QPMapRegionPixelsSize: u32, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { + pub pMotionVectorHeap: ::std::mem::ManuallyDrop<::core::option::Option>, + pub PixelWidth: u32, + pub PixelHeight: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS").field("MaxSubregionsNumber", &self.MaxSubregionsNumber).field("MaxIntraRefreshFrameDuration", &self.MaxIntraRefreshFrameDuration).field("SubregionBlockPixelsSize", &self.SubregionBlockPixelsSize).field("QPMapRegionPixelsSize", &self.QPMapRegionPixelsSize).finish() + f.debug_struct("D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT").field("pMotionVectorHeap", &self.pMotionVectorHeap).field("PixelWidth", &self.PixelWidth).field("PixelHeight", &self.PixelHeight).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { fn eq(&self, other: &Self) -> bool { - self.MaxSubregionsNumber == other.MaxSubregionsNumber && self.MaxIntraRefreshFrameDuration == other.MaxIntraRefreshFrameDuration && self.SubregionBlockPixelsSize == other.SubregionBlockPixelsSize && self.QPMapRegionPixelsSize == other.QPMapRegionPixelsSize + self.pMotionVectorHeap == other.pMotionVectorHeap && self.PixelWidth == other.PixelWidth && self.PixelHeight == other.PixelHeight } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { - pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub Profile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub PictureTargetResolution: D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, - pub IsSupported: super::super::Foundation::BOOL, - pub CompressedBitstreamBufferAccessAlignment: u32, - pub EncoderMetadataBufferAccessAlignment: u32, - pub MaxEncoderOutputMetadataBufferSize: u32, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { + pub pMotionVectorTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, + pub MotionVectorCoordinate: D3D12_RESOURCE_COORDINATE, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT").field("pMotionVectorTexture2D", &self.pMotionVectorTexture2D).field("MotionVectorCoordinate", &self.MotionVectorCoordinate).finish() + } +} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { + fn eq(&self, other: &Self) -> bool { + self.pMotionVectorTexture2D == other.pMotionVectorTexture2D && self.MotionVectorCoordinate == other.MotionVectorCoordinate + } +} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { - pub NodeIndex: u32, - pub Codec: D3D12_VIDEO_ENCODER_CODEC, - pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub CodecConfiguration: D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION, - pub CodecGopSequence: D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE, - pub RateControl: D3D12_VIDEO_ENCODER_RATE_CONTROL, - pub IntraRefresh: D3D12_VIDEO_ENCODER_INTRA_REFRESH_MODE, - pub SubregionFrameEncoding: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE, - pub ResolutionsListCount: u32, - pub pResolutionList: *const D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC, - pub MaxReferenceFramesInDPB: u32, - pub ValidationFlags: D3D12_VIDEO_ENCODER_VALIDATION_FLAGS, - pub SupportFlags: D3D12_VIDEO_ENCODER_SUPPORT_FLAGS, - pub SuggestedProfile: D3D12_VIDEO_ENCODER_PROFILE_DESC, - pub SuggestedLevel: D3D12_VIDEO_ENCODER_LEVEL_SETTING, - pub pResolutionDependentSupport: *mut D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS, +pub struct D3D12_RESOURCE_COORDINATE { + pub X: u64, + pub Y: u32, + pub Z: u32, + pub SubresourceIndex: u32, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { +impl ::core::marker::Copy for D3D12_RESOURCE_COORDINATE {} +impl ::core::clone::Clone for D3D12_RESOURCE_COORDINATE { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { +impl ::core::fmt::Debug for D3D12_RESOURCE_COORDINATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_RESOURCE_COORDINATE").field("X", &self.X).field("Y", &self.Y).field("Z", &self.Z).field("SubresourceIndex", &self.SubresourceIndex).finish() + } +} +impl ::windows_core::TypeKind for D3D12_RESOURCE_COORDINATE { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_ENCODER_SUPPORT { +impl ::core::cmp::PartialEq for D3D12_RESOURCE_COORDINATE { + fn eq(&self, other: &Self) -> bool { + self.X == other.X && self.Y == other.Y && self.Z == other.Z && self.SubresourceIndex == other.SubresourceIndex + } +} +impl ::core::cmp::Eq for D3D12_RESOURCE_COORDINATE {} +impl ::core::default::Default for D3D12_RESOURCE_COORDINATE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { - pub NodeIndex: u32, - pub CommandCount: u32, - pub pCommandInfos: *mut D3D12_VIDEO_EXTENSION_COMMAND_INFO, +pub struct D3D12_VIDEO_DECODER_DESC { + pub NodeMask: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { +impl ::core::marker::Copy for D3D12_VIDEO_DECODER_DESC {} +impl ::core::clone::Clone for D3D12_VIDEO_DECODER_DESC { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { +impl ::core::fmt::Debug for D3D12_VIDEO_DECODER_DESC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS").field("NodeIndex", &self.NodeIndex).field("CommandCount", &self.CommandCount).field("pCommandInfos", &self.pCommandInfos).finish() + f.debug_struct("D3D12_VIDEO_DECODER_DESC").field("NodeMask", &self.NodeMask).field("Configuration", &self.Configuration).finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODER_DESC { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODER_DESC { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.CommandCount == other.CommandCount && self.pCommandInfos == other.pCommandInfos + self.NodeMask == other.NodeMask && self.Configuration == other.Configuration } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMANDS { +impl ::core::cmp::Eq for D3D12_VIDEO_DECODER_DESC {} +impl ::core::default::Default for D3D12_VIDEO_DECODER_DESC { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { - pub NodeIndex: u32, - pub CommandCount: u32, +#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +pub struct D3D12_VIDEO_DECODER_HEAP_DESC { + pub NodeMask: u32, + pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, + pub DecodeWidth: u32, + pub DecodeHeight: u32, + pub Format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, + pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, + pub BitRate: u32, + pub MaxDecodePictureBufferCount: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::marker::Copy for D3D12_VIDEO_DECODER_HEAP_DESC {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::clone::Clone for D3D12_VIDEO_DECODER_HEAP_DESC { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODER_HEAP_DESC { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT").field("NodeIndex", &self.NodeIndex).field("CommandCount", &self.CommandCount).finish() + f.debug_struct("D3D12_VIDEO_DECODER_HEAP_DESC").field("NodeMask", &self.NodeMask).field("Configuration", &self.Configuration).field("DecodeWidth", &self.DecodeWidth).field("DecodeHeight", &self.DecodeHeight).field("Format", &self.Format).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("MaxDecodePictureBufferCount", &self.MaxDecodePictureBufferCount).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODER_HEAP_DESC { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODER_HEAP_DESC { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.CommandCount == other.CommandCount + self.NodeMask == other.NodeMask && self.Configuration == other.Configuration && self.DecodeWidth == other.DecodeWidth && self.DecodeHeight == other.DecodeHeight && self.Format == other.Format && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.MaxDecodePictureBufferCount == other.MaxDecodePictureBufferCount } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_COUNT { +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODER_HEAP_DESC {} +#[cfg(feature = "Win32_Graphics_Dxgi_Common")] +impl ::core::default::Default for D3D12_VIDEO_DECODER_HEAP_DESC { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { - pub CommandId: ::windows_core::GUID, - pub Stage: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE, - pub ParameterCount: u32, - pub pParameterInfos: *mut D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_INFO, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { + pub pBuffer: ::std::mem::ManuallyDrop<::core::option::Option>, + pub Offset: u64, + pub Size: u64, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS").field("CommandId", &self.CommandId).field("Stage", &self.Stage).field("ParameterCount", &self.ParameterCount).field("pParameterInfos", &self.pParameterInfos).finish() + f.debug_struct("D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM").field("pBuffer", &self.pBuffer).field("Offset", &self.Offset).field("Size", &self.Size).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { fn eq(&self, other: &Self) -> bool { - self.CommandId == other.CommandId && self.Stage == other.Stage && self.ParameterCount == other.ParameterCount && self.pParameterInfos == other.pParameterInfos + self.pBuffer == other.pBuffer && self.Offset == other.Offset && self.Size == other.Size } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETERS { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { - pub CommandId: ::windows_core::GUID, - pub Stage: D3D12_VIDEO_EXTENSION_COMMAND_PARAMETER_STAGE, - pub ParameterCount: u32, - pub ParameterPacking: u32, +pub struct D3D12_VIDEO_DECODE_CONFIGURATION { + pub DecodeProfile: ::windows_core::GUID, + pub BitstreamEncryption: D3D12_BITSTREAM_ENCRYPTION_TYPE, + pub InterlaceType: D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { +impl ::core::marker::Copy for D3D12_VIDEO_DECODE_CONFIGURATION {} +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONFIGURATION { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONFIGURATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT").field("CommandId", &self.CommandId).field("Stage", &self.Stage).field("ParameterCount", &self.ParameterCount).field("ParameterPacking", &self.ParameterPacking).finish() + f.debug_struct("D3D12_VIDEO_DECODE_CONFIGURATION").field("DecodeProfile", &self.DecodeProfile).field("BitstreamEncryption", &self.BitstreamEncryption).field("InterlaceType", &self.InterlaceType).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONFIGURATION { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONFIGURATION { fn eq(&self, other: &Self) -> bool { - self.CommandId == other.CommandId && self.Stage == other.Stage && self.ParameterCount == other.ParameterCount && self.ParameterPacking == other.ParameterPacking + self.DecodeProfile == other.DecodeProfile && self.BitstreamEncryption == other.BitstreamEncryption && self.InterlaceType == other.InterlaceType } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_PARAMETER_COUNT { +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONFIGURATION {} +impl ::core::default::Default for D3D12_VIDEO_DECODE_CONFIGURATION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { - pub NodeIndex: u32, - pub CommandId: ::windows_core::GUID, - pub pCreationParameters: *const ::core::ffi::c_void, - pub CreationParametersSizeInBytes: usize, - pub MemoryPoolL0Size: u64, - pub MemoryPoolL1Size: u64, +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { + pub Enable: super::super::Foundation::BOOL, + pub pReferenceTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, + pub ReferenceSubresource: u32, + pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, + pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE").field("NodeIndex", &self.NodeIndex).field("CommandId", &self.CommandId).field("pCreationParameters", &self.pCreationParameters).field("CreationParametersSizeInBytes", &self.CreationParametersSizeInBytes).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + f.debug_struct("D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS").field("Enable", &self.Enable).field("pReferenceTexture2D", &self.pReferenceTexture2D).field("ReferenceSubresource", &self.ReferenceSubresource).field("OutputColorSpace", &self.OutputColorSpace).field("DecodeColorSpace", &self.DecodeColorSpace).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.CommandId == other.CommandId && self.pCreationParameters == other.pCreationParameters && self.CreationParametersSizeInBytes == other.CreationParametersSizeInBytes && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + self.Enable == other.Enable && self.pReferenceTexture2D == other.pReferenceTexture2D && self.ReferenceSubresource == other.ReferenceSubresource && self.OutputColorSpace == other.OutputColorSpace && self.DecodeColorSpace == other.DecodeColorSpace } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { - pub NodeIndex: u32, - pub CommandId: ::windows_core::GUID, - pub pInputData: *const ::core::ffi::c_void, - pub InputDataSizeInBytes: usize, - pub pOutputData: *mut ::core::ffi::c_void, - pub OutputDataSizeInBytes: usize, +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { + pub Enable: super::super::Foundation::BOOL, + pub pReferenceTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, + pub ReferenceSubresource: u32, + pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, + pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, + pub OutputWidth: u32, + pub OutputHeight: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT").field("NodeIndex", &self.NodeIndex).field("CommandId", &self.CommandId).field("pInputData", &self.pInputData).field("InputDataSizeInBytes", &self.InputDataSizeInBytes).field("pOutputData", &self.pOutputData).field("OutputDataSizeInBytes", &self.OutputDataSizeInBytes).finish() + f.debug_struct("D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1").field("Enable", &self.Enable).field("pReferenceTexture2D", &self.pReferenceTexture2D).field("ReferenceSubresource", &self.ReferenceSubresource).field("OutputColorSpace", &self.OutputColorSpace).field("DecodeColorSpace", &self.DecodeColorSpace).field("OutputWidth", &self.OutputWidth).field("OutputHeight", &self.OutputHeight).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.CommandId == other.CommandId && self.pInputData == other.pInputData && self.InputDataSizeInBytes == other.InputDataSizeInBytes && self.pOutputData == other.pOutputData && self.OutputDataSizeInBytes == other.OutputDataSizeInBytes + self.Enable == other.Enable && self.pReferenceTexture2D == other.pReferenceTexture2D && self.ReferenceSubresource == other.ReferenceSubresource && self.OutputColorSpace == other.OutputColorSpace && self.DecodeColorSpace == other.DecodeColorSpace && self.OutputWidth == other.OutputWidth && self.OutputHeight == other.OutputHeight } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`"] -#[cfg(feature = "Win32_Foundation")] -pub struct D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { - pub NodeIndex: u32, - pub VideoDecodeSupport: super::super::Foundation::BOOL, - pub VideoProcessSupport: super::super::Foundation::BOOL, - pub VideoEncodeSupport: super::super::Foundation::BOOL, +pub struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT { + pub Type: D3D12_VIDEO_DECODE_ARGUMENT_TYPE, + pub Size: u32, + pub pData: *mut ::core::ffi::c_void, } -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { +impl ::core::marker::Copy for D3D12_VIDEO_DECODE_FRAME_ARGUMENT {} +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT").field("NodeIndex", &self.NodeIndex).field("VideoDecodeSupport", &self.VideoDecodeSupport).field("VideoProcessSupport", &self.VideoProcessSupport).field("VideoEncodeSupport", &self.VideoEncodeSupport).finish() + f.debug_struct("D3D12_VIDEO_DECODE_FRAME_ARGUMENT").field("Type", &self.Type).field("Size", &self.Size).field("pData", &self.pData).finish() } } -#[cfg(feature = "Win32_Foundation")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.VideoDecodeSupport == other.VideoDecodeSupport && self.VideoProcessSupport == other.VideoProcessSupport && self.VideoEncodeSupport == other.VideoEncodeSupport + self.Type == other.Type && self.Size == other.Size && self.pData == other.pData } } -#[cfg(feature = "Win32_Foundation")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_FEATURE_AREA_SUPPORT { +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_FRAME_ARGUMENT {} +impl ::core::default::Default for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { - pub NodeIndex: u32, - pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub BlockSizeFlags: D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE_FLAGS, - pub PrecisionFlags: D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION_FLAGS, - pub SizeRange: D3D12_VIDEO_SIZE_RANGE, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { + pub NumFrameArguments: u32, + pub FrameArguments: [D3D12_VIDEO_DECODE_FRAME_ARGUMENT; 10], + pub ReferenceFrames: D3D12_VIDEO_DECODE_REFERENCE_FRAMES, + pub CompressedBitstream: D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM, + pub pHeap: ::std::mem::ManuallyDrop<::core::option::Option>, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR").field("NodeIndex", &self.NodeIndex).field("InputFormat", &self.InputFormat).field("BlockSizeFlags", &self.BlockSizeFlags).field("PrecisionFlags", &self.PrecisionFlags).field("SizeRange", &self.SizeRange).finish() + f.debug_struct("D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS").field("NumFrameArguments", &self.NumFrameArguments).field("FrameArguments", &self.FrameArguments).field("ReferenceFrames", &self.ReferenceFrames).field("CompressedBitstream", &self.CompressedBitstream).field("pHeap", &self.pHeap).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.InputFormat == other.InputFormat && self.BlockSizeFlags == other.BlockSizeFlags && self.PrecisionFlags == other.PrecisionFlags && self.SizeRange == other.SizeRange + self.NumFrameArguments == other.NumFrameArguments && self.FrameArguments == other.FrameArguments && self.ReferenceFrames == other.ReferenceFrames && self.CompressedBitstream == other.CompressedBitstream && self.pHeap == other.pHeap } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { - pub NodeIndex: u32, - pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { + pub Offset: u64, + pub pBuffer: ::std::mem::ManuallyDrop<::core::option::Option>, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("SupportFlags", &self.SupportFlags).finish() + f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM").field("Offset", &self.Offset).field("pBuffer", &self.pBuffer).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.SupportFlags == other.SupportFlags + self.Offset == other.Offset && self.pBuffer == other.pBuffer } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_PROTECTED_RESOURCES { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { - pub NodeIndex: u32, - pub InputFormat: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub BlockSize: D3D12_VIDEO_MOTION_ESTIMATOR_SEARCH_BLOCK_SIZE, - pub Precision: D3D12_VIDEO_MOTION_ESTIMATOR_VECTOR_PRECISION, - pub SizeRange: D3D12_VIDEO_SIZE_RANGE, - pub Protected: super::super::Foundation::BOOL, - pub MotionVectorHeapMemoryPoolL0Size: u64, - pub MotionVectorHeapMemoryPoolL1Size: u64, - pub MotionEstimatorMemoryPoolL0Size: u64, - pub MotionEstimatorMemoryPoolL1Size: u64, +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { + pub pOutputTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, + pub OutputSubresource: u32, + pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE") - .field("NodeIndex", &self.NodeIndex) - .field("InputFormat", &self.InputFormat) - .field("BlockSize", &self.BlockSize) - .field("Precision", &self.Precision) - .field("SizeRange", &self.SizeRange) - .field("Protected", &self.Protected) - .field("MotionVectorHeapMemoryPoolL0Size", &self.MotionVectorHeapMemoryPoolL0Size) - .field("MotionVectorHeapMemoryPoolL1Size", &self.MotionVectorHeapMemoryPoolL1Size) - .field("MotionEstimatorMemoryPoolL0Size", &self.MotionEstimatorMemoryPoolL0Size) - .field("MotionEstimatorMemoryPoolL1Size", &self.MotionEstimatorMemoryPoolL1Size) - .finish() + f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS").field("pOutputTexture2D", &self.pOutputTexture2D).field("OutputSubresource", &self.OutputSubresource).field("ConversionArguments", &self.ConversionArguments).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.InputFormat == other.InputFormat && self.BlockSize == other.BlockSize && self.Precision == other.Precision && self.SizeRange == other.SizeRange && self.Protected == other.Protected && self.MotionVectorHeapMemoryPoolL0Size == other.MotionVectorHeapMemoryPoolL0Size && self.MotionVectorHeapMemoryPoolL1Size == other.MotionVectorHeapMemoryPoolL1Size && self.MotionEstimatorMemoryPoolL0Size == other.MotionEstimatorMemoryPoolL0Size && self.MotionEstimatorMemoryPoolL1Size == other.MotionEstimatorMemoryPoolL1Size + self.pOutputTexture2D == other.pOutputTexture2D && self.OutputSubresource == other.OutputSubresource && self.ConversionArguments == other.ConversionArguments } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { - pub NodeMask: u32, - pub pOutputStreamDesc: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC, - pub NumInputStreamDescs: u32, - pub pInputStreamDescs: *const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC, - pub MemoryPoolL0Size: u64, - pub MemoryPoolL1Size: u64, +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { + pub pOutputTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, + pub OutputSubresource: u32, + pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1, + pub Histograms: [D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM; 4], } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { fn clone(&self) -> Self { - *self + unsafe { ::core::mem::transmute_copy(self) } } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE").field("NodeMask", &self.NodeMask).field("pOutputStreamDesc", &self.pOutputStreamDesc).field("NumInputStreamDescs", &self.NumInputStreamDescs).field("pInputStreamDescs", &self.pInputStreamDescs).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1").field("pOutputTexture2D", &self.pOutputTexture2D).field("OutputSubresource", &self.OutputSubresource).field("ConversionArguments", &self.ConversionArguments).field("Histograms", &self.Histograms).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { fn eq(&self, other: &Self) -> bool { - self.NodeMask == other.NodeMask && self.pOutputStreamDesc == other.pOutputStreamDesc && self.NumInputStreamDescs == other.NumInputStreamDescs && self.pInputStreamDescs == other.pInputStreamDescs && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + self.pOutputTexture2D == other.pOutputTexture2D && self.OutputSubresource == other.OutputSubresource && self.ConversionArguments == other.ConversionArguments && self.Histograms == other.Histograms } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] +impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { - pub NodeMask: u32, - pub pOutputStreamDesc: *const D3D12_VIDEO_PROCESS_OUTPUT_STREAM_DESC, - pub NumInputStreamDescs: u32, - pub pInputStreamDescs: *const D3D12_VIDEO_PROCESS_INPUT_STREAM_DESC, - pub Protected: super::super::Foundation::BOOL, - pub MemoryPoolL0Size: u64, - pub MemoryPoolL1Size: u64, +#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] +#[cfg(feature = "Win32_Graphics_Direct3D12")] +pub struct D3D12_VIDEO_DECODE_REFERENCE_FRAMES { + pub NumTexture2Ds: u32, + pub ppTexture2Ds: *mut ::core::option::Option, + pub pSubresources: *mut u32, + pub ppHeaps: *mut ::core::option::Option, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::marker::Copy for D3D12_VIDEO_DECODE_REFERENCE_FRAMES {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::clone::Clone for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1").field("NodeMask", &self.NodeMask).field("pOutputStreamDesc", &self.pOutputStreamDesc).field("NumInputStreamDescs", &self.NumInputStreamDescs).field("pInputStreamDescs", &self.pInputStreamDescs).field("Protected", &self.Protected).field("MemoryPoolL0Size", &self.MemoryPoolL0Size).field("MemoryPoolL1Size", &self.MemoryPoolL1Size).finish() + f.debug_struct("D3D12_VIDEO_DECODE_REFERENCE_FRAMES").field("NumTexture2Ds", &self.NumTexture2Ds).field("ppTexture2Ds", &self.ppTexture2Ds).field("pSubresources", &self.pSubresources).field("ppHeaps", &self.ppHeaps).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { fn eq(&self, other: &Self) -> bool { - self.NodeMask == other.NodeMask && self.pOutputStreamDesc == other.pOutputStreamDesc && self.NumInputStreamDescs == other.NumInputStreamDescs && self.pInputStreamDescs == other.pInputStreamDescs && self.Protected == other.Protected && self.MemoryPoolL0Size == other.MemoryPoolL0Size && self.MemoryPoolL1Size == other.MemoryPoolL1Size + self.NumTexture2Ds == other.NumTexture2Ds && self.ppTexture2Ds == other.ppTexture2Ds && self.pSubresources == other.pSubresources && self.ppHeaps == other.ppHeaps } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_REFERENCE_FRAMES {} +#[cfg(feature = "Win32_Graphics_Direct3D12")] +impl ::core::default::Default for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { - pub NodeIndex: u32, - pub MaxInputStreams: u32, +pub struct D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { + pub CdefBits: u64, + pub CdefDampingMinus3: u64, + pub CdefYPriStrength: [u64; 8], + pub CdefUVPriStrength: [u64; 8], + pub CdefYSecStrength: [u64; 8], + pub CdefUVSecStrength: [u64; 8], } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS").field("NodeIndex", &self.NodeIndex).field("MaxInputStreams", &self.MaxInputStreams).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG").field("CdefBits", &self.CdefBits).field("CdefDampingMinus3", &self.CdefDampingMinus3).field("CdefYPriStrength", &self.CdefYPriStrength).field("CdefUVPriStrength", &self.CdefUVPriStrength).field("CdefYSecStrength", &self.CdefYSecStrength).field("CdefUVSecStrength", &self.CdefUVSecStrength).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.MaxInputStreams == other.MaxInputStreams + self.CdefBits == other.CdefBits && self.CdefDampingMinus3 == other.CdefDampingMinus3 && self.CdefYPriStrength == other.CdefYPriStrength && self.CdefUVPriStrength == other.CdefUVPriStrength && self.CdefYSecStrength == other.CdefYSecStrength && self.CdefUVSecStrength == other.CdefUVSecStrength } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_MAX_INPUT_STREAMS { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { - pub NodeIndex: u32, - pub SupportFlags: D3D12_VIDEO_PROTECTED_RESOURCE_SUPPORT_FLAGS, +pub struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { + pub FeatureFlags: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS, + pub OrderHintBitsMinus1: u32, } -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES {} -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES").field("NodeIndex", &self.NodeIndex).field("SupportFlags", &self.SupportFlags).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION").field("FeatureFlags", &self.FeatureFlags).field("OrderHintBitsMinus1", &self.OrderHintBitsMinus1).finish() } } -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.SupportFlags == other.SupportFlags + self.FeatureFlags == other.FeatureFlags && self.OrderHintBitsMinus1 == other.OrderHintBitsMinus1 } } -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES {} -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_PROTECTED_RESOURCES { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { - pub NodeIndex: u32, - pub DeinterlaceMode: D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS, - pub Filters: D3D12_VIDEO_PROCESS_FILTER_FLAGS, - pub FeatureSupport: D3D12_VIDEO_PROCESS_FEATURE_FLAGS, - pub InputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub OutputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub EnableAutoProcessing: super::super::Foundation::BOOL, - pub PastFrames: u32, - pub FutureFrames: u32, +pub struct D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { + pub SupportedFeatureFlags: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS, + pub RequiredFeatureFlags: D3D12_VIDEO_ENCODER_AV1_FEATURE_FLAGS, + pub SupportedInterpolationFilters: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS_FLAGS, + pub SupportedRestorationParams: [D3D12_VIDEO_ENCODER_AV1_RESTORATION_SUPPORT_FLAGS; 9], + pub SupportedSegmentationModes: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MODE_FLAGS, + pub SupportedTxModes: [D3D12_VIDEO_ENCODER_AV1_TX_MODE_FLAGS; 4], + pub SegmentationBlockSize: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_BLOCK_SIZE, + pub PostEncodeValuesFlags: D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES_FLAGS, + pub MaxTemporalLayers: u32, + pub MaxSpatialLayers: u32, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO").field("NodeIndex", &self.NodeIndex).field("DeinterlaceMode", &self.DeinterlaceMode).field("Filters", &self.Filters).field("FeatureSupport", &self.FeatureSupport).field("InputFrameRate", &self.InputFrameRate).field("OutputFrameRate", &self.OutputFrameRate).field("EnableAutoProcessing", &self.EnableAutoProcessing).field("PastFrames", &self.PastFrames).field("FutureFrames", &self.FutureFrames).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT") + .field("SupportedFeatureFlags", &self.SupportedFeatureFlags) + .field("RequiredFeatureFlags", &self.RequiredFeatureFlags) + .field("SupportedInterpolationFilters", &self.SupportedInterpolationFilters) + .field("SupportedRestorationParams", &self.SupportedRestorationParams) + .field("SupportedSegmentationModes", &self.SupportedSegmentationModes) + .field("SupportedTxModes", &self.SupportedTxModes) + .field("SegmentationBlockSize", &self.SegmentationBlockSize) + .field("PostEncodeValuesFlags", &self.PostEncodeValuesFlags) + .field("MaxTemporalLayers", &self.MaxTemporalLayers) + .field("MaxSpatialLayers", &self.MaxSpatialLayers) + .finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.DeinterlaceMode == other.DeinterlaceMode && self.Filters == other.Filters && self.FeatureSupport == other.FeatureSupport && self.InputFrameRate == other.InputFrameRate && self.OutputFrameRate == other.OutputFrameRate && self.EnableAutoProcessing == other.EnableAutoProcessing && self.PastFrames == other.PastFrames && self.FutureFrames == other.FutureFrames + self.SupportedFeatureFlags == other.SupportedFeatureFlags && self.RequiredFeatureFlags == other.RequiredFeatureFlags && self.SupportedInterpolationFilters == other.SupportedInterpolationFilters && self.SupportedRestorationParams == other.SupportedRestorationParams && self.SupportedSegmentationModes == other.SupportedSegmentationModes && self.SupportedTxModes == other.SupportedTxModes && self.SegmentationBlockSize == other.SegmentationBlockSize && self.PostEncodeValuesFlags == other.PostEncodeValuesFlags && self.MaxTemporalLayers == other.MaxTemporalLayers && self.MaxSpatialLayers == other.MaxSpatialLayers } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_REFERENCE_INFO { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { - pub NodeIndex: u32, - pub InputSample: D3D12_VIDEO_SAMPLE, - pub InputFieldType: D3D12_VIDEO_FIELD_TYPE, - pub InputStereoFormat: D3D12_VIDEO_FRAME_STEREO_FORMAT, - pub InputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub OutputFormat: D3D12_VIDEO_FORMAT, - pub OutputStereoFormat: D3D12_VIDEO_FRAME_STEREO_FORMAT, - pub OutputFrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub SupportFlags: D3D12_VIDEO_PROCESS_SUPPORT_FLAGS, - pub ScaleSupport: D3D12_VIDEO_SCALE_SUPPORT, - pub FeatureSupport: D3D12_VIDEO_PROCESS_FEATURE_FLAGS, - pub DeinterlaceSupport: D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS, - pub AutoProcessingSupport: D3D12_VIDEO_PROCESS_AUTO_PROCESSING_FLAGS, - pub FilterSupport: D3D12_VIDEO_PROCESS_FILTER_FLAGS, - pub FilterRangeSupport: [D3D12_VIDEO_PROCESS_FILTER_RANGE; 32], +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { + pub Use128SuperBlocks: super::super::Foundation::BOOL, + pub TilesConfiguration: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES, + pub ValidationFlags: D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_VALIDATION_FLAGS, + pub MinTileRows: u32, + pub MaxTileRows: u32, + pub MinTileCols: u32, + pub MaxTileCols: u32, + pub MinTileWidth: u32, + pub MaxTileWidth: u32, + pub MinTileArea: u32, + pub MaxTileArea: u32, + pub TileSizeBytesMinus1: u32, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT") - .field("NodeIndex", &self.NodeIndex) - .field("InputSample", &self.InputSample) - .field("InputFieldType", &self.InputFieldType) - .field("InputStereoFormat", &self.InputStereoFormat) - .field("InputFrameRate", &self.InputFrameRate) - .field("OutputFormat", &self.OutputFormat) - .field("OutputStereoFormat", &self.OutputStereoFormat) - .field("OutputFrameRate", &self.OutputFrameRate) - .field("SupportFlags", &self.SupportFlags) - .field("ScaleSupport", &self.ScaleSupport) - .field("FeatureSupport", &self.FeatureSupport) - .field("DeinterlaceSupport", &self.DeinterlaceSupport) - .field("AutoProcessingSupport", &self.AutoProcessingSupport) - .field("FilterSupport", &self.FilterSupport) - .field("FilterRangeSupport", &self.FilterRangeSupport) + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT") + .field("Use128SuperBlocks", &self.Use128SuperBlocks) + .field("TilesConfiguration", &self.TilesConfiguration) + .field("ValidationFlags", &self.ValidationFlags) + .field("MinTileRows", &self.MinTileRows) + .field("MaxTileRows", &self.MaxTileRows) + .field("MinTileCols", &self.MinTileCols) + .field("MaxTileCols", &self.MaxTileCols) + .field("MinTileWidth", &self.MinTileWidth) + .field("MaxTileWidth", &self.MaxTileWidth) + .field("MinTileArea", &self.MinTileArea) + .field("MaxTileArea", &self.MaxTileArea) + .field("TileSizeBytesMinus1", &self.TileSizeBytesMinus1) .finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.NodeIndex == other.NodeIndex && self.InputSample == other.InputSample && self.InputFieldType == other.InputFieldType && self.InputStereoFormat == other.InputStereoFormat && self.InputFrameRate == other.InputFrameRate && self.OutputFormat == other.OutputFormat && self.OutputStereoFormat == other.OutputStereoFormat && self.OutputFrameRate == other.OutputFrameRate && self.SupportFlags == other.SupportFlags && self.ScaleSupport == other.ScaleSupport && self.FeatureSupport == other.FeatureSupport && self.DeinterlaceSupport == other.DeinterlaceSupport && self.AutoProcessingSupport == other.AutoProcessingSupport && self.FilterSupport == other.FilterSupport && self.FilterRangeSupport == other.FilterRangeSupport + self.Use128SuperBlocks == other.Use128SuperBlocks && self.TilesConfiguration == other.TilesConfiguration && self.ValidationFlags == other.ValidationFlags && self.MinTileRows == other.MinTileRows && self.MaxTileRows == other.MaxTileRows && self.MinTileCols == other.MinTileCols && self.MaxTileCols == other.MaxTileCols && self.MinTileWidth == other.MinTileWidth && self.MaxTileWidth == other.MaxTileWidth && self.MinTileArea == other.MinTileArea && self.MaxTileArea == other.MaxTileArea && self.TileSizeBytesMinus1 == other.TileSizeBytesMinus1 } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_FEATURE_DATA_VIDEO_PROCESS_SUPPORT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { - pub Status: u64, - pub NumMacroblocksAffected: u64, - pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub BitRate: u32, +pub struct D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { + pub Level: D3D12_VIDEO_ENCODER_AV1_LEVELS, + pub Tier: D3D12_VIDEO_ENCODER_AV1_TIER, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS").field("Status", &self.Status).field("NumMacroblocksAffected", &self.NumMacroblocksAffected).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS").field("Level", &self.Level).field("Tier", &self.Tier).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { fn eq(&self, other: &Self) -> bool { - self.Status == other.Status && self.NumMacroblocksAffected == other.NumMacroblocksAffected && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate + self.Level == other.Level && self.Tier == other.Tier } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { - pub pMotionVectorHeap: ::std::mem::ManuallyDrop<::core::option::Option>, - pub PixelWidth: u32, - pub PixelHeight: u32, +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { + pub Flags: D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_FLAGS, + pub FrameType: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE, + pub CompoundPredictionType: D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE, + pub InterpolationFilter: D3D12_VIDEO_ENCODER_AV1_INTERPOLATION_FILTERS, + pub FrameRestorationConfig: D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG, + pub TxMode: D3D12_VIDEO_ENCODER_AV1_TX_MODE, + pub SuperResDenominator: u32, + pub OrderHint: u32, + pub PictureIndex: u32, + pub TemporalLayerIndexPlus1: u32, + pub SpatialLayerIndexPlus1: u32, + pub ReferenceFramesReconPictureDescriptors: [D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR; 8], + pub ReferenceIndices: [u32; 7], + pub PrimaryRefFrame: u32, + pub RefreshFrameFlags: u32, + pub LoopFilter: D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG, + pub LoopFilterDelta: D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG, + pub Quantization: D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG, + pub QuantizationDelta: D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG, + pub CDEF: D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG, + pub QPMapValuesCount: u32, + pub pRateControlQPMap: *mut i16, + pub CustomSegmentation: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG, + pub CustomSegmentsMap: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP, } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT").field("pMotionVectorHeap", &self.pMotionVectorHeap).field("PixelWidth", &self.PixelWidth).field("PixelHeight", &self.PixelHeight).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA") + .field("Flags", &self.Flags) + .field("FrameType", &self.FrameType) + .field("CompoundPredictionType", &self.CompoundPredictionType) + .field("InterpolationFilter", &self.InterpolationFilter) + .field("FrameRestorationConfig", &self.FrameRestorationConfig) + .field("TxMode", &self.TxMode) + .field("SuperResDenominator", &self.SuperResDenominator) + .field("OrderHint", &self.OrderHint) + .field("PictureIndex", &self.PictureIndex) + .field("TemporalLayerIndexPlus1", &self.TemporalLayerIndexPlus1) + .field("SpatialLayerIndexPlus1", &self.SpatialLayerIndexPlus1) + .field("ReferenceFramesReconPictureDescriptors", &self.ReferenceFramesReconPictureDescriptors) + .field("ReferenceIndices", &self.ReferenceIndices) + .field("PrimaryRefFrame", &self.PrimaryRefFrame) + .field("RefreshFrameFlags", &self.RefreshFrameFlags) + .field("LoopFilter", &self.LoopFilter) + .field("LoopFilterDelta", &self.LoopFilterDelta) + .field("Quantization", &self.Quantization) + .field("QuantizationDelta", &self.QuantizationDelta) + .field("CDEF", &self.CDEF) + .field("QPMapValuesCount", &self.QPMapValuesCount) + .field("pRateControlQPMap", &self.pRateControlQPMap) + .field("CustomSegmentation", &self.CustomSegmentation) + .field("CustomSegmentsMap", &self.CustomSegmentsMap) + .finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { fn eq(&self, other: &Self) -> bool { - self.pMotionVectorHeap == other.pMotionVectorHeap && self.PixelWidth == other.PixelWidth && self.PixelHeight == other.PixelHeight + self.Flags == other.Flags + && self.FrameType == other.FrameType + && self.CompoundPredictionType == other.CompoundPredictionType + && self.InterpolationFilter == other.InterpolationFilter + && self.FrameRestorationConfig == other.FrameRestorationConfig + && self.TxMode == other.TxMode + && self.SuperResDenominator == other.SuperResDenominator + && self.OrderHint == other.OrderHint + && self.PictureIndex == other.PictureIndex + && self.TemporalLayerIndexPlus1 == other.TemporalLayerIndexPlus1 + && self.SpatialLayerIndexPlus1 == other.SpatialLayerIndexPlus1 + && self.ReferenceFramesReconPictureDescriptors == other.ReferenceFramesReconPictureDescriptors + && self.ReferenceIndices == other.ReferenceIndices + && self.PrimaryRefFrame == other.PrimaryRefFrame + && self.RefreshFrameFlags == other.RefreshFrameFlags + && self.LoopFilter == other.LoopFilter + && self.LoopFilterDelta == other.LoopFilterDelta + && self.Quantization == other.Quantization + && self.QuantizationDelta == other.QuantizationDelta + && self.CDEF == other.CDEF + && self.QPMapValuesCount == other.QPMapValuesCount + && self.pRateControlQPMap == other.pRateControlQPMap + && self.CustomSegmentation == other.CustomSegmentation + && self.CustomSegmentsMap == other.CustomSegmentsMap } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_INPUT { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { - pub pMotionVectorTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, - pub MotionVectorCoordinate: D3D12_RESOURCE_COORDINATE, +pub struct D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { + pub RowCount: u64, + pub ColCount: u64, + pub RowHeights: [u64; 64], + pub ColWidths: [u64; 64], + pub ContextUpdateTileId: u64, } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT").field("pMotionVectorTexture2D", &self.pMotionVectorTexture2D).field("MotionVectorCoordinate", &self.MotionVectorCoordinate).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES").field("RowCount", &self.RowCount).field("ColCount", &self.ColCount).field("RowHeights", &self.RowHeights).field("ColWidths", &self.ColWidths).field("ContextUpdateTileId", &self.ContextUpdateTileId).finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { fn eq(&self, other: &Self) -> bool { - self.pMotionVectorTexture2D == other.pMotionVectorTexture2D && self.MotionVectorCoordinate == other.MotionVectorCoordinate + self.RowCount == other.RowCount && self.ColCount == other.ColCount && self.RowHeights == other.RowHeights && self.ColWidths == other.ColWidths && self.ContextUpdateTileId == other.ContextUpdateTileId } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_RESOLVE_VIDEO_MOTION_VECTOR_HEAP_OUTPUT { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_RESOURCE_COORDINATE { - pub X: u64, - pub Y: u32, - pub Z: u32, - pub SubresourceIndex: u32, +pub struct D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { + pub CompoundPredictionType: u64, + pub LoopFilter: D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG, + pub LoopFilterDelta: D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG, + pub Quantization: D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG, + pub QuantizationDelta: D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG, + pub CDEF: D3D12_VIDEO_ENCODER_AV1_CDEF_CONFIG, + pub SegmentationConfig: D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG, + pub PrimaryRefFrame: u64, + pub ReferenceIndices: [u64; 7], } -impl ::core::marker::Copy for D3D12_RESOURCE_COORDINATE {} -impl ::core::clone::Clone for D3D12_RESOURCE_COORDINATE { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_RESOURCE_COORDINATE { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_RESOURCE_COORDINATE").field("X", &self.X).field("Y", &self.Y).field("Z", &self.Z).field("SubresourceIndex", &self.SubresourceIndex).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES") + .field("CompoundPredictionType", &self.CompoundPredictionType) + .field("LoopFilter", &self.LoopFilter) + .field("LoopFilterDelta", &self.LoopFilterDelta) + .field("Quantization", &self.Quantization) + .field("QuantizationDelta", &self.QuantizationDelta) + .field("CDEF", &self.CDEF) + .field("SegmentationConfig", &self.SegmentationConfig) + .field("PrimaryRefFrame", &self.PrimaryRefFrame) + .field("ReferenceIndices", &self.ReferenceIndices) + .finish() } } -impl ::windows_core::TypeKind for D3D12_RESOURCE_COORDINATE { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_RESOURCE_COORDINATE { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { fn eq(&self, other: &Self) -> bool { - self.X == other.X && self.Y == other.Y && self.Z == other.Z && self.SubresourceIndex == other.SubresourceIndex + self.CompoundPredictionType == other.CompoundPredictionType && self.LoopFilter == other.LoopFilter && self.LoopFilterDelta == other.LoopFilterDelta && self.Quantization == other.Quantization && self.QuantizationDelta == other.QuantizationDelta && self.CDEF == other.CDEF && self.SegmentationConfig == other.SegmentationConfig && self.PrimaryRefFrame == other.PrimaryRefFrame && self.ReferenceIndices == other.ReferenceIndices } } -impl ::core::cmp::Eq for D3D12_RESOURCE_COORDINATE {} -impl ::core::default::Default for D3D12_RESOURCE_COORDINATE { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_POST_ENCODE_VALUES { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_VIDEO_DECODER_DESC { - pub NodeMask: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { + pub ReconstructedPictureResourceIndex: u32, + pub TemporalLayerIndexPlus1: u32, + pub SpatialLayerIndexPlus1: u32, + pub FrameType: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE, + pub WarpedMotionInfo: D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO, + pub OrderHint: u32, + pub PictureIndex: u32, } -impl ::core::marker::Copy for D3D12_VIDEO_DECODER_DESC {} -impl ::core::clone::Clone for D3D12_VIDEO_DECODER_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_VIDEO_DECODER_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODER_DESC").field("NodeMask", &self.NodeMask).field("Configuration", &self.Configuration).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR").field("ReconstructedPictureResourceIndex", &self.ReconstructedPictureResourceIndex).field("TemporalLayerIndexPlus1", &self.TemporalLayerIndexPlus1).field("SpatialLayerIndexPlus1", &self.SpatialLayerIndexPlus1).field("FrameType", &self.FrameType).field("WarpedMotionInfo", &self.WarpedMotionInfo).field("OrderHint", &self.OrderHint).field("PictureIndex", &self.PictureIndex).finish() } } -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODER_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODER_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { fn eq(&self, other: &Self) -> bool { - self.NodeMask == other.NodeMask && self.Configuration == other.Configuration + self.ReconstructedPictureResourceIndex == other.ReconstructedPictureResourceIndex && self.TemporalLayerIndexPlus1 == other.TemporalLayerIndexPlus1 && self.SpatialLayerIndexPlus1 == other.SpatialLayerIndexPlus1 && self.FrameType == other.FrameType && self.WarpedMotionInfo == other.WarpedMotionInfo && self.OrderHint == other.OrderHint && self.PictureIndex == other.PictureIndex } } -impl ::core::cmp::Eq for D3D12_VIDEO_DECODER_DESC {} -impl ::core::default::Default for D3D12_VIDEO_DECODER_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_DESCRIPTOR { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -pub struct D3D12_VIDEO_DECODER_HEAP_DESC { - pub NodeMask: u32, - pub Configuration: D3D12_VIDEO_DECODE_CONFIGURATION, - pub DecodeWidth: u32, - pub DecodeHeight: u32, - pub Format: super::super::Graphics::Dxgi::Common::DXGI_FORMAT, - pub FrameRate: super::super::Graphics::Dxgi::Common::DXGI_RATIONAL, - pub BitRate: u32, - pub MaxDecodePictureBufferCount: u32, +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { + pub TransformationType: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION, + pub TransformationMatrix: [i32; 8], + pub InvalidAffineSet: super::super::Foundation::BOOL, } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::marker::Copy for D3D12_VIDEO_DECODER_HEAP_DESC {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::clone::Clone for D3D12_VIDEO_DECODER_HEAP_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODER_HEAP_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODER_HEAP_DESC").field("NodeMask", &self.NodeMask).field("Configuration", &self.Configuration).field("DecodeWidth", &self.DecodeWidth).field("DecodeHeight", &self.DecodeHeight).field("Format", &self.Format).field("FrameRate", &self.FrameRate).field("BitRate", &self.BitRate).field("MaxDecodePictureBufferCount", &self.MaxDecodePictureBufferCount).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO").field("TransformationType", &self.TransformationType).field("TransformationMatrix", &self.TransformationMatrix).field("InvalidAffineSet", &self.InvalidAffineSet).finish() } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODER_HEAP_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODER_HEAP_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { fn eq(&self, other: &Self) -> bool { - self.NodeMask == other.NodeMask && self.Configuration == other.Configuration && self.DecodeWidth == other.DecodeWidth && self.DecodeHeight == other.DecodeHeight && self.Format == other.Format && self.FrameRate == other.FrameRate && self.BitRate == other.BitRate && self.MaxDecodePictureBufferCount == other.MaxDecodePictureBufferCount + self.TransformationType == other.TransformationType && self.TransformationMatrix == other.TransformationMatrix && self.InvalidAffineSet == other.InvalidAffineSet } } -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODER_HEAP_DESC {} -#[cfg(feature = "Win32_Graphics_Dxgi_Common")] -impl ::core::default::Default for D3D12_VIDEO_DECODER_HEAP_DESC { +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_REFERENCE_PICTURE_WARPED_MOTION_INFO { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { - pub pBuffer: ::std::mem::ManuallyDrop<::core::option::Option>, - pub Offset: u64, - pub Size: u64, +pub struct D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { + pub FrameRestorationType: [D3D12_VIDEO_ENCODER_AV1_RESTORATION_TYPE; 3], + pub LoopRestorationPixelSize: [D3D12_VIDEO_ENCODER_AV1_RESTORATION_TILESIZE; 3], } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM").field("pBuffer", &self.pBuffer).field("Offset", &self.Offset).field("Size", &self.Size).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG").field("FrameRestorationType", &self.FrameRestorationType).field("LoopRestorationPixelSize", &self.LoopRestorationPixelSize).finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { fn eq(&self, other: &Self) -> bool { - self.pBuffer == other.pBuffer && self.Offset == other.Offset && self.Size == other.Size + self.FrameRestorationType == other.FrameRestorationType && self.LoopRestorationPixelSize == other.LoopRestorationPixelSize } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_RESTORATION_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_VIDEO_DECODE_CONFIGURATION { - pub DecodeProfile: ::windows_core::GUID, - pub BitstreamEncryption: D3D12_BITSTREAM_ENCRYPTION_TYPE, - pub InterlaceType: D3D12_VIDEO_FRAME_CODED_INTERLACE_TYPE, +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { + pub UpdateMap: u64, + pub TemporalUpdate: u64, + pub UpdateData: u64, + pub NumSegments: u64, + pub SegmentsData: [D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA; 8], } -impl ::core::marker::Copy for D3D12_VIDEO_DECODE_CONFIGURATION {} -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONFIGURATION { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONFIGURATION { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_CONFIGURATION").field("DecodeProfile", &self.DecodeProfile).field("BitstreamEncryption", &self.BitstreamEncryption).field("InterlaceType", &self.InterlaceType).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG").field("UpdateMap", &self.UpdateMap).field("TemporalUpdate", &self.TemporalUpdate).field("UpdateData", &self.UpdateData).field("NumSegments", &self.NumSegments).field("SegmentsData", &self.SegmentsData).finish() } } -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONFIGURATION { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONFIGURATION { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { fn eq(&self, other: &Self) -> bool { - self.DecodeProfile == other.DecodeProfile && self.BitstreamEncryption == other.BitstreamEncryption && self.InterlaceType == other.InterlaceType + self.UpdateMap == other.UpdateMap && self.TemporalUpdate == other.TemporalUpdate && self.UpdateData == other.UpdateData && self.NumSegments == other.NumSegments && self.SegmentsData == other.SegmentsData } } -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONFIGURATION {} -impl ::core::default::Default for D3D12_VIDEO_DECODE_CONFIGURATION { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { - pub Enable: super::super::Foundation::BOOL, - pub pReferenceTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, - pub ReferenceSubresource: u32, - pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, - pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { + pub SegmentsMapByteSize: u32, + pub pSegmentsMap: *mut u8, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS").field("Enable", &self.Enable).field("pReferenceTexture2D", &self.pReferenceTexture2D).field("ReferenceSubresource", &self.ReferenceSubresource).field("OutputColorSpace", &self.OutputColorSpace).field("DecodeColorSpace", &self.DecodeColorSpace).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP").field("SegmentsMapByteSize", &self.SegmentsMapByteSize).field("pSegmentsMap", &self.pSegmentsMap).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { fn eq(&self, other: &Self) -> bool { - self.Enable == other.Enable && self.pReferenceTexture2D == other.pReferenceTexture2D && self.ReferenceSubresource == other.ReferenceSubresource && self.OutputColorSpace == other.OutputColorSpace && self.DecodeColorSpace == other.DecodeColorSpace + self.SegmentsMapByteSize == other.SegmentsMapByteSize && self.pSegmentsMap == other.pSegmentsMap } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENTATION_MAP { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { - pub Enable: super::super::Foundation::BOOL, - pub pReferenceTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, - pub ReferenceSubresource: u32, - pub OutputColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, - pub DecodeColorSpace: super::super::Graphics::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, - pub OutputWidth: u32, - pub OutputHeight: u32, +pub struct D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { + pub EnabledFeatures: u64, + pub FeatureValue: [i64; 8], } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1").field("Enable", &self.Enable).field("pReferenceTexture2D", &self.pReferenceTexture2D).field("ReferenceSubresource", &self.ReferenceSubresource).field("OutputColorSpace", &self.OutputColorSpace).field("DecodeColorSpace", &self.DecodeColorSpace).field("OutputWidth", &self.OutputWidth).field("OutputHeight", &self.OutputHeight).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA").field("EnabledFeatures", &self.EnabledFeatures).field("FeatureValue", &self.FeatureValue).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { fn eq(&self, other: &Self) -> bool { - self.Enable == other.Enable && self.pReferenceTexture2D == other.pReferenceTexture2D && self.ReferenceSubresource == other.ReferenceSubresource && self.OutputColorSpace == other.OutputColorSpace && self.DecodeColorSpace == other.DecodeColorSpace && self.OutputWidth == other.OutputWidth && self.OutputHeight == other.OutputHeight + self.EnabledFeatures == other.EnabledFeatures && self.FeatureValue == other.FeatureValue } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEGMENT_DATA { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -pub struct D3D12_VIDEO_DECODE_FRAME_ARGUMENT { - pub Type: D3D12_VIDEO_DECODE_ARGUMENT_TYPE, - pub Size: u32, - pub pData: *mut ::core::ffi::c_void, +pub struct D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { + pub IntraDistance: u32, + pub InterFramePeriod: u32, } -impl ::core::marker::Copy for D3D12_VIDEO_DECODE_FRAME_ARGUMENT {} -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { fn clone(&self) -> Self { *self } } -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_FRAME_ARGUMENT").field("Type", &self.Type).field("Size", &self.Size).field("pData", &self.pData).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE").field("IntraDistance", &self.IntraDistance).field("InterFramePeriod", &self.InterFramePeriod).finish() } } -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { type TypeKind = ::windows_core::CopyType; } -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { fn eq(&self, other: &Self) -> bool { - self.Type == other.Type && self.Size == other.Size && self.pData == other.pData + self.IntraDistance == other.IntraDistance && self.InterFramePeriod == other.InterFramePeriod } } -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_FRAME_ARGUMENT {} -impl ::core::default::Default for D3D12_VIDEO_DECODE_FRAME_ARGUMENT { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { - pub NumFrameArguments: u32, - pub FrameArguments: [D3D12_VIDEO_DECODE_FRAME_ARGUMENT; 10], - pub ReferenceFrames: D3D12_VIDEO_DECODE_REFERENCE_FRAMES, - pub CompressedBitstream: D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM, - pub pHeap: ::std::mem::ManuallyDrop<::core::option::Option>, +pub struct D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { + pub LoopFilterLevel: [u64; 2], + pub LoopFilterLevelU: u64, + pub LoopFilterLevelV: u64, + pub LoopFilterSharpnessLevel: u64, + pub LoopFilterDeltaEnabled: u64, + pub UpdateRefDelta: u64, + pub RefDeltas: [i64; 8], + pub UpdateModeDelta: u64, + pub ModeDeltas: [i64; 2], } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } -} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS").field("NumFrameArguments", &self.NumFrameArguments).field("FrameArguments", &self.FrameArguments).field("ReferenceFrames", &self.ReferenceFrames).field("CompressedBitstream", &self.CompressedBitstream).field("pHeap", &self.pHeap).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG") + .field("LoopFilterLevel", &self.LoopFilterLevel) + .field("LoopFilterLevelU", &self.LoopFilterLevelU) + .field("LoopFilterLevelV", &self.LoopFilterLevelV) + .field("LoopFilterSharpnessLevel", &self.LoopFilterSharpnessLevel) + .field("LoopFilterDeltaEnabled", &self.LoopFilterDeltaEnabled) + .field("UpdateRefDelta", &self.UpdateRefDelta) + .field("RefDeltas", &self.RefDeltas) + .field("UpdateModeDelta", &self.UpdateModeDelta) + .field("ModeDeltas", &self.ModeDeltas) + .finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { fn eq(&self, other: &Self) -> bool { - self.NumFrameArguments == other.NumFrameArguments && self.FrameArguments == other.FrameArguments && self.ReferenceFrames == other.ReferenceFrames && self.CompressedBitstream == other.CompressedBitstream && self.pHeap == other.pHeap + self.LoopFilterLevel == other.LoopFilterLevel && self.LoopFilterLevelU == other.LoopFilterLevelU && self.LoopFilterLevelV == other.LoopFilterLevelV && self.LoopFilterSharpnessLevel == other.LoopFilterSharpnessLevel && self.LoopFilterDeltaEnabled == other.LoopFilterDeltaEnabled && self.UpdateRefDelta == other.UpdateRefDelta && self.RefDeltas == other.RefDeltas && self.UpdateModeDelta == other.UpdateModeDelta && self.ModeDeltas == other.ModeDeltas } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { - pub Offset: u64, - pub pBuffer: ::std::mem::ManuallyDrop<::core::option::Option>, +pub struct D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { + pub DeltaLFPresent: u64, + pub DeltaLFMulti: u64, + pub DeltaLFRes: u64, } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM").field("Offset", &self.Offset).field("pBuffer", &self.pBuffer).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG").field("DeltaLFPresent", &self.DeltaLFPresent).field("DeltaLFMulti", &self.DeltaLFMulti).field("DeltaLFRes", &self.DeltaLFRes).finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { fn eq(&self, other: &Self) -> bool { - self.Offset == other.Offset && self.pBuffer == other.pBuffer + self.DeltaLFPresent == other.DeltaLFPresent && self.DeltaLFMulti == other.DeltaLFMulti && self.DeltaLFRes == other.DeltaLFRes } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_AV1_LOOP_FILTER_DELTA_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { - pub pOutputTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, - pub OutputSubresource: u32, - pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS, +pub struct D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { + pub PredictionMode: D3D12_VIDEO_ENCODER_AV1_COMP_PREDICTION_TYPE, + pub MaxUniqueReferencesPerFrame: u32, + pub SupportedFrameTypes: D3D12_VIDEO_ENCODER_AV1_FRAME_TYPE_FLAGS, + pub SupportedReferenceWarpedMotionFlags: D3D12_VIDEO_ENCODER_AV1_REFERENCE_WARPED_MOTION_TRANSFORMATION_FLAGS, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS").field("pOutputTexture2D", &self.pOutputTexture2D).field("OutputSubresource", &self.OutputSubresource).field("ConversionArguments", &self.ConversionArguments).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT").field("PredictionMode", &self.PredictionMode).field("MaxUniqueReferencesPerFrame", &self.MaxUniqueReferencesPerFrame).field("SupportedFrameTypes", &self.SupportedFrameTypes).field("SupportedReferenceWarpedMotionFlags", &self.SupportedReferenceWarpedMotionFlags).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { fn eq(&self, other: &Self) -> bool { - self.pOutputTexture2D == other.pOutputTexture2D && self.OutputSubresource == other.OutputSubresource && self.ConversionArguments == other.ConversionArguments + self.PredictionMode == other.PredictionMode && self.MaxUniqueReferencesPerFrame == other.MaxUniqueReferencesPerFrame && self.SupportedFrameTypes == other.SupportedFrameTypes && self.SupportedReferenceWarpedMotionFlags == other.SupportedReferenceWarpedMotionFlags } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -pub struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { - pub pOutputTexture2D: ::std::mem::ManuallyDrop<::core::option::Option>, - pub OutputSubresource: u32, - pub ConversionArguments: D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1, - pub Histograms: [D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM; 4], +pub struct D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { + pub BaseQIndex: u64, + pub YDCDeltaQ: i64, + pub UDCDeltaQ: i64, + pub UACDeltaQ: i64, + pub VDCDeltaQ: i64, + pub VACDeltaQ: i64, + pub UsingQMatrix: u64, + pub QMY: u64, + pub QMU: u64, + pub QMV: u64, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { fn clone(&self) -> Self { - unsafe { ::core::mem::transmute_copy(self) } + *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1").field("pOutputTexture2D", &self.pOutputTexture2D).field("OutputSubresource", &self.OutputSubresource).field("ConversionArguments", &self.ConversionArguments).field("Histograms", &self.Histograms).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG").field("BaseQIndex", &self.BaseQIndex).field("YDCDeltaQ", &self.YDCDeltaQ).field("UDCDeltaQ", &self.UDCDeltaQ).field("UACDeltaQ", &self.UACDeltaQ).field("VDCDeltaQ", &self.VDCDeltaQ).field("VACDeltaQ", &self.VACDeltaQ).field("UsingQMatrix", &self.UsingQMatrix).field("QMY", &self.QMY).field("QMU", &self.QMU).field("QMV", &self.QMV).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { fn eq(&self, other: &Self) -> bool { - self.pOutputTexture2D == other.pOutputTexture2D && self.OutputSubresource == other.OutputSubresource && self.ConversionArguments == other.ConversionArguments && self.Histograms == other.Histograms + self.BaseQIndex == other.BaseQIndex && self.YDCDeltaQ == other.YDCDeltaQ && self.UDCDeltaQ == other.UDCDeltaQ && self.UACDeltaQ == other.UACDeltaQ && self.VDCDeltaQ == other.VDCDeltaQ && self.VACDeltaQ == other.VACDeltaQ && self.UsingQMatrix == other.UsingQMatrix && self.QMY == other.QMY && self.QMU == other.QMU && self.QMV == other.QMV } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] -impl ::core::default::Default for D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] -#[cfg(feature = "Win32_Graphics_Direct3D12")] -pub struct D3D12_VIDEO_DECODE_REFERENCE_FRAMES { - pub NumTexture2Ds: u32, - pub ppTexture2Ds: *mut ::core::option::Option, - pub pSubresources: *mut u32, - pub ppHeaps: *mut ::core::option::Option, +pub struct D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { + pub DeltaQPresent: u64, + pub DeltaQRes: u64, } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::marker::Copy for D3D12_VIDEO_DECODE_REFERENCE_FRAMES {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::clone::Clone for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::fmt::Debug for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("D3D12_VIDEO_DECODE_REFERENCE_FRAMES").field("NumTexture2Ds", &self.NumTexture2Ds).field("ppTexture2Ds", &self.ppTexture2Ds).field("pSubresources", &self.pSubresources).field("ppHeaps", &self.ppHeaps).finish() + f.debug_struct("D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG").field("DeltaQPresent", &self.DeltaQPresent).field("DeltaQRes", &self.DeltaQRes).finish() } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::windows_core::TypeKind for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::PartialEq for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { fn eq(&self, other: &Self) -> bool { - self.NumTexture2Ds == other.NumTexture2Ds && self.ppTexture2Ds == other.ppTexture2Ds && self.pSubresources == other.pSubresources && self.ppHeaps == other.ppHeaps + self.DeltaQPresent == other.DeltaQPresent && self.DeltaQRes == other.DeltaQRes } } -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::cmp::Eq for D3D12_VIDEO_DECODE_REFERENCE_FRAMES {} -#[cfg(feature = "Win32_Graphics_Direct3D12")] -impl ::core::default::Default for D3D12_VIDEO_DECODE_REFERENCE_FRAMES { +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_AV1_QUANTIZATION_DELTA_CONFIG { fn default() -> Self { unsafe { ::core::mem::zeroed() } } @@ -41296,6 +43179,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION { pub union D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_0 { pub pH264Config: *mut D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264, pub pHEVCConfig: *mut D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC, + pub pAV1Config: *mut D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_0 { @@ -41408,6 +43292,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPOR pub union D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_0 { pub pH264Support: *mut D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264, pub pHEVCSupport: *mut D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC, + pub pAV1Support: *mut D3D12_VIDEO_ENCODER_AV1_CODEC_CONFIGURATION_SUPPORT, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_0 { @@ -41519,6 +43404,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPP pub union D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_0 { pub pH264Support: *mut D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264, pub pHEVCSupport: *mut D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_HEVC, + pub pAV1Support: *mut D3D12_VIDEO_ENCODER_CODEC_AV1_PICTURE_CONTROL_SUPPORT, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_0 { @@ -41769,6 +43655,55 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_ } } #[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { + pub DataSize: u32, + pub Anonymous: D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0 { + pub pAV1Support: *mut D3D12_VIDEO_ENCODER_AV1_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_CONFIG_SUPPORT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA { pub bSize: u64, pub bStartOffset: u64, @@ -41876,6 +43811,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_LEVEL_SETTING { pub union D3D12_VIDEO_ENCODER_LEVEL_SETTING_0 { pub pH264LevelSetting: *mut D3D12_VIDEO_ENCODER_LEVELS_H264, pub pHEVCLevelSetting: *mut D3D12_VIDEO_ENCODER_LEVEL_TIER_CONSTRAINTS_HEVC, + pub pAV1LevelSetting: *mut D3D12_VIDEO_ENCODER_AV1_LEVEL_TIER_CONSTRAINTS, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_LEVEL_SETTING_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_LEVEL_SETTING_0 { @@ -42018,6 +43954,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA pub union D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_0 { pub pH264PicData: *mut D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264, pub pHEVCPicData: *mut D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC, + pub pAV1PicData: *mut D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_0 {} @@ -42342,6 +44279,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS pub union D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_0 { pub pSlicesPartition_H264: *const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES, pub pSlicesPartition_HEVC: *const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES, + pub pTilesPartition_AV1: *const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_TILES, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_0 { @@ -42479,6 +44417,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_PROFILE_DESC { pub union D3D12_VIDEO_ENCODER_PROFILE_DESC_0 { pub pH264Profile: *mut D3D12_VIDEO_ENCODER_PROFILE_H264, pub pHEVCProfile: *mut D3D12_VIDEO_ENCODER_PROFILE_HEVC, + pub pAV1Profile: *mut D3D12_VIDEO_ENCODER_AV1_PROFILE, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_PROFILE_DESC_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_PROFILE_DESC_0 { @@ -42522,6 +44461,35 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL { } } #[repr(C)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + pub QualityVsSpeed: u32, +} +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP").field("QualityVsSpeed", &self.QualityVsSpeed).finish() + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + fn eq(&self, other: &Self) -> bool { + self.QualityVsSpeed == other.QualityVsSpeed + } +} +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR { pub InitialQP: u32, pub MinQP: u32, @@ -42557,6 +44525,42 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR { } } #[repr(C)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + pub InitialQP: u32, + pub MinQP: u32, + pub MaxQP: u32, + pub MaxFrameBitSize: u64, + pub TargetBitRate: u64, + pub VBVCapacity: u64, + pub InitialVBVFullness: u64, + pub QualityVsSpeed: u32, +} +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1").field("InitialQP", &self.InitialQP).field("MinQP", &self.MinQP).field("MaxQP", &self.MaxQP).field("MaxFrameBitSize", &self.MaxFrameBitSize).field("TargetBitRate", &self.TargetBitRate).field("VBVCapacity", &self.VBVCapacity).field("InitialVBVFullness", &self.InitialVBVFullness).field("QualityVsSpeed", &self.QualityVsSpeed).finish() + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + fn eq(&self, other: &Self) -> bool { + self.InitialQP == other.InitialQP && self.MinQP == other.MinQP && self.MaxQP == other.MaxQP && self.MaxFrameBitSize == other.MaxFrameBitSize && self.TargetBitRate == other.TargetBitRate && self.VBVCapacity == other.VBVCapacity && self.InitialVBVFullness == other.InitialVBVFullness && self.QualityVsSpeed == other.QualityVsSpeed + } +} +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS { pub DataSize: u32, pub Anonymous: D3D12_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0, @@ -42581,6 +44585,11 @@ pub union D3D12_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0 { pub pConfiguration_CBR: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR, pub pConfiguration_VBR: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR, pub pConfiguration_QVBR: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR, + pub pConfiguration_CQP1: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1, + pub pConfiguration_CBR1: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR1, + pub pConfiguration_VBR1: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1, + pub pConfiguration_QVBR1: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1, + pub pConfiguration_AbsoluteQPMap: *const D3D12_VIDEO_ENCODER_RATE_CONTROL_ABSOLUTE_QP_MAP, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_CONFIGURATION_PARAMS_0 { @@ -42628,6 +44637,38 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { } } #[repr(C)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + pub ConstantQP_FullIntracodedFrame: u32, + pub ConstantQP_InterPredictedFrame_PrevRefOnly: u32, + pub ConstantQP_InterPredictedFrame_BiDirectionalRef: u32, + pub QualityVsSpeed: u32, +} +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1").field("ConstantQP_FullIntracodedFrame", &self.ConstantQP_FullIntracodedFrame).field("ConstantQP_InterPredictedFrame_PrevRefOnly", &self.ConstantQP_InterPredictedFrame_PrevRefOnly).field("ConstantQP_InterPredictedFrame_BiDirectionalRef", &self.ConstantQP_InterPredictedFrame_BiDirectionalRef).field("QualityVsSpeed", &self.QualityVsSpeed).finish() + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + fn eq(&self, other: &Self) -> bool { + self.ConstantQP_FullIntracodedFrame == other.ConstantQP_FullIntracodedFrame && self.ConstantQP_InterPredictedFrame_PrevRefOnly == other.ConstantQP_InterPredictedFrame_PrevRefOnly && self.ConstantQP_InterPredictedFrame_BiDirectionalRef == other.ConstantQP_InterPredictedFrame_BiDirectionalRef && self.QualityVsSpeed == other.QualityVsSpeed + } +} +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR { pub InitialQP: u32, pub MinQP: u32, @@ -42663,6 +44704,55 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR { } } #[repr(C)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + pub InitialQP: u32, + pub MinQP: u32, + pub MaxQP: u32, + pub MaxFrameBitSize: u64, + pub TargetAvgBitRate: u64, + pub PeakBitRate: u64, + pub ConstantQualityTarget: u32, + pub VBVCapacity: u64, + pub InitialVBVFullness: u64, + pub QualityVsSpeed: u32, +} +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1") + .field("InitialQP", &self.InitialQP) + .field("MinQP", &self.MinQP) + .field("MaxQP", &self.MaxQP) + .field("MaxFrameBitSize", &self.MaxFrameBitSize) + .field("TargetAvgBitRate", &self.TargetAvgBitRate) + .field("PeakBitRate", &self.PeakBitRate) + .field("ConstantQualityTarget", &self.ConstantQualityTarget) + .field("VBVCapacity", &self.VBVCapacity) + .field("InitialVBVFullness", &self.InitialVBVFullness) + .field("QualityVsSpeed", &self.QualityVsSpeed) + .finish() + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + fn eq(&self, other: &Self) -> bool { + self.InitialQP == other.InitialQP && self.MinQP == other.MinQP && self.MaxQP == other.MaxQP && self.MaxFrameBitSize == other.MaxFrameBitSize && self.TargetAvgBitRate == other.TargetAvgBitRate && self.PeakBitRate == other.PeakBitRate && self.ConstantQualityTarget == other.ConstantQualityTarget && self.VBVCapacity == other.VBVCapacity && self.InitialVBVFullness == other.InitialVBVFullness && self.QualityVsSpeed == other.QualityVsSpeed + } +} +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR { pub InitialQP: u32, pub MinQP: u32, @@ -42699,6 +44789,43 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR { } } #[repr(C)] +pub struct D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + pub InitialQP: u32, + pub MinQP: u32, + pub MaxQP: u32, + pub MaxFrameBitSize: u64, + pub TargetAvgBitRate: u64, + pub PeakBitRate: u64, + pub VBVCapacity: u64, + pub InitialVBVFullness: u64, + pub QualityVsSpeed: u32, +} +impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 {} +impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1").field("InitialQP", &self.InitialQP).field("MinQP", &self.MinQP).field("MaxQP", &self.MaxQP).field("MaxFrameBitSize", &self.MaxFrameBitSize).field("TargetAvgBitRate", &self.TargetAvgBitRate).field("PeakBitRate", &self.PeakBitRate).field("VBVCapacity", &self.VBVCapacity).field("InitialVBVFullness", &self.InitialVBVFullness).field("QualityVsSpeed", &self.QualityVsSpeed).finish() + } +} +impl ::windows_core::TypeKind for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + fn eq(&self, other: &Self) -> bool { + self.InitialQP == other.InitialQP && self.MinQP == other.MinQP && self.MaxQP == other.MaxQP && self.MaxFrameBitSize == other.MaxFrameBitSize && self.TargetAvgBitRate == other.TargetAvgBitRate && self.PeakBitRate == other.PeakBitRate && self.VBVCapacity == other.VBVCapacity && self.InitialVBVFullness == other.InitialVBVFullness && self.QualityVsSpeed == other.QualityVsSpeed + } +} +impl ::core::cmp::Eq for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 {} +impl ::core::default::Default for D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] #[cfg(feature = "Win32_Graphics_Direct3D12")] pub struct D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE { @@ -42935,6 +45062,7 @@ impl ::core::default::Default for D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE { pub union D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_0 { pub pH264GroupOfPictures: *mut D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264, pub pHEVCGroupOfPictures: *mut D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_HEVC, + pub pAV1SequenceStructure: *mut D3D12_VIDEO_ENCODER_AV1_SEQUENCE_STRUCTURE, } impl ::core::marker::Copy for D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_0 {} impl ::core::clone::Clone for D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_0 { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs index d1370b4c2a..bbad3d10d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/HttpServer/mod.rs @@ -219,12 +219,12 @@ where #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_IO\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn HttpReceiveHttpRequest(requestqueuehandle: P0, requestid: u64, flags: HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer: *mut HTTP_REQUEST_V2, requestbufferlength: u32, bytesreturned: ::core::option::Option<*mut u32>, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> u32 +pub unsafe fn HttpReceiveHttpRequest(requestqueuehandle: P0, requestid: u64, flags: HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer: *mut HTTP_REQUEST_V2, requestbufferlength: u32, bytesreturned: ::core::option::Option<*mut u32>, overlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>) -> u32 where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("httpapi.dll" "system" fn HttpReceiveHttpRequest(requestqueuehandle : super::super::Foundation:: HANDLE, requestid : u64, flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer : *mut HTTP_REQUEST_V2, requestbufferlength : u32, bytesreturned : *mut u32, overlapped : *const super::super::System::IO:: OVERLAPPED) -> u32); - HttpReceiveHttpRequest(requestqueuehandle.into_param().abi(), requestid, flags, requestbuffer, requestbufferlength, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null()))) + ::windows_targets::link!("httpapi.dll" "system" fn HttpReceiveHttpRequest(requestqueuehandle : super::super::Foundation:: HANDLE, requestid : u64, flags : HTTP_RECEIVE_HTTP_REQUEST_FLAGS, requestbuffer : *mut HTTP_REQUEST_V2, requestbufferlength : u32, bytesreturned : *mut u32, overlapped : *mut super::super::System::IO:: OVERLAPPED) -> u32); + HttpReceiveHttpRequest(requestqueuehandle.into_param().abi(), requestid, flags, requestbuffer, requestbufferlength, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null_mut()))) } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 3b5c48d776..7cda1170bb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -3805,7 +3805,10 @@ pub const EVENT_SRCSPEW: u32 = 100u32; pub const EVENT_SRCSPEW_END: u32 = 199u32; pub const EVENT_SRCSPEW_START: u32 = 100u32; pub const EVENT_TRACING_FATAL_ERROR: BUGCHECK_ERROR = BUGCHECK_ERROR(285u32); +pub const EXCEPTION_CONTINUE_EXECUTION: i32 = -1i32; +pub const EXCEPTION_CONTINUE_SEARCH: i32 = 0i32; pub const EXCEPTION_DEBUG_EVENT: DEBUG_EVENT_CODE = DEBUG_EVENT_CODE(1u32); +pub const EXCEPTION_EXECUTE_HANDLER: i32 = 1i32; pub const EXCEPTION_ON_INVALID_STACK: BUGCHECK_ERROR = BUGCHECK_ERROR(426u32); pub const EXCEPTION_SCOPE_INVALID: BUGCHECK_ERROR = BUGCHECK_ERROR(333u32); pub const EXFAT_FILE_SYSTEM: BUGCHECK_ERROR = BUGCHECK_ERROR(300u32); diff --git a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs index 5a64b326d1..b3be415fe0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs @@ -3513,6 +3513,7 @@ pub const RPC_S_NO_PRINC_NAME: RPC_STATUS = RPC_STATUS(1822i32); pub const RPC_S_NO_PROTSEQS: RPC_STATUS = RPC_STATUS(1719i32); pub const RPC_S_NO_PROTSEQS_REGISTERED: RPC_STATUS = RPC_STATUS(1714i32); pub const RPC_S_OBJECT_NOT_FOUND: RPC_STATUS = RPC_STATUS(1710i32); +pub const RPC_S_OK: RPC_STATUS = RPC_STATUS(0i32); pub const RPC_S_OUT_OF_RESOURCES: RPC_STATUS = RPC_STATUS(1721i32); pub const RPC_S_PRF_ELT_NOT_ADDED: RPC_STATUS = RPC_STATUS(1926i32); pub const RPC_S_PRF_ELT_NOT_REMOVED: RPC_STATUS = RPC_STATUS(1927i32); diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index 17c6eee97b..a3d4aac593 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -14983,31 +14983,31 @@ pub const AnimationStyle_Other: AnimationStyle = AnimationStyle(-1i32); pub const AnimationStyle_Shimmer: AnimationStyle = AnimationStyle(6i32); pub const AnimationStyle_SparkleText: AnimationStyle = AnimationStyle(3i32); pub const AnnotationObjects_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x310910c8_7c6e_4f20_becd_4aaf6d191156); -pub const AnnotationType_AdvancedProofingIssue: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60020u32); -pub const AnnotationType_Author: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60019u32); -pub const AnnotationType_CircularReferenceError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60022u32); -pub const AnnotationType_Comment: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60003u32); -pub const AnnotationType_ConflictingChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60018u32); -pub const AnnotationType_DataValidationError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60021u32); -pub const AnnotationType_DeletionChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60012u32); -pub const AnnotationType_EditingLockedChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60016u32); -pub const AnnotationType_Endnote: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60009u32); -pub const AnnotationType_ExternalChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60017u32); -pub const AnnotationType_Footer: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60007u32); -pub const AnnotationType_Footnote: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60010u32); -pub const AnnotationType_FormatChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60014u32); -pub const AnnotationType_FormulaError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60004u32); -pub const AnnotationType_GrammarError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60002u32); -pub const AnnotationType_Header: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60006u32); -pub const AnnotationType_Highlighted: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60008u32); -pub const AnnotationType_InsertionChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60011u32); -pub const AnnotationType_Mathematics: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60023u32); -pub const AnnotationType_MoveChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60013u32); -pub const AnnotationType_Sensitive: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60024u32); -pub const AnnotationType_SpellingError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60001u32); -pub const AnnotationType_TrackChanges: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60005u32); -pub const AnnotationType_Unknown: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60000u32); -pub const AnnotationType_UnsyncedChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60015u32); +pub const AnnotationType_AdvancedProofingIssue: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60020i32); +pub const AnnotationType_Author: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60019i32); +pub const AnnotationType_CircularReferenceError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60022i32); +pub const AnnotationType_Comment: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60003i32); +pub const AnnotationType_ConflictingChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60018i32); +pub const AnnotationType_DataValidationError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60021i32); +pub const AnnotationType_DeletionChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60012i32); +pub const AnnotationType_EditingLockedChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60016i32); +pub const AnnotationType_Endnote: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60009i32); +pub const AnnotationType_ExternalChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60017i32); +pub const AnnotationType_Footer: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60007i32); +pub const AnnotationType_Footnote: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60010i32); +pub const AnnotationType_FormatChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60014i32); +pub const AnnotationType_FormulaError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60004i32); +pub const AnnotationType_GrammarError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60002i32); +pub const AnnotationType_Header: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60006i32); +pub const AnnotationType_Highlighted: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60008i32); +pub const AnnotationType_InsertionChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60011i32); +pub const AnnotationType_Mathematics: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60023i32); +pub const AnnotationType_MoveChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60013i32); +pub const AnnotationType_Sensitive: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60024i32); +pub const AnnotationType_SpellingError: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60001i32); +pub const AnnotationType_TrackChanges: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60005i32); +pub const AnnotationType_Unknown: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60000i32); +pub const AnnotationType_UnsyncedChange: UIA_ANNOTATIONTYPE = UIA_ANNOTATIONTYPE(60015i32); pub const AnnotationTypes_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64b71f76_53c4_4696_a219_20e940c9a176); pub const Annotation_AdvancedProofingIssue_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdac7b72c_c0f2_4b84_b90d_5fafc0f0ef1c); pub const Annotation_AnnotationTypeId_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x20ae484f_69ef_4c48_8f5b_c4938b206ac7); @@ -15210,16 +15210,16 @@ pub const HCF_OPTION_NOTHEMECHANGE: HIGHCONTRASTW_FLAGS = HIGHCONTRASTW_FLAGS(40 pub const HasKeyboardFocus_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf8afd39_3f46_4800_9656_b2bf12529905); pub const HeaderItem_Control_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe6bc12cb_7c8e_49cf_b168_4a93a32bebb0); pub const Header_Control_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5b90cbce_78fb_4614_82b6_554d74718e67); -pub const HeadingLevel1: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80051u32); -pub const HeadingLevel2: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80052u32); -pub const HeadingLevel3: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80053u32); -pub const HeadingLevel4: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80054u32); -pub const HeadingLevel5: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80055u32); -pub const HeadingLevel6: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80056u32); -pub const HeadingLevel7: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80057u32); -pub const HeadingLevel8: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80058u32); -pub const HeadingLevel9: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80059u32); -pub const HeadingLevel_None: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80050u32); +pub const HeadingLevel1: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80051i32); +pub const HeadingLevel2: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80052i32); +pub const HeadingLevel3: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80053i32); +pub const HeadingLevel4: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80054i32); +pub const HeadingLevel5: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80055i32); +pub const HeadingLevel6: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80056i32); +pub const HeadingLevel7: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80057i32); +pub const HeadingLevel8: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80058i32); +pub const HeadingLevel9: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80059i32); +pub const HeadingLevel_None: UIA_HEADINGLEVEL_ID = UIA_HEADINGLEVEL_ID(80050i32); pub const HeadingLevel_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x29084272_aaaf_4a30_8796_3c12f62b6bbb); pub const HelpText_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x08555685_0977_45c7_a7a6_abaf5684121a); pub const HorizontalTextAlignment_Centered: HorizontalTextAlignment = HorizontalTextAlignment(1i32); @@ -15620,39 +15620,39 @@ pub const StructuredMarkup_CompositionComplete_Event_GUID: ::windows_core::GUID pub const StructuredMarkup_Deleted_Event_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf9d0a020_e1c1_4ecf_b9aa_52efde7e41e1); pub const StructuredMarkup_Pattern_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xabbd0878_8665_4f5c_94fc_36e7d8bb706b); pub const StructuredMarkup_SelectionChanged_Event_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7c815f7_ff9f_41c7_a3a7_ab6cbfdb4903); -pub const StyleId_BulletedList: UIA_STYLE_ID = UIA_STYLE_ID(70015u32); +pub const StyleId_BulletedList: UIA_STYLE_ID = UIA_STYLE_ID(70015i32); pub const StyleId_BulletedList_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5963ed64_6426_4632_8caf_a32ad402d91a); -pub const StyleId_Custom: UIA_STYLE_ID = UIA_STYLE_ID(70000u32); +pub const StyleId_Custom: UIA_STYLE_ID = UIA_STYLE_ID(70000i32); pub const StyleId_Custom_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xef2edd3e_a999_4b7c_a378_09bbd52a3516); -pub const StyleId_Emphasis: UIA_STYLE_ID = UIA_STYLE_ID(70013u32); +pub const StyleId_Emphasis: UIA_STYLE_ID = UIA_STYLE_ID(70013i32); pub const StyleId_Emphasis_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xca6e7dbe_355e_4820_95a0_925f041d3470); -pub const StyleId_Heading1: UIA_STYLE_ID = UIA_STYLE_ID(70001u32); +pub const StyleId_Heading1: UIA_STYLE_ID = UIA_STYLE_ID(70001i32); pub const StyleId_Heading1_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7f7e8f69_6866_4621_930c_9a5d0ca5961c); -pub const StyleId_Heading2: UIA_STYLE_ID = UIA_STYLE_ID(70002u32); +pub const StyleId_Heading2: UIA_STYLE_ID = UIA_STYLE_ID(70002i32); pub const StyleId_Heading2_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbaa9b241_5c69_469d_85ad_474737b52b14); -pub const StyleId_Heading3: UIA_STYLE_ID = UIA_STYLE_ID(70003u32); +pub const StyleId_Heading3: UIA_STYLE_ID = UIA_STYLE_ID(70003i32); pub const StyleId_Heading3_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbf8be9d2_d8b8_4ec5_8c52_9cfb0d035970); -pub const StyleId_Heading4: UIA_STYLE_ID = UIA_STYLE_ID(70004u32); +pub const StyleId_Heading4: UIA_STYLE_ID = UIA_STYLE_ID(70004i32); pub const StyleId_Heading4_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8436ffc0_9578_45fc_83a4_ff40053315dd); -pub const StyleId_Heading5: UIA_STYLE_ID = UIA_STYLE_ID(70005u32); +pub const StyleId_Heading5: UIA_STYLE_ID = UIA_STYLE_ID(70005i32); pub const StyleId_Heading5_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x909f424d_0dbf_406e_97bb_4e773d9798f7); -pub const StyleId_Heading6: UIA_STYLE_ID = UIA_STYLE_ID(70006u32); +pub const StyleId_Heading6: UIA_STYLE_ID = UIA_STYLE_ID(70006i32); pub const StyleId_Heading6_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x89d23459_5d5b_4824_a420_11d3ed82e40f); -pub const StyleId_Heading7: UIA_STYLE_ID = UIA_STYLE_ID(70007u32); +pub const StyleId_Heading7: UIA_STYLE_ID = UIA_STYLE_ID(70007i32); pub const StyleId_Heading7_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa3790473_e9ae_422d_b8e3_3b675c6181a4); -pub const StyleId_Heading8: UIA_STYLE_ID = UIA_STYLE_ID(70008u32); +pub const StyleId_Heading8: UIA_STYLE_ID = UIA_STYLE_ID(70008i32); pub const StyleId_Heading8_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2bc14145_a40c_4881_84ae_f2235685380c); -pub const StyleId_Heading9: UIA_STYLE_ID = UIA_STYLE_ID(70009u32); +pub const StyleId_Heading9: UIA_STYLE_ID = UIA_STYLE_ID(70009i32); pub const StyleId_Heading9_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc70d9133_bb2a_43d3_8ac6_33657884b0f0); -pub const StyleId_Normal: UIA_STYLE_ID = UIA_STYLE_ID(70012u32); +pub const StyleId_Normal: UIA_STYLE_ID = UIA_STYLE_ID(70012i32); pub const StyleId_Normal_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcd14d429_e45e_4475_a1c5_7f9e6be96eba); -pub const StyleId_NumberedList: UIA_STYLE_ID = UIA_STYLE_ID(70016u32); +pub const StyleId_NumberedList: UIA_STYLE_ID = UIA_STYLE_ID(70016i32); pub const StyleId_NumberedList_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1e96dbd5_64c3_43d0_b1ee_b53b06e3eddf); -pub const StyleId_Quote: UIA_STYLE_ID = UIA_STYLE_ID(70014u32); +pub const StyleId_Quote: UIA_STYLE_ID = UIA_STYLE_ID(70014i32); pub const StyleId_Quote_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d1c21ea_8195_4f6c_87ea_5dabece64c1d); -pub const StyleId_Subtitle: UIA_STYLE_ID = UIA_STYLE_ID(70011u32); +pub const StyleId_Subtitle: UIA_STYLE_ID = UIA_STYLE_ID(70011i32); pub const StyleId_Subtitle_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb5d9fc17_5d6f_4420_b439_7cb19ad434e2); -pub const StyleId_Title: UIA_STYLE_ID = UIA_STYLE_ID(70010u32); +pub const StyleId_Title: UIA_STYLE_ID = UIA_STYLE_ID(70010i32); pub const StyleId_Title_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x15d8201a_ffcf_481f_b0a1_30b63be98f07); pub const Styles_ExtendedProperties_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf451cda0_ba0a_4681_b0b0_0dbdb53e58f3); pub const Styles_FillColor_Property_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63eff97a_a1c5_4b1d_84eb_b765f2edd632); @@ -15803,67 +15803,67 @@ pub const TreeTraversalOptions_Default: TreeTraversalOptions = TreeTraversalOpti pub const TreeTraversalOptions_LastToFirstOrder: TreeTraversalOptions = TreeTraversalOptions(2i32); pub const TreeTraversalOptions_PostOrder: TreeTraversalOptions = TreeTraversalOptions(1i32); pub const Tree_Control_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7561349c_d241_43f4_9908_b5f091bee611); -pub const UIA_AcceleratorKeyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30006u32); -pub const UIA_AccessKeyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30007u32); +pub const UIA_AcceleratorKeyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30006i32); +pub const UIA_AccessKeyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30007i32); pub const UIA_ActiveTextPositionChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20036i32); -pub const UIA_AfterParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40042u32); -pub const UIA_AnimationStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40000u32); -pub const UIA_AnnotationAnnotationTypeIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30113u32); -pub const UIA_AnnotationAnnotationTypeNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30114u32); -pub const UIA_AnnotationAuthorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30115u32); -pub const UIA_AnnotationDateTimePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30116u32); -pub const UIA_AnnotationObjectsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40032u32); -pub const UIA_AnnotationObjectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30156u32); -pub const UIA_AnnotationPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10023u32); -pub const UIA_AnnotationTargetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30117u32); -pub const UIA_AnnotationTypesAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40031u32); -pub const UIA_AnnotationTypesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30155u32); -pub const UIA_AppBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50040u32); -pub const UIA_AriaPropertiesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30102u32); -pub const UIA_AriaRolePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30101u32); +pub const UIA_AfterParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40042i32); +pub const UIA_AnimationStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40000i32); +pub const UIA_AnnotationAnnotationTypeIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30113i32); +pub const UIA_AnnotationAnnotationTypeNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30114i32); +pub const UIA_AnnotationAuthorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30115i32); +pub const UIA_AnnotationDateTimePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30116i32); +pub const UIA_AnnotationObjectsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40032i32); +pub const UIA_AnnotationObjectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30156i32); +pub const UIA_AnnotationPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10023i32); +pub const UIA_AnnotationTargetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30117i32); +pub const UIA_AnnotationTypesAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40031i32); +pub const UIA_AnnotationTypesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30155i32); +pub const UIA_AppBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50040i32); +pub const UIA_AriaPropertiesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30102i32); +pub const UIA_AriaRolePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30101i32); pub const UIA_AsyncContentLoadedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20006i32); pub const UIA_AutomationFocusChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20005i32); -pub const UIA_AutomationIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30011u32); +pub const UIA_AutomationIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30011i32); pub const UIA_AutomationPropertyChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20004i32); -pub const UIA_BackgroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40001u32); -pub const UIA_BeforeParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40041u32); -pub const UIA_BoundingRectanglePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30001u32); -pub const UIA_BulletStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40002u32); -pub const UIA_ButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50000u32); -pub const UIA_CalendarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50001u32); -pub const UIA_CapStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40003u32); -pub const UIA_CaretBidiModeAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40039u32); -pub const UIA_CaretPositionAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40038u32); -pub const UIA_CenterPointPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30165u32); +pub const UIA_BackgroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40001i32); +pub const UIA_BeforeParagraphSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40041i32); +pub const UIA_BoundingRectanglePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30001i32); +pub const UIA_BulletStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40002i32); +pub const UIA_ButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50000i32); +pub const UIA_CalendarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50001i32); +pub const UIA_CapStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40003i32); +pub const UIA_CaretBidiModeAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40039i32); +pub const UIA_CaretPositionAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40038i32); +pub const UIA_CenterPointPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30165i32); pub const UIA_ChangesEventId: UIA_EVENT_ID = UIA_EVENT_ID(20034i32); -pub const UIA_CheckBoxControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50002u32); -pub const UIA_ClassNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30012u32); -pub const UIA_ClickablePointPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30014u32); -pub const UIA_ComboBoxControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50003u32); -pub const UIA_ControlTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30003u32); -pub const UIA_ControllerForPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30104u32); -pub const UIA_CultureAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40004u32); -pub const UIA_CulturePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30015u32); -pub const UIA_CustomControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50025u32); -pub const UIA_CustomLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80000u32); -pub const UIA_CustomNavigationPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10033u32); -pub const UIA_DataGridControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50028u32); -pub const UIA_DataItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50029u32); -pub const UIA_DescribedByPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30105u32); -pub const UIA_DockDockPositionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30069u32); -pub const UIA_DockPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10011u32); -pub const UIA_DocumentControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50030u32); -pub const UIA_DragDropEffectPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30139u32); -pub const UIA_DragDropEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30140u32); -pub const UIA_DragGrabbedItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30144u32); -pub const UIA_DragIsGrabbedPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30138u32); -pub const UIA_DragPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10030u32); +pub const UIA_CheckBoxControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50002i32); +pub const UIA_ClassNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30012i32); +pub const UIA_ClickablePointPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30014i32); +pub const UIA_ComboBoxControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50003i32); +pub const UIA_ControlTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30003i32); +pub const UIA_ControllerForPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30104i32); +pub const UIA_CultureAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40004i32); +pub const UIA_CulturePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30015i32); +pub const UIA_CustomControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50025i32); +pub const UIA_CustomLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80000i32); +pub const UIA_CustomNavigationPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10033i32); +pub const UIA_DataGridControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50028i32); +pub const UIA_DataItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50029i32); +pub const UIA_DescribedByPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30105i32); +pub const UIA_DockDockPositionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30069i32); +pub const UIA_DockPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10011i32); +pub const UIA_DocumentControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50030i32); +pub const UIA_DragDropEffectPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30139i32); +pub const UIA_DragDropEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30140i32); +pub const UIA_DragGrabbedItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30144i32); +pub const UIA_DragIsGrabbedPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30138i32); +pub const UIA_DragPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10030i32); pub const UIA_Drag_DragCancelEventId: UIA_EVENT_ID = UIA_EVENT_ID(20027i32); pub const UIA_Drag_DragCompleteEventId: UIA_EVENT_ID = UIA_EVENT_ID(20028i32); pub const UIA_Drag_DragStartEventId: UIA_EVENT_ID = UIA_EVENT_ID(20026i32); -pub const UIA_DropTargetDropTargetEffectPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30142u32); -pub const UIA_DropTargetDropTargetEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30143u32); -pub const UIA_DropTargetPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10031u32); +pub const UIA_DropTargetDropTargetEffectPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30142i32); +pub const UIA_DropTargetDropTargetEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30143i32); +pub const UIA_DropTargetPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10031i32); pub const UIA_DropTarget_DragEnterEventId: UIA_EVENT_ID = UIA_EVENT_ID(20029i32); pub const UIA_DropTarget_DragLeaveEventId: UIA_EVENT_ID = UIA_EVENT_ID(20030i32); pub const UIA_DropTarget_DroppedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20031i32); @@ -15874,284 +15874,284 @@ pub const UIA_E_NOCLICKABLEPOINT: u32 = 2147746306u32; pub const UIA_E_NOTSUPPORTED: u32 = 2147746308u32; pub const UIA_E_PROXYASSEMBLYNOTLOADED: u32 = 2147746307u32; pub const UIA_E_TIMEOUT: u32 = 2148734213u32; -pub const UIA_EditControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50004u32); -pub const UIA_ExpandCollapseExpandCollapseStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30070u32); -pub const UIA_ExpandCollapsePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10005u32); -pub const UIA_FillColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30160u32); -pub const UIA_FillTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30162u32); -pub const UIA_FlowsFromPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30148u32); -pub const UIA_FlowsToPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30106u32); -pub const UIA_FontNameAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40005u32); -pub const UIA_FontSizeAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40006u32); -pub const UIA_FontWeightAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40007u32); -pub const UIA_ForegroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40008u32); -pub const UIA_FormLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80001u32); -pub const UIA_FrameworkIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30024u32); -pub const UIA_FullDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30159u32); -pub const UIA_GridColumnCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30063u32); -pub const UIA_GridItemColumnPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30065u32); -pub const UIA_GridItemColumnSpanPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30067u32); -pub const UIA_GridItemContainingGridPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30068u32); -pub const UIA_GridItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10007u32); -pub const UIA_GridItemRowPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30064u32); -pub const UIA_GridItemRowSpanPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30066u32); -pub const UIA_GridPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10006u32); -pub const UIA_GridRowCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30062u32); -pub const UIA_GroupControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50026u32); -pub const UIA_HasKeyboardFocusPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30008u32); -pub const UIA_HeaderControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50034u32); -pub const UIA_HeaderItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50035u32); -pub const UIA_HeadingLevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30173u32); -pub const UIA_HelpTextPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30013u32); -pub const UIA_HorizontalTextAlignmentAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40009u32); +pub const UIA_EditControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50004i32); +pub const UIA_ExpandCollapseExpandCollapseStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30070i32); +pub const UIA_ExpandCollapsePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10005i32); +pub const UIA_FillColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30160i32); +pub const UIA_FillTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30162i32); +pub const UIA_FlowsFromPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30148i32); +pub const UIA_FlowsToPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30106i32); +pub const UIA_FontNameAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40005i32); +pub const UIA_FontSizeAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40006i32); +pub const UIA_FontWeightAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40007i32); +pub const UIA_ForegroundColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40008i32); +pub const UIA_FormLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80001i32); +pub const UIA_FrameworkIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30024i32); +pub const UIA_FullDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30159i32); +pub const UIA_GridColumnCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30063i32); +pub const UIA_GridItemColumnPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30065i32); +pub const UIA_GridItemColumnSpanPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30067i32); +pub const UIA_GridItemContainingGridPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30068i32); +pub const UIA_GridItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10007i32); +pub const UIA_GridItemRowPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30064i32); +pub const UIA_GridItemRowSpanPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30066i32); +pub const UIA_GridPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10006i32); +pub const UIA_GridRowCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30062i32); +pub const UIA_GroupControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50026i32); +pub const UIA_HasKeyboardFocusPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30008i32); +pub const UIA_HeaderControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50034i32); +pub const UIA_HeaderItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50035i32); +pub const UIA_HeadingLevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30173i32); +pub const UIA_HelpTextPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30013i32); +pub const UIA_HorizontalTextAlignmentAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40009i32); pub const UIA_HostedFragmentRootsInvalidatedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20025i32); -pub const UIA_HyperlinkControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50005u32); +pub const UIA_HyperlinkControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50005i32); pub const UIA_IAFP_DEFAULT: u32 = 0u32; pub const UIA_IAFP_UNWRAP_BRIDGE: u32 = 1u32; -pub const UIA_ImageControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50006u32); -pub const UIA_IndentationFirstLineAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40010u32); -pub const UIA_IndentationLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40011u32); -pub const UIA_IndentationTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40012u32); +pub const UIA_ImageControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50006i32); +pub const UIA_IndentationFirstLineAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40010i32); +pub const UIA_IndentationLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40011i32); +pub const UIA_IndentationTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40012i32); pub const UIA_InputDiscardedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20022i32); pub const UIA_InputReachedOtherElementEventId: UIA_EVENT_ID = UIA_EVENT_ID(20021i32); pub const UIA_InputReachedTargetEventId: UIA_EVENT_ID = UIA_EVENT_ID(20020i32); -pub const UIA_InvokePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10000u32); +pub const UIA_InvokePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10000i32); pub const UIA_Invoke_InvokedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20009i32); -pub const UIA_IsActiveAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40036u32); -pub const UIA_IsAnnotationPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30118u32); -pub const UIA_IsContentElementPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30017u32); -pub const UIA_IsControlElementPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30016u32); -pub const UIA_IsCustomNavigationPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30151u32); -pub const UIA_IsDataValidForFormPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30103u32); -pub const UIA_IsDialogPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30174u32); -pub const UIA_IsDockPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30027u32); -pub const UIA_IsDragPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30137u32); -pub const UIA_IsDropTargetPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30141u32); -pub const UIA_IsEnabledPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30010u32); -pub const UIA_IsExpandCollapsePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30028u32); -pub const UIA_IsGridItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30029u32); -pub const UIA_IsGridPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30030u32); -pub const UIA_IsHiddenAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40013u32); -pub const UIA_IsInvokePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30031u32); -pub const UIA_IsItalicAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40014u32); -pub const UIA_IsItemContainerPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30108u32); -pub const UIA_IsKeyboardFocusablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30009u32); -pub const UIA_IsLegacyIAccessiblePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30090u32); -pub const UIA_IsMultipleViewPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30032u32); -pub const UIA_IsObjectModelPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30112u32); -pub const UIA_IsOffscreenPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30022u32); -pub const UIA_IsPasswordPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30019u32); -pub const UIA_IsPeripheralPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30150u32); -pub const UIA_IsRangeValuePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30033u32); -pub const UIA_IsReadOnlyAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40015u32); -pub const UIA_IsRequiredForFormPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30025u32); -pub const UIA_IsScrollItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30035u32); -pub const UIA_IsScrollPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30034u32); -pub const UIA_IsSelectionItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30036u32); -pub const UIA_IsSelectionPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30168u32); -pub const UIA_IsSelectionPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30037u32); -pub const UIA_IsSpreadsheetItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30132u32); -pub const UIA_IsSpreadsheetPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30128u32); -pub const UIA_IsStylesPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30127u32); -pub const UIA_IsSubscriptAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40016u32); -pub const UIA_IsSuperscriptAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40017u32); -pub const UIA_IsSynchronizedInputPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30110u32); -pub const UIA_IsTableItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30039u32); -pub const UIA_IsTablePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30038u32); -pub const UIA_IsTextChildPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30136u32); -pub const UIA_IsTextEditPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30149u32); -pub const UIA_IsTextPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30119u32); -pub const UIA_IsTextPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30040u32); -pub const UIA_IsTogglePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30041u32); -pub const UIA_IsTransformPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30134u32); -pub const UIA_IsTransformPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30042u32); -pub const UIA_IsValuePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30043u32); -pub const UIA_IsVirtualizedItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30109u32); -pub const UIA_IsWindowPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30044u32); -pub const UIA_ItemContainerPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10019u32); -pub const UIA_ItemStatusPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30026u32); -pub const UIA_ItemTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30021u32); -pub const UIA_LabeledByPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30018u32); -pub const UIA_LandmarkTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30157u32); +pub const UIA_IsActiveAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40036i32); +pub const UIA_IsAnnotationPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30118i32); +pub const UIA_IsContentElementPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30017i32); +pub const UIA_IsControlElementPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30016i32); +pub const UIA_IsCustomNavigationPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30151i32); +pub const UIA_IsDataValidForFormPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30103i32); +pub const UIA_IsDialogPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30174i32); +pub const UIA_IsDockPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30027i32); +pub const UIA_IsDragPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30137i32); +pub const UIA_IsDropTargetPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30141i32); +pub const UIA_IsEnabledPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30010i32); +pub const UIA_IsExpandCollapsePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30028i32); +pub const UIA_IsGridItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30029i32); +pub const UIA_IsGridPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30030i32); +pub const UIA_IsHiddenAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40013i32); +pub const UIA_IsInvokePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30031i32); +pub const UIA_IsItalicAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40014i32); +pub const UIA_IsItemContainerPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30108i32); +pub const UIA_IsKeyboardFocusablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30009i32); +pub const UIA_IsLegacyIAccessiblePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30090i32); +pub const UIA_IsMultipleViewPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30032i32); +pub const UIA_IsObjectModelPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30112i32); +pub const UIA_IsOffscreenPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30022i32); +pub const UIA_IsPasswordPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30019i32); +pub const UIA_IsPeripheralPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30150i32); +pub const UIA_IsRangeValuePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30033i32); +pub const UIA_IsReadOnlyAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40015i32); +pub const UIA_IsRequiredForFormPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30025i32); +pub const UIA_IsScrollItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30035i32); +pub const UIA_IsScrollPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30034i32); +pub const UIA_IsSelectionItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30036i32); +pub const UIA_IsSelectionPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30168i32); +pub const UIA_IsSelectionPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30037i32); +pub const UIA_IsSpreadsheetItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30132i32); +pub const UIA_IsSpreadsheetPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30128i32); +pub const UIA_IsStylesPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30127i32); +pub const UIA_IsSubscriptAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40016i32); +pub const UIA_IsSuperscriptAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40017i32); +pub const UIA_IsSynchronizedInputPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30110i32); +pub const UIA_IsTableItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30039i32); +pub const UIA_IsTablePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30038i32); +pub const UIA_IsTextChildPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30136i32); +pub const UIA_IsTextEditPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30149i32); +pub const UIA_IsTextPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30119i32); +pub const UIA_IsTextPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30040i32); +pub const UIA_IsTogglePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30041i32); +pub const UIA_IsTransformPattern2AvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30134i32); +pub const UIA_IsTransformPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30042i32); +pub const UIA_IsValuePatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30043i32); +pub const UIA_IsVirtualizedItemPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30109i32); +pub const UIA_IsWindowPatternAvailablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30044i32); +pub const UIA_ItemContainerPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10019i32); +pub const UIA_ItemStatusPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30026i32); +pub const UIA_ItemTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30021i32); +pub const UIA_LabeledByPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30018i32); +pub const UIA_LandmarkTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30157i32); pub const UIA_LayoutInvalidatedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20008i32); -pub const UIA_LegacyIAccessibleChildIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30091u32); -pub const UIA_LegacyIAccessibleDefaultActionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30100u32); -pub const UIA_LegacyIAccessibleDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30094u32); -pub const UIA_LegacyIAccessibleHelpPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30097u32); -pub const UIA_LegacyIAccessibleKeyboardShortcutPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30098u32); -pub const UIA_LegacyIAccessibleNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30092u32); -pub const UIA_LegacyIAccessiblePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10018u32); -pub const UIA_LegacyIAccessibleRolePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30095u32); -pub const UIA_LegacyIAccessibleSelectionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30099u32); -pub const UIA_LegacyIAccessibleStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30096u32); -pub const UIA_LegacyIAccessibleValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30093u32); -pub const UIA_LevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30154u32); -pub const UIA_LineSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40040u32); -pub const UIA_LinkAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40035u32); -pub const UIA_ListControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50008u32); -pub const UIA_ListItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50007u32); +pub const UIA_LegacyIAccessibleChildIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30091i32); +pub const UIA_LegacyIAccessibleDefaultActionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30100i32); +pub const UIA_LegacyIAccessibleDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30094i32); +pub const UIA_LegacyIAccessibleHelpPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30097i32); +pub const UIA_LegacyIAccessibleKeyboardShortcutPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30098i32); +pub const UIA_LegacyIAccessibleNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30092i32); +pub const UIA_LegacyIAccessiblePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10018i32); +pub const UIA_LegacyIAccessibleRolePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30095i32); +pub const UIA_LegacyIAccessibleSelectionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30099i32); +pub const UIA_LegacyIAccessibleStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30096i32); +pub const UIA_LegacyIAccessibleValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30093i32); +pub const UIA_LevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30154i32); +pub const UIA_LineSpacingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40040i32); +pub const UIA_LinkAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40035i32); +pub const UIA_ListControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50008i32); +pub const UIA_ListItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50007i32); pub const UIA_LiveRegionChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20024i32); -pub const UIA_LiveSettingPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30135u32); -pub const UIA_LocalizedControlTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30004u32); -pub const UIA_LocalizedLandmarkTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30158u32); -pub const UIA_MainLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80002u32); -pub const UIA_MarginBottomAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40018u32); -pub const UIA_MarginLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40019u32); -pub const UIA_MarginTopAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40020u32); -pub const UIA_MarginTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40021u32); -pub const UIA_MenuBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50010u32); +pub const UIA_LiveSettingPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30135i32); +pub const UIA_LocalizedControlTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30004i32); +pub const UIA_LocalizedLandmarkTypePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30158i32); +pub const UIA_MainLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80002i32); +pub const UIA_MarginBottomAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40018i32); +pub const UIA_MarginLeadingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40019i32); +pub const UIA_MarginTopAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40020i32); +pub const UIA_MarginTrailingAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40021i32); +pub const UIA_MenuBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50010i32); pub const UIA_MenuClosedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20007i32); -pub const UIA_MenuControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50009u32); -pub const UIA_MenuItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50011u32); +pub const UIA_MenuControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50009i32); +pub const UIA_MenuItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50011i32); pub const UIA_MenuModeEndEventId: UIA_EVENT_ID = UIA_EVENT_ID(20019i32); pub const UIA_MenuModeStartEventId: UIA_EVENT_ID = UIA_EVENT_ID(20018i32); pub const UIA_MenuOpenedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20003i32); -pub const UIA_MultipleViewCurrentViewPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30071u32); -pub const UIA_MultipleViewPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10008u32); -pub const UIA_MultipleViewSupportedViewsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30072u32); -pub const UIA_NamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30005u32); -pub const UIA_NativeWindowHandlePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30020u32); -pub const UIA_NavigationLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80003u32); +pub const UIA_MultipleViewCurrentViewPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30071i32); +pub const UIA_MultipleViewPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10008i32); +pub const UIA_MultipleViewSupportedViewsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30072i32); +pub const UIA_NamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30005i32); +pub const UIA_NativeWindowHandlePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30020i32); +pub const UIA_NavigationLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80003i32); pub const UIA_NotificationEventId: UIA_EVENT_ID = UIA_EVENT_ID(20035i32); -pub const UIA_ObjectModelPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10022u32); -pub const UIA_OptimizeForVisualContentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30111u32); -pub const UIA_OrientationPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30023u32); -pub const UIA_OutlineColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30161u32); -pub const UIA_OutlineStylesAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40022u32); -pub const UIA_OutlineThicknessPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30164u32); -pub const UIA_OverlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40023u32); -pub const UIA_OverlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40024u32); +pub const UIA_ObjectModelPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10022i32); +pub const UIA_OptimizeForVisualContentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30111i32); +pub const UIA_OrientationPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30023i32); +pub const UIA_OutlineColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30161i32); +pub const UIA_OutlineStylesAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40022i32); +pub const UIA_OutlineThicknessPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30164i32); +pub const UIA_OverlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40023i32); +pub const UIA_OverlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40024i32); pub const UIA_PFIA_DEFAULT: u32 = 0u32; pub const UIA_PFIA_UNWRAP_BRIDGE: u32 = 1u32; -pub const UIA_PaneControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50033u32); -pub const UIA_PositionInSetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30152u32); -pub const UIA_ProcessIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30002u32); -pub const UIA_ProgressBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50012u32); -pub const UIA_ProviderDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30107u32); -pub const UIA_RadioButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50013u32); -pub const UIA_RangeValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30048u32); -pub const UIA_RangeValueLargeChangePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30051u32); -pub const UIA_RangeValueMaximumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30050u32); -pub const UIA_RangeValueMinimumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30049u32); -pub const UIA_RangeValuePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10003u32); -pub const UIA_RangeValueSmallChangePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30052u32); -pub const UIA_RangeValueValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30047u32); -pub const UIA_RotationPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30166u32); -pub const UIA_RuntimeIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30000u32); -pub const UIA_SayAsInterpretAsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40043u32); -pub const UIA_SayAsInterpretAsMetadataId: UIA_METADATA_ID = UIA_METADATA_ID(100000u32); -pub const UIA_ScrollBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50014u32); -pub const UIA_ScrollHorizontalScrollPercentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30053u32); -pub const UIA_ScrollHorizontalViewSizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30054u32); -pub const UIA_ScrollHorizontallyScrollablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30057u32); -pub const UIA_ScrollItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10017u32); -pub const UIA_ScrollPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10004u32); +pub const UIA_PaneControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50033i32); +pub const UIA_PositionInSetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30152i32); +pub const UIA_ProcessIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30002i32); +pub const UIA_ProgressBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50012i32); +pub const UIA_ProviderDescriptionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30107i32); +pub const UIA_RadioButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50013i32); +pub const UIA_RangeValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30048i32); +pub const UIA_RangeValueLargeChangePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30051i32); +pub const UIA_RangeValueMaximumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30050i32); +pub const UIA_RangeValueMinimumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30049i32); +pub const UIA_RangeValuePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10003i32); +pub const UIA_RangeValueSmallChangePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30052i32); +pub const UIA_RangeValueValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30047i32); +pub const UIA_RotationPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30166i32); +pub const UIA_RuntimeIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30000i32); +pub const UIA_SayAsInterpretAsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40043i32); +pub const UIA_SayAsInterpretAsMetadataId: UIA_METADATA_ID = UIA_METADATA_ID(100000i32); +pub const UIA_ScrollBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50014i32); +pub const UIA_ScrollHorizontalScrollPercentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30053i32); +pub const UIA_ScrollHorizontalViewSizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30054i32); +pub const UIA_ScrollHorizontallyScrollablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30057i32); +pub const UIA_ScrollItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10017i32); +pub const UIA_ScrollPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10004i32); pub const UIA_ScrollPatternNoScroll: f64 = -1f64; -pub const UIA_ScrollVerticalScrollPercentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30055u32); -pub const UIA_ScrollVerticalViewSizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30056u32); -pub const UIA_ScrollVerticallyScrollablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30058u32); -pub const UIA_SearchLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80004u32); -pub const UIA_Selection2CurrentSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30171u32); -pub const UIA_Selection2FirstSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30169u32); -pub const UIA_Selection2ItemCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30172u32); -pub const UIA_Selection2LastSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30170u32); -pub const UIA_SelectionActiveEndAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40037u32); -pub const UIA_SelectionCanSelectMultiplePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30060u32); -pub const UIA_SelectionIsSelectionRequiredPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30061u32); -pub const UIA_SelectionItemIsSelectedPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30079u32); -pub const UIA_SelectionItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10010u32); -pub const UIA_SelectionItemSelectionContainerPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30080u32); +pub const UIA_ScrollVerticalScrollPercentPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30055i32); +pub const UIA_ScrollVerticalViewSizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30056i32); +pub const UIA_ScrollVerticallyScrollablePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30058i32); +pub const UIA_SearchLandmarkTypeId: UIA_LANDMARKTYPE_ID = UIA_LANDMARKTYPE_ID(80004i32); +pub const UIA_Selection2CurrentSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30171i32); +pub const UIA_Selection2FirstSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30169i32); +pub const UIA_Selection2ItemCountPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30172i32); +pub const UIA_Selection2LastSelectedItemPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30170i32); +pub const UIA_SelectionActiveEndAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40037i32); +pub const UIA_SelectionCanSelectMultiplePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30060i32); +pub const UIA_SelectionIsSelectionRequiredPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30061i32); +pub const UIA_SelectionItemIsSelectedPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30079i32); +pub const UIA_SelectionItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10010i32); +pub const UIA_SelectionItemSelectionContainerPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30080i32); pub const UIA_SelectionItem_ElementAddedToSelectionEventId: UIA_EVENT_ID = UIA_EVENT_ID(20010i32); pub const UIA_SelectionItem_ElementRemovedFromSelectionEventId: UIA_EVENT_ID = UIA_EVENT_ID(20011i32); pub const UIA_SelectionItem_ElementSelectedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20012i32); -pub const UIA_SelectionPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10034u32); -pub const UIA_SelectionPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10001u32); -pub const UIA_SelectionSelectionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30059u32); +pub const UIA_SelectionPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10034i32); +pub const UIA_SelectionPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10001i32); +pub const UIA_SelectionSelectionPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30059i32); pub const UIA_Selection_InvalidatedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20013i32); -pub const UIA_SemanticZoomControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50039u32); -pub const UIA_SeparatorControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50038u32); -pub const UIA_SizeOfSetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30153u32); -pub const UIA_SizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30167u32); -pub const UIA_SliderControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50015u32); -pub const UIA_SpinnerControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50016u32); -pub const UIA_SplitButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50031u32); -pub const UIA_SpreadsheetItemAnnotationObjectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30130u32); -pub const UIA_SpreadsheetItemAnnotationTypesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30131u32); -pub const UIA_SpreadsheetItemFormulaPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30129u32); -pub const UIA_SpreadsheetItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10027u32); -pub const UIA_SpreadsheetPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10026u32); -pub const UIA_StatusBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50017u32); -pub const UIA_StrikethroughColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40025u32); -pub const UIA_StrikethroughStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40026u32); +pub const UIA_SemanticZoomControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50039i32); +pub const UIA_SeparatorControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50038i32); +pub const UIA_SizeOfSetPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30153i32); +pub const UIA_SizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30167i32); +pub const UIA_SliderControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50015i32); +pub const UIA_SpinnerControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50016i32); +pub const UIA_SplitButtonControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50031i32); +pub const UIA_SpreadsheetItemAnnotationObjectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30130i32); +pub const UIA_SpreadsheetItemAnnotationTypesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30131i32); +pub const UIA_SpreadsheetItemFormulaPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30129i32); +pub const UIA_SpreadsheetItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10027i32); +pub const UIA_SpreadsheetPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10026i32); +pub const UIA_StatusBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50017i32); +pub const UIA_StrikethroughColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40025i32); +pub const UIA_StrikethroughStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40026i32); pub const UIA_StructureChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20002i32); -pub const UIA_StyleIdAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40034u32); -pub const UIA_StyleNameAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40033u32); -pub const UIA_StylesExtendedPropertiesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30126u32); -pub const UIA_StylesFillColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30122u32); -pub const UIA_StylesFillPatternColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30125u32); -pub const UIA_StylesFillPatternStylePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30123u32); -pub const UIA_StylesPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10025u32); -pub const UIA_StylesShapePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30124u32); -pub const UIA_StylesStyleIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30120u32); -pub const UIA_StylesStyleNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30121u32); -pub const UIA_SummaryChangeId: UIA_CHANGE_ID = UIA_CHANGE_ID(90000u32); -pub const UIA_SynchronizedInputPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10021u32); +pub const UIA_StyleIdAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40034i32); +pub const UIA_StyleNameAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40033i32); +pub const UIA_StylesExtendedPropertiesPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30126i32); +pub const UIA_StylesFillColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30122i32); +pub const UIA_StylesFillPatternColorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30125i32); +pub const UIA_StylesFillPatternStylePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30123i32); +pub const UIA_StylesPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10025i32); +pub const UIA_StylesShapePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30124i32); +pub const UIA_StylesStyleIdPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30120i32); +pub const UIA_StylesStyleNamePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30121i32); +pub const UIA_SummaryChangeId: UIA_CHANGE_ID = UIA_CHANGE_ID(90000i32); +pub const UIA_SynchronizedInputPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10021i32); pub const UIA_SystemAlertEventId: UIA_EVENT_ID = UIA_EVENT_ID(20023i32); -pub const UIA_TabControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50018u32); -pub const UIA_TabItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50019u32); -pub const UIA_TableColumnHeadersPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30082u32); -pub const UIA_TableControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50036u32); -pub const UIA_TableItemColumnHeaderItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30085u32); -pub const UIA_TableItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10013u32); -pub const UIA_TableItemRowHeaderItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30084u32); -pub const UIA_TablePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10012u32); -pub const UIA_TableRowHeadersPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30081u32); -pub const UIA_TableRowOrColumnMajorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30083u32); -pub const UIA_TabsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40027u32); -pub const UIA_TextChildPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10029u32); -pub const UIA_TextControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50020u32); -pub const UIA_TextEditPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10032u32); +pub const UIA_TabControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50018i32); +pub const UIA_TabItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50019i32); +pub const UIA_TableColumnHeadersPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30082i32); +pub const UIA_TableControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50036i32); +pub const UIA_TableItemColumnHeaderItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30085i32); +pub const UIA_TableItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10013i32); +pub const UIA_TableItemRowHeaderItemsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30084i32); +pub const UIA_TablePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10012i32); +pub const UIA_TableRowHeadersPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30081i32); +pub const UIA_TableRowOrColumnMajorPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30083i32); +pub const UIA_TabsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40027i32); +pub const UIA_TextChildPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10029i32); +pub const UIA_TextControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50020i32); +pub const UIA_TextEditPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10032i32); pub const UIA_TextEdit_ConversionTargetChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20033i32); pub const UIA_TextEdit_TextChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20032i32); -pub const UIA_TextFlowDirectionsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40028u32); -pub const UIA_TextPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10024u32); -pub const UIA_TextPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10014u32); +pub const UIA_TextFlowDirectionsAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40028i32); +pub const UIA_TextPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10024i32); +pub const UIA_TextPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10014i32); pub const UIA_Text_TextChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20015i32); pub const UIA_Text_TextSelectionChangedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20014i32); -pub const UIA_ThumbControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50027u32); -pub const UIA_TitleBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50037u32); -pub const UIA_TogglePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10015u32); -pub const UIA_ToggleToggleStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30086u32); -pub const UIA_ToolBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50021u32); +pub const UIA_ThumbControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50027i32); +pub const UIA_TitleBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50037i32); +pub const UIA_TogglePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10015i32); +pub const UIA_ToggleToggleStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30086i32); +pub const UIA_ToolBarControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50021i32); pub const UIA_ToolTipClosedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20001i32); -pub const UIA_ToolTipControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50022u32); +pub const UIA_ToolTipControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50022i32); pub const UIA_ToolTipOpenedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20000i32); -pub const UIA_Transform2CanZoomPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30133u32); -pub const UIA_Transform2ZoomLevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30145u32); -pub const UIA_Transform2ZoomMaximumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30147u32); -pub const UIA_Transform2ZoomMinimumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30146u32); -pub const UIA_TransformCanMovePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30087u32); -pub const UIA_TransformCanResizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30088u32); -pub const UIA_TransformCanRotatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30089u32); -pub const UIA_TransformPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10028u32); -pub const UIA_TransformPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10016u32); -pub const UIA_TreeControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50023u32); -pub const UIA_TreeItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50024u32); -pub const UIA_UnderlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40029u32); -pub const UIA_UnderlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40030u32); -pub const UIA_ValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30046u32); -pub const UIA_ValuePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10002u32); -pub const UIA_ValueValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30045u32); -pub const UIA_VirtualizedItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10020u32); -pub const UIA_VisualEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30163u32); -pub const UIA_WindowCanMaximizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30073u32); -pub const UIA_WindowCanMinimizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30074u32); -pub const UIA_WindowControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50032u32); -pub const UIA_WindowIsModalPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30077u32); -pub const UIA_WindowIsTopmostPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30078u32); -pub const UIA_WindowPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10009u32); -pub const UIA_WindowWindowInteractionStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30076u32); -pub const UIA_WindowWindowVisualStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30075u32); +pub const UIA_Transform2CanZoomPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30133i32); +pub const UIA_Transform2ZoomLevelPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30145i32); +pub const UIA_Transform2ZoomMaximumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30147i32); +pub const UIA_Transform2ZoomMinimumPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30146i32); +pub const UIA_TransformCanMovePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30087i32); +pub const UIA_TransformCanResizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30088i32); +pub const UIA_TransformCanRotatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30089i32); +pub const UIA_TransformPattern2Id: UIA_PATTERN_ID = UIA_PATTERN_ID(10028i32); +pub const UIA_TransformPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10016i32); +pub const UIA_TreeControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50023i32); +pub const UIA_TreeItemControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50024i32); +pub const UIA_UnderlineColorAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40029i32); +pub const UIA_UnderlineStyleAttributeId: UIA_TEXTATTRIBUTE_ID = UIA_TEXTATTRIBUTE_ID(40030i32); +pub const UIA_ValueIsReadOnlyPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30046i32); +pub const UIA_ValuePatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10002i32); +pub const UIA_ValueValuePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30045i32); +pub const UIA_VirtualizedItemPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10020i32); +pub const UIA_VisualEffectsPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30163i32); +pub const UIA_WindowCanMaximizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30073i32); +pub const UIA_WindowCanMinimizePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30074i32); +pub const UIA_WindowControlTypeId: UIA_CONTROLTYPE_ID = UIA_CONTROLTYPE_ID(50032i32); +pub const UIA_WindowIsModalPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30077i32); +pub const UIA_WindowIsTopmostPropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30078i32); +pub const UIA_WindowPatternId: UIA_PATTERN_ID = UIA_PATTERN_ID(10009i32); +pub const UIA_WindowWindowInteractionStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30076i32); +pub const UIA_WindowWindowVisualStatePropertyId: UIA_PROPERTY_ID = UIA_PROPERTY_ID(30075i32); pub const UIA_Window_WindowClosedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20017i32); pub const UIA_Window_WindowOpenedEventId: UIA_EVENT_ID = UIA_EVENT_ID(20016i32); pub const UIAutomationType_Array: UIAutomationType = UIAutomationType(65536i32); @@ -17553,7 +17553,7 @@ impl ::core::fmt::Debug for TreeTraversalOptions { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_ANNOTATIONTYPE(pub u32); +pub struct UIA_ANNOTATIONTYPE(pub i32); impl ::core::marker::Copy for UIA_ANNOTATIONTYPE {} impl ::core::clone::Clone for UIA_ANNOTATIONTYPE { fn clone(&self) -> Self { @@ -17575,7 +17575,7 @@ impl ::core::fmt::Debug for UIA_ANNOTATIONTYPE { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_CHANGE_ID(pub u32); +pub struct UIA_CHANGE_ID(pub i32); impl ::core::marker::Copy for UIA_CHANGE_ID {} impl ::core::clone::Clone for UIA_CHANGE_ID { fn clone(&self) -> Self { @@ -17597,7 +17597,7 @@ impl ::core::fmt::Debug for UIA_CHANGE_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_CONTROLTYPE_ID(pub u32); +pub struct UIA_CONTROLTYPE_ID(pub i32); impl ::core::marker::Copy for UIA_CONTROLTYPE_ID {} impl ::core::clone::Clone for UIA_CONTROLTYPE_ID { fn clone(&self) -> Self { @@ -17641,7 +17641,7 @@ impl ::core::fmt::Debug for UIA_EVENT_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_HEADINGLEVEL_ID(pub u32); +pub struct UIA_HEADINGLEVEL_ID(pub i32); impl ::core::marker::Copy for UIA_HEADINGLEVEL_ID {} impl ::core::clone::Clone for UIA_HEADINGLEVEL_ID { fn clone(&self) -> Self { @@ -17663,7 +17663,7 @@ impl ::core::fmt::Debug for UIA_HEADINGLEVEL_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_LANDMARKTYPE_ID(pub u32); +pub struct UIA_LANDMARKTYPE_ID(pub i32); impl ::core::marker::Copy for UIA_LANDMARKTYPE_ID {} impl ::core::clone::Clone for UIA_LANDMARKTYPE_ID { fn clone(&self) -> Self { @@ -17685,7 +17685,7 @@ impl ::core::fmt::Debug for UIA_LANDMARKTYPE_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_METADATA_ID(pub u32); +pub struct UIA_METADATA_ID(pub i32); impl ::core::marker::Copy for UIA_METADATA_ID {} impl ::core::clone::Clone for UIA_METADATA_ID { fn clone(&self) -> Self { @@ -17707,7 +17707,7 @@ impl ::core::fmt::Debug for UIA_METADATA_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_PATTERN_ID(pub u32); +pub struct UIA_PATTERN_ID(pub i32); impl ::core::marker::Copy for UIA_PATTERN_ID {} impl ::core::clone::Clone for UIA_PATTERN_ID { fn clone(&self) -> Self { @@ -17729,7 +17729,7 @@ impl ::core::fmt::Debug for UIA_PATTERN_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_PROPERTY_ID(pub u32); +pub struct UIA_PROPERTY_ID(pub i32); impl ::core::marker::Copy for UIA_PROPERTY_ID {} impl ::core::clone::Clone for UIA_PROPERTY_ID { fn clone(&self) -> Self { @@ -17751,7 +17751,7 @@ impl ::core::fmt::Debug for UIA_PROPERTY_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_STYLE_ID(pub u32); +pub struct UIA_STYLE_ID(pub i32); impl ::core::marker::Copy for UIA_STYLE_ID {} impl ::core::clone::Clone for UIA_STYLE_ID { fn clone(&self) -> Self { @@ -17773,7 +17773,7 @@ impl ::core::fmt::Debug for UIA_STYLE_ID { } #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct UIA_TEXTATTRIBUTE_ID(pub u32); +pub struct UIA_TEXTATTRIBUTE_ID(pub i32); impl ::core::marker::Copy for UIA_TEXTATTRIBUTE_ID {} impl ::core::clone::Clone for UIA_TEXTATTRIBUTE_ID { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index ee15aaa0dc..b05f86ce30 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -18472,7 +18472,7 @@ impl IShellUIHelper9_Vtbl { #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_Controls", feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] pub trait IShellView_Impl: Sized + super::super::System::Ole::IOleWindow_Impl { - fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::Result<()>; + fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::HRESULT; fn EnableModeless(&self, fenable: super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn UIActivate(&self, ustate: u32) -> ::windows_core::Result<()>; fn Refresh(&self) -> ::windows_core::Result<()>; @@ -18492,7 +18492,7 @@ impl IShellView_Vtbl { unsafe extern "system" fn TranslateAccelerator, Impl: IShellView_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); - this.TranslateAccelerator(::core::mem::transmute_copy(&pmsg)).into() + this.TranslateAccelerator(::core::mem::transmute_copy(&pmsg)) } unsafe extern "system" fn EnableModeless, Impl: IShellView_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, fenable: super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index 5cdecbec82..ee6d6721fe 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -31383,8 +31383,8 @@ impl IShellView { } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg).ok() + pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::HRESULT { + (::windows_core::Interface::vtable(self).TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -31506,8 +31506,8 @@ impl IShellView2 { } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg).ok() + pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::HRESULT { + (::windows_core::Interface::vtable(self).base__.TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] @@ -31634,8 +31634,8 @@ impl IShellView3 { } #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.base__.TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg).ok() + pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::WindowsAndMessaging::MSG) -> ::windows_core::HRESULT { + (::windows_core::Interface::vtable(self).base__.base__.TranslateAccelerator)(::windows_core::Interface::as_raw(self), pmsg) } #[doc = "Required features: `\"Win32_Foundation\"`"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a index e0bd1d2bdf..bdf060c2ca 100644 Binary files a/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a and b/crates/targets/aarch64_gnullvm/lib/libwindows.0.52.0.a differ diff --git a/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib b/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib index 88e8769f7b..56ae50c3d8 100644 Binary files a/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib and b/crates/targets/aarch64_msvc/lib/windows.0.52.0.lib differ diff --git a/crates/targets/baseline/fwpkclnt.sys.c b/crates/targets/baseline/fwpkclnt.sys.c new file mode 100644 index 0000000000..a1de3a477a --- /dev/null +++ b/crates/targets/baseline/fwpkclnt.sys.c @@ -0,0 +1,3 @@ +void __stdcall FwpmBfeStateGet0() {} +void __stdcall FwpmBfeStateSubscribeChanges0(int p0, int p1, int p2, int p3) {} +void __stdcall FwpmBfeStateUnsubscribeChanges0(int p0) {} diff --git a/crates/targets/baseline/ndis.sys.c b/crates/targets/baseline/ndis.sys.c new file mode 100644 index 0000000000..685ffb8703 --- /dev/null +++ b/crates/targets/baseline/ndis.sys.c @@ -0,0 +1,107 @@ +void __stdcall NdisAcquireReadWriteLock(int p0, int p1, int p2) {} +void __stdcall NdisAllocateMemoryWithTag(int p0, int p1, int p2) {} +void __stdcall NdisCancelTimer(int p0, int p1) {} +void __stdcall NdisClAddParty(int p0, int p1, int p2, int p3) {} +void __stdcall NdisClCloseAddressFamily(int p0) {} +void __stdcall NdisClCloseCall(int p0, int p1, int p2, int p3) {} +void __stdcall NdisClDeregisterSap(int p0) {} +void __stdcall NdisClDropParty(int p0, int p1, int p2) {} +void __stdcall NdisClGetProtocolVcContextFromTapiCallId(int p0, int p1, int p2) {} +void __stdcall NdisClIncomingCallComplete(int p0, int p1, int p2) {} +void __stdcall NdisClMakeCall(int p0, int p1, int p2, int p3) {} +void __stdcall NdisClModifyCallQoS(int p0, int p1) {} +void __stdcall NdisClRegisterSap(int p0, int p1, int p2, int p3) {} +void __stdcall NdisCloseConfiguration(int p0) {} +void __stdcall NdisCloseFile(int p0) {} +void __stdcall NdisCmActivateVc(int p0, int p1) {} +void __stdcall NdisCmAddPartyComplete(int p0, int p1, int p2, int p3) {} +void __stdcall NdisCmCloseAddressFamilyComplete(int p0, int p1) {} +void __stdcall NdisCmCloseCallComplete(int p0, int p1, int p2) {} +void __stdcall NdisCmDeactivateVc(int p0) {} +void __stdcall NdisCmDeregisterSapComplete(int p0, int p1) {} +void __stdcall NdisCmDispatchCallConnected(int p0) {} +void __stdcall NdisCmDispatchIncomingCall(int p0, int p1, int p2) {} +void __stdcall NdisCmDispatchIncomingCallQoSChange(int p0, int p1) {} +void __stdcall NdisCmDispatchIncomingCloseCall(int p0, int p1, int p2, int p3) {} +void __stdcall NdisCmDispatchIncomingDropParty(int p0, int p1, int p2, int p3) {} +void __stdcall NdisCmDropPartyComplete(int p0, int p1) {} +void __stdcall NdisCmMakeCallComplete(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisCmModifyCallQoSComplete(int p0, int p1, int p2) {} +void __stdcall NdisCmOpenAddressFamilyComplete(int p0, int p1, int p2) {} +void __stdcall NdisCmRegisterSapComplete(int p0, int p1, int p2) {} +void __stdcall NdisCoAssignInstanceName(int p0, int p1, int p2) {} +void __stdcall NdisCoCreateVc(int p0, int p1, int p2, int p3) {} +void __stdcall NdisCoDeleteVc(int p0) {} +void __stdcall NdisCoGetTapiCallId(int p0, int p1) {} +void __stdcall NdisCompleteDmaTransfer(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisCopyBuffer(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisDeregisterTdiCallBack() {} +void __stdcall NdisFreeMemory(int p0, int p1, int p2) {} +void __stdcall NdisGeneratePartialCancelId() {} +void __stdcall NdisGetCurrentProcessorCounts(int p0, int p1, int p2) {} +void __stdcall NdisGetCurrentProcessorCpuUsage(int p0) {} +void __stdcall NdisGetRoutineAddress(int p0) {} +void __stdcall NdisGetSharedDataAlignment() {} +void __stdcall NdisGetVersion() {} +void __stdcall NdisIMAssociateMiniport(int p0, int p1) {} +void __stdcall NdisIMCancelInitializeDeviceInstance(int p0, int p1) {} +void __stdcall NdisIMDeInitializeDeviceInstance(int p0) {} +void __stdcall NdisIMGetBindingContext(int p0) {} +void __stdcall NdisIMInitializeDeviceInstanceEx(int p0, int p1, int p2) {} +void __stdcall NdisInitializeEvent(int p0) {} +void __stdcall NdisInitializeReadWriteLock(int p0) {} +void __stdcall NdisInitializeString(int p0, int p1) {} +void __stdcall NdisInitializeTimer(int p0, int p1, int p2) {} +void __stdcall NdisMAllocateSharedMemory(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisMAllocateSharedMemoryAsync(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMCancelTimer(int p0, int p1) {} +void __stdcall NdisMCloseLog(int p0) {} +void __stdcall NdisMCmActivateVc(int p0, int p1) {} +void __stdcall NdisMCmCreateVc(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMCmDeactivateVc(int p0) {} +void __stdcall NdisMCmDeleteVc(int p0) {} +void __stdcall NdisMCmRegisterAddressFamily(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMCoActivateVcComplete(int p0, int p1, int p2) {} +void __stdcall NdisMCoDeactivateVcComplete(int p0, int p1) {} +void __stdcall NdisMCreateLog(int p0, int p1, int p2) {} +void __stdcall NdisMDeregisterDmaChannel(int p0) {} +void __stdcall NdisMDeregisterIoPortRange(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMFlushLog(int p0) {} +void __stdcall NdisMFreeSharedMemory(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisMGetDeviceProperty(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisMGetDmaAlignment(int p0) {} +void __stdcall NdisMInitializeTimer(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMMapIoSpace(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisMQueryAdapterInstanceName(int p0, int p1) {} +void __stdcall NdisMReadDmaCounter(int p0) {} +void __stdcall NdisMRegisterDmaChannel(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisMRegisterIoPortRange(int p0, int p1, int p2, int p3) {} +void __stdcall NdisMRemoveMiniport(int p0) {} +void __stdcall NdisMSetPeriodicTimer(int p0, int p1) {} +void __stdcall NdisMSleep(int p0) {} +void __stdcall NdisMUnmapIoSpace(int p0, int p1, int p2) {} +void __stdcall NdisMWriteLogData(int p0, int p1, int p2) {} +void __stdcall NdisMapFile(int p0, int p1, int p2) {} +void __stdcall NdisOpenConfigurationKeyByIndex(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisOpenConfigurationKeyByName(int p0, int p1, int p2, int p3) {} +void __stdcall NdisOpenFile(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisQueryAdapterInstanceName(int p0, int p1) {} +void __stdcall NdisQueryBindInstanceName(int p0, int p1) {} +void __stdcall NdisReEnumerateProtocolBindings(int p0) {} +void __stdcall NdisReadConfiguration(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisReadNetworkAddress(int p0, int p1, int p2, int p3) {} +void __stdcall NdisRegisterTdiCallBack(int p0, int p1) {} +void __stdcall NdisReleaseReadWriteLock(int p0, int p1) {} +void __stdcall NdisResetEvent(int p0) {} +void __stdcall NdisSetEvent(int p0) {} +void __stdcall NdisSetPeriodicTimer(int p0, int p1) {} +void __stdcall NdisSetTimer(int p0, int p1) {} +void __stdcall NdisSetTimerEx(int p0, int p1, int p2) {} +void __stdcall NdisSetupDmaTransfer(int p0, int p1, int p2, int p3, int p4, int p5) {} +void __stdcall NdisSystemProcessorCount() {} +void __stdcall NdisUnmapFile(int p0) {} +void __stdcall NdisUpdateSharedMemory(int p0, int p1, int p2, int p3, int p4) {} +void __stdcall NdisWaitEvent(int p0, int p1) {} +void __stdcall NdisWriteConfiguration(int p0, int p1, int p2, int p3) {} +void __cdecl NdisWriteErrorLogEntry() {} +void __stdcall NdisWriteEventLogEntry(int p0, int p1, int p2, int p3, int p4, int p5, int p6) {} diff --git a/crates/targets/baseline/vhfum.dll.c b/crates/targets/baseline/vhfum.dll.c new file mode 100644 index 0000000000..7a47c48f84 --- /dev/null +++ b/crates/targets/baseline/vhfum.dll.c @@ -0,0 +1,5 @@ +void __stdcall VhfAsyncOperationComplete(int p0, int p1) {} +void __stdcall VhfCreate(int p0, int p1) {} +void __stdcall VhfDelete(int p0, int p1) {} +void __stdcall VhfReadReportSubmit(int p0, int p1) {} +void __stdcall VhfStart(int p0) {} diff --git a/crates/targets/i686_gnu/lib/libwindows.0.52.0.a b/crates/targets/i686_gnu/lib/libwindows.0.52.0.a index 88163404ff..c3cada37d7 100644 Binary files a/crates/targets/i686_gnu/lib/libwindows.0.52.0.a and b/crates/targets/i686_gnu/lib/libwindows.0.52.0.a differ diff --git a/crates/targets/i686_msvc/lib/windows.0.52.0.lib b/crates/targets/i686_msvc/lib/windows.0.52.0.lib index d13814cdc3..92f068ab53 100644 Binary files a/crates/targets/i686_msvc/lib/windows.0.52.0.lib and b/crates/targets/i686_msvc/lib/windows.0.52.0.lib differ diff --git a/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a index 1c9a027d4b..4a39e62948 100644 Binary files a/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a and b/crates/targets/x86_64_gnu/lib/libwindows.0.52.0.a differ diff --git a/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a b/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a index 1853c1e1ee..0cde44e4a0 100644 Binary files a/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a and b/crates/targets/x86_64_gnullvm/lib/libwindows.0.52.0.a differ diff --git a/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib b/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib index 9714f5869e..8bf8c6a8f1 100644 Binary files a/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib and b/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib differ