From de5210057f926eb77a988d3d06c10a41063a25f5 Mon Sep 17 00:00:00 2001 From: Rafael Rivera Date: Wed, 20 Sep 2023 21:58:58 -0700 Subject: [PATCH] gen --- crates/libs/sys/Cargo.toml | 2 + .../Win32/Devices/BiometricFramework/mod.rs | 44 + .../DeviceAndDriverInstallation/mod.rs | 584 +- .../Windows/Win32/Devices/Properties/mod.rs | 5 + .../Win32/Devices/SerialCommunication/mod.rs | 388 + .../sys/src/Windows/Win32/Foundation/mod.rs | 182 + .../src/Windows/Win32/Globalization/mod.rs | 11 +- .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 3729 +++++ .../sys/src/Windows/Win32/Graphics/mod.rs | 2 + .../sys/src/Windows/Win32/Media/Audio/mod.rs | 12 + .../src/Windows/Win32/Media/Streaming/mod.rs | 45 + .../Win32/NetworkManagement/Dhcp/mod.rs | 5 +- .../Win32/NetworkManagement/IpHelper/mod.rs | 4 + .../Win32/NetworkManagement/Rras/mod.rs | 12 +- .../Win32/NetworkManagement/WNet/mod.rs | 104 +- .../Win32/NetworkManagement/WiFi/mod.rs | 284 +- .../WindowsFilteringPlatform/mod.rs | 20 +- .../NetworkManagement/WindowsFirewall/mod.rs | 9 + .../Win32/Networking/Clustering/mod.rs | 2 +- .../Windows/Win32/Networking/WinHttp/mod.rs | 92 + .../Windows/Win32/Networking/WinInet/mod.rs | 20 +- .../Windows/Win32/Networking/WinSock/mod.rs | 15 +- .../Windows/Win32/Security/AppLocker/mod.rs | 44 +- .../Security/Authentication/Identity/mod.rs | 57 +- .../Win32/Security/Authorization/mod.rs | 20 +- .../Windows/Win32/Security/Credentials/mod.rs | 12 +- .../Win32/Security/Cryptography/mod.rs | 158 +- .../sys/src/Windows/Win32/Security/mod.rs | 50 +- .../Windows/Win32/Storage/FileSystem/mod.rs | 19 +- .../sys/src/Windows/Win32/Storage/Jet/mod.rs | 2 +- .../sys/src/Windows/Win32/Storage/Nvme/mod.rs | 6368 ++++++++ .../libs/sys/src/Windows/Win32/Storage/mod.rs | 2 + .../mod.rs | 46 +- .../Win32/System/Diagnostics/Debug/mod.rs | 4 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 35 +- .../src/Windows/Win32/System/Memory/mod.rs | 12 +- .../Win32/System/MessageQueuing/mod.rs | 2 +- .../src/Windows/Win32/System/Registry/mod.rs | 4 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 8 +- .../Win32/System/RemoteManagement/mod.rs | 2 +- .../Win32/System/RestartManager/mod.rs | 29 +- .../src/Windows/Win32/System/Restore/mod.rs | 8 +- .../src/Windows/Win32/System/Search/mod.rs | 6 + .../src/Windows/Win32/System/Services/mod.rs | 4 +- .../src/Windows/Win32/System/Shutdown/mod.rs | 14 + .../Win32/System/SystemServices/mod.rs | 54 +- .../src/Windows/Win32/System/Threading/mod.rs | 46 + .../Win32/System/WindowsProgramming/mod.rs | 8 - .../src/Windows/Win32/UI/ColorSystem/mod.rs | 2 +- .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 14 +- .../sys/src/Windows/Win32/UI/Controls/mod.rs | 44 +- .../Win32/UI/Input/KeyboardAndMouse/mod.rs | 2 +- .../sys/src/Windows/Win32/UI/Shell/mod.rs | 110 +- .../Win32/UI/WindowsAndMessaging/mod.rs | 17 +- crates/libs/windows/Cargo.toml | 2 + .../Win32/Devices/BiometricFramework/mod.rs | 44 + .../DeviceAndDriverInstallation/mod.rs | 1730 +- .../Win32/Devices/FunctionDiscovery/mod.rs | 8 +- .../Windows/Win32/Devices/Properties/mod.rs | 26 + .../Win32/Devices/SerialCommunication/mod.rs | 693 + .../src/Windows/Win32/Foundation/mod.rs | 188 + .../src/Windows/Win32/Globalization/mod.rs | 23 +- .../Win32/Graphics/Direct2D/Common/mod.rs | 150 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 1674 +- .../Windows/Win32/Graphics/Direct3D9/mod.rs | 114 +- .../Windows/Win32/Graphics/DirectDraw/impl.rs | 20 +- .../Windows/Win32/Graphics/DirectDraw/mod.rs | 45 +- .../Windows/Win32/Graphics/Dxgi/Common/mod.rs | 256 +- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 24 +- .../Windows/Win32/Graphics/GdiPlus/impl.rs | 61 + .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 10258 ++++++++++++ .../src/Windows/Win32/Graphics/Imaging/mod.rs | 230 +- .../windows/src/Windows/Win32/Graphics/mod.rs | 2 + .../Win32/Media/Audio/DirectMusic/impl.rs | 4 +- .../Win32/Media/Audio/DirectMusic/mod.rs | 6 +- .../src/Windows/Win32/Media/Audio/impl.rs | 4 +- .../src/Windows/Win32/Media/Audio/mod.rs | 16 +- .../Windows/Win32/Media/DirectShow/impl.rs | 12 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 27 +- .../src/Windows/Win32/Media/Speech/mod.rs | 8 +- .../src/Windows/Win32/Media/Streaming/mod.rs | 45 + .../Win32/NetworkManagement/Dhcp/mod.rs | 5 +- .../Win32/NetworkManagement/IpHelper/mod.rs | 4 + .../Win32/NetworkManagement/Rras/mod.rs | 28 +- .../Win32/NetworkManagement/WNet/mod.rs | 312 +- .../Win32/NetworkManagement/WiFi/mod.rs | 634 +- .../WindowsFilteringPlatform/mod.rs | 41 +- .../NetworkManagement/WindowsFirewall/mod.rs | 45 + .../Win32/Networking/Clustering/mod.rs | 4 +- .../Windows/Win32/Networking/WinHttp/impl.rs | 249 + .../Windows/Win32/Networking/WinHttp/mod.rs | 388 + .../Windows/Win32/Networking/WinInet/mod.rs | 42 +- .../Windows/Win32/Networking/WinSock/mod.rs | 103 +- .../Windows/Win32/Security/AppLocker/mod.rs | 84 +- .../Security/Authentication/Identity/mod.rs | 86 +- .../Win32/Security/Authorization/mod.rs | 40 +- .../Windows/Win32/Security/Credentials/mod.rs | 24 +- .../Win32/Security/Cryptography/mod.rs | 226 +- .../windows/src/Windows/Win32/Security/mod.rs | 100 +- .../Windows/Win32/Storage/FileSystem/mod.rs | 34 +- .../src/Windows/Win32/Storage/Jet/mod.rs | 2 +- .../src/Windows/Win32/Storage/Nvme/mod.rs | 13317 ++++++++++++++++ .../windows/src/Windows/Win32/Storage/mod.rs | 2 + .../mod.rs | 80 +- .../src/Windows/Win32/System/Com/mod.rs | 8 +- .../Win32/System/Diagnostics/Debug/mod.rs | 6 +- .../Windows/Win32/System/GroupPolicy/impl.rs | 24 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 161 +- .../src/Windows/Win32/System/Memory/mod.rs | 68 +- .../Win32/System/MessageQueuing/mod.rs | 4 +- .../src/Windows/Win32/System/Registry/mod.rs | 8 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 16 +- .../Win32/System/RemoteManagement/mod.rs | 2 +- .../Win32/System/RestartManager/mod.rs | 86 +- .../src/Windows/Win32/System/Restore/mod.rs | 15 +- .../src/Windows/Win32/System/Search/mod.rs | 6 + .../src/Windows/Win32/System/Services/mod.rs | 8 +- .../src/Windows/Win32/System/Shutdown/mod.rs | 47 + .../Win32/System/SystemServices/mod.rs | 54 +- .../src/Windows/Win32/System/Threading/mod.rs | 81 + .../Win32/System/WindowsProgramming/mod.rs | 43 - .../src/Windows/Win32/System/Wmi/impl.rs | 84 +- .../src/Windows/Win32/System/Wmi/mod.rs | 84 +- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 4 +- .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 14 +- .../Windows/Win32/UI/Controls/RichEdit/mod.rs | 88 +- .../src/Windows/Win32/UI/Controls/mod.rs | 133 +- .../Win32/UI/Input/KeyboardAndMouse/mod.rs | 2 +- .../src/Windows/Win32/UI/Shell/impl.rs | 16 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 179 +- .../Win32/UI/WindowsAndMessaging/mod.rs | 58 +- 131 files changed, 42094 insertions(+), 3499 deletions(-) create mode 100644 crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs create mode 100644 crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs create mode 100644 crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs create mode 100644 crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs create mode 100644 crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs create mode 100644 crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs diff --git a/crates/libs/sys/Cargo.toml b/crates/libs/sys/Cargo.toml index b09cad7ef5f..f954145d9e7 100644 --- a/crates/libs/sys/Cargo.toml +++ b/crates/libs/sys/Cargo.toml @@ -66,6 +66,7 @@ Win32_Globalization = ["Win32"] Win32_Graphics = ["Win32"] Win32_Graphics_Dwm = ["Win32_Graphics"] Win32_Graphics_Gdi = ["Win32_Graphics"] +Win32_Graphics_GdiPlus = ["Win32_Graphics"] Win32_Graphics_Hlsl = ["Win32_Graphics"] Win32_Graphics_OpenGL = ["Win32_Graphics"] Win32_Graphics_Printing = ["Win32_Graphics"] @@ -143,6 +144,7 @@ Win32_Storage_IndexServer = ["Win32_Storage"] Win32_Storage_InstallableFileSystems = ["Win32_Storage"] Win32_Storage_IscsiDisc = ["Win32_Storage"] Win32_Storage_Jet = ["Win32_Storage"] +Win32_Storage_Nvme = ["Win32_Storage"] Win32_Storage_OfflineFiles = ["Win32_Storage"] Win32_Storage_OperationRecorder = ["Win32_Storage"] Win32_Storage_Packaging = ["Win32_Storage"] diff --git a/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs index a9761aec2ce..b624627e375 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -64,6 +64,36 @@ pub const GUID_DEVINTERFACE_BIOMETRIC_READER: ::windows_sys::core::GUID = ::wind #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const IOCTL_BIOMETRIC_VENDOR: u32 = 4464640u32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_BIT_PACKED: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_JPEG: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_JPEG2000: u16 = 4u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_PNG: u16 = 5u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_WSQ: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_UNCOMPRESSED: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LATENT: u16 = 7u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_CONTACTLESS: u16 = 9u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_PLAIN: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_ROLLED: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_NONLIVE_SCAN_PLAIN: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_NONLIVE_SCAN_ROLLED: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_SWIPE: u16 = 8u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_PIXELS_PER_CM: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_PIXELS_PER_INCH: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_ANTI_SPOOF_DISABLE: WINBIO_ANTI_SPOOF_POLICY_ACTION = 0i32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_ANTI_SPOOF_ENABLE: WINBIO_ANTI_SPOOF_POLICY_ACTION = 1i32; @@ -96,6 +126,20 @@ pub const WINBIO_CREDENTIAL_PASSWORD: WINBIO_CREDENTIAL_TYPE = 1i32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_CREDENTIAL_SET: WINBIO_CREDENTIAL_STATE = 2i32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_INTEGRITY: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_INTERMEDIATE: u16 = 64u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_OPTION_MASK_PRESENT: u16 = 8u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_PRIVACY: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_PROCESSED: u16 = 128u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_RAW: u16 = 32u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_SIGNED: u16 = 4u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_E_ADAPTER_INTEGRITY_FAILURE: ::windows_sys::core::HRESULT = -2146860995i32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_E_AUTO_LOGON_DISABLED: ::windows_sys::core::HRESULT = -2146860989i32; 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 50aa2c185ab..1dda2225219 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -36,8 +36,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Dup_Range_List(rlhold : usize, rlhnew : usize, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enable_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enable_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_Classes(ulclassindex : u32, classguid : *mut ::windows_sys::core::GUID, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_Classes_Ex(ulclassindex : u32, classguid : *mut ::windows_sys::core::GUID, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_Classes(ulclassindex : u32, classguid : *mut ::windows_sys::core::GUID, ulflags : CM_ENUMERATE_FLAGS) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_Classes_Ex(ulclassindex : u32, classguid : *mut ::windows_sys::core::GUID, ulflags : CM_ENUMERATE_FLAGS, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_EnumeratorsA(ulenumindex : u32, buffer : ::windows_sys::core::PSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_EnumeratorsW(ulenumindex : u32, buffer : ::windows_sys::core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Enumerate_Enumerators_ExA(ulenumindex : u32, buffer : ::windows_sys::core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); @@ -90,8 +90,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Registry_PropertyW(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Registry_Property_ExA(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Registry_Property_ExW(dndevinst : u32, ulproperty : u32, pulregdatatype : *mut u32, buffer : *mut ::core::ffi::c_void, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Status(pulstatus : *mut u32, pulproblemnumber : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Status_Ex(pulstatus : *mut u32, pulproblemnumber : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Status(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_DevNode_Status_Ex(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_IDA(dndevinst : u32, buffer : ::windows_sys::core::PSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_IDW(dndevinst : u32, buffer : ::windows_sys::core::PWSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_ID_ExA(dndevinst : u32, buffer : ::windows_sys::core::PSTR, bufferlen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); @@ -110,14 +110,14 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_AliasW(pszdeviceinterface : ::windows_sys::core::PCWSTR, aliasinterfaceguid : *const ::windows_sys::core::GUID, pszaliasdeviceinterface : ::windows_sys::core::PWSTR, pullength : *mut u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_Alias_ExA(pszdeviceinterface : ::windows_sys::core::PCSTR, aliasinterfaceguid : *const ::windows_sys::core::GUID, pszaliasdeviceinterface : ::windows_sys::core::PSTR, pullength : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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 : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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 : u32) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_List_SizeA(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_List_SizeW(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_List_Size_ExA(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_List_Size_ExW(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] 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); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Device_Interface_List_Size_ExW(pullen : *mut u32, interfaceclassguid : *const ::windows_sys::core::GUID, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); #[cfg(feature = "Win32_Devices_Properties")] ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] fn CM_Get_Device_Interface_PropertyW(pszdeviceinterface : ::windows_sys::core::PCWSTR, propertykey : *const super::Properties:: DEVPROPKEY, propertytype : *mut super::Properties:: DEVPROPTYPE, propertybuffer : *mut u8, propertybuffersize : *mut u32, ulflags : u32) -> CONFIGRET); #[cfg(feature = "Win32_Devices_Properties")] @@ -126,8 +126,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] fn CM_Get_Device_Interface_Property_KeysW(pszdeviceinterface : ::windows_sys::core::PCWSTR, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32) -> CONFIGRET); #[cfg(feature = "Win32_Devices_Properties")] ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] fn CM_Get_Device_Interface_Property_Keys_ExW(pszdeviceinterface : ::windows_sys::core::PCWSTR, propertykeyarray : *mut super::Properties:: DEVPROPKEY, propertykeycount : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_First_Log_Conf(plclogconf : *mut usize, dndevinst : u32, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_First_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_First_Log_Conf(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_First_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Global_State(pulstate : *mut u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Global_State_Ex(pulstate : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_HW_Prof_FlagsA(pdeviceid : ::windows_sys::core::PCSTR, ulhardwareprofile : u32, pulvalue : *mut u32, ulflags : u32) -> CONFIGRET); @@ -142,8 +142,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Log_Conf_Priority_Ex(lclogconf : usize, ppriority : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Log_Conf(plclogconf : *mut usize, lclogconf : usize, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Log_Conf_Ex(plclogconf : *mut usize, lclogconf : usize, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Res_Des(prdresdes : *mut usize, rdresdes : usize, forresource : u32, presourceid : *mut u32, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, forresource : u32, presourceid : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Res_Des(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Next_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Parent(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Parent_Ex(pdndevinst : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Get_Res_Des_Data(rdresdes : usize, buffer : *mut ::core::ffi::c_void, bufferlen : u32, ulflags : u32) -> CONFIGRET); @@ -167,8 +167,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn CM_Is_Version_Available(wversion : u16) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn CM_Is_Version_Available_Ex(wversion : u16, hmachine : isize) -> super::super::Foundation:: BOOL); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCSTR, ulflags : u32) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : u32) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNode_ExA(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Locate_DevNode_ExW(pdndevinst : *mut u32, pdeviceid : ::windows_sys::core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_MapCrToWin32Err(cmreturncode : CONFIGRET, defaulterr : u32) -> u32); @@ -208,8 +208,8 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Query_Arbitrator_Free_Size_Ex(pulsize : *mut u32, dndevinst : u32, resourceid : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Query_Remove_SubTree(dnancestor : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Query_Remove_SubTree_Ex(dnancestor : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Query_Resource_Conflict_List(pclconflictlist : *mut usize, dndevinst : u32, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); -::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Reenumerate_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Query_Resource_Conflict_List(pclconflictlist : *mut usize, dndevinst : u32, resourceid : CM_RESTYPE, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Reenumerate_DevNode(dndevinst : u32, ulflags : CM_REENUMERATE_FLAGS) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Reenumerate_DevNode_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Register_Device_Driver(dndevinst : u32, ulflags : u32) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Register_Device_Driver_Ex(dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); @@ -266,13 +266,13 @@ ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Unregister_Device_Interface_ExW(pszdeviceinterface : ::windows_sys::core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); ::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn CM_Unregister_Notification(notifycontext : HCMNOTIFICATION) -> CONFIGRET); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, flags : DIINSTALLDEVICE_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCWSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiInstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCWSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiRollbackDriver(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, hwndparent : super::super::Foundation:: HWND, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiRollbackDriver(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, hwndparent : super::super::Foundation:: HWND, flags : DIROLLBACKDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiShowUpdateDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -280,9 +280,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiUninstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiUninstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiUninstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiUninstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCWSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn DiUninstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_sys::core::PCWSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn InstallHinfSectionA(window : super::super::Foundation:: HWND, modulehandle : super::super::Foundation:: HINSTANCE, commandline : ::windows_sys::core::PCSTR, showcommand : i32) -> ()); #[cfg(feature = "Win32_Foundation")] @@ -330,9 +330,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupCopyErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_sys::core::PCWSTR, diskname : ::windows_sys::core::PCWSTR, pathtosource : ::windows_sys::core::PCWSTR, sourcefile : ::windows_sys::core::PCWSTR, targetpathfile : ::windows_sys::core::PCWSTR, win32errorcode : u32, style : u32, pathbuffer : ::windows_sys::core::PWSTR, pathbuffersize : u32, pathrequiredsize : *mut u32) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupCopyOEMInfA(sourceinffilename : ::windows_sys::core::PCSTR, oemsourcemedialocation : ::windows_sys::core::PCSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : u32, destinationinffilename : ::windows_sys::core::PSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupCopyOEMInfA(sourceinffilename : ::windows_sys::core::PCSTR, oemsourcemedialocation : ::windows_sys::core::PCSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_sys::core::PSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupCopyOEMInfW(sourceinffilename : ::windows_sys::core::PCWSTR, oemsourcemedialocation : ::windows_sys::core::PCWSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : u32, destinationinffilename : ::windows_sys::core::PWSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupCopyOEMInfW(sourceinffilename : ::windows_sys::core::PCWSTR, oemsourcemedialocation : ::windows_sys::core::PCWSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_sys::core::PWSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupCreateDiskSpaceListA(reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupCreateDiskSpaceListW(reserved1 : *const ::core::ffi::c_void, reserved2 : u32, flags : u32) -> *mut ::core::ffi::c_void); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupDecompressOrCopyFileA(sourcefilename : ::windows_sys::core::PCSTR, targetfilename : ::windows_sys::core::PCSTR, compressiontype : *const u32) -> u32); @@ -683,9 +683,9 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"] fn SetupGetInfDriverStoreLocationW(filename : ::windows_sys::core::PCWSTR, alternateplatforminfo : *const SP_ALTPLATFORM_INFO_V2, localename : ::windows_sys::core::PCWSTR, returnbuffer : ::windows_sys::core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupGetInfFileListA(directorypath : ::windows_sys::core::PCSTR, infstyle : u32, returnbuffer : ::windows_sys::core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupGetInfFileListA(directorypath : ::windows_sys::core::PCSTR, infstyle : INF_STYLE, returnbuffer : ::windows_sys::core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupGetInfFileListW(directorypath : ::windows_sys::core::PCWSTR, infstyle : u32, returnbuffer : ::windows_sys::core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupGetInfFileListW(directorypath : ::windows_sys::core::PCWSTR, infstyle : INF_STYLE, returnbuffer : ::windows_sys::core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupGetInfInformationA(infspec : *const ::core::ffi::c_void, searchcontrol : u32, returnbuffer : *mut SP_INF_INFORMATION, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -756,13 +756,13 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] fn SetupInstallFromInfSectionW(owner : super::super::Foundation:: HWND, infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCWSTR, flags : u32, relativekeyroot : super::super::System::Registry:: HKEY, sourcerootpath : ::windows_sys::core::PCWSTR, copyflags : u32, msghandler : PSP_FILE_CALLBACK_W, context : *const ::core::ffi::c_void, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCSTR, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionExA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCSTR, flags : u32, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionExA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionExW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCWSTR, flags : u32, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionExW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCWSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupInstallServicesFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_sys::core::PCWSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupIterateCabinetA(cabinetfile : ::windows_sys::core::PCSTR, reserved : u32, msghandler : PSP_FILE_CALLBACK_A, context : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -780,8 +780,8 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupOpenAppendInfFileW(filename : ::windows_sys::core::PCWSTR, infhandle : *const ::core::ffi::c_void, errorline : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void); -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenInfFileA(filename : ::windows_sys::core::PCSTR, infclass : ::windows_sys::core::PCSTR, infstyle : u32, errorline : *mut u32) -> *mut ::core::ffi::c_void); -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenInfFileW(filename : ::windows_sys::core::PCWSTR, infclass : ::windows_sys::core::PCWSTR, infstyle : u32, errorline : *mut u32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenInfFileA(filename : ::windows_sys::core::PCSTR, infclass : ::windows_sys::core::PCSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenInfFileW(filename : ::windows_sys::core::PCWSTR, infclass : ::windows_sys::core::PCWSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupOpenLog(erase : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupOpenMasterInf() -> *mut ::core::ffi::c_void); @@ -880,9 +880,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupRenameErrorW(hwndparent : super::super::Foundation:: HWND, dialogtitle : ::windows_sys::core::PCWSTR, sourcefile : ::windows_sys::core::PCWSTR, targetfile : ::windows_sys::core::PCWSTR, win32errorcode : u32, style : u32) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupScanFileQueueA(filequeue : *const ::core::ffi::c_void, flags : u32, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_A, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupScanFileQueueA(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_A, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupScanFileQueueW(filequeue : *const ::core::ffi::c_void, flags : u32, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_W, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupScanFileQueueW(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_W, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn SetupSetDirectoryIdA(infhandle : *const ::core::ffi::c_void, id : u32, directory : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -925,15 +925,15 @@ ::windows_targets::link!("setupapi.dll" "cdecl" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupWriteTextLogError(logtoken : u64, category : u32, logflags : u32, error : u32, messagestr : ::windows_sys::core::PCSTR, ...) -> ()); ::windows_targets::link!("setupapi.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] fn SetupWriteTextLogInfLine(logtoken : u64, flags : u32, infhandle : *const ::core::ffi::c_void, context : *const INFCONTEXT) -> ()); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn UpdateDriverForPlugAndPlayDevicesA(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_sys::core::PCSTR, fullinfpath : ::windows_sys::core::PCSTR, installflags : u32, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn UpdateDriverForPlugAndPlayDevicesA(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_sys::core::PCSTR, fullinfpath : ::windows_sys::core::PCSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn UpdateDriverForPlugAndPlayDevicesW(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_sys::core::PCWSTR, fullinfpath : ::windows_sys::core::PCWSTR, installflags : u32, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +::windows_targets::link!("newdev.dll" "system" #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] fn UpdateDriverForPlugAndPlayDevicesW(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_sys::core::PCWSTR, fullinfpath : ::windows_sys::core::PCWSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ALLOC_LOG_CONF: u32 = 2u32; +pub const ALLOC_LOG_CONF: CM_LOG_CONF = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const BASIC_LOG_CONF: u32 = 0u32; +pub const BASIC_LOG_CONF: CM_LOG_CONF = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const BOOT_LOG_CONF: u32 = 3u32; +pub const BOOT_LOG_CONF: CM_LOG_CONF = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_ADD_ID_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -947,21 +947,21 @@ pub const CM_ADD_RANGE_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_ADD_RANGE_DONOTADDIFCONFLICT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_DRIVER: u32 = 1u32; +pub const CM_CDFLAGS_DRIVER: CM_CDFLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_RESERVED: u32 = 4u32; +pub const CM_CDFLAGS_RESERVED: CM_CDFLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_ROOT_OWNED: u32 = 2u32; +pub const CM_CDFLAGS_ROOT_OWNED: CM_CDFLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_DESCRIPTION: u32 = 8u32; +pub const CM_CDMASK_DESCRIPTION: CM_CDMASK = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_DEVINST: u32 = 1u32; +pub const CM_CDMASK_DEVINST: CM_CDMASK = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_FLAGS: u32 = 4u32; +pub const CM_CDMASK_FLAGS: CM_CDMASK = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_RESDES: u32 = 2u32; +pub const CM_CDMASK_RESDES: CM_CDMASK = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_VALID: u32 = 15u32; +pub const CM_CDMASK_VALID: CM_CDMASK = 15u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_CLASS_PROPERTY_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1033,27 +1033,27 @@ pub const CM_DETECT_NEW_PROFILE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DETECT_RUN: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_DOCKDEVICE: u32 = 8u32; +pub const CM_DEVCAP_DOCKDEVICE: CM_DEVCAP = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_EJECTSUPPORTED: u32 = 2u32; +pub const CM_DEVCAP_EJECTSUPPORTED: CM_DEVCAP = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_HARDWAREDISABLED: u32 = 256u32; +pub const CM_DEVCAP_HARDWAREDISABLED: CM_DEVCAP = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_LOCKSUPPORTED: u32 = 1u32; +pub const CM_DEVCAP_LOCKSUPPORTED: CM_DEVCAP = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_NONDYNAMIC: u32 = 512u32; +pub const CM_DEVCAP_NONDYNAMIC: CM_DEVCAP = 512u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_RAWDEVICEOK: u32 = 64u32; +pub const CM_DEVCAP_RAWDEVICEOK: CM_DEVCAP = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_REMOVABLE: u32 = 4u32; +pub const CM_DEVCAP_REMOVABLE: CM_DEVCAP = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SECUREDEVICE: u32 = 1024u32; +pub const CM_DEVCAP_SECUREDEVICE: CM_DEVCAP = 1024u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SILENTINSTALL: u32 = 32u32; +pub const CM_DEVCAP_SILENTINSTALL: CM_DEVCAP = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SURPRISEREMOVALOK: u32 = 128u32; +pub const CM_DEVCAP_SURPRISEREMOVALOK: CM_DEVCAP = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_UNIQUEID: u32 = 16u32; +pub const CM_DEVCAP_UNIQUEID: CM_DEVCAP = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DEVICE_PANEL_EDGE_BOTTOM: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1189,11 +1189,11 @@ pub const CM_DRP_UNUSED2: u32 = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DRP_UPPERFILTERS: u32 = 18u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_BITS: u32 = 1u32; +pub const CM_ENUMERATE_CLASSES_BITS: CM_ENUMERATE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_INSTALLER: u32 = 0u32; +pub const CM_ENUMERATE_CLASSES_INSTALLER: CM_ENUMERATE_FLAGS = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_INTERFACE: u32 = 1u32; +pub const CM_ENUMERATE_CLASSES_INTERFACE: CM_ENUMERATE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GETIDLIST_DONOTGENERATE: u32 = 268435520u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1219,11 +1219,11 @@ pub const CM_GETIDLIST_FILTER_SERVICE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GETIDLIST_FILTER_TRANSPORTRELATIONS: u32 = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES: u32 = 1u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_BITS: u32 = 1u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_BITS: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_PRESENT: u32 = 0u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_PRESENT: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GLOBAL_STATE_CAN_DO_UI: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1243,33 +1243,23 @@ pub const CM_HWPI_NOT_DOCKABLE: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_HWPI_UNDOCKED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_FAILED_INSTALL: u32 = 2u32; +pub const CM_INSTALL_STATE_FAILED_INSTALL: CM_INSTALL_STATE = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_FINISH_INSTALL: u32 = 3u32; +pub const CM_INSTALL_STATE_FINISH_INSTALL: CM_INSTALL_STATE = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_INSTALLED: u32 = 0u32; +pub const CM_INSTALL_STATE_INSTALLED: CM_INSTALL_STATE = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_NEEDS_REINSTALL: u32 = 1u32; +pub const CM_INSTALL_STATE_NEEDS_REINSTALL: CM_INSTALL_STATE = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_BITS: u32 = 7u32; +pub const CM_LOCATE_DEVNODE_BITS: CM_LOCATE_DEVNODE_FLAGS = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_CANCELREMOVE: u32 = 2u32; +pub const CM_LOCATE_DEVNODE_CANCELREMOVE: CM_LOCATE_DEVNODE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_NORMAL: u32 = 0u32; +pub const CM_LOCATE_DEVNODE_NORMAL: CM_LOCATE_DEVNODE_FLAGS = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_NOVALIDATION: u32 = 4u32; +pub const CM_LOCATE_DEVNODE_NOVALIDATION: CM_LOCATE_DEVNODE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_PHANTOM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_BITS: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_CANCELREMOVE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_NORMAL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_NOVALIDATION: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_PHANTOM: u32 = 1u32; +pub const CM_LOCATE_DEVNODE_PHANTOM: CM_LOCATE_DEVNODE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_NAME_ATTRIBUTE_NAME_RETRIEVED_FROM_DEVICE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1315,119 +1305,119 @@ pub const CM_OPEN_CLASS_KEY_INSTALLER: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_OPEN_CLASS_KEY_INTERFACE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_BIOS_TABLE: u32 = 35u32; +pub const CM_PROB_BIOS_TABLE: CM_PROB = 35u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_BOOT_CONFIG_CONFLICT: u32 = 6u32; +pub const CM_PROB_BOOT_CONFIG_CONFLICT: CM_PROB = 6u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_CANT_SHARE_IRQ: u32 = 30u32; +pub const CM_PROB_CANT_SHARE_IRQ: CM_PROB = 30u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_CONSOLE_LOCKED: u32 = 55u32; +pub const CM_PROB_CONSOLE_LOCKED: CM_PROB = 55u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVICE_NOT_THERE: u32 = 24u32; +pub const CM_PROB_DEVICE_NOT_THERE: CM_PROB = 24u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVICE_RESET: u32 = 54u32; +pub const CM_PROB_DEVICE_RESET: CM_PROB = 54u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_FAILED: u32 = 2u32; +pub const CM_PROB_DEVLOADER_FAILED: CM_PROB = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_NOT_FOUND: u32 = 8u32; +pub const CM_PROB_DEVLOADER_NOT_FOUND: CM_PROB = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_NOT_READY: u32 = 23u32; +pub const CM_PROB_DEVLOADER_NOT_READY: CM_PROB = 23u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DISABLED: u32 = 22u32; +pub const CM_PROB_DISABLED: CM_PROB = 22u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DISABLED_SERVICE: u32 = 32u32; +pub const CM_PROB_DISABLED_SERVICE: CM_PROB = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_BLOCKED: u32 = 48u32; +pub const CM_PROB_DRIVER_BLOCKED: CM_PROB = 48u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_FAILED_LOAD: u32 = 39u32; +pub const CM_PROB_DRIVER_FAILED_LOAD: CM_PROB = 39u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD: u32 = 38u32; +pub const CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD: CM_PROB = 38u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_SERVICE_KEY_INVALID: u32 = 40u32; +pub const CM_PROB_DRIVER_SERVICE_KEY_INVALID: CM_PROB = 40u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DUPLICATE_DEVICE: u32 = 42u32; +pub const CM_PROB_DUPLICATE_DEVICE: CM_PROB = 42u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_ENTRY_IS_WRONG_TYPE: u32 = 4u32; +pub const CM_PROB_ENTRY_IS_WRONG_TYPE: CM_PROB = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_ADD: u32 = 31u32; +pub const CM_PROB_FAILED_ADD: CM_PROB = 31u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_DRIVER_ENTRY: u32 = 37u32; +pub const CM_PROB_FAILED_DRIVER_ENTRY: CM_PROB = 37u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_FILTER: u32 = 7u32; +pub const CM_PROB_FAILED_FILTER: CM_PROB = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_INSTALL: u32 = 28u32; +pub const CM_PROB_FAILED_INSTALL: CM_PROB = 28u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_POST_START: u32 = 43u32; +pub const CM_PROB_FAILED_POST_START: CM_PROB = 43u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_START: u32 = 10u32; +pub const CM_PROB_FAILED_START: CM_PROB = 10u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_GUEST_ASSIGNMENT_FAILED: u32 = 57u32; +pub const CM_PROB_GUEST_ASSIGNMENT_FAILED: CM_PROB = 57u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HALTED: u32 = 44u32; +pub const CM_PROB_HALTED: CM_PROB = 44u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HARDWARE_DISABLED: u32 = 29u32; +pub const CM_PROB_HARDWARE_DISABLED: CM_PROB = 29u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HELD_FOR_EJECT: u32 = 47u32; +pub const CM_PROB_HELD_FOR_EJECT: CM_PROB = 47u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_INVALID_DATA: u32 = 9u32; +pub const CM_PROB_INVALID_DATA: CM_PROB = 9u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_IRQ_TRANSLATION_FAILED: u32 = 36u32; +pub const CM_PROB_IRQ_TRANSLATION_FAILED: CM_PROB = 36u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LACKED_ARBITRATOR: u32 = 5u32; +pub const CM_PROB_LACKED_ARBITRATOR: CM_PROB = 5u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LEGACY_SERVICE_NO_DEVICES: u32 = 41u32; +pub const CM_PROB_LEGACY_SERVICE_NO_DEVICES: CM_PROB = 41u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LIAR: u32 = 11u32; +pub const CM_PROB_LIAR: CM_PROB = 11u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_MOVED: u32 = 25u32; +pub const CM_PROB_MOVED: CM_PROB = 25u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NEED_CLASS_CONFIG: u32 = 56u32; +pub const CM_PROB_NEED_CLASS_CONFIG: CM_PROB = 56u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NEED_RESTART: u32 = 14u32; +pub const CM_PROB_NEED_RESTART: CM_PROB = 14u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NORMAL_CONFLICT: u32 = 12u32; +pub const CM_PROB_NORMAL_CONFLICT: CM_PROB = 12u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NOT_CONFIGURED: u32 = 1u32; +pub const CM_PROB_NOT_CONFIGURED: CM_PROB = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NOT_VERIFIED: u32 = 13u32; +pub const CM_PROB_NOT_VERIFIED: CM_PROB = 13u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NO_SOFTCONFIG: u32 = 34u32; +pub const CM_PROB_NO_SOFTCONFIG: CM_PROB = 34u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NO_VALID_LOG_CONF: u32 = 27u32; +pub const CM_PROB_NO_VALID_LOG_CONF: CM_PROB = 27u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_OUT_OF_MEMORY: u32 = 3u32; +pub const CM_PROB_OUT_OF_MEMORY: CM_PROB = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_PARTIAL_LOG_CONF: u32 = 16u32; +pub const CM_PROB_PARTIAL_LOG_CONF: CM_PROB = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_PHANTOM: u32 = 45u32; +pub const CM_PROB_PHANTOM: CM_PROB = 45u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REENUMERATION: u32 = 15u32; +pub const CM_PROB_REENUMERATION: CM_PROB = 15u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REGISTRY: u32 = 19u32; +pub const CM_PROB_REGISTRY: CM_PROB = 19u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REGISTRY_TOO_LARGE: u32 = 49u32; +pub const CM_PROB_REGISTRY_TOO_LARGE: CM_PROB = 49u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REINSTALL: u32 = 18u32; +pub const CM_PROB_REINSTALL: CM_PROB = 18u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_SETPROPERTIES_FAILED: u32 = 50u32; +pub const CM_PROB_SETPROPERTIES_FAILED: CM_PROB = 50u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_SYSTEM_SHUTDOWN: u32 = 46u32; +pub const CM_PROB_SYSTEM_SHUTDOWN: CM_PROB = 46u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_TOO_EARLY: u32 = 26u32; +pub const CM_PROB_TOO_EARLY: CM_PROB = 26u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_TRANSLATION_FAILED: u32 = 33u32; +pub const CM_PROB_TRANSLATION_FAILED: CM_PROB = 33u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_UNKNOWN_RESOURCE: u32 = 17u32; +pub const CM_PROB_UNKNOWN_RESOURCE: CM_PROB = 17u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_UNSIGNED_DRIVER: u32 = 52u32; +pub const CM_PROB_UNSIGNED_DRIVER: CM_PROB = 52u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_USED_BY_DEBUGGER: u32 = 53u32; +pub const CM_PROB_USED_BY_DEBUGGER: CM_PROB = 53u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_VXDLDR: u32 = 20u32; +pub const CM_PROB_VXDLDR: CM_PROB = 20u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_WAITING_ON_DEPENDENCY: u32 = 51u32; +pub const CM_PROB_WAITING_ON_DEPENDENCY: CM_PROB = 51u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_WILL_BE_REMOVED: u32 = 21u32; +pub const CM_PROB_WILL_BE_REMOVED: CM_PROB = 21u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_QUERY_ARBITRATOR_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1439,15 +1429,15 @@ pub const CM_QUERY_REMOVE_UI_NOT_OK: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_QUERY_REMOVE_UI_OK: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_ASYNCHRONOUS: u32 = 4u32; +pub const CM_REENUMERATE_ASYNCHRONOUS: CM_REENUMERATE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_BITS: u32 = 7u32; +pub const CM_REENUMERATE_BITS: CM_REENUMERATE_FLAGS = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_NORMAL: u32 = 0u32; +pub const CM_REENUMERATE_NORMAL: CM_REENUMERATE_FLAGS = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_RETRY_INSTALLATION: u32 = 2u32; +pub const CM_REENUMERATE_RETRY_INSTALLATION: CM_REENUMERATE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_SYNCHRONOUS: u32 = 1u32; +pub const CM_REENUMERATE_SYNCHRONOUS: CM_REENUMERATE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REGISTER_DEVICE_DRIVER_BITS: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1467,11 +1457,11 @@ pub const CM_REGISTRY_SOFTWARE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REGISTRY_USER: u32 = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_NO_REMOVAL: u32 = 1u32; +pub const CM_REMOVAL_POLICY_EXPECT_NO_REMOVAL: CM_REMOVAL_POLICY = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_ORDERLY_REMOVAL: u32 = 2u32; +pub const CM_REMOVAL_POLICY_EXPECT_ORDERLY_REMOVAL: CM_REMOVAL_POLICY = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_SURPRISE_REMOVAL: u32 = 3u32; +pub const CM_REMOVAL_POLICY_EXPECT_SURPRISE_REMOVAL: CM_REMOVAL_POLICY = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REMOVE_BITS: u32 = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1835,29 +1825,33 @@ pub const DIGCF_PRESENT: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIGCF_PROFILE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_BITS: u32 = 15u32; +pub const DIIDFLAG_BITS: DIINSTALLDEVICE_FLAGS = 15u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIIDFLAG_INSTALLCOPYINFDRIVERS: DIINSTALLDEVICE_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_INSTALLCOPYINFDRIVERS: u32 = 8u32; +pub const DIIDFLAG_INSTALLNULLDRIVER: DIINSTALLDEVICE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_INSTALLNULLDRIVER: u32 = 4u32; +pub const DIIDFLAG_NOFINISHINSTALLUI: DIINSTALLDEVICE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_NOFINISHINSTALLUI: u32 = 2u32; +pub const DIIDFLAG_SHOWSEARCHUI: DIINSTALLDEVICE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_SHOWSEARCHUI: u32 = 1u32; +pub const DIIRFLAG_BITS: DIINSTALLDRIVER_FLAGS = 106u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_FORCE_INF: u32 = 2u32; +pub const DIIRFLAG_FORCE_INF: DIINSTALLDRIVER_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_HOTPATCH: u32 = 8u32; +pub const DIIRFLAG_HOTPATCH: DIINSTALLDRIVER_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_HW_USING_THE_INF: u32 = 4u32; +pub const DIIRFLAG_HW_USING_THE_INF: DIINSTALLDRIVER_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_INF_ALREADY_COPIED: u32 = 1u32; +pub const DIIRFLAG_INF_ALREADY_COPIED: DIINSTALLDRIVER_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_INSTALL_AS_SET: u32 = 64u32; +pub const DIIRFLAG_INSTALL_AS_SET: DIINSTALLDRIVER_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_NOBACKUP: u32 = 16u32; +pub const DIIRFLAG_NOBACKUP: DIINSTALLDRIVER_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_PRE_CONFIGURE_INF: u32 = 32u32; +pub const DIIRFLAG_PRE_CONFIGURE_INF: DIINSTALLDRIVER_FLAGS = 32u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIIRFLAG_SYSTEM_BITS: DIINSTALLDRIVER_FLAGS = 127u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIOCR_INSTALLER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1951,9 +1945,11 @@ pub const DIRID_VIEWERS: u32 = 21u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIRID_WINDOWS: u32 = 10u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIURFLAG_NO_REMOVE_INF: u32 = 1u32; +pub const DIURFLAG_NO_REMOVE_INF: DIUNINSTALLDRIVER_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIURFLAG_RESERVED: DIUNINSTALLDRIVER_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIURFLAG_RESERVED: u32 = 2u32; +pub const DIURFLAG_VALID: DIUNINSTALLDRIVER_FLAGS = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DI_AUTOASSIGNRES: i32 = 64i32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -2159,83 +2155,85 @@ pub const DNF_UNUSED_30: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DNF_UNUSED_31: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_APM_DRIVER: u32 = 268435456u32; +pub const DN_APM_DRIVER: CM_DEVNODE_STATUS_FLAGS = 268435456u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_APM_ENUMERATOR: u32 = 134217728u32; +pub const DN_APM_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = 134217728u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ARM_WAKEUP: u32 = 67108864u32; +pub const DN_ARM_WAKEUP: CM_DEVNODE_STATUS_FLAGS = 67108864u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_BAD_PARTIAL: u32 = 4194304u32; +pub const DN_BAD_PARTIAL: CM_DEVNODE_STATUS_FLAGS = 4194304u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_BOOT_LOG_PROB: u32 = 2147483648u32; +pub const DN_BOOT_LOG_PROB: CM_DEVNODE_STATUS_FLAGS = 2147483648u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_CHILD_WITH_INVALID_ID: u32 = 512u32; +pub const DN_CHANGEABLE_FLAGS: CM_DEVNODE_STATUS_FLAGS = 1639670464u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DEVICE_DISCONNECTED: u32 = 33554432u32; +pub const DN_CHILD_WITH_INVALID_ID: CM_DEVNODE_STATUS_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DISABLEABLE: u32 = 8192u32; +pub const DN_DEVICE_DISCONNECTED: CM_DEVNODE_STATUS_FLAGS = 33554432u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DRIVER_BLOCKED: u32 = 64u32; +pub const DN_DISABLEABLE: CM_DEVNODE_STATUS_FLAGS = 8192u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DRIVER_LOADED: u32 = 2u32; +pub const DN_DRIVER_BLOCKED: CM_DEVNODE_STATUS_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ENUM_LOADED: u32 = 4u32; +pub const DN_DRIVER_LOADED: CM_DEVNODE_STATUS_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_FILTERED: u32 = 2048u32; +pub const DN_ENUM_LOADED: CM_DEVNODE_STATUS_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HARDWARE_ENUM: u32 = 128u32; +pub const DN_FILTERED: CM_DEVNODE_STATUS_FLAGS = 2048u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HAS_MARK: u32 = 512u32; +pub const DN_HARDWARE_ENUM: CM_DEVNODE_STATUS_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HAS_PROBLEM: u32 = 1024u32; +pub const DN_HAS_MARK: CM_DEVNODE_STATUS_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_LEGACY_DRIVER: u32 = 4096u32; +pub const DN_HAS_PROBLEM: CM_DEVNODE_STATUS_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_LIAR: u32 = 256u32; +pub const DN_LEGACY_DRIVER: CM_DEVNODE_STATUS_FLAGS = 4096u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MANUAL: u32 = 16u32; +pub const DN_LIAR: CM_DEVNODE_STATUS_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MF_CHILD: u32 = 131072u32; +pub const DN_MANUAL: CM_DEVNODE_STATUS_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MF_PARENT: u32 = 65536u32; +pub const DN_MF_CHILD: CM_DEVNODE_STATUS_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MOVED: u32 = 4096u32; +pub const DN_MF_PARENT: CM_DEVNODE_STATUS_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEEDS_LOCKING: u32 = 33554432u32; +pub const DN_MOVED: CM_DEVNODE_STATUS_FLAGS = 4096u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEED_RESTART: u32 = 256u32; +pub const DN_NEEDS_LOCKING: CM_DEVNODE_STATUS_FLAGS = 33554432u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEED_TO_ENUM: u32 = 32u32; +pub const DN_NEED_RESTART: CM_DEVNODE_STATUS_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NOT_FIRST_TIME: u32 = 64u32; +pub const DN_NEED_TO_ENUM: CM_DEVNODE_STATUS_FLAGS = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NOT_FIRST_TIMEE: u32 = 524288u32; +pub const DN_NOT_FIRST_TIME: CM_DEVNODE_STATUS_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NO_SHOW_IN_DM: u32 = 1073741824u32; +pub const DN_NOT_FIRST_TIMEE: CM_DEVNODE_STATUS_FLAGS = 524288u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NT_DRIVER: u32 = 16777216u32; +pub const DN_NO_SHOW_IN_DM: CM_DEVNODE_STATUS_FLAGS = 1073741824u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NT_ENUMERATOR: u32 = 8388608u32; +pub const DN_NT_DRIVER: CM_DEVNODE_STATUS_FLAGS = 16777216u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_PRIVATE_PROBLEM: u32 = 32768u32; +pub const DN_NT_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = 8388608u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_QUERY_REMOVE_ACTIVE: u32 = 131072u32; +pub const DN_PRIVATE_PROBLEM: CM_DEVNODE_STATUS_FLAGS = 32768u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_QUERY_REMOVE_PENDING: u32 = 65536u32; +pub const DN_QUERY_REMOVE_ACTIVE: CM_DEVNODE_STATUS_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_REBAL_CANDIDATE: u32 = 2097152u32; +pub const DN_QUERY_REMOVE_PENDING: CM_DEVNODE_STATUS_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_REMOVABLE: u32 = 16384u32; +pub const DN_REBAL_CANDIDATE: CM_DEVNODE_STATUS_FLAGS = 2097152u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ROOT_ENUMERATED: u32 = 1u32; +pub const DN_REMOVABLE: CM_DEVNODE_STATUS_FLAGS = 16384u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_SILENT_INSTALL: u32 = 536870912u32; +pub const DN_ROOT_ENUMERATED: CM_DEVNODE_STATUS_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_STARTED: u32 = 8u32; +pub const DN_SILENT_INSTALL: CM_DEVNODE_STATUS_FLAGS = 536870912u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_STOP_FREE_RES: u32 = 1048576u32; +pub const DN_STARTED: CM_DEVNODE_STATUS_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_WILL_BE_REMOVED: u32 = 262144u32; +pub const DN_STOP_FREE_RES: CM_DEVNODE_STATUS_FLAGS = 1048576u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DN_WILL_BE_REMOVED: CM_DEVNODE_STATUS_FLAGS = 262144u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DPROMPT_BUFFERTOOSMALL: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -2307,7 +2305,7 @@ pub const FILE_COMPRESSION_NTCAB: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FILE_COMPRESSION_WINLZA: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const FILTERED_LOG_CONF: u32 = 1u32; +pub const FILTERED_LOG_CONF: CM_LOG_CONF = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FLG_ADDPROPERTY_AND: u32 = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -2387,7 +2385,7 @@ pub const FLG_REGSVR_DLLINSTALL: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FLG_REGSVR_DLLREGISTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const FORCED_LOG_CONF: u32 = 4u32; +pub const FORCED_LOG_CONF: CM_LOG_CONF = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const GUID_ACPI_CMOS_INTERFACE_STANDARD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3a8d0384_6505_40ca_bc39_56c15f8c5fed); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3209,25 +3207,25 @@ pub const INFSTR_SUBKEY_SOFTWARE: ::windows_sys::core::PCWSTR = ::windows_sys::c #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const INFSTR_SUBKEY_WMI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WMI"); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_DISABLE: u32 = 32u32; +pub const INF_STYLE_CACHE_DISABLE: INF_STYLE = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_ENABLE: u32 = 16u32; +pub const INF_STYLE_CACHE_ENABLE: INF_STYLE = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_IGNORE: u32 = 64u32; +pub const INF_STYLE_CACHE_IGNORE: INF_STYLE = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_NONE: SP_INF_STYLE = 0u32; +pub const INF_STYLE_NONE: INF_STYLE = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_OLDNT: SP_INF_STYLE = 1u32; +pub const INF_STYLE_OLDNT: INF_STYLE = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_WIN4: SP_INF_STYLE = 2u32; +pub const INF_STYLE_WIN4: INF_STYLE = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_BITS: u32 = 7u32; +pub const INSTALLFLAG_BITS: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_FORCE: u32 = 1u32; +pub const INSTALLFLAG_FORCE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_NONINTERACTIVE: u32 = 4u32; +pub const INSTALLFLAG_NONINTERACTIVE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_READONLY: u32 = 2u32; +pub const INSTALLFLAG_READONLY: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const IOA_Local: u32 = 255u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3385,9 +3383,9 @@ pub const NUM_CM_PROB_V9: u32 = 58u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const NUM_CR_RESULTS: CONFIGRET = 60u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const NUM_LOG_CONF: u32 = 6u32; +pub const NUM_LOG_CONF: CM_LOG_CONF = 6u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const OVERRIDE_LOG_CONF: u32 = 5u32; +pub const OVERRIDE_LOG_CONF: CM_LOG_CONF = 5u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const PCD_MAX_IO: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3427,9 +3425,9 @@ pub const PRIORITY_EQUAL_FIRST: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const PRIORITY_EQUAL_LAST: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ROLLBACK_BITS: u32 = 1u32; +pub const ROLLBACK_BITS: DIROLLBACKDRIVER_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ROLLBACK_FLAG_NO_UI: u32 = 1u32; +pub const ROLLBACK_FLAG_NO_UI: DIROLLBACKDRIVER_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const RegDisposition_Bits: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3437,39 +3435,39 @@ pub const RegDisposition_OpenAlways: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const RegDisposition_OpenExisting: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_All: u32 = 0u32; +pub const ResType_All: CM_RESTYPE = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_BusNumber: u32 = 6u32; +pub const ResType_BusNumber: CM_RESTYPE = 6u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_ClassSpecific: u32 = 65535u32; +pub const ResType_ClassSpecific: CM_RESTYPE = 65535u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Connection: u32 = 32772u32; +pub const ResType_Connection: CM_RESTYPE = 32772u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DMA: u32 = 3u32; +pub const ResType_DMA: CM_RESTYPE = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DevicePrivate: u32 = 32769u32; +pub const ResType_DevicePrivate: CM_RESTYPE = 32769u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DoNotUse: u32 = 5u32; +pub const ResType_DoNotUse: CM_RESTYPE = 5u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_IO: u32 = 2u32; +pub const ResType_IO: CM_RESTYPE = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_IRQ: u32 = 4u32; +pub const ResType_IRQ: CM_RESTYPE = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Ignored_Bit: u32 = 32768u32; +pub const ResType_Ignored_Bit: CM_RESTYPE = 32768u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MAX: u32 = 7u32; +pub const ResType_MAX: CM_RESTYPE = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Mem: u32 = 1u32; +pub const ResType_Mem: CM_RESTYPE = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MemLarge: u32 = 7u32; +pub const ResType_MemLarge: CM_RESTYPE = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MfCardConfig: u32 = 32771u32; +pub const ResType_MfCardConfig: CM_RESTYPE = 32771u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_None: u32 = 0u32; +pub const ResType_None: CM_RESTYPE = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_PcCardConfig: u32 = 32770u32; +pub const ResType_PcCardConfig: CM_RESTYPE = 32770u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Reserved: u32 = 32768u32; +pub const ResType_Reserved: CM_RESTYPE = 32768u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SCWMI_CLOBBER_SECURITY: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3745,27 +3743,27 @@ pub const SPQ_FLAG_FILES_MODIFIED: u32 = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPQ_FLAG_VALID: u32 = 15u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_ACTIVATE_DRP: u32 = 1024u32; +pub const SPQ_SCAN_ACTIVATE_DRP: SETUPSCANFILEQUEUE_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_COMPARISON: u32 = 512u32; +pub const SPQ_SCAN_FILE_COMPARISON: SETUPSCANFILEQUEUE_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_PRESENCE: u32 = 1u32; +pub const SPQ_SCAN_FILE_PRESENCE: SETUPSCANFILEQUEUE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE: u32 = 256u32; +pub const SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE: SETUPSCANFILEQUEUE_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_VALIDITY: u32 = 2u32; +pub const SPQ_SCAN_FILE_VALIDITY: SETUPSCANFILEQUEUE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_INFORM_USER: u32 = 16u32; +pub const SPQ_SCAN_INFORM_USER: SETUPSCANFILEQUEUE_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_PRUNE_COPY_QUEUE: u32 = 32u32; +pub const SPQ_SCAN_PRUNE_COPY_QUEUE: SETUPSCANFILEQUEUE_FLAGS = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_PRUNE_DELREN: u32 = 128u32; +pub const SPQ_SCAN_PRUNE_DELREN: SETUPSCANFILEQUEUE_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACK: u32 = 4u32; +pub const SPQ_SCAN_USE_CALLBACK: SETUPSCANFILEQUEUE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACKEX: u32 = 8u32; +pub const SPQ_SCAN_USE_CALLBACKEX: SETUPSCANFILEQUEUE_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACK_SIGNERINFO: u32 = 64u32; +pub const SPQ_SCAN_USE_CALLBACK_SIGNERINFO: SETUPSCANFILEQUEUE_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPRDI_FIND_DUPS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3783,41 +3781,41 @@ pub const SPREG_TIMEOUT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPREG_UNKNOWN: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_ASSOCSERVICE: u32 = 2u32; +pub const SPSVCINST_ASSOCSERVICE: SPSVCINST_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_CLOBBER_SECURITY: u32 = 1024u32; +pub const SPSVCINST_CLOBBER_SECURITY: SPSVCINST_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_DELETEEVENTLOGENTRY: u32 = 4u32; +pub const SPSVCINST_DELETEEVENTLOGENTRY: SPSVCINST_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DELAYEDAUTOSTART: u32 = 32768u32; +pub const SPSVCINST_NOCLOBBER_DELAYEDAUTOSTART: SPSVCINST_FLAGS = 32768u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DEPENDENCIES: u32 = 128u32; +pub const SPSVCINST_NOCLOBBER_DEPENDENCIES: SPSVCINST_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DESCRIPTION: u32 = 256u32; +pub const SPSVCINST_NOCLOBBER_DESCRIPTION: SPSVCINST_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DISPLAYNAME: u32 = 8u32; +pub const SPSVCINST_NOCLOBBER_DISPLAYNAME: SPSVCINST_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_ERRORCONTROL: u32 = 32u32; +pub const SPSVCINST_NOCLOBBER_ERRORCONTROL: SPSVCINST_FLAGS = 32u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_FAILUREACTIONS: u32 = 131072u32; +pub const SPSVCINST_NOCLOBBER_FAILUREACTIONS: SPSVCINST_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_LOADORDERGROUP: u32 = 64u32; +pub const SPSVCINST_NOCLOBBER_LOADORDERGROUP: SPSVCINST_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_REQUIREDPRIVILEGES: u32 = 4096u32; +pub const SPSVCINST_NOCLOBBER_REQUIREDPRIVILEGES: SPSVCINST_FLAGS = 4096u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_SERVICESIDTYPE: u32 = 16384u32; +pub const SPSVCINST_NOCLOBBER_SERVICESIDTYPE: SPSVCINST_FLAGS = 16384u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_STARTTYPE: u32 = 16u32; +pub const SPSVCINST_NOCLOBBER_STARTTYPE: SPSVCINST_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_TRIGGERS: u32 = 8192u32; +pub const SPSVCINST_NOCLOBBER_TRIGGERS: SPSVCINST_FLAGS = 8192u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_STARTSERVICE: u32 = 2048u32; +pub const SPSVCINST_STARTSERVICE: SPSVCINST_FLAGS = 2048u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_STOPSERVICE: u32 = 512u32; +pub const SPSVCINST_STOPSERVICE: SPSVCINST_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_TAGTOFRONT: u32 = 1u32; +pub const SPSVCINST_TAGTOFRONT: SPSVCINST_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_UNIQUE_NAME: u32 = 65536u32; +pub const SPSVCINST_UNIQUE_NAME: SPSVCINST_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPWPT_SELECTDEVICE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -4237,25 +4235,65 @@ pub const mPCD_MEM_WS: u32 = 768u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const mPMF_AUDIO_ENABLE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_CDFLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_CDMASK = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_DEVCAP = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_DEVNODE_STATUS_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_ENUMERATE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_GET_DEVICE_INTERFACE_LIST_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_INSTALL_STATE = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_LOCATE_DEVNODE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_LOG_CONF = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type CM_NOTIFY_ACTION = i32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type CM_NOTIFY_FILTER_TYPE = i32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_PROB = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_REENUMERATE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_REMOVAL_POLICY = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type CM_RESTYPE = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type CONFIGRET = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type DIINSTALLDEVICE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type DIINSTALLDRIVER_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type DIROLLBACKDRIVER_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type DIUNINSTALLDRIVER_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type INF_STYLE = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type OEM_SOURCE_MEDIA_TYPE = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type PNP_VETO_TYPE = i32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type SETUPSCANFILEQUEUE_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type SETUP_DI_BUILD_DRIVER_DRIVER_TYPE = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type SETUP_FILE_OPERATION = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub type SP_COPY_STYLE = u32; +pub type SPSVCINST_FLAGS = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub type SP_INF_STYLE = u32; +pub type SP_COPY_STYLE = u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub type SetupFileLogInfo = i32; +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub type UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = u32; #[repr(C, packed(1))] #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub struct BUSNUMBER_DES { @@ -4550,10 +4588,10 @@ impl ::core::clone::Clone for COINSTALLER_CONTEXT_DATA { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub struct CONFLICT_DETAILS_A { pub CD_ulSize: u32, - pub CD_ulMask: u32, + pub CD_ulMask: CM_CDMASK, pub CD_dnDevInst: u32, pub CD_rdResDes: usize, - pub CD_ulFlags: u32, + pub CD_ulFlags: CM_CDFLAGS, pub CD_szDescription: [u8; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_A {} @@ -4566,10 +4604,10 @@ impl ::core::clone::Clone for CONFLICT_DETAILS_A { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub struct CONFLICT_DETAILS_W { pub CD_ulSize: u32, - pub CD_ulMask: u32, + pub CD_ulMask: CM_CDMASK, pub CD_dnDevInst: u32, pub CD_rdResDes: usize, - pub CD_ulFlags: u32, + pub CD_ulFlags: CM_CDFLAGS, pub CD_szDescription: [u16; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_W {} @@ -6536,7 +6574,7 @@ impl ::core::clone::Clone for SP_FILE_COPY_PARAMS_W { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_INFORMATION { - pub InfStyle: SP_INF_STYLE, + pub InfStyle: INF_STYLE, pub InfCount: u32, pub VersionData: [u8; 1], } @@ -6552,7 +6590,7 @@ impl ::core::clone::Clone for SP_INF_INFORMATION { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[cfg(target_arch = "x86")] pub struct SP_INF_INFORMATION { - pub InfStyle: SP_INF_STYLE, + pub InfStyle: INF_STYLE, pub InfCount: u32, pub VersionData: [u8; 1], } diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Properties/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Properties/mod.rs index dd99f598657..3585cb2d96e 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Properties/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Properties/mod.rs @@ -393,6 +393,8 @@ pub const DEVPKEY_NAME: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GU #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROPID_FIRST_USABLE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] +pub const DEVPROP_FALSE: DEVPROP_BOOLEAN = 0u8; +#[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_MASK_TYPE: u32 = 4095u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_MASK_TYPEMOD: u32 = 61440u32; @@ -401,6 +403,8 @@ pub const DEVPROP_STORE_SYSTEM: DEVPROPSTORE = 0i32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_STORE_USER: DEVPROPSTORE = 1i32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] +pub const DEVPROP_TRUE: DEVPROP_BOOLEAN = 255u8; +#[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_TYPEMOD_ARRAY: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_TYPEMOD_LIST: u32 = 8192u32; @@ -507,3 +511,4 @@ impl ::core::clone::Clone for DEVPROPKEY { *self } } +pub type DEVPROP_BOOLEAN = u8; diff --git a/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs index 528b5165008..e0768590c3b 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs @@ -14,4 +14,392 @@ pub const CDB_REPORT_BYTES: u32 = 1u32; pub const COMDB_MAX_PORTS_ARBITRATED: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub const COMDB_MIN_PORTS_ARBITRATED: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_PortName: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 4 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_UsbProductId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 3 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_UsbVendorId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 2 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const EVEN_PARITY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_INTERNAL_SERENUM_REMOVE_SELF: u32 = 3604999u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_APPLY_DEFAULT_CONFIGURATION: u32 = 1769632u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLEAR_STATS: u32 = 1769616u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLR_DTR: u32 = 1769512u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLR_RTS: u32 = 1769524u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CONFIG_SIZE: u32 = 1769600u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_BAUD_RATE: u32 = 1769552u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_CHARS: u32 = 1769560u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_COMMCONFIG: u32 = 1769604u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_COMMSTATUS: u32 = 1769580u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_DTRRTS: u32 = 1769592u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_HANDFLOW: u32 = 1769568u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_LINE_CONTROL: u32 = 1769556u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_MODEMSTATUS: u32 = 1769576u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_MODEM_CONTROL: u32 = 1769620u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_PROPERTIES: u32 = 1769588u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_STATS: u32 = 1769612u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_TIMEOUTS: u32 = 1769504u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_WAIT_MASK: u32 = 1769536u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_IMMEDIATE_CHAR: u32 = 1769496u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS: u32 = 1769484u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE: u32 = 1769480u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE: u32 = 1769476u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS: u32 = 1769488u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_PURGE: u32 = 1769548u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_RESET_DEVICE: u32 = 1769516u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BAUD_RATE: u32 = 1769476u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BREAK_OFF: u32 = 1769492u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BREAK_ON: u32 = 1769488u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_CHARS: u32 = 1769564u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_COMMCONFIG: u32 = 1769608u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_DTR: u32 = 1769508u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_FIFO_CONTROL: u32 = 1769628u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_HANDFLOW: u32 = 1769572u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_INTERVAL_TIMER_RESOLUTION: u32 = 1769636u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_LINE_CONTROL: u32 = 1769484u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_MODEM_CONTROL: u32 = 1769624u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_QUEUE_SIZE: u32 = 1769480u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_RTS: u32 = 1769520u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_TIMEOUTS: u32 = 1769500u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_WAIT_MASK: u32 = 1769540u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_XOFF: u32 = 1769528u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_XON: u32 = 1769532u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_WAIT_ON_MASK: u32 = 1769544u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_XOFF_COUNTER: u32 = 1769584u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const MARK_PARITY: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const NO_PARITY: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const ODD_PARITY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_BREAK: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_CTS: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_DSR: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_ERR: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_EVENT1: u32 = 2048u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_EVENT2: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_PERR: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RING: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RLSD: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RX80FULL: u32 = 1024u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RXCHAR: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RXFLAG: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_TXEMPTY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_ESCAPE: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_LSR_DATA: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_LSR_NODATA: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_MST: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_RXABORT: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_RXCLEAR: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_TXABORT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_TXCLEAR: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SPACE_PARITY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BITS_1_5: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BITS_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BIT_1: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumFirstHalf: SERENUM_PORTION = 0i32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumSecondHalf: SERENUM_PORTION = 1i32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumWhole: SERENUM_PORTION = 2i32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub type SERENUM_PORTION = i32; pub type HCOMDB = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERENUM_PORT_DESC { + pub Size: u32, + pub PortHandle: *mut ::core::ffi::c_void, + pub PortAddress: i64, + pub Reserved: [u16; 1], +} +impl ::core::marker::Copy for SERENUM_PORT_DESC {} +impl ::core::clone::Clone for SERENUM_PORT_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERENUM_PORT_PARAMETERS { + pub Size: u32, + pub ReadAccessor: PSERENUM_READPORT, + pub WriteAccessor: PSERENUM_WRITEPORT, + pub SerPortAddress: *mut ::core::ffi::c_void, + pub HardwareHandle: *mut ::core::ffi::c_void, + pub Portion: SERENUM_PORTION, + pub NumberAxis: u16, + pub Reserved: [u16; 3], +} +impl ::core::marker::Copy for SERENUM_PORT_PARAMETERS {} +impl ::core::clone::Clone for SERENUM_PORT_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIALCONFIG { + pub Size: u32, + pub Version: u16, + pub SubType: u32, + pub ProvOffset: u32, + pub ProviderSize: u32, + pub ProviderData: [u16; 1], +} +impl ::core::marker::Copy for SERIALCONFIG {} +impl ::core::clone::Clone for SERIALCONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIALPERF_STATS { + pub ReceivedCount: u32, + pub TransmittedCount: u32, + pub FrameErrorCount: u32, + pub SerialOverrunErrorCount: u32, + pub BufferOverrunErrorCount: u32, + pub ParityErrorCount: u32, +} +impl ::core::marker::Copy for SERIALPERF_STATS {} +impl ::core::clone::Clone for SERIALPERF_STATS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_BASIC_SETTINGS { + pub Timeouts: SERIAL_TIMEOUTS, + pub HandFlow: SERIAL_HANDFLOW, + pub RxFifo: u32, + pub TxFifo: u32, +} +impl ::core::marker::Copy for SERIAL_BASIC_SETTINGS {} +impl ::core::clone::Clone for SERIAL_BASIC_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_BAUD_RATE { + pub BaudRate: u32, +} +impl ::core::marker::Copy for SERIAL_BAUD_RATE {} +impl ::core::clone::Clone for SERIAL_BAUD_RATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_CHARS { + pub EofChar: u8, + pub ErrorChar: u8, + pub BreakChar: u8, + pub EventChar: u8, + pub XonChar: u8, + pub XoffChar: u8, +} +impl ::core::marker::Copy for SERIAL_CHARS {} +impl ::core::clone::Clone for SERIAL_CHARS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_COMMPROP { + pub PacketLength: u16, + pub PacketVersion: u16, + pub ServiceMask: u32, + pub Reserved1: u32, + pub MaxTxQueue: u32, + pub MaxRxQueue: u32, + pub MaxBaud: u32, + pub ProvSubType: u32, + pub ProvCapabilities: u32, + pub SettableParams: u32, + pub SettableBaud: u32, + pub SettableData: u16, + pub SettableStopParity: u16, + pub CurrentTxQueue: u32, + pub CurrentRxQueue: u32, + pub ProvSpec1: u32, + pub ProvSpec2: u32, + pub ProvChar: [u16; 1], +} +impl ::core::marker::Copy for SERIAL_COMMPROP {} +impl ::core::clone::Clone for SERIAL_COMMPROP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_HANDFLOW { + pub ControlHandShake: u32, + pub FlowReplace: u32, + pub XonLimit: i32, + pub XoffLimit: i32, +} +impl ::core::marker::Copy for SERIAL_HANDFLOW {} +impl ::core::clone::Clone for SERIAL_HANDFLOW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_LINE_CONTROL { + pub StopBits: u8, + pub Parity: u8, + pub WordLength: u8, +} +impl ::core::marker::Copy for SERIAL_LINE_CONTROL {} +impl ::core::clone::Clone for SERIAL_LINE_CONTROL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_QUEUE_SIZE { + pub InSize: u32, + pub OutSize: u32, +} +impl ::core::marker::Copy for SERIAL_QUEUE_SIZE {} +impl ::core::clone::Clone for SERIAL_QUEUE_SIZE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERIAL_STATUS { + pub Errors: u32, + pub HoldReasons: u32, + pub AmountInInQueue: u32, + pub AmountInOutQueue: u32, + pub EofReceived: super::super::Foundation::BOOLEAN, + pub WaitForImmediate: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERIAL_STATUS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERIAL_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_TIMEOUTS { + pub ReadIntervalTimeout: u32, + pub ReadTotalTimeoutMultiplier: u32, + pub ReadTotalTimeoutConstant: u32, + pub WriteTotalTimeoutMultiplier: u32, + pub WriteTotalTimeoutConstant: u32, +} +impl ::core::marker::Copy for SERIAL_TIMEOUTS {} +impl ::core::clone::Clone for SERIAL_TIMEOUTS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_XOFF_COUNTER { + pub Timeout: u32, + pub Counter: i32, + pub XoffChar: u8, +} +impl ::core::marker::Copy for SERIAL_XOFF_COUNTER {} +impl ::core::clone::Clone for SERIAL_XOFF_COUNTER { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub type PSERENUM_READPORT = ::core::option::Option u8>; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub type PSERENUM_WRITEPORT = ::core::option::Option ()>; diff --git a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs index c3cdb44ed38..81970bcef2e 100644 --- a/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Foundation/mod.rs @@ -2015,6 +2015,14 @@ pub const ERROR_AUTHENTICATION_FIREWALL_FAILED: WIN32_ERROR = 1935u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTHENTICATOR_MISMATCH: u32 = 955u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_DISALLOWED: WIN32_ERROR = 3758096960u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED: WIN32_ERROR = 3758096963u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_TRUSTED_PUBLISHER: WIN32_ERROR = 3758096961u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED: WIN32_ERROR = 3758096962u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTHIP_FAILURE: WIN32_ERROR = 1469u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTH_PROTOCOL_REJECTED: u32 = 917u32; @@ -2075,6 +2083,8 @@ pub const ERROR_BAD_IMPERSONATION_LEVEL: WIN32_ERROR = 1346u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_INHERITANCE_ACL: WIN32_ERROR = 1340u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_INTERFACE_INSTALLSECT: WIN32_ERROR = 3758096925u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_LENGTH: WIN32_ERROR = 24u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_LOGON_SESSION_STATE: WIN32_ERROR = 1365u32; @@ -2101,8 +2111,12 @@ pub const ERROR_BAD_RECOVERY_POLICY: WIN32_ERROR = 6012u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_REM_ADAP: WIN32_ERROR = 60u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_SECTION_NAME_LINE: WIN32_ERROR = 3758096385u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_SERVICE_ENTRYPOINT: WIN32_ERROR = 610u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_SERVICE_INSTALLSECT: WIN32_ERROR = 3758096919u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_STACK: WIN32_ERROR = 543u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_THREADID_ADDR: WIN32_ERROR = 159u32; @@ -2235,12 +2249,16 @@ pub const ERROR_CANT_ENABLE_DENY_ONLY: WIN32_ERROR = 629u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_EVICT_ACTIVE_NODE: WIN32_ERROR = 5009u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CANT_LOAD_CLASS_ICON: WIN32_ERROR = 3758096908u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_OPEN_ANONYMOUS: WIN32_ERROR = 1347u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT: WIN32_ERROR = 6811u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_RECOVER_WITH_HANDLE_OPEN: WIN32_ERROR = 6818u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CANT_REMOVE_DEVINST: WIN32_ERROR = 3758096946u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_RESOLVE_FILENAME: WIN32_ERROR = 1921u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_TERMINATE_SELF: WIN32_ERROR = 555u32; @@ -2307,6 +2325,8 @@ pub const ERROR_CLASS_DOES_NOT_EXIST: WIN32_ERROR = 1411u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLASS_HAS_WINDOWS: WIN32_ERROR = 1412u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CLASS_MISMATCH: WIN32_ERROR = 3758096897u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLEANER_CARTRIDGE_INSTALLED: WIN32_ERROR = 4340u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLEANER_CARTRIDGE_SPENT: WIN32_ERROR = 4333u32; @@ -3015,6 +3035,14 @@ pub const ERROR_DEVICE_HARDWARE_ERROR: WIN32_ERROR = 483u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_HINT_NAME_BUFFER_TOO_SMALL: WIN32_ERROR = 355u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INSTALLER_NOT_READY: WIN32_ERROR = 3758096966u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INSTALL_BLOCKED: WIN32_ERROR = 3758096968u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INTERFACE_ACTIVE: WIN32_ERROR = 3758096923u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INTERFACE_REMOVED: WIN32_ERROR = 3758096924u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_IN_MAINTENANCE: WIN32_ERROR = 359u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_IN_USE: WIN32_ERROR = 2404u32; @@ -3039,6 +3067,16 @@ pub const ERROR_DEVICE_SUPPORT_IN_PROGRESS: WIN32_ERROR = 171u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_UNREACHABLE: WIN32_ERROR = 321u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_DATA_LOCKED: WIN32_ERROR = 3758096915u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_LIST_LOCKED: WIN32_ERROR = 3758096914u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_NOT_REGISTERED: WIN32_ERROR = 3758096904u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINSTALL_QUEUE_NONNATIVE: WIN32_ERROR = 3758096944u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINST_ALREADY_EXISTS: WIN32_ERROR = 3758096903u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEV_NOT_EXIST: WIN32_ERROR = 55u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEV_SIDELOAD_LIMIT_EXCEEDED: WIN32_ERROR = 15633u32; @@ -3117,6 +3155,18 @@ pub const ERROR_DISK_RESOURCES_EXHAUSTED: WIN32_ERROR = 314u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DISK_TOO_FRAGMENTED: WIN32_ERROR = 302u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_BAD_PATH: WIN32_ERROR = 3758096916u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_DONT_INSTALL: WIN32_ERROR = 3758096939u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_DO_DEFAULT: WIN32_ERROR = 3758096910u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_FUNCTION_OBSOLETE: WIN32_ERROR = 3758096958u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_NOFILECOPY: WIN32_ERROR = 3758096911u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_POSTPROCESSING_REQUIRED: WIN32_ERROR = 3758096934u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DLL_INIT_FAILED: WIN32_ERROR = 1114u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DLL_INIT_FAILED_LOGOFF: WIN32_ERROR = 624u32; @@ -3165,8 +3215,16 @@ pub const ERROR_DRIVER_FAILED_PRIOR_UNLOAD: WIN32_ERROR = 654u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVER_FAILED_SLEEP: WIN32_ERROR = 633u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_INSTALL_BLOCKED: WIN32_ERROR = 3758096969u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_NONNATIVE: WIN32_ERROR = 3758096948u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVER_PROCESS_TERMINATED: WIN32_ERROR = 1291u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_STORE_ADD_FAILED: WIN32_ERROR = 3758096967u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_STORE_DELETE_FAILED: WIN32_ERROR = 3758096972u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVE_LOCKED: WIN32_ERROR = 108u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVE_MEDIA_MISMATCH: WIN32_ERROR = 4303u32; @@ -3973,6 +4031,8 @@ pub const ERROR_DS_WRONG_LINKED_ATT_SYNTAX: WIN32_ERROR = 8528u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DS_WRONG_OM_OBJ_CLASS: WIN32_ERROR = 8476u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DUPLICATE_FOUND: WIN32_ERROR = 3758096898u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DUPLICATE_PRIVILEGES: WIN32_ERROR = 311u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DUPLICATE_SERVICE_NAME: WIN32_ERROR = 1078u32; @@ -4161,6 +4221,8 @@ pub const ERROR_EXE_MACHINE_TYPE_MISMATCH: WIN32_ERROR = 216u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXE_MARKED_INVALID: WIN32_ERROR = 192u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_EXPECTED_SECTION_NAME: WIN32_ERROR = 3758096384u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXPIRED_HANDLE: WIN32_ERROR = 6854u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXTENDED_ERROR: WIN32_ERROR = 1208u32; @@ -4195,6 +4257,8 @@ pub const ERROR_FILEMARK_DETECTED: WIN32_ERROR = 1101u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILENAME_EXCED_RANGE: WIN32_ERROR = 206u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_FILEQUEUE_LOCKED: WIN32_ERROR = 3758096918u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_CHECKED_OUT: WIN32_ERROR = 220u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_CORRUPT: WIN32_ERROR = 1392u32; @@ -4205,6 +4269,8 @@ pub const ERROR_FILE_EXISTS: WIN32_ERROR = 80u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_HANDLE_REVOKED: WIN32_ERROR = 806u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_FILE_HASH_NOT_IN_CATALOG: WIN32_ERROR = 3758096971u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_IDENTITY_NOT_PERSISTENT: WIN32_ERROR = 6823u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_INVALID: WIN32_ERROR = 1006u32; @@ -4367,6 +4433,8 @@ pub const ERROR_FUNCTION_NOT_CALLED: WIN32_ERROR = 1626u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GDI_HANDLE_LEAK: WIN32_ERROR = 373u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_GENERAL_SYNTAX: WIN32_ERROR = 3758096387u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GENERIC_COMMAND_FAILED: WIN32_ERROR = 14109u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GENERIC_NOT_MAPPED: WIN32_ERROR = 1360u32; @@ -5031,6 +5099,8 @@ pub const ERROR_INDOUBT_TRANSACTIONS_EXIST: WIN32_ERROR = 6827u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INFLOOP_IN_RELOC_CHAIN: WIN32_ERROR = 202u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INF_IN_USE_BY_DEVICES: WIN32_ERROR = 3758096957u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INSTALL_ALREADY_RUNNING: WIN32_ERROR = 1618u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INSTALL_CANCEL: WIN32_ERROR = 15608u32; @@ -5141,6 +5211,10 @@ pub const ERROR_INTERFACE_CONFIGURATION: u32 = 912u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_CONNECTED: u32 = 908u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INTERFACE_DEVICE_ACTIVE: WIN32_ERROR = 3758096923u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INTERFACE_DEVICE_REMOVED: WIN32_ERROR = 3758096924u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_DISABLED: u32 = 916u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_DISCONNECTED: u32 = 929u32; @@ -5187,12 +5261,18 @@ pub const ERROR_INVALID_CAP: WIN32_ERROR = 320u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CATEGORY: WIN32_ERROR = 117u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_CLASS: WIN32_ERROR = 3758096902u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_CLASS_INSTALLER: WIN32_ERROR = 3758096909u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CLEANER: WIN32_ERROR = 4310u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CLUSTER_IPV6_ADDRESS: WIN32_ERROR = 5911u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CMM: WIN32_ERROR = 2010u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_COINSTALLER: WIN32_ERROR = 3758096935u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_COLORINDEX: WIN32_ERROR = 2022u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_COLORSPACE: WIN32_ERROR = 2017u32; @@ -5213,6 +5293,8 @@ pub const ERROR_INVALID_DATATYPE: WIN32_ERROR = 1804u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DEVICE_OBJECT_PARAMETER: WIN32_ERROR = 650u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_DEVINST_NAME: WIN32_ERROR = 3758096901u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DLL: WIN32_ERROR = 1154u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DOMAINNAME: WIN32_ERROR = 1212u32; @@ -5247,6 +5329,8 @@ pub const ERROR_INVALID_FIELD: WIN32_ERROR = 1616u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FIELD_IN_PARAMETER_LIST: WIN32_ERROR = 328u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_FILTER_DRIVER: WIN32_ERROR = 3758096940u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FILTER_PROC: WIN32_ERROR = 1427u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FLAGS: WIN32_ERROR = 1004u32; @@ -5273,6 +5357,8 @@ pub const ERROR_INVALID_HOOK_FILTER: WIN32_ERROR = 1426u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_HOOK_HANDLE: WIN32_ERROR = 1404u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_HWPROFILE: WIN32_ERROR = 3758096912u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_HW_PROFILE: WIN32_ERROR = 619u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_ICON_HANDLE: WIN32_ERROR = 1414u32; @@ -5285,6 +5371,8 @@ pub const ERROR_INVALID_IMPORT_OF_NON_DLL: WIN32_ERROR = 1276u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_INDEX: WIN32_ERROR = 1413u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_INF_LOGCONFIG: WIN32_ERROR = 3758096938u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_KERNEL_INFO_VERSION: WIN32_ERROR = 340u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_KEYBOARD_HANDLE: WIN32_ERROR = 1457u32; @@ -5311,6 +5399,8 @@ pub const ERROR_INVALID_LOGON_HOURS: WIN32_ERROR = 1328u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_LOGON_TYPE: WIN32_ERROR = 1367u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_MACHINENAME: WIN32_ERROR = 3758096928u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_MEDIA: WIN32_ERROR = 4300u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_MEDIA_POOL: WIN32_ERROR = 4302u32; @@ -5385,10 +5475,16 @@ pub const ERROR_INVALID_PRIORITY: WIN32_ERROR = 1800u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_PROFILE: WIN32_ERROR = 2011u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_PROPPAGE_PROVIDER: WIN32_ERROR = 3758096932u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_QUOTA_LOWER: WIN32_ERROR = 547u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_RADIUS_RESPONSE: u32 = 939u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_REFERENCE_STRING: WIN32_ERROR = 3758096927u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_REG_PROPERTY: WIN32_ERROR = 3758096905u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_REPARSE_DATA: WIN32_ERROR = 4392u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_RUNLEVEL_SETTING: WIN32_ERROR = 15401u32; @@ -5439,6 +5535,8 @@ pub const ERROR_INVALID_SUB_AUTHORITY: WIN32_ERROR = 1335u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TABLE: WIN32_ERROR = 1628u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_TARGET: WIN32_ERROR = 3758096947u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TARGET_HANDLE: WIN32_ERROR = 114u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TASK_INDEX: WIN32_ERROR = 1551u32; @@ -5471,6 +5569,8 @@ pub const ERROR_INVALID_WINDOW_STYLE: WIN32_ERROR = 2002u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_WORKSTATION: WIN32_ERROR = 1329u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_IN_WOW64: WIN32_ERROR = 3758096949u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_IOPL_NOT_ENABLED: WIN32_ERROR = 197u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_IO_DEVICE: WIN32_ERROR = 1117u32; @@ -5825,6 +5925,8 @@ pub const ERROR_KERNEL_APC: WIN32_ERROR = 738u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KEY_DELETED: WIN32_ERROR = 1018u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_KEY_DOES_NOT_EXIST: WIN32_ERROR = 3758096900u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KEY_HAS_CHILDREN: WIN32_ERROR = 1020u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KM_DRIVER_BLOCKED: WIN32_ERROR = 1930u32; @@ -5841,6 +5943,8 @@ pub const ERROR_LIBRARY_OFFLINE: WIN32_ERROR = 4305u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LICENSE_QUOTA_EXCEEDED: WIN32_ERROR = 1395u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_LINE_NOT_FOUND: WIN32_ERROR = 3758096642u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LINUX_SUBSYSTEM_NOT_PRESENT: WIN32_ERROR = 414u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LINUX_SUBSYSTEM_UPDATE_REQUIRED: WIN32_ERROR = 444u32; @@ -5999,6 +6103,8 @@ pub const ERROR_MACHINE_LOCKED: WIN32_ERROR = 1271u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MACHINE_SCOPE_NOT_ALLOWED: WIN32_ERROR = 15666u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_MACHINE_UNAVAILABLE: WIN32_ERROR = 3758096930u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MAGAZINE_NOT_PRESENT: WIN32_ERROR = 1163u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MALFORMED_SUBSTITUTION_STRING: WIN32_ERROR = 14094u32; @@ -6349,6 +6455,10 @@ pub const ERROR_NON_DOMAIN_SID: WIN32_ERROR = 1258u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NON_MDICHILD_WINDOW: WIN32_ERROR = 1445u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NON_WINDOWS_DRIVER: WIN32_ERROR = 3758096942u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NON_WINDOWS_NT_DRIVER: WIN32_ERROR = 3758096941u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOTHING_TO_TERMINATE: WIN32_ERROR = 758u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOTIFICATION_GUID_ALREADY_DEFINED: WIN32_ERROR = 309u32; @@ -6361,6 +6471,8 @@ pub const ERROR_NOT_ALLOWED_ON_SYSTEM_FILE: WIN32_ERROR = 313u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_ALL_ASSIGNED: WIN32_ERROR = 1300u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_AN_INSTALLED_OEM_INF: WIN32_ERROR = 3758096956u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_APPCONTAINER: WIN32_ERROR = 4250u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_AUTHENTICATED: WIN32_ERROR = 1244u32; @@ -6387,6 +6499,8 @@ pub const ERROR_NOT_CONTAINER: WIN32_ERROR = 1207u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_DAX_MAPPABLE: WIN32_ERROR = 421u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_DISABLEABLE: WIN32_ERROR = 3758096945u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_DOS_DISK: WIN32_ERROR = 26u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_EMPTY: WIN32_ERROR = 4307u32; @@ -6403,6 +6517,8 @@ pub const ERROR_NOT_FOUND: WIN32_ERROR = 1168u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_GUI_PROCESS: WIN32_ERROR = 1471u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_INSTALLED: WIN32_ERROR = 3758100480u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_JOINED: WIN32_ERROR = 136u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_LOCKED: WIN32_ERROR = 158u32; @@ -6479,20 +6595,48 @@ pub const ERROR_NO_ADMIN_ACCESS_POINT: WIN32_ERROR = 5090u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_APPLICABLE_APP_LICENSES_FOUND: ::windows_sys::core::HRESULT = -1058406399i32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_ASSOCIATED_CLASS: WIN32_ERROR = 3758096896u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_ASSOCIATED_SERVICE: WIN32_ERROR = 3758096921u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_ASSOCIATION: WIN32_ERROR = 1155u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_AUTHENTICODE_CATALOG: WIN32_ERROR = 3758096959u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_AUTH_PROTOCOL_AVAILABLE: u32 = 918u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_BACKUP: WIN32_ERROR = 3758096643u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_BROWSER_SERVERS_FOUND: WIN32_ERROR = 6118u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_BYPASSIO_DRIVER_SUPPORT: WIN32_ERROR = 494u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_CALLBACK_ACTIVE: WIN32_ERROR = 614u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CATALOG_FOR_OEM_INF: WIN32_ERROR = 3758096943u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CLASSINSTALL_PARAMS: WIN32_ERROR = 3758096917u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CLASS_DRIVER_LIST: WIN32_ERROR = 3758096920u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_COMPAT_DRIVERS: WIN32_ERROR = 3758096936u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CONFIGMGR_SERVICES: WIN32_ERROR = 3758096931u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_DATA: WIN32_ERROR = 232u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_DATA_DETECTED: WIN32_ERROR = 1104u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEFAULT_DEVICE_INTERFACE: WIN32_ERROR = 3758096922u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEFAULT_INTERFACE_DEVICE: WIN32_ERROR = 3758096922u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEVICE_ICON: WIN32_ERROR = 3758096937u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEVICE_SELECTED: WIN32_ERROR = 3758096913u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DRIVER_SELECTED: WIN32_ERROR = 3758096899u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_EFS: WIN32_ERROR = 6004u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_EVENT_PAIR: WIN32_ERROR = 580u32; @@ -6501,6 +6645,8 @@ pub const ERROR_NO_GUID_TRANSLATION: WIN32_ERROR = 560u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_IMPERSONATION_TOKEN: WIN32_ERROR = 1309u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_INF: WIN32_ERROR = 3758096906u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_INHERITANCE: WIN32_ERROR = 1391u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_INTERFACE_CREDENTIALS_SET: u32 = 909u32; @@ -6575,12 +6721,20 @@ pub const ERROR_NO_SUCH_ALIAS: WIN32_ERROR = 1376u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_DEVICE: WIN32_ERROR = 433u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_DEVICE_INTERFACE: WIN32_ERROR = 3758096933u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_DEVINST: WIN32_ERROR = 3758096907u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_DOMAIN: WIN32_ERROR = 1355u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_GROUP: WIN32_ERROR = 1319u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_INTERFACE: u32 = 905u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_INTERFACE_CLASS: WIN32_ERROR = 3758096926u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_INTERFACE_DEVICE: WIN32_ERROR = 3758096933u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_LOGON_SESSION: WIN32_ERROR = 1312u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_MEMBER: WIN32_ERROR = 1387u32; @@ -6663,6 +6817,8 @@ pub const ERROR_OLD_WIN_VERSION: WIN32_ERROR = 1150u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_ONLY_IF_CONNECTED: WIN32_ERROR = 1251u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE: WIN32_ERROR = 3758096965u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_OPEN_FAILED: WIN32_ERROR = 110u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_OPEN_FILES: WIN32_ERROR = 2401u32; @@ -6829,6 +6985,8 @@ pub const ERROR_PNP_QUERY_REMOVE_UNRELATED_DEVICE_TIMEOUT: WIN32_ERROR = 482u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_REBOOT_REQUIRED: WIN32_ERROR = 638u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_PNP_REGISTRY_ERROR: WIN32_ERROR = 3758096954u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_RESTART_ENUMERATION: WIN32_ERROR = 636u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_TRANSLATION_FAILED: WIN32_ERROR = 672u32; @@ -7051,6 +7209,8 @@ pub const ERROR_REMOTE_ACCT_DISABLED: u32 = 922u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_AUTHENTICATION_FAILURE: u32 = 924u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_REMOTE_COMM_FAILURE: WIN32_ERROR = 3758096929u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_FILE_VERSION_MISMATCH: WIN32_ERROR = 6814u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_NO_DIALIN_PERMISSION: u32 = 920u32; @@ -7059,6 +7219,8 @@ pub const ERROR_REMOTE_PASSWD_EXPIRED: u32 = 921u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED: WIN32_ERROR = 1936u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_REMOTE_REQUEST_UNSUPPORTED: WIN32_ERROR = 3758096955u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_RESTRICTED_LOGON_HOURS: u32 = 923u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_SESSION_LIMIT_EXCEEDED: WIN32_ERROR = 1220u32; @@ -7211,6 +7373,8 @@ pub const ERROR_SAME_DRIVE: WIN32_ERROR = 143u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SAM_INIT_FAILURE: WIN32_ERROR = 8541u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SCE_DISABLED: WIN32_ERROR = 3758096952u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SCOPE_NOT_FOUND: WIN32_ERROR = 318u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SCREEN_ALREADY_LOCKED: WIN32_ERROR = 1440u32; @@ -7225,6 +7389,10 @@ pub const ERROR_SECRET_TOO_LONG: WIN32_ERROR = 1382u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECTION_DIRECT_MAP_ONLY: WIN32_ERROR = 819u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SECTION_NAME_TOO_LONG: WIN32_ERROR = 3758096386u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SECTION_NOT_FOUND: WIN32_ERROR = 3758096641u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECTOR_NOT_FOUND: WIN32_ERROR = 27u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECUREBOOT_FILE_REPLACED: WIN32_ERROR = 4426u32; @@ -7357,6 +7525,8 @@ pub const ERROR_SET_POWER_STATE_FAILED: WIN32_ERROR = 1141u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SET_POWER_STATE_VETOED: WIN32_ERROR = 1140u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SET_SYSTEM_RESTORE_POINT: WIN32_ERROR = 3758096950u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SHARED_POLICY: WIN32_ERROR = 8218u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SHARING_BUFFER_EXCEEDED: WIN32_ERROR = 36u32; @@ -7381,6 +7551,8 @@ pub const ERROR_SIGNAL_PENDING: WIN32_ERROR = 162u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SIGNAL_REFUSED: WIN32_ERROR = 156u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH: WIN32_ERROR = 3758096964u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SIGNED_PACKAGE_INVALID_PUBLISHER_NAMESPACE: WIN32_ERROR = 15661u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SINGLETON_RESOURCE_INSTALLED_IN_ACTIVE_USER: WIN32_ERROR = 15653u32; @@ -8079,6 +8251,8 @@ pub const ERROR_UNIDENTIFIED_ERROR: WIN32_ERROR = 1287u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_COMPONENT: WIN32_ERROR = 1607u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_UNKNOWN_EXCEPTION: WIN32_ERROR = 3758096953u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_FEATURE: WIN32_ERROR = 1606u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_PATCH: WIN32_ERROR = 1647u32; @@ -8105,6 +8279,8 @@ pub const ERROR_UNRECOGNIZED_MEDIA: WIN32_ERROR = 1785u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNRECOGNIZED_VOLUME: WIN32_ERROR = 1005u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_UNRECOVERABLE_STACK_OVERFLOW: WIN32_ERROR = 3758097152u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNSATISFIED_DEPENDENCIES: WIN32_ERROR = 441u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNSIGNED_PACKAGE_INVALID_CONTENT: WIN32_ERROR = 15659u32; @@ -8691,6 +8867,10 @@ pub const ERROR_WRONG_DISK: WIN32_ERROR = 34u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_EFS: WIN32_ERROR = 6005u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_WRONG_INF_STYLE: WIN32_ERROR = 3758096640u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_WRONG_INF_TYPE: WIN32_ERROR = 3758096970u32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_PASSWORD: WIN32_ERROR = 1323u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_TARGET_NAME: WIN32_ERROR = 1396u32; @@ -8791,6 +8971,8 @@ pub const EXCEPTION_PRIV_INSTRUCTION: NTSTATUS = -1073741674i32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const EXCEPTION_SINGLE_STEP: NTSTATUS = -2147483644i32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW: NTSTATUS = -536870144i32; +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const EXCEPTION_STACK_OVERFLOW: NTSTATUS = -1073741571i32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const E_ABORT: ::windows_sys::core::HRESULT = -2147467260i32; diff --git a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs index ec53192994f..dc07546dd42 100644 --- a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs @@ -92,9 +92,9 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] fn GetFileMUIInfo(dwflags : u32, pcwszfilepath : ::windows_sys::core::PCWSTR, pfilemuiinfo : *mut FILEMUIINFO, pcbfilemuiinfo : *mut u32) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] fn GetFileMUIPath(dwflags : u32, pcwszfilepath : ::windows_sys::core::PCWSTR, pwszlanguage : ::windows_sys::core::PWSTR, pcchlanguage : *mut u32, pwszfilemuipath : ::windows_sys::core::PWSTR, pcchfilemuipath : *mut u32, pululenumerator : *mut u64) -> super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoA(location : i32, geotype : u32, lpgeodata : ::windows_sys::core::PSTR, cchdata : i32, langid : u16) -> i32); -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoEx(location : ::windows_sys::core::PCWSTR, geotype : u32, geodata : ::windows_sys::core::PWSTR, geodatacount : i32) -> i32); -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoW(location : i32, geotype : u32, lpgeodata : ::windows_sys::core::PWSTR, cchdata : i32, langid : u16) -> i32); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoA(location : i32, geotype : SYSGEOTYPE, lpgeodata : ::windows_sys::core::PSTR, cchdata : i32, langid : u16) -> i32); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoEx(location : ::windows_sys::core::PCWSTR, geotype : SYSGEOTYPE, geodata : ::windows_sys::core::PWSTR, geodatacount : i32) -> i32); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetGeoInfoW(location : i32, geotype : SYSGEOTYPE, lpgeodata : ::windows_sys::core::PWSTR, cchdata : i32, langid : u16) -> i32); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetLocaleInfoA(locale : u32, lctype : u32, lplcdata : ::windows_sys::core::PSTR, cchdata : i32) -> i32); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetLocaleInfoEx(lplocalename : ::windows_sys::core::PCWSTR, lctype : u32, lplcdata : ::windows_sys::core::PWSTR, cchdata : i32) -> i32); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetLocaleInfoW(locale : u32, lctype : u32, lplcdata : ::windows_sys::core::PWSTR, cchdata : i32) -> i32); @@ -144,7 +144,7 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetUserDefaultLangID() -> u16); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetUserDefaultLocaleName(lplocalename : ::windows_sys::core::PWSTR, cchlocalename : i32) -> i32); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetUserDefaultUILanguage() -> u16); -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetUserGeoID(geoclass : u32) -> i32); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn GetUserGeoID(geoclass : SYSGEOCLASS) -> i32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] fn GetUserPreferredUILanguages(dwflags : u32, pulnumlanguages : *mut u32, pwszlanguagesbuffer : ::windows_sys::core::PWSTR, pcchlanguagesbuffer : *mut u32) -> super::Foundation:: BOOL); ::windows_targets::link!("normaliz.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn IdnToAscii(dwflags : u32, lpunicodecharstr : ::windows_sys::core::PCWSTR, cchunicodechar : i32, lpasciicharstr : ::windows_sys::core::PWSTR, cchasciichar : i32) -> i32); @@ -281,7 +281,8 @@ ::windows_targets::link!("icu.dll" "cdecl" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn UCNV_TO_U_CALLBACK_SUBSTITUTE(context : *const ::core::ffi::c_void, touargs : *mut UConverterToUnicodeArgs, codeunits : ::windows_sys::core::PCSTR, length : i32, reason : UConverterCallbackReason, err : *mut UErrorCode) -> ()); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] fn VerifyScripts(dwflags : u32, lplocalescripts : ::windows_sys::core::PCWSTR, cchlocalescripts : i32, lptestscripts : ::windows_sys::core::PCWSTR, cchtestscripts : i32) -> super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn WideCharToMultiByte(codepage : u32, dwflags : u32, lpwidecharstr : ::windows_sys::core::PCWSTR, cchwidechar : i32, lpmultibytestr : ::windows_sys::core::PSTR, cbmultibyte : i32, lpdefaultchar : ::windows_sys::core::PCSTR, lpuseddefaultchar : *mut i32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] fn WideCharToMultiByte(codepage : u32, dwflags : u32, lpwidecharstr : ::windows_sys::core::PCWSTR, cchwidechar : i32, lpmultibytestr : ::windows_sys::core::PSTR, cbmultibyte : i32, lpdefaultchar : ::windows_sys::core::PCSTR, lpuseddefaultchar : *mut super::Foundation:: BOOL) -> i32); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn lstrcatA(lpstring1 : ::windows_sys::core::PSTR, lpstring2 : ::windows_sys::core::PCSTR) -> ::windows_sys::core::PSTR); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn lstrcatW(lpstring1 : ::windows_sys::core::PWSTR, lpstring2 : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Globalization\"`*"] fn lstrcmpA(lpstring1 : ::windows_sys::core::PCSTR, lpstring2 : ::windows_sys::core::PCSTR) -> i32); diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs new file mode 100644 index 00000000000..eb781902264 --- /dev/null +++ b/crates/libs/sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -0,0 +1,3729 @@ +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathArc(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathArcI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathBezier(path : *mut GpPath, x1 : f32, y1 : f32, x2 : f32, y2 : f32, x3 : f32, y3 : f32, x4 : f32, y4 : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathBezierI(path : *mut GpPath, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathBeziers(path : *mut GpPath, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathBeziersI(path : *mut GpPath, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathClosedCurve(path : *mut GpPath, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathClosedCurve2(path : *mut GpPath, points : *const PointF, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathClosedCurve2I(path : *mut GpPath, points : *const Point, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathClosedCurveI(path : *mut GpPath, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurve(path : *mut GpPath, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurve2(path : *mut GpPath, points : *const PointF, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurve2I(path : *mut GpPath, points : *const Point, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurve3(path : *mut GpPath, points : *const PointF, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurve3I(path : *mut GpPath, points : *const Point, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathCurveI(path : *mut GpPath, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathEllipse(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathEllipseI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathLine(path : *mut GpPath, x1 : f32, y1 : f32, x2 : f32, y2 : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathLine2(path : *mut GpPath, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathLine2I(path : *mut GpPath, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathLineI(path : *mut GpPath, x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipAddPathPath(path : *mut GpPath, addingpath : *const GpPath, connect : super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathPie(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathPieI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathPolygon(path : *mut GpPath, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathPolygonI(path : *mut GpPath, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathRectangle(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathRectangleI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathRectangles(path : *mut GpPath, rects : *const RectF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathRectanglesI(path : *mut GpPath, rects : *const Rect, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathString(path : *mut GpPath, string : ::windows_sys::core::PCWSTR, length : i32, family : *const GpFontFamily, style : i32, emsize : f32, layoutrect : *const RectF, format : *const GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAddPathStringI(path : *mut GpPath, string : ::windows_sys::core::PCWSTR, length : i32, family : *const GpFontFamily, style : i32, emsize : f32, layoutrect : *const Rect, format : *const GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipAlloc(size : usize) -> *mut ::core::ffi::c_void); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBeginContainer(graphics : *mut GpGraphics, dstrect : *const RectF, srcrect : *const RectF, unit : Unit, state : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBeginContainer2(graphics : *mut GpGraphics, state : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBeginContainerI(graphics : *mut GpGraphics, dstrect : *const Rect, srcrect : *const Rect, unit : Unit, state : *mut u32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipBitmapApplyEffect(bitmap : *mut GpBitmap, effect : *mut CGpEffect, roi : *mut super::super::Foundation:: RECT, useauxdata : super::super::Foundation:: BOOL, auxdata : *mut *mut ::core::ffi::c_void, auxdatasize : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapConvertFormat(pinputbitmap : *mut GpBitmap, format : i32, dithertype : DitherType, palettetype : PaletteType, palette : *mut ColorPalette, alphathresholdpercent : f32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipBitmapCreateApplyEffect(inputbitmaps : *mut *mut GpBitmap, numinputs : i32, effect : *mut CGpEffect, roi : *mut super::super::Foundation:: RECT, outputrect : *mut super::super::Foundation:: RECT, outputbitmap : *mut *mut GpBitmap, useauxdata : super::super::Foundation:: BOOL, auxdata : *mut *mut ::core::ffi::c_void, auxdatasize : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapGetHistogram(bitmap : *mut GpBitmap, format : HistogramFormat, numberofentries : u32, channel0 : *mut u32, channel1 : *mut u32, channel2 : *mut u32, channel3 : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapGetHistogramSize(format : HistogramFormat, numberofentries : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapGetPixel(bitmap : *mut GpBitmap, x : i32, y : i32, color : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapLockBits(bitmap : *mut GpBitmap, rect : *const Rect, flags : u32, format : i32, lockedbitmapdata : *mut BitmapData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapSetPixel(bitmap : *mut GpBitmap, x : i32, y : i32, color : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapSetResolution(bitmap : *mut GpBitmap, xdpi : f32, ydpi : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipBitmapUnlockBits(bitmap : *mut GpBitmap, lockedbitmapdata : *mut BitmapData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipClearPathMarkers(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneBitmapArea(x : f32, y : f32, width : f32, height : f32, format : i32, srcbitmap : *mut GpBitmap, dstbitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneBitmapAreaI(x : i32, y : i32, width : i32, height : i32, format : i32, srcbitmap : *mut GpBitmap, dstbitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneBrush(brush : *mut GpBrush, clonebrush : *mut *mut GpBrush) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneCustomLineCap(customcap : *mut GpCustomLineCap, clonedcap : *mut *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneFont(font : *mut GpFont, clonefont : *mut *mut GpFont) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneFontFamily(fontfamily : *mut GpFontFamily, clonedfontfamily : *mut *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneImage(image : *mut GpImage, cloneimage : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneImageAttributes(imageattr : *const GpImageAttributes, cloneimageattr : *mut *mut GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneMatrix(matrix : *mut Matrix, clonematrix : *mut *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipClonePath(path : *mut GpPath, clonepath : *mut *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipClonePen(pen : *mut GpPen, clonepen : *mut *mut GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneRegion(region : *mut GpRegion, cloneregion : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCloneStringFormat(format : *const GpStringFormat, newformat : *mut *mut GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipClosePathFigure(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipClosePathFigures(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCombineRegionPath(region : *mut GpRegion, path : *mut GpPath, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCombineRegionRect(region : *mut GpRegion, rect : *const RectF, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCombineRegionRectI(region : *mut GpRegion, rect : *const Rect, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCombineRegionRegion(region : *mut GpRegion, region2 : *mut GpRegion, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipComment(graphics : *mut GpGraphics, sizedata : u32, data : *const u8) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipConvertToEmfPlus(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipConvertToEmfPlusToFile(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, filename : ::windows_sys::core::PCWSTR, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipConvertToEmfPlusToStream(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, stream : super::super::System::Com:: IStream, emftype : EmfType, description : ::windows_sys::core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateAdjustableArrowCap(height : f32, width : f32, isfilled : super::super::Foundation:: BOOL, cap : *mut *mut GpAdjustableArrowCap) -> Status); +#[cfg(feature = "Win32_Graphics_DirectDraw")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_DirectDraw\"`*"] fn GdipCreateBitmapFromDirectDrawSurface(surface : super::DirectDraw:: IDirectDrawSurface7, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateBitmapFromFile(filename : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateBitmapFromFileICM(filename : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateBitmapFromGdiDib(gdibitmapinfo : *const super::Gdi:: BITMAPINFO, gdibitmapdata : *mut ::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateBitmapFromGraphics(width : i32, height : i32, target : *mut GpGraphics, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateBitmapFromHBITMAP(hbm : super::Gdi:: HBITMAP, hpal : super::Gdi:: HPALETTE, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_UI_WindowsAndMessaging")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn GdipCreateBitmapFromHICON(hicon : super::super::UI::WindowsAndMessaging:: HICON, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateBitmapFromResource(hinstance : super::super::Foundation:: HINSTANCE, lpbitmapname : ::windows_sys::core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateBitmapFromScan0(width : i32, height : i32, stride : i32, format : i32, scan0 : *const u8, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipCreateBitmapFromStream(stream : super::super::System::Com:: IStream, bitmap : *mut *mut GpBitmap) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipCreateBitmapFromStreamICM(stream : super::super::System::Com:: IStream, bitmap : *mut *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateCachedBitmap(bitmap : *mut GpBitmap, graphics : *mut GpGraphics, cachedbitmap : *mut *mut GpCachedBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateCustomLineCap(fillpath : *mut GpPath, strokepath : *mut GpPath, basecap : LineCap, baseinset : f32, customcap : *mut *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateEffect(guid : ::windows_sys::core::GUID, effect : *mut *mut CGpEffect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateFont(fontfamily : *const GpFontFamily, emsize : f32, style : i32, unit : Unit, font : *mut *mut GpFont) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateFontFamilyFromName(name : ::windows_sys::core::PCWSTR, fontcollection : *mut GpFontCollection, fontfamily : *mut *mut GpFontFamily) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateFontFromDC(hdc : super::Gdi:: HDC, font : *mut *mut GpFont) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateFontFromLogfontA(hdc : super::Gdi:: HDC, logfont : *const super::Gdi:: LOGFONTA, font : *mut *mut GpFont) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateFontFromLogfontW(hdc : super::Gdi:: HDC, logfont : *const super::Gdi:: LOGFONTW, font : *mut *mut GpFont) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateFromHDC(hdc : super::Gdi:: HDC, graphics : *mut *mut GpGraphics) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateFromHDC2(hdc : super::Gdi:: HDC, hdevice : super::super::Foundation:: HANDLE, graphics : *mut *mut GpGraphics) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateFromHWND(hwnd : super::super::Foundation:: HWND, graphics : *mut *mut GpGraphics) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateFromHWNDICM(hwnd : super::super::Foundation:: HWND, graphics : *mut *mut GpGraphics) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateHBITMAPFromBitmap(bitmap : *mut GpBitmap, hbmreturn : *mut super::Gdi:: HBITMAP, background : u32) -> Status); +#[cfg(feature = "Win32_UI_WindowsAndMessaging")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn GdipCreateHICONFromBitmap(bitmap : *mut GpBitmap, hbmreturn : *mut super::super::UI::WindowsAndMessaging:: HICON) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateHalftonePalette() -> super::Gdi:: HPALETTE); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateHatchBrush(hatchstyle : HatchStyle, forecol : u32, backcol : u32, brush : *mut *mut GpHatch) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateImageAttributes(imageattr : *mut *mut GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateLineBrush(point1 : *const PointF, point2 : *const PointF, color1 : u32, color2 : u32, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateLineBrushFromRect(rect : *const RectF, color1 : u32, color2 : u32, mode : LinearGradientMode, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateLineBrushFromRectI(rect : *const Rect, color1 : u32, color2 : u32, mode : LinearGradientMode, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateLineBrushFromRectWithAngle(rect : *const RectF, color1 : u32, color2 : u32, angle : f32, isanglescalable : super::super::Foundation:: BOOL, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipCreateLineBrushFromRectWithAngleI(rect : *const Rect, color1 : u32, color2 : u32, angle : f32, isanglescalable : super::super::Foundation:: BOOL, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateLineBrushI(point1 : *const Point, point2 : *const Point, color1 : u32, color2 : u32, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMatrix(matrix : *mut *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMatrix2(m11 : f32, m12 : f32, m21 : f32, m22 : f32, dx : f32, dy : f32, matrix : *mut *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMatrix3(rect : *const RectF, dstplg : *const PointF, matrix : *mut *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMatrix3I(rect : *const Rect, dstplg : *const Point, matrix : *mut *mut Matrix) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateMetafileFromEmf(hemf : super::Gdi:: HENHMETAFILE, deleteemf : super::super::Foundation:: BOOL, metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMetafileFromFile(file : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipCreateMetafileFromStream(stream : super::super::System::Com:: IStream, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateMetafileFromWmf(hwmf : super::Gdi:: HMETAFILE, deletewmf : super::super::Foundation:: BOOL, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateMetafileFromWmfFile(file : ::windows_sys::core::PCWSTR, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePath(brushmode : FillMode, path : *mut *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePath2(param0 : *const PointF, param1 : *const u8, param2 : i32, param3 : FillMode, path : *mut *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePath2I(param0 : *const Point, param1 : *const u8, param2 : i32, param3 : FillMode, path : *mut *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePathGradient(points : *const PointF, count : i32, wrapmode : WrapMode, polygradient : *mut *mut GpPathGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePathGradientFromPath(path : *const GpPath, polygradient : *mut *mut GpPathGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePathGradientI(points : *const Point, count : i32, wrapmode : WrapMode, polygradient : *mut *mut GpPathGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePathIter(iterator : *mut *mut GpPathIterator, path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePen1(color : u32, width : f32, unit : Unit, pen : *mut *mut GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreatePen2(brush : *mut GpBrush, width : f32, unit : Unit, pen : *mut *mut GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateRegion(region : *mut *mut GpRegion) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipCreateRegionHrgn(hrgn : super::Gdi:: HRGN, region : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateRegionPath(path : *mut GpPath, region : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateRegionRect(rect : *const RectF, region : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateRegionRectI(rect : *const Rect, region : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateRegionRgnData(regiondata : *const u8, size : i32, region : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateSolidFill(color : u32, brush : *mut *mut GpSolidFill) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipCreateStreamOnFile(filename : ::windows_sys::core::PCWSTR, access : u32, stream : *mut super::super::System::Com:: IStream) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateStringFormat(formatattributes : i32, language : u16, format : *mut *mut GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateTexture(image : *mut GpImage, wrapmode : WrapMode, texture : *mut *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateTexture2(image : *mut GpImage, wrapmode : WrapMode, x : f32, y : f32, width : f32, height : f32, texture : *mut *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateTexture2I(image : *mut GpImage, wrapmode : WrapMode, x : i32, y : i32, width : i32, height : i32, texture : *mut *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateTextureIA(image : *mut GpImage, imageattributes : *const GpImageAttributes, x : f32, y : f32, width : f32, height : f32, texture : *mut *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipCreateTextureIAI(image : *mut GpImage, imageattributes : *const GpImageAttributes, x : i32, y : i32, width : i32, height : i32, texture : *mut *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteBrush(brush : *mut GpBrush) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteCachedBitmap(cachedbitmap : *mut GpCachedBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteCustomLineCap(customcap : *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteEffect(effect : *mut CGpEffect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteFont(font : *mut GpFont) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteFontFamily(fontfamily : *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteGraphics(graphics : *mut GpGraphics) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteMatrix(matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeletePath(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeletePathIter(iterator : *mut GpPathIterator) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeletePen(pen : *mut GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeletePrivateFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteRegion(region : *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDeleteStringFormat(format : *mut GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDisposeImage(image : *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDisposeImageAttributes(imageattr : *mut GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawArc(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawArcI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawBezier(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : f32, y1 : f32, x2 : f32, y2 : f32, x3 : f32, y3 : f32, x4 : f32, y4 : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawBezierI(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawBeziers(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawBeziersI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCachedBitmap(graphics : *mut GpGraphics, cachedbitmap : *mut GpCachedBitmap, x : i32, y : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawClosedCurve(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawClosedCurve2(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawClosedCurve2I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawClosedCurveI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurve(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurve2(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurve2I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurve3(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurve3I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawCurveI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawDriverString(graphics : *mut GpGraphics, text : *const u16, length : i32, font : *const GpFont, brush : *const GpBrush, positions : *const PointF, flags : i32, matrix : *const Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawEllipse(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawEllipseI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImage(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageFX(graphics : *mut GpGraphics, image : *mut GpImage, source : *mut RectF, xform : *mut Matrix, effect : *mut CGpEffect, imageattributes : *mut GpImageAttributes, srcunit : Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePointRect(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePointRectI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePoints(graphics : *mut GpGraphics, image : *mut GpImage, dstpoints : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePointsI(graphics : *mut GpGraphics, image : *mut GpImage, dstpoints : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePointsRect(graphics : *mut GpGraphics, image : *mut GpImage, points : *const PointF, count : i32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImagePointsRectI(graphics : *mut GpGraphics, image : *mut GpImage, points : *const Point, count : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageRect(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageRectI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageRectRect(graphics : *mut GpGraphics, image : *mut GpImage, dstx : f32, dsty : f32, dstwidth : f32, dstheight : f32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawImageRectRectI(graphics : *mut GpGraphics, image : *mut GpImage, dstx : i32, dsty : i32, dstwidth : i32, dstheight : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawLine(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : f32, y1 : f32, x2 : f32, y2 : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawLineI(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawLines(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawLinesI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawPath(graphics : *mut GpGraphics, pen : *mut GpPen, path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawPie(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawPieI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawPolygon(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawPolygonI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawRectangle(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawRectangleI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawRectangles(graphics : *mut GpGraphics, pen : *mut GpPen, rects : *const RectF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawRectanglesI(graphics : *mut GpGraphics, pen : *mut GpPen, rects : *const Rect, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipDrawString(graphics : *mut GpGraphics, string : ::windows_sys::core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, brush : *const GpBrush) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipEmfToWmfBits(hemf : super::Gdi:: HENHMETAFILE, cbdata16 : u32, pdata16 : *mut u8, imapmode : i32, eflags : i32) -> u32); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEndContainer(graphics : *mut GpGraphics, state : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestPoint(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const PointF, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestPointI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const Point, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestPoints(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const PointF, count : i32, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestPointsI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const Point, count : i32, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestRect(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const RectF, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileDestRectI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const Rect, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestPoint(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const PointF, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestPointI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const Point, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestPoints(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const PointF, count : i32, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestPointsI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const Point, count : i32, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestRect(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const RectF, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipEnumerateMetafileSrcRectDestRectI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const Rect, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillClosedCurve(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillClosedCurve2(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32, tension : f32, fillmode : FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillClosedCurve2I(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32, tension : f32, fillmode : FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillClosedCurveI(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillEllipse(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillEllipseI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPath(graphics : *mut GpGraphics, brush : *mut GpBrush, path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPie(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPieI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPolygon(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32, fillmode : FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPolygon2(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPolygon2I(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillPolygonI(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32, fillmode : FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillRectangle(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillRectangleI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillRectangles(graphics : *mut GpGraphics, brush : *mut GpBrush, rects : *const RectF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillRectanglesI(graphics : *mut GpGraphics, brush : *mut GpBrush, rects : *const Rect, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFillRegion(graphics : *mut GpGraphics, brush : *mut GpBrush, region : *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFindFirstImageItem(image : *mut GpImage, item : *mut ImageItemData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFindNextImageItem(image : *mut GpImage, item : *mut ImageItemData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFlattenPath(path : *mut GpPath, matrix : *mut Matrix, flatness : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFlush(graphics : *mut GpGraphics, intention : FlushIntention) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipFree(ptr : *mut ::core::ffi::c_void) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipGetAdjustableArrowCapFillState(cap : *mut GpAdjustableArrowCap, fillstate : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetAdjustableArrowCapHeight(cap : *mut GpAdjustableArrowCap, height : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetAdjustableArrowCapMiddleInset(cap : *mut GpAdjustableArrowCap, middleinset : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetAdjustableArrowCapWidth(cap : *mut GpAdjustableArrowCap, width : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetAllPropertyItems(image : *mut GpImage, totalbuffersize : u32, numproperties : u32, allitems : *mut PropertyItem) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetBrushType(brush : *mut GpBrush, r#type : *mut BrushType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCellAscent(family : *const GpFontFamily, style : i32, cellascent : *mut u16) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCellDescent(family : *const GpFontFamily, style : i32, celldescent : *mut u16) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetClip(graphics : *mut GpGraphics, region : *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetClipBounds(graphics : *mut GpGraphics, rect : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetClipBoundsI(graphics : *mut GpGraphics, rect : *mut Rect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCompositingMode(graphics : *mut GpGraphics, compositingmode : *mut CompositingMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCompositingQuality(graphics : *mut GpGraphics, compositingquality : *mut CompositingQuality) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapBaseCap(customcap : *mut GpCustomLineCap, basecap : *mut LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapBaseInset(customcap : *mut GpCustomLineCap, inset : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapStrokeCaps(customcap : *mut GpCustomLineCap, startcap : *mut LineCap, endcap : *mut LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapStrokeJoin(customcap : *mut GpCustomLineCap, linejoin : *mut LineJoin) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapType(customcap : *mut GpCustomLineCap, captype : *mut CustomLineCapType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetCustomLineCapWidthScale(customcap : *mut GpCustomLineCap, widthscale : *mut f32) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetDC(graphics : *mut GpGraphics, hdc : *mut super::Gdi:: HDC) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetDpiX(graphics : *mut GpGraphics, dpi : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetDpiY(graphics : *mut GpGraphics, dpi : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetEffectParameterSize(effect : *mut CGpEffect, size : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetEffectParameters(effect : *mut CGpEffect, size : *mut u32, params : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetEmHeight(family : *const GpFontFamily, style : i32, emheight : *mut u16) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetEncoderParameterList(image : *mut GpImage, clsidencoder : *const ::windows_sys::core::GUID, size : u32, buffer : *mut EncoderParameters) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetEncoderParameterListSize(image : *mut GpImage, clsidencoder : *const ::windows_sys::core::GUID, size : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFamily(font : *mut GpFont, family : *mut *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFamilyName(family : *const GpFontFamily, name : ::windows_sys::core::PWSTR, language : u16) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontCollectionFamilyCount(fontcollection : *mut GpFontCollection, numfound : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontCollectionFamilyList(fontcollection : *const GpFontCollection, numsought : i32, gpfamilies : *mut *mut GpFontFamily, numfound : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontHeight(font : *const GpFont, graphics : *const GpGraphics, height : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontHeightGivenDPI(font : *const GpFont, dpi : f32, height : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontSize(font : *mut GpFont, size : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontStyle(font : *mut GpFont, style : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetFontUnit(font : *mut GpFont, unit : *mut Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetGenericFontFamilyMonospace(nativefamily : *mut *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetGenericFontFamilySansSerif(nativefamily : *mut *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetGenericFontFamilySerif(nativefamily : *mut *mut GpFontFamily) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetHatchBackgroundColor(brush : *mut GpHatch, backcol : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetHatchForegroundColor(brush : *mut GpHatch, forecol : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetHatchStyle(brush : *mut GpHatch, hatchstyle : *mut HatchStyle) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetHemfFromMetafile(metafile : *mut GpMetafile, hemf : *mut super::Gdi:: HENHMETAFILE) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageAttributesAdjustedPalette(imageattr : *mut GpImageAttributes, colorpalette : *mut ColorPalette, coloradjusttype : ColorAdjustType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageBounds(image : *mut GpImage, srcrect : *mut RectF, srcunit : *mut Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageDecoders(numdecoders : u32, size : u32, decoders : *mut ImageCodecInfo) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageDecodersSize(numdecoders : *mut u32, size : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageDimension(image : *mut GpImage, width : *mut f32, height : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageEncoders(numencoders : u32, size : u32, encoders : *mut ImageCodecInfo) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageEncodersSize(numencoders : *mut u32, size : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageFlags(image : *mut GpImage, flags : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageGraphicsContext(image : *mut GpImage, graphics : *mut *mut GpGraphics) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageHeight(image : *mut GpImage, height : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageHorizontalResolution(image : *mut GpImage, resolution : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageItemData(image : *mut GpImage, item : *mut ImageItemData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImagePalette(image : *mut GpImage, palette : *mut ColorPalette, size : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImagePaletteSize(image : *mut GpImage, size : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImagePixelFormat(image : *mut GpImage, format : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageRawFormat(image : *mut GpImage, format : *mut ::windows_sys::core::GUID) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageThumbnail(image : *mut GpImage, thumbwidth : u32, thumbheight : u32, thumbimage : *mut *mut GpImage, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageType(image : *mut GpImage, r#type : *mut ImageType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageVerticalResolution(image : *mut GpImage, resolution : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetImageWidth(image : *mut GpImage, width : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetInterpolationMode(graphics : *mut GpGraphics, interpolationmode : *mut InterpolationMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineBlend(brush : *mut GpLineGradient, blend : *mut f32, positions : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineBlendCount(brush : *mut GpLineGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineColors(brush : *mut GpLineGradient, colors : *mut u32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipGetLineGammaCorrection(brush : *mut GpLineGradient, usegammacorrection : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLinePresetBlend(brush : *mut GpLineGradient, blend : *mut u32, positions : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLinePresetBlendCount(brush : *mut GpLineGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineRect(brush : *mut GpLineGradient, rect : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineRectI(brush : *mut GpLineGradient, rect : *mut Rect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineSpacing(family : *const GpFontFamily, style : i32, linespacing : *mut u16) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineTransform(brush : *mut GpLineGradient, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetLineWrapMode(brush : *mut GpLineGradient, wrapmode : *mut WrapMode) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetLogFontA(font : *mut GpFont, graphics : *mut GpGraphics, logfonta : *mut super::Gdi:: LOGFONTA) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetLogFontW(font : *mut GpFont, graphics : *mut GpGraphics, logfontw : *mut super::Gdi:: LOGFONTW) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetMatrixElements(matrix : *const Matrix, matrixout : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetMetafileDownLevelRasterizationLimit(metafile : *const GpMetafile, metafilerasterizationlimitdpi : *mut u32) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetMetafileHeaderFromEmf(hemf : super::Gdi:: HENHMETAFILE, header : *mut MetafileHeader) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetMetafileHeaderFromFile(filename : ::windows_sys::core::PCWSTR, header : *mut MetafileHeader) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetMetafileHeaderFromMetafile(metafile : *mut GpMetafile, header : *mut MetafileHeader) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] fn GdipGetMetafileHeaderFromStream(stream : super::super::System::Com:: IStream, header : *mut MetafileHeader) -> Status); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetMetafileHeaderFromWmf(hwmf : super::Gdi:: HMETAFILE, wmfplaceablefileheader : *const WmfPlaceableFileHeader, header : *mut MetafileHeader) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetNearestColor(graphics : *mut GpGraphics, argb : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPageScale(graphics : *mut GpGraphics, scale : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPageUnit(graphics : *mut GpGraphics, unit : *mut Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathData(path : *mut GpPath, pathdata : *mut PathData) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathFillMode(path : *mut GpPath, fillmode : *mut FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientBlend(brush : *mut GpPathGradient, blend : *mut f32, positions : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientBlendCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientCenterColor(brush : *mut GpPathGradient, colors : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientCenterPoint(brush : *mut GpPathGradient, points : *mut PointF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientCenterPointI(brush : *mut GpPathGradient, points : *mut Point) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientFocusScales(brush : *mut GpPathGradient, xscale : *mut f32, yscale : *mut f32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipGetPathGradientGammaCorrection(brush : *mut GpPathGradient, usegammacorrection : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientPath(brush : *mut GpPathGradient, path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientPointCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientPresetBlend(brush : *mut GpPathGradient, blend : *mut u32, positions : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientPresetBlendCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientRect(brush : *mut GpPathGradient, rect : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientRectI(brush : *mut GpPathGradient, rect : *mut Rect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientSurroundColorCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientSurroundColorsWithCount(brush : *const GpPathGradient, color : *mut u32, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientTransform(brush : *mut GpPathGradient, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathGradientWrapMode(brush : *mut GpPathGradient, wrapmode : *mut WrapMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathLastPoint(path : *mut GpPath, lastpoint : *mut PointF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathPoints(param0 : *mut GpPath, points : *mut PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathPointsI(param0 : *mut GpPath, points : *mut Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathTypes(path : *const GpPath, types : *mut u8, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathWorldBounds(path : *mut GpPath, bounds : *mut RectF, matrix : *const Matrix, pen : *const GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPathWorldBoundsI(path : *mut GpPath, bounds : *mut Rect, matrix : *const Matrix, pen : *const GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenBrushFill(pen : *mut GpPen, brush : *mut *mut GpBrush) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenColor(pen : *mut GpPen, argb : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenCompoundArray(pen : *mut GpPen, dash : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenCompoundCount(pen : *mut GpPen, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenCustomEndCap(pen : *mut GpPen, customcap : *mut *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenCustomStartCap(pen : *mut GpPen, customcap : *mut *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenDashArray(pen : *mut GpPen, dash : *mut f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenDashCap197819(pen : *mut GpPen, dashcap : *mut DashCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenDashCount(pen : *mut GpPen, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenDashOffset(pen : *mut GpPen, offset : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenDashStyle(pen : *mut GpPen, dashstyle : *mut DashStyle) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenEndCap(pen : *mut GpPen, endcap : *mut LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenFillType(pen : *mut GpPen, r#type : *mut PenType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenLineJoin(pen : *mut GpPen, linejoin : *mut LineJoin) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenMiterLimit(pen : *mut GpPen, miterlimit : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenMode(pen : *mut GpPen, penmode : *mut PenAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenStartCap(pen : *mut GpPen, startcap : *mut LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenTransform(pen : *mut GpPen, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenUnit(pen : *mut GpPen, unit : *mut Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPenWidth(pen : *mut GpPen, width : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPixelOffsetMode(graphics : *mut GpGraphics, pixeloffsetmode : *mut PixelOffsetMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPointCount(path : *mut GpPath, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPropertyCount(image : *mut GpImage, numofproperty : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPropertyIdList(image : *mut GpImage, numofproperty : u32, list : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPropertyItem(image : *mut GpImage, propid : u32, propsize : u32, buffer : *mut PropertyItem) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPropertyItemSize(image : *mut GpImage, propid : u32, size : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetPropertySize(image : *mut GpImage, totalbuffersize : *mut u32, numproperties : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionBounds(region : *mut GpRegion, graphics : *mut GpGraphics, rect : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionBoundsI(region : *mut GpRegion, graphics : *mut GpGraphics, rect : *mut Rect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionData(region : *mut GpRegion, buffer : *mut u8, buffersize : u32, sizefilled : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionDataSize(region : *mut GpRegion, buffersize : *mut u32) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipGetRegionHRgn(region : *mut GpRegion, graphics : *mut GpGraphics, hrgn : *mut super::Gdi:: HRGN) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionScans(region : *mut GpRegion, rects : *mut RectF, count : *mut i32, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionScansCount(region : *mut GpRegion, count : *mut u32, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRegionScansI(region : *mut GpRegion, rects : *mut Rect, count : *mut i32, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetRenderingOrigin(graphics : *mut GpGraphics, x : *mut i32, y : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetSmoothingMode(graphics : *mut GpGraphics, smoothingmode : *mut SmoothingMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetSolidFillColor(brush : *mut GpSolidFill, color : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatAlign(format : *const GpStringFormat, align : *mut StringAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatDigitSubstitution(format : *const GpStringFormat, language : *mut u16, substitute : *mut StringDigitSubstitute) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatFlags(format : *const GpStringFormat, flags : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatHotkeyPrefix(format : *const GpStringFormat, hotkeyprefix : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatLineAlign(format : *const GpStringFormat, align : *mut StringAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatMeasurableCharacterRangeCount(format : *const GpStringFormat, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatTabStopCount(format : *const GpStringFormat, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatTabStops(format : *const GpStringFormat, count : i32, firsttaboffset : *mut f32, tabstops : *mut f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetStringFormatTrimming(format : *const GpStringFormat, trimming : *mut StringTrimming) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetTextContrast(graphics : *mut GpGraphics, contrast : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetTextRenderingHint(graphics : *mut GpGraphics, mode : *mut TextRenderingHint) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetTextureImage(brush : *mut GpTexture, image : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetTextureTransform(brush : *mut GpTexture, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetTextureWrapMode(brush : *mut GpTexture, wrapmode : *mut WrapMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetVisibleClipBounds(graphics : *mut GpGraphics, rect : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetVisibleClipBoundsI(graphics : *mut GpGraphics, rect : *mut Rect) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGetWorldTransform(graphics : *mut GpGraphics, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGraphicsClear(graphics : *mut GpGraphics, color : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipGraphicsSetAbort(pgraphics : *mut GpGraphics, piabort : GdiplusAbort) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageForceValidation(image : *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageGetFrameCount(image : *mut GpImage, dimensionid : *const ::windows_sys::core::GUID, count : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageGetFrameDimensionsCount(image : *mut GpImage, count : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageGetFrameDimensionsList(image : *mut GpImage, dimensionids : *mut ::windows_sys::core::GUID, count : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageRotateFlip(image : *mut GpImage, rftype : RotateFlipType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageSelectActiveFrame(image : *mut GpImage, dimensionid : *const ::windows_sys::core::GUID, frameindex : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipImageSetAbort(pimage : *mut GpImage, piabort : GdiplusAbort) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipInitializePalette(palette : *mut ColorPalette, palettetype : PaletteType, optimalcolors : i32, usetransparentcolor : super::super::Foundation:: BOOL, bitmap : *mut GpBitmap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipInvertMatrix(matrix : *mut Matrix) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsClipEmpty(graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsEmptyRegion(region : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsEqualRegion(region : *mut GpRegion, region2 : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsInfiniteRegion(region : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsMatrixEqual(matrix : *const Matrix, matrix2 : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsMatrixIdentity(matrix : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsMatrixInvertible(matrix : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsOutlineVisiblePathPoint(path : *mut GpPath, x : f32, y : f32, pen : *mut GpPen, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsOutlineVisiblePathPointI(path : *mut GpPath, x : i32, y : i32, pen : *mut GpPen, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsStyleAvailable(family : *const GpFontFamily, style : i32, isstyleavailable : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleClipEmpty(graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisiblePathPoint(path : *mut GpPath, x : f32, y : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisiblePathPointI(path : *mut GpPath, x : i32, y : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisiblePoint(graphics : *mut GpGraphics, x : f32, y : f32, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisiblePointI(graphics : *mut GpGraphics, x : i32, y : i32, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRect(graphics : *mut GpGraphics, x : f32, y : f32, width : f32, height : f32, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRectI(graphics : *mut GpGraphics, x : i32, y : i32, width : i32, height : i32, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRegionPoint(region : *mut GpRegion, x : f32, y : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRegionPointI(region : *mut GpRegion, x : i32, y : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRegionRect(region : *mut GpRegion, x : f32, y : f32, width : f32, height : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipIsVisibleRegionRectI(region : *mut GpRegion, x : i32, y : i32, width : i32, height : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipLoadImageFromFile(filename : ::windows_sys::core::PCWSTR, image : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipLoadImageFromFileICM(filename : ::windows_sys::core::PCWSTR, image : *mut *mut GpImage) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipLoadImageFromStream(stream : super::super::System::Com:: IStream, image : *mut *mut GpImage) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipLoadImageFromStreamICM(stream : super::super::System::Com:: IStream, image : *mut *mut GpImage) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMeasureCharacterRanges(graphics : *mut GpGraphics, string : ::windows_sys::core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, regioncount : i32, regions : *mut *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMeasureDriverString(graphics : *mut GpGraphics, text : *const u16, length : i32, font : *const GpFont, positions : *const PointF, flags : i32, matrix : *const Matrix, boundingbox : *mut RectF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMeasureString(graphics : *mut GpGraphics, string : ::windows_sys::core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, boundingbox : *mut RectF, codepointsfitted : *mut i32, linesfilled : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyLineTransform(brush : *mut GpLineGradient, matrix : *const Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyMatrix(matrix : *mut Matrix, matrix2 : *mut Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyPathGradientTransform(brush : *mut GpPathGradient, matrix : *const Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyPenTransform(pen : *mut GpPen, matrix : *const Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyTextureTransform(brush : *mut GpTexture, matrix : *const Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipMultiplyWorldTransform(graphics : *mut GpGraphics, matrix : *const Matrix, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipNewInstalledFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipNewPrivateFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterCopyData(iterator : *mut GpPathIterator, resultcount : *mut i32, points : *mut PointF, types : *mut u8, startindex : i32, endindex : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterEnumerate(iterator : *mut GpPathIterator, resultcount : *mut i32, points : *mut PointF, types : *mut u8, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterGetCount(iterator : *mut GpPathIterator, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterGetSubpathCount(iterator : *mut GpPathIterator, count : *mut i32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipPathIterHasCurve(iterator : *mut GpPathIterator, hascurve : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipPathIterIsValid(iterator : *mut GpPathIterator, valid : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterNextMarker(iterator : *mut GpPathIterator, resultcount : *mut i32, startindex : *mut i32, endindex : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterNextMarkerPath(iterator : *mut GpPathIterator, resultcount : *mut i32, path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterNextPathType(iterator : *mut GpPathIterator, resultcount : *mut i32, pathtype : *mut u8, startindex : *mut i32, endindex : *mut i32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipPathIterNextSubpath(iterator : *mut GpPathIterator, resultcount : *mut i32, startindex : *mut i32, endindex : *mut i32, isclosed : *mut super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipPathIterNextSubpathPath(iterator : *mut GpPathIterator, resultcount : *mut i32, path : *mut GpPath, isclosed : *mut super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPathIterRewind(iterator : *mut GpPathIterator) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPlayMetafileRecord(metafile : *const GpMetafile, recordtype : EmfPlusRecordType, flags : u32, datasize : u32, data : *const u8) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPrivateAddFontFile(fontcollection : *mut GpFontCollection, filename : ::windows_sys::core::PCWSTR) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipPrivateAddMemoryFont(fontcollection : *mut GpFontCollection, memory : *const ::core::ffi::c_void, length : i32) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipRecordMetafile(referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipRecordMetafileFileName(filename : ::windows_sys::core::PCWSTR, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipRecordMetafileFileNameI(filename : ::windows_sys::core::PCWSTR, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipRecordMetafileI(referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] fn GdipRecordMetafileStream(stream : super::super::System::Com:: IStream, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] fn GdipRecordMetafileStreamI(stream : super::super::System::Com:: IStream, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_sys::core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipReleaseDC(graphics : *mut GpGraphics, hdc : super::Gdi:: HDC) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRemovePropertyItem(image : *mut GpImage, propid : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetClip(graphics : *mut GpGraphics) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetImageAttributes(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetLineTransform(brush : *mut GpLineGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetPageTransform(graphics : *mut GpGraphics) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetPath(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetPathGradientTransform(brush : *mut GpPathGradient) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetPenTransform(pen : *mut GpPen) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetTextureTransform(brush : *mut GpTexture) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipResetWorldTransform(graphics : *mut GpGraphics) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRestoreGraphics(graphics : *mut GpGraphics, state : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipReversePath(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotateLineTransform(brush : *mut GpLineGradient, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotateMatrix(matrix : *mut Matrix, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotatePathGradientTransform(brush : *mut GpPathGradient, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotatePenTransform(pen : *mut GpPen, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotateTextureTransform(brush : *mut GpTexture, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipRotateWorldTransform(graphics : *mut GpGraphics, angle : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSaveAdd(image : *mut GpImage, encoderparams : *const EncoderParameters) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSaveAddImage(image : *mut GpImage, newimage : *mut GpImage, encoderparams : *const EncoderParameters) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSaveGraphics(graphics : *mut GpGraphics, state : *mut u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSaveImageToFile(image : *mut GpImage, filename : ::windows_sys::core::PCWSTR, clsidencoder : *const ::windows_sys::core::GUID, encoderparams : *const EncoderParameters) -> Status); +#[cfg(feature = "Win32_System_Com")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] fn GdipSaveImageToStream(image : *mut GpImage, stream : super::super::System::Com:: IStream, clsidencoder : *const ::windows_sys::core::GUID, encoderparams : *const EncoderParameters) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScaleLineTransform(brush : *mut GpLineGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScaleMatrix(matrix : *mut Matrix, scalex : f32, scaley : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScalePathGradientTransform(brush : *mut GpPathGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScalePenTransform(pen : *mut GpPen, sx : f32, sy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScaleTextureTransform(brush : *mut GpTexture, sx : f32, sy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipScaleWorldTransform(graphics : *mut GpGraphics, sx : f32, sy : f32, order : MatrixOrder) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetAdjustableArrowCapFillState(cap : *mut GpAdjustableArrowCap, fillstate : super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetAdjustableArrowCapHeight(cap : *mut GpAdjustableArrowCap, height : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetAdjustableArrowCapMiddleInset(cap : *mut GpAdjustableArrowCap, middleinset : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetAdjustableArrowCapWidth(cap : *mut GpAdjustableArrowCap, width : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetClipGraphics(graphics : *mut GpGraphics, srcgraphics : *mut GpGraphics, combinemode : CombineMode) -> Status); +#[cfg(feature = "Win32_Graphics_Gdi")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] fn GdipSetClipHrgn(graphics : *mut GpGraphics, hrgn : super::Gdi:: HRGN, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetClipPath(graphics : *mut GpGraphics, path : *mut GpPath, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetClipRect(graphics : *mut GpGraphics, x : f32, y : f32, width : f32, height : f32, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetClipRectI(graphics : *mut GpGraphics, x : i32, y : i32, width : i32, height : i32, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetClipRegion(graphics : *mut GpGraphics, region : *mut GpRegion, combinemode : CombineMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCompositingMode(graphics : *mut GpGraphics, compositingmode : CompositingMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCompositingQuality(graphics : *mut GpGraphics, compositingquality : CompositingQuality) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCustomLineCapBaseCap(customcap : *mut GpCustomLineCap, basecap : LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCustomLineCapBaseInset(customcap : *mut GpCustomLineCap, inset : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCustomLineCapStrokeCaps(customcap : *mut GpCustomLineCap, startcap : LineCap, endcap : LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCustomLineCapStrokeJoin(customcap : *mut GpCustomLineCap, linejoin : LineJoin) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetCustomLineCapWidthScale(customcap : *mut GpCustomLineCap, widthscale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetEffectParameters(effect : *mut CGpEffect, params : *const ::core::ffi::c_void, size : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetEmpty(region : *mut GpRegion) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesCachedBackground(imageattr : *mut GpImageAttributes, enableflag : super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesColorKeys(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colorlow : u32, colorhigh : u32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesColorMatrix(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colormatrix : *const ColorMatrix, graymatrix : *const ColorMatrix, flags : ColorMatrixFlags) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesGamma(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, gamma : f32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesNoOp(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesOutputChannel(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, channelflags : ColorChannelFlags) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesOutputChannelColorProfile(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colorprofilefilename : ::windows_sys::core::PCWSTR) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesRemapTable(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, mapsize : u32, map : *const ColorMap) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesThreshold(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, threshold : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetImageAttributesToIdentity(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetImageAttributesWrapMode(imageattr : *mut GpImageAttributes, wrap : WrapMode, argb : u32, clamp : super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetImagePalette(image : *mut GpImage, palette : *const ColorPalette) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetInfinite(region : *mut GpRegion) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetInterpolationMode(graphics : *mut GpGraphics, interpolationmode : InterpolationMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineBlend(brush : *mut GpLineGradient, blend : *const f32, positions : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineColors(brush : *mut GpLineGradient, color1 : u32, color2 : u32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetLineGammaCorrection(brush : *mut GpLineGradient, usegammacorrection : super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineLinearBlend(brush : *mut GpLineGradient, focus : f32, scale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLinePresetBlend(brush : *mut GpLineGradient, blend : *const u32, positions : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineSigmaBlend(brush : *mut GpLineGradient, focus : f32, scale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineTransform(brush : *mut GpLineGradient, matrix : *const Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetLineWrapMode(brush : *mut GpLineGradient, wrapmode : WrapMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetMatrixElements(matrix : *mut Matrix, m11 : f32, m12 : f32, m21 : f32, m22 : f32, dx : f32, dy : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetMetafileDownLevelRasterizationLimit(metafile : *mut GpMetafile, metafilerasterizationlimitdpi : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPageScale(graphics : *mut GpGraphics, scale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPageUnit(graphics : *mut GpGraphics, unit : Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathFillMode(path : *mut GpPath, fillmode : FillMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientBlend(brush : *mut GpPathGradient, blend : *const f32, positions : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientCenterColor(brush : *mut GpPathGradient, colors : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientCenterPoint(brush : *mut GpPathGradient, points : *const PointF) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientCenterPointI(brush : *mut GpPathGradient, points : *const Point) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientFocusScales(brush : *mut GpPathGradient, xscale : f32, yscale : f32) -> Status); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdipSetPathGradientGammaCorrection(brush : *mut GpPathGradient, usegammacorrection : super::super::Foundation:: BOOL) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientLinearBlend(brush : *mut GpPathGradient, focus : f32, scale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientPath(brush : *mut GpPathGradient, path : *const GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientPresetBlend(brush : *mut GpPathGradient, blend : *const u32, positions : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientSigmaBlend(brush : *mut GpPathGradient, focus : f32, scale : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientSurroundColorsWithCount(brush : *mut GpPathGradient, color : *const u32, count : *mut i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientTransform(brush : *mut GpPathGradient, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathGradientWrapMode(brush : *mut GpPathGradient, wrapmode : WrapMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPathMarker(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenBrushFill(pen : *mut GpPen, brush : *mut GpBrush) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenColor(pen : *mut GpPen, argb : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenCompoundArray(pen : *mut GpPen, dash : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenCustomEndCap(pen : *mut GpPen, customcap : *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenCustomStartCap(pen : *mut GpPen, customcap : *mut GpCustomLineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenDashArray(pen : *mut GpPen, dash : *const f32, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenDashCap197819(pen : *mut GpPen, dashcap : DashCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenDashOffset(pen : *mut GpPen, offset : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenDashStyle(pen : *mut GpPen, dashstyle : DashStyle) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenEndCap(pen : *mut GpPen, endcap : LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenLineCap197819(pen : *mut GpPen, startcap : LineCap, endcap : LineCap, dashcap : DashCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenLineJoin(pen : *mut GpPen, linejoin : LineJoin) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenMiterLimit(pen : *mut GpPen, miterlimit : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenMode(pen : *mut GpPen, penmode : PenAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenStartCap(pen : *mut GpPen, startcap : LineCap) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenTransform(pen : *mut GpPen, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenUnit(pen : *mut GpPen, unit : Unit) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPenWidth(pen : *mut GpPen, width : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPixelOffsetMode(graphics : *mut GpGraphics, pixeloffsetmode : PixelOffsetMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetPropertyItem(image : *mut GpImage, item : *const PropertyItem) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetRenderingOrigin(graphics : *mut GpGraphics, x : i32, y : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetSmoothingMode(graphics : *mut GpGraphics, smoothingmode : SmoothingMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetSolidFillColor(brush : *mut GpSolidFill, color : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatAlign(format : *mut GpStringFormat, align : StringAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatDigitSubstitution(format : *mut GpStringFormat, language : u16, substitute : StringDigitSubstitute) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatFlags(format : *mut GpStringFormat, flags : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatHotkeyPrefix(format : *mut GpStringFormat, hotkeyprefix : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatLineAlign(format : *mut GpStringFormat, align : StringAlignment) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatMeasurableCharacterRanges(format : *mut GpStringFormat, rangecount : i32, ranges : *const CharacterRange) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatTabStops(format : *mut GpStringFormat, firsttaboffset : f32, count : i32, tabstops : *const f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetStringFormatTrimming(format : *mut GpStringFormat, trimming : StringTrimming) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetTextContrast(graphics : *mut GpGraphics, contrast : u32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetTextRenderingHint(graphics : *mut GpGraphics, mode : TextRenderingHint) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetTextureTransform(brush : *mut GpTexture, matrix : *const Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetTextureWrapMode(brush : *mut GpTexture, wrapmode : WrapMode) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipSetWorldTransform(graphics : *mut GpGraphics, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipShearMatrix(matrix : *mut Matrix, shearx : f32, sheary : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipStartPathFigure(path : *mut GpPath) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipStringFormatGetGenericDefault(format : *mut *mut GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipStringFormatGetGenericTypographic(format : *mut *mut GpStringFormat) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTestControl(control : GpTestControlEnum, param1 : *mut ::core::ffi::c_void) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformMatrixPoints(matrix : *mut Matrix, pts : *mut PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformMatrixPointsI(matrix : *mut Matrix, pts : *mut Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformPath(path : *mut GpPath, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformPoints(graphics : *mut GpGraphics, destspace : CoordinateSpace, srcspace : CoordinateSpace, points : *mut PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformPointsI(graphics : *mut GpGraphics, destspace : CoordinateSpace, srcspace : CoordinateSpace, points : *mut Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTransformRegion(region : *mut GpRegion, matrix : *mut Matrix) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateClip(graphics : *mut GpGraphics, dx : f32, dy : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateClipI(graphics : *mut GpGraphics, dx : i32, dy : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateLineTransform(brush : *mut GpLineGradient, dx : f32, dy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateMatrix(matrix : *mut Matrix, offsetx : f32, offsety : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslatePathGradientTransform(brush : *mut GpPathGradient, dx : f32, dy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslatePenTransform(pen : *mut GpPen, dx : f32, dy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateRegion(region : *mut GpRegion, dx : f32, dy : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateRegionI(region : *mut GpRegion, dx : i32, dy : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateTextureTransform(brush : *mut GpTexture, dx : f32, dy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipTranslateWorldTransform(graphics : *mut GpGraphics, dx : f32, dy : f32, order : MatrixOrder) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipVectorTransformMatrixPoints(matrix : *mut Matrix, pts : *mut PointF, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipVectorTransformMatrixPointsI(matrix : *mut Matrix, pts : *mut Point, count : i32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipWarpPath(path : *mut GpPath, matrix : *mut Matrix, points : *const PointF, count : i32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, warpmode : WarpMode, flatness : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipWidenPath(nativepath : *mut GpPath, pen : *mut GpPen, matrix : *mut Matrix, flatness : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdipWindingModeOutline(path : *mut GpPath, matrix : *mut Matrix, flatness : f32) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdiplusNotificationHook(token : *mut usize) -> Status); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdiplusNotificationUnhook(token : usize) -> ()); +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] fn GdiplusShutdown(token : usize) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("gdiplus.dll" "system" #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] fn GdiplusStartup(token : *mut usize, input : *const GdiplusStartupInput, output : *mut GdiplusStartupOutput) -> Status); +pub type GdiplusAbort = *mut ::core::ffi::c_void; +pub type IImageBytes = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ALPHA_SHIFT: u32 = 24u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Aborted: Status = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AccessDenied: Status = 12i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustBlackSaturation: CurveAdjustments = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustContrast: CurveAdjustments = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustDensity: CurveAdjustments = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustExposure: CurveAdjustments = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustHighlight: CurveAdjustments = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustMidtone: CurveAdjustments = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustShadow: CurveAdjustments = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustWhiteSaturation: CurveAdjustments = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BLUE_SHIFT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BlurEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x633c80a4_1843_482b_9ef2_be2834c5fdd4); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrightnessContrastEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3a1dbe1_8ec4_4c17_9f4c_ea97ad1c343d); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeHatchFill: BrushType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeLinearGradient: BrushType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypePathGradient: BrushType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeSolidColor: BrushType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeTextureFill: BrushType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CodecIImageBytes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeAny: ColorAdjustType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeBitmap: ColorAdjustType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeBrush: ColorAdjustType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeCount: ColorAdjustType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeDefault: ColorAdjustType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypePen: ColorAdjustType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeText: ColorAdjustType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorBalanceEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x537e597d_251e_48da_9664_29ca496b70f8); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsC: ColorChannelFlags = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsK: ColorChannelFlags = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsLast: ColorChannelFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsM: ColorChannelFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsY: ColorChannelFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorCurveEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd6a0022_58e4_4a67_9d9b_d48eb881a53d); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorLUTEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa7ce72a9_0f7f_40d7_b3cc_d0c02d5c3212); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x718f2615_7933_40e3_a511_5f68fe14dd74); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsAltGray: ColorMatrixFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsDefault: ColorMatrixFlags = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsSkipGrays: ColorMatrixFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorModeARGB32: ColorMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorModeARGB64: ColorMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeComplement: CombineMode = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeExclude: CombineMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeIntersect: CombineMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeReplace: CombineMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeUnion: CombineMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeXor: CombineMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingModeSourceCopy: CompositingMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingModeSourceOver: CompositingMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityAssumeLinear: CompositingQuality = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityDefault: CompositingQuality = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityGammaCorrected: CompositingQuality = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityHighQuality: CompositingQuality = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityHighSpeed: CompositingQuality = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityInvalid: CompositingQuality = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsDefault: ConvertToEmfPlusFlags = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsInvalidRecord: ConvertToEmfPlusFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsRopUsed: ConvertToEmfPlusFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsText: ConvertToEmfPlusFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpaceDevice: CoordinateSpace = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpacePage: CoordinateSpace = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpaceWorld: CoordinateSpace = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelAll: CurveChannel = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelBlue: CurveChannel = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelGreen: CurveChannel = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelRed: CurveChannel = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CustomLineCapTypeAdjustableArrow: CustomLineCapType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CustomLineCapTypeDefault: CustomLineCapType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapFlat: DashCap = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapRound: DashCap = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapTriangle: DashCap = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleCustom: DashStyle = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDash: DashStyle = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDashDot: DashStyle = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDashDotDot: DashStyle = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDot: DashStyle = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleSolid: DashStyle = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DebugEventLevelFatal: DebugEventLevel = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DebugEventLevelWarning: DebugEventLevel = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeDualSpiral4x4: DitherType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeDualSpiral8x8: DitherType = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeErrorDiffusion: DitherType = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeMax: DitherType = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeNone: DitherType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered16x16: DitherType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered4x4: DitherType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered8x8: DitherType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSolid: DitherType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSpiral4x4: DitherType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSpiral8x8: DitherType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsCmapLookup: DriverStringOptions = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsLimitSubpixel: DriverStringOptions = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsRealizedAdvance: DriverStringOptions = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsVertical: DriverStringOptions = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTotal: EmfPlusRecordType = 16443i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeBeginContainer: EmfPlusRecordType = 16423i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeBeginContainerNoParams: EmfPlusRecordType = 16424i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeClear: EmfPlusRecordType = 16393i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeComment: EmfPlusRecordType = 16387i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawArc: EmfPlusRecordType = 16402i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawBeziers: EmfPlusRecordType = 16409i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawClosedCurve: EmfPlusRecordType = 16407i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawCurve: EmfPlusRecordType = 16408i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawDriverString: EmfPlusRecordType = 16438i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawEllipse: EmfPlusRecordType = 16399i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawImage: EmfPlusRecordType = 16410i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawImagePoints: EmfPlusRecordType = 16411i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawLines: EmfPlusRecordType = 16397i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawPath: EmfPlusRecordType = 16405i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawPie: EmfPlusRecordType = 16401i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawRects: EmfPlusRecordType = 16395i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawString: EmfPlusRecordType = 16412i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeEndContainer: EmfPlusRecordType = 16425i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeEndOfFile: EmfPlusRecordType = 16386i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillClosedCurve: EmfPlusRecordType = 16406i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillEllipse: EmfPlusRecordType = 16398i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPath: EmfPlusRecordType = 16404i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPie: EmfPlusRecordType = 16400i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPolygon: EmfPlusRecordType = 16396i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillRects: EmfPlusRecordType = 16394i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillRegion: EmfPlusRecordType = 16403i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeGetDC: EmfPlusRecordType = 16388i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeHeader: EmfPlusRecordType = 16385i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeInvalid: EmfPlusRecordType = 16384i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMax: EmfPlusRecordType = 16442i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMin: EmfPlusRecordType = 16385i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatEnd: EmfPlusRecordType = 16391i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatSection: EmfPlusRecordType = 16390i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatStart: EmfPlusRecordType = 16389i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiplyWorldTransform: EmfPlusRecordType = 16428i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeObject: EmfPlusRecordType = 16392i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeOffsetClip: EmfPlusRecordType = 16437i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeResetClip: EmfPlusRecordType = 16433i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeResetWorldTransform: EmfPlusRecordType = 16427i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeRestore: EmfPlusRecordType = 16422i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeRotateWorldTransform: EmfPlusRecordType = 16431i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSave: EmfPlusRecordType = 16421i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeScaleWorldTransform: EmfPlusRecordType = 16430i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSerializableObject: EmfPlusRecordType = 16440i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetAntiAliasMode: EmfPlusRecordType = 16414i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipPath: EmfPlusRecordType = 16435i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipRect: EmfPlusRecordType = 16434i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipRegion: EmfPlusRecordType = 16436i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetCompositingMode: EmfPlusRecordType = 16419i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetCompositingQuality: EmfPlusRecordType = 16420i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetInterpolationMode: EmfPlusRecordType = 16417i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetPageTransform: EmfPlusRecordType = 16432i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetPixelOffsetMode: EmfPlusRecordType = 16418i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetRenderingOrigin: EmfPlusRecordType = 16413i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTSClip: EmfPlusRecordType = 16442i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTSGraphics: EmfPlusRecordType = 16441i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTextContrast: EmfPlusRecordType = 16416i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTextRenderingHint: EmfPlusRecordType = 16415i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetWorldTransform: EmfPlusRecordType = 16426i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeStrokeFillPath: EmfPlusRecordType = 16439i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeTranslateWorldTransform: EmfPlusRecordType = 16429i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAbortPath: EmfPlusRecordType = 68i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAlphaBlend: EmfPlusRecordType = 114i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAngleArc: EmfPlusRecordType = 41i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeArc: EmfPlusRecordType = 45i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeArcTo: EmfPlusRecordType = 55i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeBeginPath: EmfPlusRecordType = 59i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeBitBlt: EmfPlusRecordType = 76i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeChord: EmfPlusRecordType = 46i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCloseFigure: EmfPlusRecordType = 61i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeColorCorrectPalette: EmfPlusRecordType = 111i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeColorMatchToTargetW: EmfPlusRecordType = 121i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateBrushIndirect: EmfPlusRecordType = 39i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateColorSpace: EmfPlusRecordType = 99i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateColorSpaceW: EmfPlusRecordType = 122i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateDIBPatternBrushPt: EmfPlusRecordType = 94i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateMonoBrush: EmfPlusRecordType = 93i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreatePalette: EmfPlusRecordType = 49i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreatePen: EmfPlusRecordType = 38i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDeleteColorSpace: EmfPlusRecordType = 101i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDeleteObject: EmfPlusRecordType = 40i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDrawEscape: EmfPlusRecordType = 105i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEOF: EmfPlusRecordType = 14i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEllipse: EmfPlusRecordType = 42i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEndPath: EmfPlusRecordType = 60i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExcludeClipRect: EmfPlusRecordType = 29i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtCreateFontIndirect: EmfPlusRecordType = 82i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtCreatePen: EmfPlusRecordType = 95i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtEscape: EmfPlusRecordType = 106i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtFloodFill: EmfPlusRecordType = 53i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtSelectClipRgn: EmfPlusRecordType = 75i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtTextOutA: EmfPlusRecordType = 83i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtTextOutW: EmfPlusRecordType = 84i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFillPath: EmfPlusRecordType = 62i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFillRgn: EmfPlusRecordType = 71i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFlattenPath: EmfPlusRecordType = 65i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeForceUFIMapping: EmfPlusRecordType = 109i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFrameRgn: EmfPlusRecordType = 72i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGLSBoundedRecord: EmfPlusRecordType = 103i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGLSRecord: EmfPlusRecordType = 102i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGdiComment: EmfPlusRecordType = 70i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGradientFill: EmfPlusRecordType = 118i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeHeader: EmfPlusRecordType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeIntersectClipRect: EmfPlusRecordType = 30i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeInvertRgn: EmfPlusRecordType = 73i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeLineTo: EmfPlusRecordType = 54i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMaskBlt: EmfPlusRecordType = 78i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMax: EmfPlusRecordType = 122i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMin: EmfPlusRecordType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeModifyWorldTransform: EmfPlusRecordType = 36i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMoveToEx: EmfPlusRecordType = 27i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeNamedEscape: EmfPlusRecordType = 110i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeOffsetClipRgn: EmfPlusRecordType = 26i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePaintRgn: EmfPlusRecordType = 74i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePie: EmfPlusRecordType = 47i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePixelFormat: EmfPlusRecordType = 104i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePlgBlt: EmfPlusRecordType = 79i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezier: EmfPlusRecordType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezier16: EmfPlusRecordType = 85i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezierTo: EmfPlusRecordType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezierTo16: EmfPlusRecordType = 88i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyDraw: EmfPlusRecordType = 56i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyDraw16: EmfPlusRecordType = 92i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyLineTo: EmfPlusRecordType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolygon: EmfPlusRecordType = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolygon16: EmfPlusRecordType = 91i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolyline: EmfPlusRecordType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolyline16: EmfPlusRecordType = 90i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyTextOutA: EmfPlusRecordType = 96i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyTextOutW: EmfPlusRecordType = 97i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolygon: EmfPlusRecordType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolygon16: EmfPlusRecordType = 86i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyline: EmfPlusRecordType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyline16: EmfPlusRecordType = 87i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolylineTo16: EmfPlusRecordType = 89i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRealizePalette: EmfPlusRecordType = 52i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRectangle: EmfPlusRecordType = 43i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeReserved_069: EmfPlusRecordType = 69i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeReserved_117: EmfPlusRecordType = 117i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeResizePalette: EmfPlusRecordType = 51i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRestoreDC: EmfPlusRecordType = 34i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRoundRect: EmfPlusRecordType = 44i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSaveDC: EmfPlusRecordType = 33i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeScaleViewportExtEx: EmfPlusRecordType = 31i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeScaleWindowExtEx: EmfPlusRecordType = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectClipPath: EmfPlusRecordType = 67i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectObject: EmfPlusRecordType = 37i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectPalette: EmfPlusRecordType = 48i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetArcDirection: EmfPlusRecordType = 57i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBkColor: EmfPlusRecordType = 25i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBkMode: EmfPlusRecordType = 18i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBrushOrgEx: EmfPlusRecordType = 13i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetColorAdjustment: EmfPlusRecordType = 23i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetColorSpace: EmfPlusRecordType = 100i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetDIBitsToDevice: EmfPlusRecordType = 80i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMMode: EmfPlusRecordType = 98i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMProfileA: EmfPlusRecordType = 112i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMProfileW: EmfPlusRecordType = 113i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetLayout: EmfPlusRecordType = 115i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetLinkedUFIs: EmfPlusRecordType = 119i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMapMode: EmfPlusRecordType = 17i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMapperFlags: EmfPlusRecordType = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMetaRgn: EmfPlusRecordType = 28i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMiterLimit: EmfPlusRecordType = 58i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPaletteEntries: EmfPlusRecordType = 50i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPixelV: EmfPlusRecordType = 15i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPolyFillMode: EmfPlusRecordType = 19i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetROP2: EmfPlusRecordType = 20i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetStretchBltMode: EmfPlusRecordType = 21i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextAlign: EmfPlusRecordType = 22i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextColor: EmfPlusRecordType = 24i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextJustification: EmfPlusRecordType = 120i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetViewportExtEx: EmfPlusRecordType = 11i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetViewportOrgEx: EmfPlusRecordType = 12i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWindowExtEx: EmfPlusRecordType = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWindowOrgEx: EmfPlusRecordType = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWorldTransform: EmfPlusRecordType = 35i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSmallTextOut: EmfPlusRecordType = 108i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStartDoc: EmfPlusRecordType = 107i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStretchBlt: EmfPlusRecordType = 77i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStretchDIBits: EmfPlusRecordType = 81i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStrokeAndFillPath: EmfPlusRecordType = 63i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStrokePath: EmfPlusRecordType = 64i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeTransparentBlt: EmfPlusRecordType = 116i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeWidenPath: EmfPlusRecordType = 66i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsDefault: EmfToWmfBitsFlags = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsEmbedEmf: EmfToWmfBitsFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsIncludePlaceable: EmfToWmfBitsFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsNoXORClip: EmfToWmfBitsFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfOnly: EmfType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfPlusDual: EmfType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfPlusOnly: EmfType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderChrominanceTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf2e455dc_09b3_4316_8260_676ada32481c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderColorDepth: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x66087055_ad66_4c7c_9a18_38a2310b8337); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderColorSpace: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae7a62a0_ee2c_49d8_9d07_1ba8a927596e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderCompression: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe09d739d_ccd4_44ee_8eba_3fbf8be4fc58); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderImageItems: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x63875e13_1f1d_45ab_9195_a29b6066a650); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderLuminanceTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xedb33bce_0266_4a77_b904_27216099e717); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeASCII: EncoderParameterValueType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeByte: EncoderParameterValueType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeLong: EncoderParameterValueType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeLongRange: EncoderParameterValueType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypePointer: EncoderParameterValueType = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeRational: EncoderParameterValueType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeRationalRange: EncoderParameterValueType = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeShort: EncoderParameterValueType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeUndefined: EncoderParameterValueType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderQuality: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1d5be4b5_fa4a_452d_9cdd_5db35105e7eb); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderRenderMethod: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6d42c53a_229a_4825_8bb7_5c99e2b9a8b8); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderSaveAsCMYK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa219bbc9_0a9d_4005_a3ee_3a421b8bb06c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderSaveFlag: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x292266fc_ac40_47bf_8cfc_a85b89a655de); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderScanMethod: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3a4e2661_3109_4e56_8536_42c156e7dcfa); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderTransformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8d0eb2d1_a58e_4ea8_aa14_108074b7b6f9); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeCMYK: EncoderValue = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeGray: EncoderValue = 24i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeRGB: EncoderValue = 25i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeYCCK: EncoderValue = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionCCITT3: EncoderValue = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionCCITT4: EncoderValue = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionLZW: EncoderValue = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionNone: EncoderValue = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionRle: EncoderValue = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFlush: EncoderValue = 20i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionPage: EncoderValue = 23i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionResolution: EncoderValue = 22i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionTime: EncoderValue = 21i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueLastFrame: EncoderValue = 19i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueMultiFrame: EncoderValue = 18i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueRenderNonProgressive: EncoderValue = 12i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueRenderProgressive: EncoderValue = 11i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueScanMethodInterlaced: EncoderValue = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueScanMethodNonInterlaced: EncoderValue = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformFlipHorizontal: EncoderValue = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformFlipVertical: EncoderValue = 17i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate180: EncoderValue = 14i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate270: EncoderValue = 15i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate90: EncoderValue = 13i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueVersionGif87: EncoderValue = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueVersionGif89: EncoderValue = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x24d18c76_814a_41a4_bf53_1c219cccf797); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FileNotFound: Status = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FillModeAlternate: FillMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FillModeWinding: FillMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlatnessDefault: f32 = 0.25f32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlushIntentionFlush: FlushIntention = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlushIntentionSync: FlushIntention = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontFamilyNotFound: Status = 14i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleBold: FontStyle = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleBoldItalic: FontStyle = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleItalic: FontStyle = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleNotFound: Status = 15i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleRegular: FontStyle = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleStrikeout: FontStyle = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleUnderline: FontStyle = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FormatIDImageInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe5836cbe_5eef_4f1d_acde_ae4c43b608ce); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FormatIDJpegAppHeaders: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1c4afdcd_6177_43cf_abc7_5f51af39ee85); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionPage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7462dc86_6180_4c7e_8e3f_ee7333a7a483); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionResolution: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x84236f7b_3bd3_428f_8dab_4ea1439ca315); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionTime: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6aedbd6d_3fb5_418a_83a6_7f45229dc872); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_EMFPLUSFLAGS_DISPLAY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_EMFPLUS_RECORD_BASE: u32 = 16384u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_WMF_RECORD_BASE: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GREEN_SHIFT: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusNotInitialized: Status = 18i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupDefault: GdiplusStartupParams = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupNoSetRound: GdiplusStartupParams = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupSetPSValue: GdiplusStartupParams = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupTransparencyMask: GdiplusStartupParams = -16777216i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericError: Status = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilyMonospace: GenericFontFamily = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilySansSerif: GenericFontFamily = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilySerif: GenericFontFamily = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle05Percent: HatchStyle = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle10Percent: HatchStyle = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle20Percent: HatchStyle = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle25Percent: HatchStyle = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle30Percent: HatchStyle = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle40Percent: HatchStyle = 11i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle50Percent: HatchStyle = 12i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle60Percent: HatchStyle = 13i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle70Percent: HatchStyle = 14i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle75Percent: HatchStyle = 15i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle80Percent: HatchStyle = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle90Percent: HatchStyle = 17i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleBackwardDiagonal: HatchStyle = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleCross: HatchStyle = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkDownwardDiagonal: HatchStyle = 20i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkHorizontal: HatchStyle = 29i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkUpwardDiagonal: HatchStyle = 21i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkVertical: HatchStyle = 28i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedDownwardDiagonal: HatchStyle = 30i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedHorizontal: HatchStyle = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedUpwardDiagonal: HatchStyle = 31i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedVertical: HatchStyle = 33i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDiagonalBrick: HatchStyle = 38i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDiagonalCross: HatchStyle = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDivot: HatchStyle = 42i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDottedDiamond: HatchStyle = 44i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDottedGrid: HatchStyle = 43i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleForwardDiagonal: HatchStyle = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleHorizontal: HatchStyle = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleHorizontalBrick: HatchStyle = 39i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeCheckerBoard: HatchStyle = 50i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeConfetti: HatchStyle = 35i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeGrid: HatchStyle = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightDownwardDiagonal: HatchStyle = 18i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightHorizontal: HatchStyle = 25i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightUpwardDiagonal: HatchStyle = 19i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightVertical: HatchStyle = 24i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleMax: HatchStyle = 52i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleMin: HatchStyle = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleNarrowHorizontal: HatchStyle = 27i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleNarrowVertical: HatchStyle = 26i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleOutlinedDiamond: HatchStyle = 51i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStylePlaid: HatchStyle = 41i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleShingle: HatchStyle = 45i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallCheckerBoard: HatchStyle = 49i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallConfetti: HatchStyle = 34i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallGrid: HatchStyle = 48i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSolidDiamond: HatchStyle = 52i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSphere: HatchStyle = 47i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleTotal: HatchStyle = 53i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleTrellis: HatchStyle = 46i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleVertical: HatchStyle = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWave: HatchStyle = 37i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWeave: HatchStyle = 40i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWideDownwardDiagonal: HatchStyle = 22i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWideUpwardDiagonal: HatchStyle = 23i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleZigZag: HatchStyle = 36i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatA: HistogramFormat = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatARGB: HistogramFormat = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatB: HistogramFormat = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatG: HistogramFormat = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatGray: HistogramFormat = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatPARGB: HistogramFormat = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatR: HistogramFormat = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatRGB: HistogramFormat = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixHide: HotkeyPrefix = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixNone: HotkeyPrefix = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixShow: HotkeyPrefix = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HueSaturationLightnessEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8b2dd6c3_eb07_4d87_a5f0_7108e26a9c5f); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsBlockingDecode: ImageCodecFlags = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsBuiltin: ImageCodecFlags = 65536i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsDecoder: ImageCodecFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsEncoder: ImageCodecFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSeekableEncode: ImageCodecFlags = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSupportBitmap: ImageCodecFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSupportVector: ImageCodecFlags = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSystem: ImageCodecFlags = 131072i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsUser: ImageCodecFlags = 262144i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsCaching: ImageFlags = 131072i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceCMYK: ImageFlags = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceGRAY: ImageFlags = 64i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceRGB: ImageFlags = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceYCBCR: ImageFlags = 128i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceYCCK: ImageFlags = 256i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasAlpha: ImageFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasRealDPI: ImageFlags = 4096i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasRealPixelSize: ImageFlags = 8192i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasTranslucent: ImageFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsNone: ImageFlags = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsPartiallyScalable: ImageFlags = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsReadOnly: ImageFlags = 65536i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsScalable: ImageFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatBMP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cab_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatEMF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cac_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatEXIF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb2_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatGIF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb0_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatHEIF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb6_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatIcon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb5_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatJPEG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cae_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatMemoryBMP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3caa_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatPNG: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3caf_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatTIFF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb1_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatUndefined: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3ca9_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatWEBP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cb7_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatWMF: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96b3cad_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeRead: ImageLockMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeUserInputBuf: ImageLockMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeWrite: ImageLockMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeBitmap: ImageType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeMetafile: ImageType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeUnknown: ImageType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InsufficientBuffer: Status = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeBicubic: InterpolationMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeBilinear: InterpolationMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeDefault: InterpolationMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQuality: InterpolationMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQualityBicubic: InterpolationMode = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQualityBilinear: InterpolationMode = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeInvalid: InterpolationMode = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeLowQuality: InterpolationMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeNearestNeighbor: InterpolationMode = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InvalidParameter: Status = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterBits: ItemDataPosition = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterHeader: ItemDataPosition = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterPalette: ItemDataPosition = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LevelsEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x99c354ec_2a31_4f3a_8c34_17a803b33a25); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapAnchorMask: LineCap = 240i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapArrowAnchor: LineCap = 20i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapCustom: LineCap = 255i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapDiamondAnchor: LineCap = 19i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapFlat: LineCap = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapNoAnchor: LineCap = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapRound: LineCap = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapRoundAnchor: LineCap = 18i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapSquare: LineCap = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapSquareAnchor: LineCap = 17i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapTriangle: LineCap = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinBevel: LineJoin = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinMiter: LineJoin = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinMiterClipped: LineJoin = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinRound: LineJoin = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeBackwardDiagonal: LinearGradientMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeForwardDiagonal: LinearGradientMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeHorizontal: LinearGradientMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeVertical: LinearGradientMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MatrixOrderAppend: MatrixOrder = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MatrixOrderPrepend: MatrixOrder = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitDocument: MetafileFrameUnit = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitGdi: MetafileFrameUnit = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitInch: MetafileFrameUnit = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitMillimeter: MetafileFrameUnit = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitPixel: MetafileFrameUnit = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitPoint: MetafileFrameUnit = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmf: MetafileType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmfPlusDual: MetafileType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmfPlusOnly: MetafileType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeInvalid: MetafileType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeWmf: MetafileType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeWmfPlaceable: MetafileType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const NotImplemented: Status = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const NotTrueTypeFont: Status = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectBusy: Status = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeBrush: ObjectType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeCustomLineCap: ObjectType = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeFont: ObjectType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeGraphics: ObjectType = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeImage: ObjectType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeImageAttributes: ObjectType = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeInvalid: ObjectType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeMax: ObjectType = 10i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeMin: ObjectType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypePath: ObjectType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypePen: ObjectType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeRegion: ObjectType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeStringFormat: ObjectType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Ok: Status = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const OutOfMemory: Status = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsGrayScale: PaletteFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsHalftone: PaletteFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsHasAlpha: PaletteFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeCustom: PaletteType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedBW: PaletteType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone125: PaletteType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone216: PaletteType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone252: PaletteType = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone256: PaletteType = 9i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone27: PaletteType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone64: PaletteType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone8: PaletteType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeOptimal: PaletteType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeBezier: PathPointType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeBezier3: PathPointType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeCloseSubpath: PathPointType = 128i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeDashMode: PathPointType = 16i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeLine: PathPointType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypePathMarker: PathPointType = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypePathTypeMask: PathPointType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeStart: PathPointType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenAlignmentCenter: PenAlignment = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenAlignmentInset: PenAlignment = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeHatchFill: PenType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeLinearGradient: PenType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypePathGradient: PenType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeSolidColor: PenType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeTextureFill: PenType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeUnknown: PenType = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatAlpha: u32 = 262144u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatCanonical: u32 = 2097152u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatDontCare: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatExtended: u32 = 1048576u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatGDI: u32 = 131072u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatIndexed: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatMax: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatPAlpha: u32 = 524288u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatUndefined: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeDefault: PixelOffsetMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHalf: PixelOffsetMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHighQuality: PixelOffsetMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHighSpeed: PixelOffsetMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeInvalid: PixelOffsetMode = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeNone: PixelOffsetMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ProfileNotFound: Status = 21i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyNotFound: Status = 19i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyNotSupported: Status = 20i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagArtist: u32 = 315u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagBitsPerSample: u32 = 258u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCellHeight: u32 = 265u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCellWidth: u32 = 264u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagChrominanceTable: u32 = 20625u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagColorMap: u32 = 320u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagColorTransferFunction: u32 = 20506u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCompression: u32 = 259u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCopyright: u32 = 33432u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDateTime: u32 = 306u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDocumentName: u32 = 269u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDotRange: u32 = 336u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagEquipMake: u32 = 271u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagEquipModel: u32 = 272u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifAperture: u32 = 37378u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifBrightness: u32 = 37379u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCfaPattern: u32 = 41730u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifColorSpace: u32 = 40961u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCompBPP: u32 = 37122u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCompConfig: u32 = 37121u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifContrast: u32 = 41992u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCustomRendered: u32 = 41985u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTDigSS: u32 = 37522u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTDigitized: u32 = 36868u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTOrig: u32 = 36867u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTOrigSS: u32 = 37521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTSubsec: u32 = 37520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDeviceSettingDesc: u32 = 41995u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDigitalZoomRatio: u32 = 41988u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureBias: u32 = 37380u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureIndex: u32 = 41493u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureMode: u32 = 41986u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureProg: u32 = 34850u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureTime: u32 = 33434u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFNumber: u32 = 33437u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFPXVer: u32 = 40960u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFileSource: u32 = 41728u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFlash: u32 = 37385u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFlashEnergy: u32 = 41483u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalLength: u32 = 37386u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalLengthIn35mmFilm: u32 = 41989u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalResUnit: u32 = 41488u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalXRes: u32 = 41486u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalYRes: u32 = 41487u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifGainControl: u32 = 41991u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifIFD: u32 = 34665u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifISOSpeed: u32 = 34855u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifInterop: u32 = 40965u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifLightSource: u32 = 37384u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMakerNote: u32 = 37500u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMaxAperture: u32 = 37381u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMeteringMode: u32 = 37383u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifOECF: u32 = 34856u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifPixXDim: u32 = 40962u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifPixYDim: u32 = 40963u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifRelatedWav: u32 = 40964u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSaturation: u32 = 41993u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSceneCaptureType: u32 = 41990u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSceneType: u32 = 41729u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSensingMethod: u32 = 41495u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSharpness: u32 = 41994u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifShutterSpeed: u32 = 37377u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSpatialFR: u32 = 41484u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSpectralSense: u32 = 34852u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectArea: u32 = 37396u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectDist: u32 = 37382u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectDistanceRange: u32 = 41996u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectLoc: u32 = 41492u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifUniqueImageID: u32 = 42016u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifUserComment: u32 = 37510u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifVer: u32 = 36864u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifWhiteBalance: u32 = 41987u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExtraSamples: u32 = 338u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFillOrder: u32 = 266u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFrameDelay: u32 = 20736u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFreeByteCounts: u32 = 289u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFreeOffset: u32 = 288u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGamma: u32 = 769u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGlobalPalette: u32 = 20738u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAltitude: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAltitudeRef: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAreaInformation: u32 = 28u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDate: u32 = 29u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestBear: u32 = 24u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestBearRef: u32 = 23u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestDist: u32 = 26u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestDistRef: u32 = 25u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLat: u32 = 20u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLatRef: u32 = 19u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLong: u32 = 22u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLongRef: u32 = 21u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDifferential: u32 = 30u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsDop: u32 = 11u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsMeasureMode: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsSatellites: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsStatus: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsTime: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsIFD: u32 = 34853u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsImgDir: u32 = 17u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsImgDirRef: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLatitude: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLatitudeRef: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLongitude: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLongitudeRef: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsMapDatum: u32 = 18u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsProcessingMethod: u32 = 27u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsSpeed: u32 = 13u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsSpeedRef: u32 = 12u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsTrack: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsTrackRef: u32 = 14u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsVer: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGrayResponseCurve: u32 = 291u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGrayResponseUnit: u32 = 290u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGridSize: u32 = 20497u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneDegree: u32 = 20492u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneHints: u32 = 321u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneLPI: u32 = 20490u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneLPIUnit: u32 = 20491u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneMisc: u32 = 20494u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneScreen: u32 = 20495u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneShape: u32 = 20493u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHostComputer: u32 = 316u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagICCProfile: u32 = 34675u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagICCProfileDescriptor: u32 = 770u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageDescription: u32 = 270u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageHeight: u32 = 257u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageTitle: u32 = 800u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageWidth: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagIndexBackground: u32 = 20739u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagIndexTransparent: u32 = 20740u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagInkNames: u32 = 333u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagInkSet: u32 = 332u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGACTables: u32 = 521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGDCTables: u32 = 520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGInterFormat: u32 = 513u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGInterLength: u32 = 514u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGLosslessPredictors: u32 = 517u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGPointTransforms: u32 = 518u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGProc: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGQTables: u32 = 519u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGQuality: u32 = 20496u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGRestartInterval: u32 = 515u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagLoopCount: u32 = 20737u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagLuminanceTable: u32 = 20624u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagMaxSampleValue: u32 = 281u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagMinSampleValue: u32 = 280u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagNewSubfileType: u32 = 254u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagNumberOfInks: u32 = 334u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagOrientation: u32 = 274u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPageName: u32 = 285u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPageNumber: u32 = 297u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPaletteHistogram: u32 = 20755u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPhotometricInterp: u32 = 262u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelPerUnitX: u32 = 20753u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelPerUnitY: u32 = 20754u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelUnit: u32 = 20752u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPlanarConfig: u32 = 284u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPredictor: u32 = 317u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrimaryChromaticities: u32 = 319u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlags: u32 = 20485u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsBleedWidth: u32 = 20488u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsBleedWidthScale: u32 = 20489u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsCrop: u32 = 20487u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsVersion: u32 = 20486u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagREFBlackWhite: u32 = 532u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionUnit: u32 = 296u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionXLengthUnit: u32 = 20483u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionXUnit: u32 = 20481u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionYLengthUnit: u32 = 20484u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionYUnit: u32 = 20482u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagRowsPerStrip: u32 = 278u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSMaxSampleValue: u32 = 341u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSMinSampleValue: u32 = 340u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSRGBRenderingIntent: u32 = 771u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSampleFormat: u32 = 339u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSamplesPerPixel: u32 = 277u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSoftwareUsed: u32 = 305u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagStripBytesCount: u32 = 279u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagStripOffsets: u32 = 273u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSubfileType: u32 = 255u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagT4Option: u32 = 292u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagT6Option: u32 = 293u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTargetPrinter: u32 = 337u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThreshHolding: u32 = 263u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailArtist: u32 = 20532u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailBitsPerSample: u32 = 20514u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailColorDepth: u32 = 20501u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCompressedSize: u32 = 20505u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCompression: u32 = 20515u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCopyRight: u32 = 20539u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailData: u32 = 20507u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailDateTime: u32 = 20531u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailEquipMake: u32 = 20518u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailEquipModel: u32 = 20519u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailFormat: u32 = 20498u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailHeight: u32 = 20500u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageDescription: u32 = 20517u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageHeight: u32 = 20513u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageWidth: u32 = 20512u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailOrientation: u32 = 20521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPhotometricInterp: u32 = 20516u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPlanarConfig: u32 = 20527u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPlanes: u32 = 20502u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPrimaryChromaticities: u32 = 20534u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRawBytes: u32 = 20503u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRefBlackWhite: u32 = 20538u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionUnit: u32 = 20528u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionX: u32 = 20525u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionY: u32 = 20526u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRowsPerStrip: u32 = 20523u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSamplesPerPixel: u32 = 20522u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSize: u32 = 20504u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSoftwareUsed: u32 = 20530u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailStripBytesCount: u32 = 20524u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailStripOffsets: u32 = 20520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailTransferFunction: u32 = 20529u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailWhitePoint: u32 = 20533u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailWidth: u32 = 20499u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrCoefficients: u32 = 20535u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrPositioning: u32 = 20537u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrSubsampling: u32 = 20536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileByteCounts: u32 = 325u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileLength: u32 = 323u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileOffset: u32 = 324u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileWidth: u32 = 322u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTransferFuncition: u32 = 301u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTransferRange: u32 = 342u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeASCII: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeByte: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeLong: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeRational: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeSLONG: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeSRational: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeShort: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeUndefined: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagWhitePoint: u32 = 318u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagXPosition: u32 = 286u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagXResolution: u32 = 282u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrCoefficients: u32 = 529u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrPositioning: u32 = 531u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrSubsampling: u32 = 530u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYPosition: u32 = 287u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYResolution: u32 = 283u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeDefault: QualityMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeHigh: QualityMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeInvalid: QualityMode = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeLow: QualityMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RED_SHIFT: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RedEyeCorrectionEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x74d29d05_69a4_4266_9549_3cc52836b632); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipNone: RotateFlipType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipX: RotateFlipType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipXY: RotateFlipType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipY: RotateFlipType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipNone: RotateFlipType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipX: RotateFlipType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipXY: RotateFlipType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipY: RotateFlipType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipNone: RotateFlipType = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipX: RotateFlipType = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipXY: RotateFlipType = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipY: RotateFlipType = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipNone: RotateFlipType = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipX: RotateFlipType = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipXY: RotateFlipType = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipY: RotateFlipType = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SharpenEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x63cbf3ee_c526_402c_8f71_62c540bf5142); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias: SmoothingMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias8x4: SmoothingMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias8x8: SmoothingMode = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeDefault: SmoothingMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeHighQuality: SmoothingMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeHighSpeed: SmoothingMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeInvalid: SmoothingMode = -1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeNone: SmoothingMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentCenter: StringAlignment = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentFar: StringAlignment = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentNear: StringAlignment = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteNational: StringDigitSubstitute = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteNone: StringDigitSubstitute = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteTraditional: StringDigitSubstitute = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteUser: StringDigitSubstitute = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsBypassGDI: StringFormatFlags = -2147483648i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDirectionRightToLeft: StringFormatFlags = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDirectionVertical: StringFormatFlags = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDisplayFormatControl: StringFormatFlags = 32i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsLineLimit: StringFormatFlags = 8192i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsMeasureTrailingSpaces: StringFormatFlags = 2048i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoClip: StringFormatFlags = 16384i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoFitBlackBox: StringFormatFlags = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoFontFallback: StringFormatFlags = 1024i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoWrap: StringFormatFlags = 4096i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingCharacter: StringTrimming = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisCharacter: StringTrimming = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisPath: StringTrimming = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisWord: StringTrimming = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingNone: StringTrimming = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingWord: StringTrimming = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlForceBilinear: GpTestControlEnum = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlGetBuildNumber: GpTestControlEnum = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlNoICM: GpTestControlEnum = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintAntiAlias: TextRenderingHint = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintAntiAliasGridFit: TextRenderingHint = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintClearTypeGridFit: TextRenderingHint = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSingleBitPerPixel: TextRenderingHint = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSingleBitPerPixelGridFit: TextRenderingHint = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSystemDefault: TextRenderingHint = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TintEffectGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1077af00_2848_4441_9489_44ad4c2d7a2c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitDisplay: Unit = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitDocument: Unit = 5i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitInch: Unit = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitMillimeter: Unit = 6i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitPixel: Unit = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitPoint: Unit = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitWorld: Unit = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnknownImageFormat: Status = 13i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnsupportedGdiplusVersion: Status = 17i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ValueOverflow: Status = 11i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WarpModeBilinear: WarpMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WarpModePerspective: WarpMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Win32Error: Status = 7i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeAbortDoc: EmfPlusRecordType = 65618i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeAnimatePalette: EmfPlusRecordType = 66614i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeArc: EmfPlusRecordType = 67607i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeBitBlt: EmfPlusRecordType = 67874i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeChord: EmfPlusRecordType = 67632i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBitmap: EmfPlusRecordType = 67326i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBitmapIndirect: EmfPlusRecordType = 66301i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBrush: EmfPlusRecordType = 65784i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBrushIndirect: EmfPlusRecordType = 66300i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateFontIndirect: EmfPlusRecordType = 66299i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePalette: EmfPlusRecordType = 65783i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePatternBrush: EmfPlusRecordType = 66041i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePenIndirect: EmfPlusRecordType = 66298i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateRegion: EmfPlusRecordType = 67327i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBBitBlt: EmfPlusRecordType = 67904i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBCreatePatternBrush: EmfPlusRecordType = 65858i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBStretchBlt: EmfPlusRecordType = 68417i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDeleteObject: EmfPlusRecordType = 66032i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDrawText: EmfPlusRecordType = 67119i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEllipse: EmfPlusRecordType = 66584i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEndDoc: EmfPlusRecordType = 65630i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEndPage: EmfPlusRecordType = 65616i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEscape: EmfPlusRecordType = 67110i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExcludeClipRect: EmfPlusRecordType = 66581i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExtFloodFill: EmfPlusRecordType = 66888i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExtTextOut: EmfPlusRecordType = 68146i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFillRegion: EmfPlusRecordType = 66088i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFloodFill: EmfPlusRecordType = 66585i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFrameRegion: EmfPlusRecordType = 66601i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeIntersectClipRect: EmfPlusRecordType = 66582i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeInvertRegion: EmfPlusRecordType = 65834i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeLineTo: EmfPlusRecordType = 66067i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeMoveTo: EmfPlusRecordType = 66068i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetClipRgn: EmfPlusRecordType = 66080i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetViewportOrg: EmfPlusRecordType = 66065i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetWindowOrg: EmfPlusRecordType = 66063i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePaintRegion: EmfPlusRecordType = 65835i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePatBlt: EmfPlusRecordType = 67101i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePie: EmfPlusRecordType = 67610i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolyPolygon: EmfPlusRecordType = 66872i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolygon: EmfPlusRecordType = 66340i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolyline: EmfPlusRecordType = 66341i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRealizePalette: EmfPlusRecordType = 65589i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRectangle: EmfPlusRecordType = 66587i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeResetDC: EmfPlusRecordType = 65868i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeResizePalette: EmfPlusRecordType = 65849i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRestoreDC: EmfPlusRecordType = 65831i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRoundRect: EmfPlusRecordType = 67100i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSaveDC: EmfPlusRecordType = 65566i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeScaleViewportExt: EmfPlusRecordType = 66578i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeScaleWindowExt: EmfPlusRecordType = 66576i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectClipRegion: EmfPlusRecordType = 65836i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectObject: EmfPlusRecordType = 65837i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectPalette: EmfPlusRecordType = 66100i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetBkColor: EmfPlusRecordType = 66049i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetBkMode: EmfPlusRecordType = 65794i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetDIBToDev: EmfPlusRecordType = 68915i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetLayout: EmfPlusRecordType = 65865i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetMapMode: EmfPlusRecordType = 65795i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetMapperFlags: EmfPlusRecordType = 66097i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPalEntries: EmfPlusRecordType = 65591i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPixel: EmfPlusRecordType = 66591i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPolyFillMode: EmfPlusRecordType = 65798i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetROP2: EmfPlusRecordType = 65796i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetRelAbs: EmfPlusRecordType = 65797i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetStretchBltMode: EmfPlusRecordType = 65799i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextAlign: EmfPlusRecordType = 65838i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextCharExtra: EmfPlusRecordType = 65800i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextColor: EmfPlusRecordType = 66057i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextJustification: EmfPlusRecordType = 66058i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetViewportExt: EmfPlusRecordType = 66062i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetViewportOrg: EmfPlusRecordType = 66061i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetWindowExt: EmfPlusRecordType = 66060i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetWindowOrg: EmfPlusRecordType = 66059i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStartDoc: EmfPlusRecordType = 65869i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStartPage: EmfPlusRecordType = 65615i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStretchBlt: EmfPlusRecordType = 68387i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStretchDIB: EmfPlusRecordType = 69443i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeTextOut: EmfPlusRecordType = 66849i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeClamp: WrapMode = 4i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTile: WrapMode = 0i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipX: WrapMode = 1i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipXY: WrapMode = 3i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipY: WrapMode = 2i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrongState: Status = 8i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type BrushType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ColorAdjustType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ColorChannelFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ColorMatrixFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ColorMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CombineMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CompositingMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CompositingQuality = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ConvertToEmfPlusFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CoordinateSpace = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CurveAdjustments = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CurveChannel = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type CustomLineCapType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DashCap = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DashStyle = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DebugEventLevel = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DitherType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DriverStringOptions = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type EmfPlusRecordType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type EmfToWmfBitsFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type EmfType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type EncoderParameterValueType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type EncoderValue = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type FillMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type FlushIntention = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type FontStyle = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type GdiplusStartupParams = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type GenericFontFamily = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type GpTestControlEnum = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type HatchStyle = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type HistogramFormat = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type HotkeyPrefix = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ImageCodecFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ImageFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ImageLockMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ImageType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type InterpolationMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ItemDataPosition = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type LineCap = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type LineJoin = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type LinearGradientMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type MatrixOrder = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type MetafileFrameUnit = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type MetafileType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type ObjectType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PaletteFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PaletteType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PathPointType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PenAlignment = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PenType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type PixelOffsetMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type QualityMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type RotateFlipType = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type SmoothingMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type Status = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type StringAlignment = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type StringDigitSubstitute = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type StringFormatFlags = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type StringTrimming = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type TextRenderingHint = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type Unit = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type WarpMode = i32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type WrapMode = i32; +pub type Bitmap = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct BitmapData { + pub Width: u32, + pub Height: u32, + pub Stride: i32, + pub PixelFormat: i32, + pub Scan0: *mut ::core::ffi::c_void, + pub Reserved: usize, +} +impl ::core::marker::Copy for BitmapData {} +impl ::core::clone::Clone for BitmapData { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Blur { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Blur {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Blur { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct BlurParams { + pub radius: f32, + pub expandEdge: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for BlurParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for BlurParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct BrightnessContrast { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for BrightnessContrast {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for BrightnessContrast { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct BrightnessContrastParams { + pub brightnessLevel: i32, + pub contrastLevel: i32, +} +impl ::core::marker::Copy for BrightnessContrastParams {} +impl ::core::clone::Clone for BrightnessContrastParams { + fn clone(&self) -> Self { + *self + } +} +pub type CGpEffect = isize; +pub type CachedBitmap = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct CharacterRange { + pub First: i32, + pub Length: i32, +} +impl ::core::marker::Copy for CharacterRange {} +impl ::core::clone::Clone for CharacterRange { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Color { + pub Argb: u32, +} +impl Color { + pub const AliceBlue: i32 = -984833i32; + pub const AntiqueWhite: i32 = -332841i32; + pub const Aqua: i32 = -16711681i32; + pub const Aquamarine: i32 = -8388652i32; + pub const Azure: i32 = -983041i32; + pub const Beige: i32 = -657956i32; + pub const Bisque: i32 = -6972i32; + pub const Black: i32 = -16777216i32; + pub const BlanchedAlmond: i32 = -5171i32; + pub const Blue: i32 = -16776961i32; + pub const BlueViolet: i32 = -7722014i32; + pub const Brown: i32 = -5952982i32; + pub const BurlyWood: i32 = -2180985i32; + pub const CadetBlue: i32 = -10510688i32; + pub const Chartreuse: i32 = -8388864i32; + pub const Chocolate: i32 = -2987746i32; + pub const Coral: i32 = -32944i32; + pub const CornflowerBlue: i32 = -10185235i32; + pub const Cornsilk: i32 = -1828i32; + pub const Crimson: i32 = -2354116i32; + pub const Cyan: i32 = -16711681i32; + pub const DarkBlue: i32 = -16777077i32; + pub const DarkCyan: i32 = -16741493i32; + pub const DarkGoldenrod: i32 = -4684277i32; + pub const DarkGray: i32 = -5658199i32; + pub const DarkGreen: i32 = -16751616i32; + pub const DarkKhaki: i32 = -4343957i32; + pub const DarkMagenta: i32 = -7667573i32; + pub const DarkOliveGreen: i32 = -11179217i32; + pub const DarkOrange: i32 = -29696i32; + pub const DarkOrchid: i32 = -6737204i32; + pub const DarkRed: i32 = -7667712i32; + pub const DarkSalmon: i32 = -1468806i32; + pub const DarkSeaGreen: i32 = -7357301i32; + pub const DarkSlateBlue: i32 = -12042869i32; + pub const DarkSlateGray: i32 = -13676721i32; + pub const DarkTurquoise: i32 = -16724271i32; + pub const DarkViolet: i32 = -7077677i32; + pub const DeepPink: i32 = -60269i32; + pub const DeepSkyBlue: i32 = -16728065i32; + pub const DimGray: i32 = -9868951i32; + pub const DodgerBlue: i32 = -14774017i32; + pub const Firebrick: i32 = -5103070i32; + pub const FloralWhite: i32 = -1296i32; + pub const ForestGreen: i32 = -14513374i32; + pub const Fuchsia: i32 = -65281i32; + pub const Gainsboro: i32 = -2302756i32; + pub const GhostWhite: i32 = -460545i32; + pub const Gold: i32 = -10496i32; + pub const Goldenrod: i32 = -2448096i32; + pub const Gray: i32 = -8355712i32; + pub const Green: i32 = -16744448i32; + pub const GreenYellow: i32 = -5374161i32; + pub const Honeydew: i32 = -983056i32; + pub const HotPink: i32 = -38476i32; + pub const IndianRed: i32 = -3318692i32; + pub const Indigo: i32 = -11861886i32; + pub const Ivory: i32 = -16i32; + pub const Khaki: i32 = -989556i32; + pub const Lavender: i32 = -1644806i32; + pub const LavenderBlush: i32 = -3851i32; + pub const LawnGreen: i32 = -8586240i32; + pub const LemonChiffon: i32 = -1331i32; + pub const LightBlue: i32 = -5383962i32; + pub const LightCoral: i32 = -1015680i32; + pub const LightCyan: i32 = -2031617i32; + pub const LightGoldenrodYellow: i32 = -329006i32; + pub const LightGray: i32 = -2894893i32; + pub const LightGreen: i32 = -7278960i32; + pub const LightPink: i32 = -18751i32; + pub const LightSalmon: i32 = -24454i32; + pub const LightSeaGreen: i32 = -14634326i32; + pub const LightSkyBlue: i32 = -7876870i32; + pub const LightSlateGray: i32 = -8943463i32; + pub const LightSteelBlue: i32 = -5192482i32; + pub const LightYellow: i32 = -32i32; + pub const Lime: i32 = -16711936i32; + pub const LimeGreen: i32 = -13447886i32; + pub const Linen: i32 = -331546i32; + pub const Magenta: i32 = -65281i32; + pub const Maroon: i32 = -8388608i32; + pub const MediumAquamarine: i32 = -10039894i32; + pub const MediumBlue: i32 = -16777011i32; + pub const MediumOrchid: i32 = -4565549i32; + pub const MediumPurple: i32 = -7114533i32; + pub const MediumSeaGreen: i32 = -12799119i32; + pub const MediumSlateBlue: i32 = -8689426i32; + pub const MediumSpringGreen: i32 = -16713062i32; + pub const MediumTurquoise: i32 = -12004916i32; + pub const MediumVioletRed: i32 = -3730043i32; + pub const MidnightBlue: i32 = -15132304i32; + pub const MintCream: i32 = -655366i32; + pub const MistyRose: i32 = -6943i32; + pub const Moccasin: i32 = -6987i32; + pub const NavajoWhite: i32 = -8531i32; + pub const Navy: i32 = -16777088i32; + pub const OldLace: i32 = -133658i32; + pub const Olive: i32 = -8355840i32; + pub const OliveDrab: i32 = -9728477i32; + pub const Orange: i32 = -23296i32; + pub const OrangeRed: i32 = -47872i32; + pub const Orchid: i32 = -2461482i32; + pub const PaleGoldenrod: i32 = -1120086i32; + pub const PaleGreen: i32 = -6751336i32; + pub const PaleTurquoise: i32 = -5247250i32; + pub const PaleVioletRed: i32 = -2396013i32; + pub const PapayaWhip: i32 = -4139i32; + pub const PeachPuff: i32 = -9543i32; + pub const Peru: i32 = -3308225i32; + pub const Pink: i32 = -16181i32; + pub const Plum: i32 = -2252579i32; + pub const PowderBlue: i32 = -5185306i32; + pub const Purple: i32 = -8388480i32; + pub const Red: i32 = -65536i32; + pub const RosyBrown: i32 = -4419697i32; + pub const RoyalBlue: i32 = -12490271i32; + pub const SaddleBrown: i32 = -7650029i32; + pub const Salmon: i32 = -360334i32; + pub const SandyBrown: i32 = -744352i32; + pub const SeaGreen: i32 = -13726889i32; + pub const SeaShell: i32 = -2578i32; + pub const Sienna: i32 = -6270419i32; + pub const Silver: i32 = -4144960i32; + pub const SkyBlue: i32 = -7876885i32; + pub const SlateBlue: i32 = -9807155i32; + pub const SlateGray: i32 = -9404272i32; + pub const Snow: i32 = -1286i32; + pub const SpringGreen: i32 = -16711809i32; + pub const SteelBlue: i32 = -12156236i32; + pub const Tan: i32 = -2968436i32; + pub const Teal: i32 = -16744320i32; + pub const Thistle: i32 = -2572328i32; + pub const Tomato: i32 = -40121i32; + pub const Transparent: i32 = 16777215i32; + pub const Turquoise: i32 = -12525360i32; + pub const Violet: i32 = -1146130i32; + pub const Wheat: i32 = -663885i32; + pub const White: i32 = -1i32; + pub const WhiteSmoke: i32 = -657931i32; + pub const Yellow: i32 = -256i32; + pub const YellowGreen: i32 = -6632142i32; + pub const AlphaShift: i32 = 24i32; + pub const RedShift: i32 = 16i32; + pub const GreenShift: i32 = 8i32; + pub const BlueShift: i32 = 0i32; + pub const AlphaMask: i32 = -16777216i32; + pub const RedMask: i32 = 16711680i32; + pub const GreenMask: i32 = 65280i32; + pub const BlueMask: i32 = 255i32; +} +impl ::core::marker::Copy for Color {} +impl ::core::clone::Clone for Color { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorBalance { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorBalance {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorBalance { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorBalanceParams { + pub cyanRed: i32, + pub magentaGreen: i32, + pub yellowBlue: i32, +} +impl ::core::marker::Copy for ColorBalanceParams {} +impl ::core::clone::Clone for ColorBalanceParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorCurve { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorCurve {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorCurve { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorCurveParams { + pub adjustment: CurveAdjustments, + pub channel: CurveChannel, + pub adjustValue: i32, +} +impl ::core::marker::Copy for ColorCurveParams {} +impl ::core::clone::Clone for ColorCurveParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorLUT { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorLUT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorLUT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorLUTParams { + pub lutB: [u8; 256], + pub lutG: [u8; 256], + pub lutR: [u8; 256], + pub lutA: [u8; 256], +} +impl ::core::marker::Copy for ColorLUTParams {} +impl ::core::clone::Clone for ColorLUTParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorMap { + pub oldColor: Color, + pub newColor: Color, +} +impl ::core::marker::Copy for ColorMap {} +impl ::core::clone::Clone for ColorMap { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorMatrix { + pub m: [f32; 25], +} +impl ::core::marker::Copy for ColorMatrix {} +impl ::core::clone::Clone for ColorMatrix { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorMatrixEffect { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorMatrixEffect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorMatrixEffect { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorPalette { + pub Flags: u32, + pub Count: u32, + pub Entries: [u32; 1], +} +impl ::core::marker::Copy for ColorPalette {} +impl ::core::clone::Clone for ColorPalette { + fn clone(&self) -> Self { + *self + } +} +pub type CustomLineCap = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ENHMETAHEADER3 { + pub iType: u32, + pub nSize: u32, + pub rclBounds: super::super::Foundation::RECTL, + pub rclFrame: super::super::Foundation::RECTL, + pub dSignature: u32, + pub nVersion: u32, + pub nBytes: u32, + pub nRecords: u32, + pub nHandles: u16, + pub sReserved: u16, + pub nDescription: u32, + pub offDescription: u32, + pub nPalEntries: u32, + pub szlDevice: super::super::Foundation::SIZE, + pub szlMillimeters: super::super::Foundation::SIZE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ENHMETAHEADER3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ENHMETAHEADER3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Effect { + pub lpVtbl: *mut *mut ::core::ffi::c_void, + pub nativeEffect: *mut CGpEffect, + pub auxDataSize: i32, + pub auxData: *mut ::core::ffi::c_void, + pub useAuxData: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Effect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Effect { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct EncoderParameter { + pub Guid: ::windows_sys::core::GUID, + pub NumberOfValues: u32, + pub Type: u32, + pub Value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for EncoderParameter {} +impl ::core::clone::Clone for EncoderParameter { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct EncoderParameters { + pub Count: u32, + pub Parameter: [EncoderParameter; 1], +} +impl ::core::marker::Copy for EncoderParameters {} +impl ::core::clone::Clone for EncoderParameters { + fn clone(&self) -> Self { + *self + } +} +pub type Font = isize; +pub type FontCollection = isize; +pub type FontFamily = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GdiplusStartupInput { + pub GdiplusVersion: u32, + pub DebugEventCallback: isize, + pub SuppressBackgroundThread: super::super::Foundation::BOOL, + pub SuppressExternalCodecs: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GdiplusStartupInput {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GdiplusStartupInput { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GdiplusStartupInputEx { + pub Base: GdiplusStartupInput, + pub StartupParameters: i32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GdiplusStartupInputEx {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GdiplusStartupInputEx { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct GdiplusStartupOutput { + pub NotificationHook: isize, + pub NotificationUnhook: isize, +} +impl ::core::marker::Copy for GdiplusStartupOutput {} +impl ::core::clone::Clone for GdiplusStartupOutput { + fn clone(&self) -> Self { + *self + } +} +pub type GpAdjustableArrowCap = isize; +pub type GpBitmap = isize; +pub type GpBrush = isize; +pub type GpCachedBitmap = isize; +pub type GpCustomLineCap = isize; +pub type GpFont = isize; +pub type GpFontCollection = isize; +pub type GpFontFamily = isize; +pub type GpGraphics = isize; +pub type GpHatch = isize; +pub type GpImage = isize; +pub type GpImageAttributes = isize; +pub type GpInstalledFontCollection = isize; +pub type GpLineGradient = isize; +pub type GpMetafile = isize; +pub type GpPath = isize; +pub type GpPathGradient = isize; +pub type GpPathIterator = isize; +pub type GpPen = isize; +pub type GpPrivateFontCollection = isize; +pub type GpRegion = isize; +pub type GpSolidFill = isize; +pub type GpStringFormat = isize; +pub type GpTexture = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct HueSaturationLightness { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HueSaturationLightness {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HueSaturationLightness { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct HueSaturationLightnessParams { + pub hueLevel: i32, + pub saturationLevel: i32, + pub lightnessLevel: i32, +} +impl ::core::marker::Copy for HueSaturationLightnessParams {} +impl ::core::clone::Clone for HueSaturationLightnessParams { + fn clone(&self) -> Self { + *self + } +} +pub type Image = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ImageCodecInfo { + pub Clsid: ::windows_sys::core::GUID, + pub FormatID: ::windows_sys::core::GUID, + pub CodecName: ::windows_sys::core::PCWSTR, + pub DllName: ::windows_sys::core::PCWSTR, + pub FormatDescription: ::windows_sys::core::PCWSTR, + pub FilenameExtension: ::windows_sys::core::PCWSTR, + pub MimeType: ::windows_sys::core::PCWSTR, + pub Flags: u32, + pub Version: u32, + pub SigCount: u32, + pub SigSize: u32, + pub SigPattern: *const u8, + pub SigMask: *const u8, +} +impl ::core::marker::Copy for ImageCodecInfo {} +impl ::core::clone::Clone for ImageCodecInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ImageItemData { + pub Size: u32, + pub Position: u32, + pub Desc: *mut ::core::ffi::c_void, + pub DescSize: u32, + pub Data: *mut ::core::ffi::c_void, + pub DataSize: u32, + pub Cookie: u32, +} +impl ::core::marker::Copy for ImageItemData {} +impl ::core::clone::Clone for ImageItemData { + fn clone(&self) -> Self { + *self + } +} +pub type InstalledFontCollection = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Levels { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Levels {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Levels { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct LevelsParams { + pub highlight: i32, + pub midtone: i32, + pub shadow: i32, +} +impl ::core::marker::Copy for LevelsParams {} +impl ::core::clone::Clone for LevelsParams { + fn clone(&self) -> Self { + *self + } +} +pub type Matrix = isize; +pub type Metafile = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct MetafileHeader { + pub Type: MetafileType, + pub Size: u32, + pub Version: u32, + pub EmfPlusFlags: u32, + pub DpiX: f32, + pub DpiY: f32, + pub X: i32, + pub Y: i32, + pub Width: i32, + pub Height: i32, + pub Anonymous: MetafileHeader_0, + pub EmfPlusHeaderSize: i32, + pub LogicalDpiX: i32, + pub LogicalDpiY: i32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for MetafileHeader {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for MetafileHeader { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub union MetafileHeader_0 { + pub WmfHeader: super::Gdi::METAHEADER, + pub EmfHeader: ENHMETAHEADER3, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for MetafileHeader_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for MetafileHeader_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PWMFRect16 { + pub Left: i16, + pub Top: i16, + pub Right: i16, + pub Bottom: i16, +} +impl ::core::marker::Copy for PWMFRect16 {} +impl ::core::clone::Clone for PWMFRect16 { + fn clone(&self) -> Self { + *self + } +} +pub type PathData = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Point { + pub X: i32, + pub Y: i32, +} +impl ::core::marker::Copy for Point {} +impl ::core::clone::Clone for Point { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PointF { + pub X: f32, + pub Y: f32, +} +impl ::core::marker::Copy for PointF {} +impl ::core::clone::Clone for PointF { + fn clone(&self) -> Self { + *self + } +} +pub type PrivateFontCollection = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PropertyItem { + pub id: u32, + pub length: u32, + pub r#type: u16, + pub value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for PropertyItem {} +impl ::core::clone::Clone for PropertyItem { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Rect { + pub X: i32, + pub Y: i32, + pub Width: i32, + pub Height: i32, +} +impl ::core::marker::Copy for Rect {} +impl ::core::clone::Clone for Rect { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct RectF { + pub X: f32, + pub Y: f32, + pub Width: f32, + pub Height: f32, +} +impl ::core::marker::Copy for RectF {} +impl ::core::clone::Clone for RectF { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct RedEyeCorrection { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RedEyeCorrection {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RedEyeCorrection { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct RedEyeCorrectionParams { + pub numberOfAreas: u32, + pub areas: *mut super::super::Foundation::RECT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RedEyeCorrectionParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RedEyeCorrectionParams { + fn clone(&self) -> Self { + *self + } +} +pub type Region = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Sharpen { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Sharpen {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Sharpen { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct SharpenParams { + pub radius: f32, + pub amount: f32, +} +impl ::core::marker::Copy for SharpenParams {} +impl ::core::clone::Clone for SharpenParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Size { + pub Width: i32, + pub Height: i32, +} +impl ::core::marker::Copy for Size {} +impl ::core::clone::Clone for Size { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct SizeF { + pub Width: f32, + pub Height: f32, +} +impl ::core::marker::Copy for SizeF {} +impl ::core::clone::Clone for SizeF { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Tint { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Tint {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Tint { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct TintParams { + pub hue: i32, + pub amount: i32, +} +impl ::core::marker::Copy for TintParams {} +impl ::core::clone::Clone for TintParams { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(2))] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct WmfPlaceableFileHeader { + pub Key: u32, + pub Hmf: i16, + pub BoundingBox: PWMFRect16, + pub Inch: i16, + pub Reserved: u32, + pub Checksum: i16, +} +impl ::core::marker::Copy for WmfPlaceableFileHeader {} +impl ::core::clone::Clone for WmfPlaceableFileHeader { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DebugEventProc = ::core::option::Option ()>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type DrawImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type EnumerateMetafileProc = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type GetThumbnailImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type ImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type NotificationHookProc = ::core::option::Option Status>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type NotificationUnhookProc = ::core::option::Option ()>; diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/mod.rs index c499944d132..a419217943c 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/mod.rs @@ -2,6 +2,8 @@ pub mod Dwm; #[cfg(feature = "Win32_Graphics_Gdi")] pub mod Gdi; +#[cfg(feature = "Win32_Graphics_GdiPlus")] +pub mod GdiPlus; #[cfg(feature = "Win32_Graphics_Hlsl")] pub mod Hlsl; #[cfg(feature = "Win32_Graphics_OpenGL")] diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs index e939e935ace..362f553d356 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs @@ -870,12 +870,24 @@ pub const LineLevel: EndpointFormFactor = 2i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const Low: AudioStateMonitorSoundLevel = 1i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_COMMENT: u8 = 130u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_CALLBACK: i32 = 1073741824i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_LONG: i32 = -2147483648i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_SHORT: i32 = 0i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_LONGMSG: u8 = 128u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_NOP: u8 = 2u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_SHORTMSG: u8 = 0u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_TEMPO: u8 = 1u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_VERSION: u8 = 132u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MHDR_DONE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MHDR_INQUEUE: u32 = 4u32; diff --git a/crates/libs/sys/src/Windows/Win32/Media/Streaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Streaming/mod.rs index 797cc05fc72..d310aaec585 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Streaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Streaming/mod.rs @@ -1,3 +1,48 @@ +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_DLNACAP: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 16 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_DLNADOC: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 15 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_MaxVolume: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 19 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_PacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 0 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SendPacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 1 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SinkProtocolInfo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 14 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsAudio: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 8 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsImages: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 10 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsMute: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 18 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsSearch: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 17 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsSetNextAVT: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 20 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsVideo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 9 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_UDN: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 6 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b); +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1); +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553); #[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] pub const MF_MEDIASOURCE_STATUS_INFO_FULLYSUPPORTED: MF_MEDIASOURCE_STATUS_INFO = 0i32; #[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index 4e6626f7cfc..e6beab21fab 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -3424,7 +3424,8 @@ pub type LPDHCP_GIVE_ADDRESS = ::core::option::Option u32>; -#[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] -pub type LPDHCP_NEWPKT = ::core::option::Option u32>; +#[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPDHCP_NEWPKT = ::core::option::Option u32>; #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub type LPDHCP_PROB = ::core::option::Option u32>; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 3fc8d809b30..f981426bdc6 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -429,6 +429,10 @@ pub const FD_FLAGS_ALLFLAGS: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const FD_FLAGS_NOSYN: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] +pub const FILTER_ICMP_CODE_ANY: u8 = 255u8; +#[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] +pub const FILTER_ICMP_TYPE_ANY: u8 = 255u8; +#[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const GAA_FLAG_INCLUDE_ALL_COMPARTMENTS: GET_ADAPTERS_ADDRESSES_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const GAA_FLAG_INCLUDE_ALL_INTERFACES: GET_ADAPTERS_ADDRESSES_FLAGS = 256u32; diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs index 2e505affcbc..61e76b3dd58 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -255,8 +255,10 @@ ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasFreeEapUserIdentityW(praseapuseridentity : *const RASEAPUSERIDENTITYW) -> ()); ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialAddressA(param0 : ::windows_sys::core::PCSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYA, param3 : *mut u32, param4 : *mut u32) -> u32); ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialAddressW(param0 : ::windows_sys::core::PCWSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYW, param3 : *mut u32, param4 : *mut u32) -> u32); -::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialEnableA(param0 : u32, param1 : *mut i32) -> u32); -::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialEnableW(param0 : u32, param1 : *mut i32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetAutodialEnableA(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetAutodialEnableW(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialParamA(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32); ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetAutodialParamW(param0 : u32, param1 : *mut ::core::ffi::c_void, param2 : *mut u32) -> u32); #[cfg(feature = "Win32_Networking_WinSock")] @@ -278,8 +280,10 @@ ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetEapUserIdentityA(pszphonebook : ::windows_sys::core::PCSTR, pszentry : ::windows_sys::core::PCSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYA) -> u32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetEapUserIdentityW(pszphonebook : ::windows_sys::core::PCWSTR, pszentry : ::windows_sys::core::PCWSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW) -> u32); -::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut i32) -> u32); -::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] fn RasGetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut i32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetEntryDialParamsA(param0 : ::windows_sys::core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] fn RasGetEntryDialParamsW(param0 : ::windows_sys::core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut super::super::Foundation:: BOOL) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] ::windows_targets::link!("rasapi32.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] fn RasGetEntryPropertiesA(param0 : ::windows_sys::core::PCSTR, param1 : ::windows_sys::core::PCSTR, param2 : *mut RASENTRYA, param3 : *mut u32, param4 : *mut u8, param5 : *mut u32) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs index c23d823b318..a72e5efff5d 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -25,76 +25,94 @@ ::windows_targets::link!("davclnt.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn NPGetUser(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("davclnt.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn NPOpenEnum(dwscope : u32, dwtype : u32, dwusage : u32, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetAddConnectionA(lpremotename : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lplocalname : ::windows_sys::core::PCSTR) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetAddConnectionW(lpremotename : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lplocalname : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnection2A(lpname : ::windows_sys::core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnection2W(lpname : ::windows_sys::core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnectionA(lpname : ::windows_sys::core::PCSTR, fforce : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnectionA(lpremotename : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lplocalname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnectionW(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetAddConnectionW(lpremotename : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lplocalname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnection2A(lpname : ::windows_sys::core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnection2W(lpname : ::windows_sys::core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnectionA(lpname : ::windows_sys::core::PCSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCancelConnectionW(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetConnectionA(lplocalname : ::windows_sys::core::PCSTR, lpremotename : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetConnectionW(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PSTR, nnamebufsize : u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PWSTR, nnamebufsize : u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetNetworkInformationA(lpprovider : ::windows_sys::core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetNetworkInformationW(lpprovider : ::windows_sys::core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_sys::core::PSTR, lpbuffersize : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PSTR) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetUniversalNameA(lplocalpath : ::windows_sys::core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetUniversalNameW(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetUserA(lpname : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> u32); -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetGetUserW(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetConnectionA(lplocalname : ::windows_sys::core::PCSTR, lpremotename : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetConnectionW(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PWSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetNetworkInformationA(lpprovider : ::windows_sys::core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetNetworkInformationW(lpprovider : ::windows_sys::core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_sys::core::PSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetUniversalNameA(lplocalpath : ::windows_sys::core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetUniversalNameW(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetUserA(lpname : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetGetUserW(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetSetLastErrorA(err : u32, lperror : ::windows_sys::core::PCSTR, lpproviders : ::windows_sys::core::PCSTR) -> ()); ::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] fn WNetSetLastErrorW(err : u32, lperror : ::windows_sys::core::PCWSTR, lpproviders : ::windows_sys::core::PCWSTR) -> ()); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpuserid : ::windows_sys::core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpuserid : ::windows_sys::core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpuserid : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); +::windows_targets::link!("mpr.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpuserid : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub const CONNDLG_CONN_POINT: CONNECTDLGSTRUCT_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index eba4ba12fda..cae715705e7 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -83,7 +83,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wlanapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] fn WlanRegisterDeviceServiceNotification(hclienthandle : super::super::Foundation:: HANDLE, pdevsvcguidlist : *const WLAN_DEVICE_SERVICE_GUID_LIST) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wlanapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] fn WlanRegisterNotification(hclienthandle : super::super::Foundation:: HANDLE, dwnotifsource : u32, bignoreduplicate : super::super::Foundation:: BOOL, funccallback : WLAN_NOTIFICATION_CALLBACK, pcallbackcontext : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void, pdwprevnotifsource : *mut u32) -> u32); +::windows_targets::link!("wlanapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] fn WlanRegisterNotification(hclienthandle : super::super::Foundation:: HANDLE, dwnotifsource : WLAN_NOTIFICATION_SOURCES, bignoreduplicate : super::super::Foundation:: BOOL, funccallback : WLAN_NOTIFICATION_CALLBACK, pcallbackcontext : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void, pdwprevnotifsource : *mut u32) -> u32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wlanapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] fn WlanRegisterVirtualStationNotification(hclienthandle : super::super::Foundation:: HANDLE, bregister : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void) -> u32); #[cfg(feature = "Win32_Foundation")] @@ -158,6 +158,60 @@ pub const DEVPKEY_InfraCast_StreamSecuritySupported: super::super::Devices::Prop pub const DEVPKEY_InfraCast_Supported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 17 }; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ASPMSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 8 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ClockPowerManagementSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 9 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_CurrentSpeedAndMode: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 2 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_DeviceIDMessagingCapable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 4 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedConfigAvailable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 6 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedPCIConfigOpRegionSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 7 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_MSISupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 11 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_NativePciExpressControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 17 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressAERControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 15 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressCapabilityControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 16 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 12 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativePMEControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 14 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCISegmentGroupsSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 10 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SHPCNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 13 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryBusWidth: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 5 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryInterface: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 1 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SupportedSpeedsAndModes: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 3 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SystemMsiSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 18 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] pub const DEVPKEY_WiFiDirectServices_AdvertisementId: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 5 }; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] @@ -1014,183 +1068,183 @@ pub const DOT11_WPS_VERSION_1_0: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const DOT11_WPS_VERSION_2_0: u32 = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Enhanced: u32 = 4u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Enhanced: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NoP2PSupported: u32 = 2u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NoP2PSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NotSupported: u32 = 0u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NotSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_SingleFunctionSupported: u32 = 1u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_SingleFunctionSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Supported: u32 = 3u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Supported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_Missing: u32 = 2u32; +pub const DevProp_PciDevice_AcsSupport_Missing: DEVPROP_PCIDEVICE_ACSSUPPORT = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_NotNeeded: u32 = 1u32; +pub const DevProp_PciDevice_AcsSupport_NotNeeded: DEVPROP_PCIDEVICE_ACSSUPPORT = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_Present: u32 = 0u32; +pub const DevProp_PciDevice_AcsSupport_Present: DEVPROP_PCIDEVICE_ACSSUPPORT = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciConventional: u32 = 6u32; +pub const DevProp_PciDevice_BridgeType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 6u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressDownstreamSwitchPort: u32 = 10u32; +pub const DevProp_PciDevice_BridgeType_PciExpressDownstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 10u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressEventCollector: u32 = 14u32; +pub const DevProp_PciDevice_BridgeType_PciExpressEventCollector: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 14u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressRootPort: u32 = 8u32; +pub const DevProp_PciDevice_BridgeType_PciExpressRootPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressToPciXBridge: u32 = 11u32; +pub const DevProp_PciDevice_BridgeType_PciExpressToPciXBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 11u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressTreatedAsPci: u32 = 13u32; +pub const DevProp_PciDevice_BridgeType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 13u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressUpstreamSwitchPort: u32 = 9u32; +pub const DevProp_PciDevice_BridgeType_PciExpressUpstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 9u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciX: u32 = 7u32; +pub const DevProp_PciDevice_BridgeType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 7u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciXToExpressBridge: u32 = 12u32; +pub const DevProp_PciDevice_BridgeType_PciXToExpressBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 12u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_100Mhz: u32 = 2u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_133MHZ: u32 = 3u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_133MHZ: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_66Mhz: u32 = 1u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_100Mhz: u32 = 6u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 6u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_133Mhz: u32 = 7u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_133Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 7u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_66Mhz: u32 = 5u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 5u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_100MHz: u32 = 10u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 10u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_133MHz: u32 = 11u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 11u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_66MHz: u32 = 9u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 9u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_100MHz: u32 = 14u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 14u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_133MHz: u32 = 15u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 15u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_66MHz: u32 = 13u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 13u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode_Conventional_Pci: u32 = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode_Conventional_Pci: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_33MHz: u32 = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_33MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_66MHz: u32 = 1u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciConventional: u32 = 0u32; +pub const DevProp_PciDevice_DeviceType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressEndpoint: u32 = 2u32; +pub const DevProp_PciDevice_DeviceType_PciExpressEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressLegacyEndpoint: u32 = 3u32; +pub const DevProp_PciDevice_DeviceType_PciExpressLegacyEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressRootComplexIntegratedEndpoint: u32 = 4u32; +pub const DevProp_PciDevice_DeviceType_PciExpressRootComplexIntegratedEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressTreatedAsPci: u32 = 5u32; +pub const DevProp_PciDevice_DeviceType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 5u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciX: u32 = 1u32; +pub const DevProp_PciDevice_DeviceType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_LineBased: u32 = 1u32; +pub const DevProp_PciDevice_InterruptType_LineBased: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_Msi: u32 = 2u32; +pub const DevProp_PciDevice_InterruptType_Msi: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_MsiX: u32 = 4u32; +pub const DevProp_PciDevice_InterruptType_MsiX: DEVPROP_PCIDEVICE_INTERRUPTTYPE = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_DidntGetVfBarSpace: u32 = 4u32; +pub const DevProp_PciDevice_SriovSupport_DidntGetVfBarSpace: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_MissingAcs: u32 = 1u32; +pub const DevProp_PciDevice_SriovSupport_MissingAcs: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_MissingPfDriver: u32 = 2u32; +pub const DevProp_PciDevice_SriovSupport_MissingPfDriver: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_NoBusResource: u32 = 3u32; +pub const DevProp_PciDevice_SriovSupport_NoBusResource: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_Ok: u32 = 0u32; +pub const DevProp_PciDevice_SriovSupport_Ok: DEVPROP_PCIDEVICE_SRIOVSUPPORT = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkSpeed_Five_Gbps: u32 = 2u32; +pub const DevProp_PciExpressDevice_LinkSpeed_Five_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkSpeed_TwoAndHalf_Gbps: u32 = 1u32; +pub const DevProp_PciExpressDevice_LinkSpeed_TwoAndHalf_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_1: u32 = 1u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_1: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_12: u32 = 12u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_12: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 12u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_16: u32 = 16u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_16: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 16u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_2: u32 = 2u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_2: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_32: u32 = 32u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_32: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 32u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_4: u32 = 4u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_4: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_8: u32 = 8u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_8: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_1024Bytes: u32 = 3u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_1024Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_128Bytes: u32 = 0u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_128Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_2048Bytes: u32 = 4u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_2048Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_256Bytes: u32 = 1u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_256Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_4096Bytes: u32 = 5u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_4096Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 5u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_512Bytes: u32 = 2u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_512Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_Spec_Version_10: u32 = 1u32; +pub const DevProp_PciExpressDevice_Spec_Version_10: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_Spec_Version_11: u32 = 2u32; +pub const DevProp_PciExpressDevice_Spec_Version_11: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_BusWidth_32Bits: u32 = 0u32; +pub const DevProp_PciRootBus_BusWidth_32Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_BusWidth_64Bits: u32 = 1u32; +pub const DevProp_PciRootBus_BusWidth_64Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_33Mhz: u32 = 0u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_66Mhz: u32 = 1u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_100Mhz: u32 = 9u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 9u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_133Mhz: u32 = 10u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 10u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_66Mhz: u32 = 8u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_100Mhz: u32 = 12u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 12u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_133Mhz: u32 = 13u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 13u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_66Mhz: u32 = 11u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 11u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_100Mhz: u32 = 3u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_133Mhz: u32 = 4u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_66Mhz: u32 = 2u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_100Mhz: u32 = 6u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 6u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_133Mhz: u32 = 7u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 7u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_66Mhz: u32 = 5u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = 5u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciConventional: u32 = 0u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciConventional: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciExpress: u32 = 3u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciExpress: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 3u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciXMode1: u32 = 1u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode1: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciXMode2: u32 = 2u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode2: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_33Mhz: u32 = 1u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_66Mhz: u32 = 2u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_133Mhz: u32 = 8u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_133Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_266Mhz: u32 = 16u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_266Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 16u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_533Mhz: u32 = 32u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_533Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 32u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_66Mhz: u32 = 4u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const Dot11AdHocManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd06a84f_83bd_4d01_8ab9_2389fea0869e); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] @@ -1710,23 +1764,23 @@ pub const WLAN_MAX_PHY_INDEX: u32 = 64u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const WLAN_MAX_PHY_TYPE_NUMBER: u32 = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ACM: u32 = 8u32; +pub const WLAN_NOTIFICATION_SOURCE_ACM: WLAN_NOTIFICATION_SOURCES = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ALL: u32 = 65535u32; +pub const WLAN_NOTIFICATION_SOURCE_ALL: WLAN_NOTIFICATION_SOURCES = 65535u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE: u32 = 2048u32; +pub const WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE: WLAN_NOTIFICATION_SOURCES = 2048u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_HNWK: u32 = 128u32; +pub const WLAN_NOTIFICATION_SOURCE_HNWK: WLAN_NOTIFICATION_SOURCES = 128u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_IHV: u32 = 64u32; +pub const WLAN_NOTIFICATION_SOURCE_IHV: WLAN_NOTIFICATION_SOURCES = 64u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_MSM: u32 = 16u32; +pub const WLAN_NOTIFICATION_SOURCE_MSM: WLAN_NOTIFICATION_SOURCES = 16u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_NONE: u32 = 0u32; +pub const WLAN_NOTIFICATION_SOURCE_NONE: WLAN_NOTIFICATION_SOURCES = 0u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ONEX: u32 = 4u32; +pub const WLAN_NOTIFICATION_SOURCE_ONEX: WLAN_NOTIFICATION_SOURCES = 4u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_SECURITY: u32 = 32u32; +pub const WLAN_NOTIFICATION_SOURCE_SECURITY: WLAN_NOTIFICATION_SOURCES = 32u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const WLAN_PROFILE_CONNECTION_MODE_AUTO: u32 = 131072u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] @@ -2638,6 +2692,34 @@ pub const wlan_secure_wfd_elevated_access: WLAN_SECURABLE_OBJECT = 16i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type CH_DESCRIPTION_TYPE = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_ACSSUPPORT = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_INTERRUPTTYPE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIDEVICE_SRIOVSUPPORT = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIROOTBUS_BUSWIDTH = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type DOT11EXT_IHV_CONNECTION_PHASE = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type DOT11EXT_IHV_INDICATION_TYPE = i32; @@ -2756,6 +2838,8 @@ pub type WLAN_NOTIFICATION_MSM = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type WLAN_NOTIFICATION_SECURITY = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +pub type WLAN_NOTIFICATION_SOURCES = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type WLAN_OPCODE_VALUE_TYPE = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub type WLAN_OPERATIONAL_STATE = i32; @@ -6723,7 +6807,7 @@ impl ::core::clone::Clone for DOT11_WPS_DEVICE_NAME { #[repr(C)] #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub struct L2_NOTIFICATION_DATA { - pub NotificationSource: u32, + pub NotificationSource: WLAN_NOTIFICATION_SOURCES, pub NotificationCode: u32, pub InterfaceGuid: ::windows_sys::core::GUID, pub dwDataSize: u32, diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs index 5d885e83787..60dbed9bc93 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -1421,15 +1421,27 @@ pub const FWPS_METADATA_FIELD_TRANSPORT_HEADER_SIZE: u32 = 1024u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWPS_RIGHT_ACTION_WRITE: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_BLOCK: FWP_ACTION_TYPE = 4097u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_INSPECTION: FWP_ACTION_TYPE = 24580u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_TERMINATING: FWP_ACTION_TYPE = 20483u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_UNKNOWN: FWP_ACTION_TYPE = 16389u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CONTINUE: FWP_ACTION_TYPE = 8198u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_CALLOUT: u32 = 16384u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_NON_TERMINATING: u32 = 8192u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_TERMINATING: u32 = 4096u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] -pub const FWP_ACTION_NONE: u32 = 7u32; +pub const FWP_ACTION_NONE: FWP_ACTION_TYPE = 7u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_NONE_NO_MATCH: FWP_ACTION_TYPE = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] -pub const FWP_ACTION_NONE_NO_MATCH: u32 = 8u32; +pub const FWP_ACTION_PERMIT: FWP_ACTION_TYPE = 4098u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTRL_MATCH_FILTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] @@ -2219,6 +2231,8 @@ pub type FWPM_SYSTEM_PORT_TYPE = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub type FWPM_VSWITCH_EVENT_TYPE = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub type FWP_ACTION_TYPE = u32; +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub type FWP_AF = i32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub type FWP_CLASSIFY_OPTION_TYPE = i32; @@ -2305,7 +2319,7 @@ pub type IPSEC_TRANSFORM_TYPE = i32; #[repr(C)] #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub struct FWPM_ACTION0 { - pub r#type: u32, + pub r#type: FWP_ACTION_TYPE, pub Anonymous: FWPM_ACTION0_0, } impl ::core::marker::Copy for FWPM_ACTION0 {} diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 1443f84d980..4ad5bd103c0 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -1,10 +1,19 @@ +::windows_targets::link!("netshell.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] fn NcFreeNetconProperties(pprops : *mut NETCON_PROPERTIES) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("netshell.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] fn NcIsValidConnectionName(pszwname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername : ::windows_sys::core::PCWSTR, netisoerror : *mut NETISO_ERROR_TYPE) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn NetworkIsolationEnumAppContainers(flags : u32, pdwnumpublicappcs : *mut u32, pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32); +#[cfg(feature = "Win32_System_Ole")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Ole\"`*"] fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn NetworkIsolationFreeAppContainers(ppublicappcs : *const INET_FIREWALL_APP_CONTAINER) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs : *mut u32, appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] fn NetworkIsolationGetEnterpriseIdAsync(wszservername : ::windows_sys::core::PCWSTR, dwflags : u32, context : *const ::core::ffi::c_void, callback : PNETISO_EDP_ID_CALLBACK_FN, hoperation : *mut super::super::Foundation:: HANDLE) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("firewallapi.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] fn NetworkIsolationGetEnterpriseIdClose(hoperation : super::super::Foundation:: HANDLE, bwaitforoperation : super::super::Foundation:: BOOL) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn NetworkIsolationRegisterForAppContainerChanges(flags : u32, callback : PAC_CHANGES_CALLBACK_FN, context : *const ::core::ffi::c_void, registrationobject : *mut super::super::Foundation:: HANDLE) -> u32); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] diff --git a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs index 9671490dc02..ac402ce2b7f 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/Clustering/mod.rs @@ -167,7 +167,7 @@ #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] ::windows_targets::link!("clusapi.dll" "system" #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] fn ClusterRegSetKeySecurity(hkey : super::super::System::Registry:: HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> i32); #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] -::windows_targets::link!("clusapi.dll" "system" #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] fn ClusterRegSetKeySecurityEx(hkey : super::super::System::Registry:: HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpszreason : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("clusapi.dll" "system" #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] fn ClusterRegSetKeySecurityEx(hkey : super::super::System::Registry:: HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpszreason : ::windows_sys::core::PCWSTR) -> i32); #[cfg(feature = "Win32_System_Registry")] ::windows_targets::link!("clusapi.dll" "system" #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] fn ClusterRegSetValue(hkey : super::super::System::Registry:: HKEY, lpszvaluename : ::windows_sys::core::PCWSTR, dwtype : u32, lpdata : *const u8, cbdata : u32) -> u32); #[cfg(feature = "Win32_System_Registry")] diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs index 73ff1f4a7bf..04449e17117 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -87,6 +87,8 @@ ::windows_targets::link!("winhttp.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] fn WinHttpWriteData(hrequest : *mut ::core::ffi::c_void, lpbuffer : *const ::core::ffi::c_void, dwnumberofbytestowrite : u32, lpdwnumberofbyteswritten : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("winhttp.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`*"] fn WinHttpWriteProxySettings(hsession : *const ::core::ffi::c_void, fforceupdate : super::super::Foundation:: BOOL, pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS) -> u32); +pub type IWinHttpRequest = *mut ::core::ffi::c_void; +pub type IWinHttpRequestEvents = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const API_GET_PROXY_FOR_URL: u32 = 6u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] @@ -102,6 +104,12 @@ pub const API_SEND_REQUEST: u32 = 5u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const API_WRITE_DATA: u32 = 4u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_Always: WinHttpRequestAutoLogonPolicy = 0i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_Never: WinHttpRequestAutoLogonPolicy = 2i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_OnlyIfBypassProxy: WinHttpRequestAutoLogonPolicy = 1i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_AUTODETECTION_FAILED: u32 = 12180u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR: u32 = 12178u32; @@ -212,6 +220,18 @@ pub const ERROR_WINHTTP_UNHANDLED_SCRIPT_TYPE: u32 = 12176u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_UNRECOGNIZED_SCHEME: u32 = 12006u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_DEFAULT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_DIRECT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_PRECONFIG: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_PROXY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_SETCREDENTIALS_FOR_PROXY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_SETCREDENTIALS_FOR_SERVER: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const HTTP_STATUS_ACCEPTED: u32 = 202u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const HTTP_STATUS_AMBIGUOUS: u32 = 300u32; @@ -340,6 +360,28 @@ pub const SECURITY_FLAG_STRENGTH_STRONG: u32 = 536870912u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const SECURITY_FLAG_STRENGTH_WEAK: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_ALL: WinHttpRequestSecureProtocols = 168i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_SSL2: WinHttpRequestSecureProtocols = 8i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_SSL3: WinHttpRequestSecureProtocols = 32i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1: WinHttpRequestSecureProtocols = 128i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1_1: WinHttpRequestSecureProtocols = 512i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1_2: WinHttpRequestSecureProtocols = 2048i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertCNInvalid: WinHttpRequestSslErrorFlags = 4096i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertDateInvalid: WinHttpRequestSslErrorFlags = 8192i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertWrongUsage: WinHttpRequestSslErrorFlags = 512i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_Ignore_All: WinHttpRequestSslErrorFlags = 13056i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_UnknownCA: WinHttpRequestSslErrorFlags = 256i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY: WINHTTP_ACCESS_TYPE = 4u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WINHTTP_ACCESS_TYPE_DEFAULT_PROXY: WINHTTP_ACCESS_TYPE = 0u32; @@ -1344,10 +1386,52 @@ pub const WinHttpReceiveResponseHeadersEnd: WINHTTP_REQUEST_TIME_ENTRY = 25i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpReceiveResponseStart: WINHTTP_REQUEST_TIME_ENTRY = 22i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2087c2f4_2cef_4953_a8ab_66779b670495); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestHeadersCompressedSize: WINHTTP_REQUEST_STAT_ENTRY = 7i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestHeadersSize: WINHTTP_REQUEST_STAT_ENTRY = 6i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableCertificateRevocationCheck: WinHttpRequestOption = 18i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableHttp1_1: WinHttpRequestOption = 17i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableHttpsToHttpRedirects: WinHttpRequestOption = 12i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnablePassportAuthentication: WinHttpRequestOption = 13i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableRedirects: WinHttpRequestOption = 6i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableTracing: WinHttpRequestOption = 10i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EscapePercentInURL: WinHttpRequestOption = 3i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxAutomaticRedirects: WinHttpRequestOption = 14i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxResponseDrainSize: WinHttpRequestOption = 16i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxResponseHeaderSize: WinHttpRequestOption = 15i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_RejectUserpwd: WinHttpRequestOption = 19i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_RevertImpersonationOverSsl: WinHttpRequestOption = 11i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SecureProtocols: WinHttpRequestOption = 9i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SelectCertificate: WinHttpRequestOption = 5i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SslErrorIgnoreFlags: WinHttpRequestOption = 4i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_URL: WinHttpRequestOption = 1i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_URLCodePage: WinHttpRequestOption = 2i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UrlEscapeDisable: WinHttpRequestOption = 7i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UrlEscapeDisableQuery: WinHttpRequestOption = 8i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UserAgentString: WinHttpRequestOption = 0i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestStatLast: WINHTTP_REQUEST_STAT_ENTRY = 16i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestStatMax: WINHTTP_REQUEST_STAT_ENTRY = 32i32; @@ -1431,6 +1515,14 @@ pub type WINHTTP_WEB_SOCKET_CLOSE_STATUS = i32; pub type WINHTTP_WEB_SOCKET_OPERATION = i32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub type WIN_HTTP_CREATE_URL_FLAGS = u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub type WinHttpRequestAutoLogonPolicy = i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub type WinHttpRequestOption = i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub type WinHttpRequestSecureProtocols = i32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub type WinHttpRequestSslErrorFlags = i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub struct HTTP_VERSION_INFO { diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs index 6d48ae99c81..17449849ef3 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs @@ -192,9 +192,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn HttpAddRequestHeadersW(hrequest : *const ::core::ffi::c_void, lpszheaders : ::windows_sys::core::PCWSTR, dwheaderslength : u32, dwmodifiers : HTTP_ADDREQ_FLAG) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn HttpCheckDavComplianceA(lpszurl : ::windows_sys::core::PCSTR, lpszcompliancetoken : ::windows_sys::core::PCSTR, lpffound : *mut i32, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn HttpCheckDavComplianceA(lpszurl : ::windows_sys::core::PCSTR, lpszcompliancetoken : ::windows_sys::core::PCSTR, lpffound : *mut super::super::Foundation:: BOOL, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn HttpCheckDavComplianceW(lpszurl : ::windows_sys::core::PCWSTR, lpszcompliancetoken : ::windows_sys::core::PCWSTR, lpffound : *mut i32, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn HttpCheckDavComplianceW(lpszurl : ::windows_sys::core::PCWSTR, lpszcompliancetoken : ::windows_sys::core::PCWSTR, lpffound : *mut super::super::Foundation:: BOOL, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] fn HttpCloseDependencyHandle(hdependencyhandle : *const ::core::ffi::c_void) -> ()); ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] fn HttpDuplicateDependencyHandle(hdependencyhandle : *const ::core::ffi::c_void, phduplicateddependencyhandle : *mut *mut ::core::ffi::c_void) -> u32); #[cfg(feature = "Win32_Foundation")] @@ -243,10 +243,10 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn IncrementUrlCacheHeaderData(nidx : u32, lpdwdata : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] fn InternalInternetGetCookie(lpszurl : ::windows_sys::core::PCSTR, lpszcookiedata : ::windows_sys::core::PSTR, lpdwdatasize : *mut u32) -> u32); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn InternetAlgIdToStringA(ai : u32, lpstr : ::windows_sys::core::PSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn InternetAlgIdToStringW(ai : u32, lpstr : ::windows_sys::core::PWSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn InternetAlgIdToStringA(ai : super::super::Security::Cryptography:: ALG_ID, lpstr : ::windows_sys::core::PSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn InternetAlgIdToStringW(ai : super::super::Security::Cryptography:: ALG_ID, lpstr : ::windows_sys::core::PWSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] fn InternetAttemptConnect(dwreserved : u32) -> u32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wininet.dll" "system" #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] fn InternetAutodial(dwflags : INTERNET_AUTODIAL, hwndparent : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); @@ -3910,17 +3910,17 @@ impl ::core::clone::Clone for INTERNET_PROXY_INFO { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] pub struct INTERNET_SECURITY_CONNECTION_INFO { pub dwSize: u32, pub fSecure: super::super::Foundation::BOOL, pub connectionInfo: super::super::Security::Authentication::Identity::SecPkgContext_ConnectionInfo, pub cipherInfo: super::super::Security::Authentication::Identity::SecPkgContext_CipherInfo, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for INTERNET_SECURITY_CONNECTION_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for INTERNET_SECURITY_CONNECTION_INFO { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs index 9e5243021db..35275ce9f5f 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs @@ -3016,6 +3016,10 @@ pub const TCP_INITIAL_RTO_DEFAULT_MAX_SYN_RETRANSMISSIONS: u32 = 0u32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_INITIAL_RTO_DEFAULT_RTT: u32 = 0u32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] +pub const TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS: u16 = 65534u16; +#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] +pub const TCP_INITIAL_RTO_UNSPECIFIED_MAX_SYN_RETRANSMISSIONS: u16 = 65535u16; +#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_KEEPALIVE: i32 = 3i32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_KEEPCNT: i32 = 16i32; @@ -8413,17 +8417,6 @@ impl ::core::clone::Clone for netent { } #[repr(C)] #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] -pub struct sa_family_t { - pub Value: u16, -} -impl ::core::marker::Copy for sa_family_t {} -impl ::core::clone::Clone for sa_family_t { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub union sockaddr_gen { pub Address: SOCKADDR, pub AddressIn: SOCKADDR_IN, diff --git a/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs index 77ae2c66ae4..ba144d5705b 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/AppLocker/mod.rs @@ -8,8 +8,8 @@ ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferGetLevelInformation(levelhandle : super:: SAFER_LEVEL_HANDLE, dwinfotype : SAFER_OBJECT_INFO_CLASS, lpquerybuffer : *mut ::core::ffi::c_void, dwinbuffersize : u32, lpdwoutbuffersize : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferGetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *mut ::core::ffi::c_void, infobufferretsize : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferIdentifyLevel(dwnumproperties : u32, pcodeproperties : *const SAFER_CODE_PROPERTIES_V2, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn SaferIdentifyLevel(dwnumproperties : u32, pcodeproperties : *const SAFER_CODE_PROPERTIES_V2, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferRecordEventLogEntry(hlevel : super:: SAFER_LEVEL_HANDLE, sztargetpath : ::windows_sys::core::PCWSTR, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -173,8 +173,8 @@ pub type SAFER_OBJECT_INFO_CLASS = i32; #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] pub type SAFER_POLICY_INFO_CLASS = i32; #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_CODE_PROPERTIES_V1 { pub cbSize: u32, pub dwCheckFlags: u32, @@ -184,22 +184,22 @@ pub struct SAFER_CODE_PROPERTIES_V1 { pub ImageHash: [u8; 64], pub dwImageHashSize: u32, pub ImageSize: i64, - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub pByteBlock: *mut u8, pub hWndParent: super::super::Foundation::HWND, pub dwWVTUIChoice: u32, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V1 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V1 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_CODE_PROPERTIES_V2 { pub cbSize: u32, pub dwCheckFlags: u32, @@ -209,7 +209,7 @@ pub struct SAFER_CODE_PROPERTIES_V2 { pub ImageHash: [u8; 64], pub dwImageHashSize: u32, pub ImageSize: i64, - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub pByteBlock: *mut u8, pub hWndParent: super::super::Foundation::HWND, pub dwWVTUIChoice: u32, @@ -219,47 +219,47 @@ pub struct SAFER_CODE_PROPERTIES_V2 { pub PackageVersion: u64, pub PackageIsFramework: super::super::Foundation::BOOL, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V2 { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_HASH_IDENTIFICATION { pub header: SAFER_IDENTIFICATION_HEADER, pub Description: [u16; 256], pub FriendlyName: [u16; 256], pub HashSize: u32, pub ImageHash: [u8; 64], - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub ImageSize: i64, pub dwSaferFlags: u32, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION { fn clone(&self) -> Self { *self } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_HASH_IDENTIFICATION2 { pub hashIdentification: SAFER_HASH_IDENTIFICATION, pub HashSize: u32, pub ImageHash: [u8; 64], - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION2 { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs index b8a1899f03b..f37f2856e59 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -42,7 +42,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditQueryPerUserPolicy(psid : super::super::super::Foundation:: PSID, psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditQuerySecurity(securityinformation : u32, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditQuerySecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditQuerySystemPolicy(psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] @@ -52,7 +52,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetPerUserPolicy(psid : super::super::super::Foundation:: PSID, pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetSecurity(securityinformation : u32, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetSecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetSystemPolicy(pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN); #[cfg(feature = "Win32_Foundation")] @@ -288,16 +288,16 @@ ::windows_targets::link!("secur32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn SetCredentialsAttributesA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security_Credentials")] ::windows_targets::link!("secur32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn SetCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslCrackCertificate(pbcertificate : *mut u8, cbcertificate : u32, dwflags : u32, ppcertificate : *mut *mut X509Certificate) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn SslCrackCertificate(pbcertificate : *mut u8, cbcertificate : u32, dwflags : u32, ppcertificate : *mut *mut X509Certificate) -> super::super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn SslDeserializeCertificateStore(serializedcertificatestore : super::super::Cryptography:: CRYPT_INTEGER_BLOB, ppcertcontext : *mut *mut super::super::Cryptography:: CERT_CONTEXT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslEmptyCacheA(psztargetname : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslEmptyCacheW(psztargetname : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslFreeCertificate(pcertificate : *mut X509Certificate) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn SslFreeCertificate(pcertificate : *mut X509Certificate) -> ()); ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGenerateRandomBits(prandomdata : *mut u8, crandomdata : i32) -> ()); ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGetExtensions(clienthello : *const u8, clienthellobytesize : u32, genericextensions : *mut SCH_EXTENSION_DATA, genericextensionscount : u8, bytestoread : *mut u32, flags : SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("schannel.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGetMaximumKeySize(reserved : u32) -> u32); @@ -7013,15 +7013,18 @@ impl ::core::clone::Clone for SCHANNEL_CERT_HASH_STORE { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SCHANNEL_CLIENT_SIGNATURE { pub cbLength: u32, - pub aiHash: u32, + pub aiHash: super::super::Cryptography::ALG_ID, pub cbHash: u32, pub HashValue: [u8; 36], pub CertThumbprint: [u8; 20], } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE { fn clone(&self) -> Self { *self @@ -7038,7 +7041,7 @@ pub struct SCHANNEL_CRED { pub cMappers: u32, pub aphMappers: *mut *mut _HMAPPER, pub cSupportedAlgs: u32, - pub palgSupportedAlgs: *mut u32, + pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID, pub grbitEnabledProtocols: u32, pub dwMinimumCipherStrength: u32, pub dwMaximumCipherStrength: u32, @@ -8629,17 +8632,20 @@ impl ::core::clone::Clone for SecPkgContext_ClientSpecifiedTarget { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SecPkgContext_ConnectionInfo { pub dwProtocol: u32, - pub aiCipher: u32, + pub aiCipher: super::super::Cryptography::ALG_ID, pub dwCipherStrength: u32, - pub aiHash: u32, + pub aiHash: super::super::Cryptography::ALG_ID, pub dwHashStrength: u32, - pub aiExch: u32, + pub aiExch: super::super::Cryptography::ALG_ID, pub dwExchStrength: u32, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SecPkgContext_ConnectionInfo { fn clone(&self) -> Self { *self @@ -9339,12 +9345,15 @@ impl ::core::clone::Clone for SecPkgCred_SessionTicketKeys { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SecPkgCred_SupportedAlgs { pub cSupportedAlgs: u32, - pub palgSupportedAlgs: *mut u32, + pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SecPkgCred_SupportedAlgs { fn clone(&self) -> Self { *self @@ -9844,21 +9853,21 @@ impl ::core::clone::Clone for USER_SESSION_KEY { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct X509Certificate { pub Version: u32, pub SerialNumber: [u32; 4], - pub SignatureAlgorithm: u32, + pub SignatureAlgorithm: super::super::Cryptography::ALG_ID, pub ValidFrom: super::super::super::Foundation::FILETIME, pub ValidUntil: super::super::super::Foundation::FILETIME, pub pszIssuer: ::windows_sys::core::PSTR, pub pszSubject: ::windows_sys::core::PSTR, pub pPublicKey: *mut PctPublicKey, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for X509Certificate {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for X509Certificate { fn clone(&self) -> Self { *self @@ -10334,8 +10343,8 @@ pub type SET_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option ::windows_sys::core::HRESULT>; -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub type SSL_CRACK_CERTIFICATE_FN = ::core::option::Option super::super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -10343,8 +10352,8 @@ pub type SSL_EMPTY_CACHE_FN_A = ::core::option::Option super::super::super::Foundation::BOOL>; -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs index f462079aa5a..56f6657ff8e 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authorization/mod.rs @@ -87,9 +87,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn BuildTrusteeWithSidW(ptrustee : *mut TRUSTEE_W, psid : super::super::Foundation:: PSID) -> ()); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : u32, stringsecuritydescriptor : *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : u32, stringsecuritydescriptor : *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSidToStringSidA(sid : super::super::Foundation:: PSID, stringsid : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -117,9 +117,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetExplicitEntriesFromAclW(pacl : *const super:: ACL, pccountofexplicitentries : *mut u32, plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_W) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMA) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMA) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMW) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMW) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeA(ptrustee : *const TRUSTEE_A) -> *mut TRUSTEE_A); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeOperationA(ptrustee : *const TRUSTEE_A) -> MULTIPLE_TRUSTEE_OPERATION); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeOperationW(ptrustee : *const TRUSTEE_W) -> MULTIPLE_TRUSTEE_OPERATION); @@ -129,7 +129,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, ppsidowner : *mut super::super::Foundation:: PSID, ppsidgroup : *mut super::super::Foundation:: PSID, ppdacl : *mut *mut super:: ACL, ppsacl : *mut *mut super:: ACL, ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : u32, ppsidowner : *mut super::super::Foundation:: PSID, ppsidgroup : *mut super::super::Foundation:: PSID, ppdacl : *mut *mut super:: ACL, ppsacl : *mut *mut super:: ACL, ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, ppsidowner : *mut super::super::Foundation:: PSID, ppsidgroup : *mut super::super::Foundation:: PSID, ppdacl : *mut *mut super:: ACL, ppsacl : *mut *mut super:: ACL, ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeFormA(ptrustee : *const TRUSTEE_A) -> TRUSTEE_FORM); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeFormW(ptrustee : *const TRUSTEE_W) -> TRUSTEE_FORM); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeNameA(ptrustee : *const TRUSTEE_A) -> ::windows_sys::core::PSTR); @@ -149,15 +149,15 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn SetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, psidowner : super::super::Foundation:: PSID, psidgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn SetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : u32, psidowner : super::super::Foundation:: PSID, psidgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn SetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, psidowner : super::super::Foundation:: PSID, psidgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); pub type IAzApplication = *mut ::core::ffi::c_void; pub type IAzApplication2 = *mut ::core::ffi::c_void; pub type IAzApplication3 = *mut ::core::ffi::c_void; diff --git a/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs index 78461422f1d..4c3e5330dc8 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Credentials/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteA(targetname : ::windows_sys::core::PCSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteW(targetname : ::windows_sys::core::PCWSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredEnumerateA(filter : ::windows_sys::core::PCSTR, flags : CRED_ENUMERATE_FLAGS, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -38,17 +38,17 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredProtectW(fasself : super::super::Foundation:: BOOL, pszcredentials : ::windows_sys::core::PCWSTR, cchcredentials : u32, pszprotectedcredentials : ::windows_sys::core::PWSTR, pcchmaxchars : *mut u32, protectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadA(targetname : ::windows_sys::core::PCSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadDomainCredentialsA(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadDomainCredentialsW(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadW(targetname : ::windows_sys::core::PCWSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameA(oldtargetname : ::windows_sys::core::PCSTR, newtargetname : ::windows_sys::core::PCSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameA(oldtargetname : ::windows_sys::core::PCSTR, newtargetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameW(oldtargetname : ::windows_sys::core::PCWSTR, newtargetname : ::windows_sys::core::PCWSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameW(oldtargetname : ::windows_sys::core::PCWSTR, newtargetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("credui.dll" "system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredUICmdLinePromptForCredentialsA(psztargetname : ::windows_sys::core::PCSTR, pcontext : *const SecHandle, dwautherror : u32, username : ::windows_sys::core::PSTR, uluserbuffersize : u32, pszpassword : ::windows_sys::core::PSTR, ulpasswordbuffersize : u32, pfsave : *mut super::super::Foundation:: BOOL, dwflags : CREDUI_FLAGS) -> u32); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs index 97f55bbc2d1..1c759d5bb53 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -355,7 +355,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateAsyncHandle(dwflags : u32, phasync : *mut HCRYPTASYNC) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateHash(hprov : usize, algid : u32, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateHash(hprov : usize, algid : ALG_ID, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszpubkeyoid : ::windows_sys::core::PCSTR, ppubkeystruc : *const PUBLICKEYSTRUC, cbpubkeystruc : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbhash : *mut u8, pcbhash : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -371,7 +371,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDecryptMessage(pdecryptpara : *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob : *const u8, cbencryptedblob : u32, pbdecrypted : *mut u8, pcbdecrypted : *mut u32, ppxchgcert : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDeriveKey(hprov : usize, algid : u32, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDeriveKey(hprov : usize, algid : ALG_ID, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDestroyHash(hhash : usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -421,7 +421,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptFreeOIDFunctionAddress(hfuncaddr : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGenKey(hprov : usize, algid : u32, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGenKey(hprov : usize, algid : ALG_ID, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGenRandom(hprov : usize, dwlen : u32, pbbuffer : *mut u8) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -453,7 +453,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetUserKey(hprov : usize, dwkeyspec : u32, phuserkey : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : u32, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashCertificate2(pwszcnghashalgid : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -461,7 +461,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashMessage(phashpara : *const CRYPT_HASH_MESSAGE_PARA, fdetachedhash : super::super::Foundation:: BOOL, ctobehashed : u32, rgpbtobehashed : *const *const u8, rgcbtobehashed : *const u32, pbhashedblob : *mut u8, pcbhashedblob : *mut u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : u32, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashSessionKey(hhash : usize, hkey : usize, dwflags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -473,7 +473,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptImportPublicKeyInfo(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, phkey : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : u32, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : ALG_ID, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptImportPublicKeyInfoEx2(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, dwflags : CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("crypt32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptInitOIDFunctionSet(pszfuncname : ::windows_sys::core::PCSTR, dwflags : u32) -> *mut ::core::ffi::c_void); @@ -719,7 +719,7 @@ pub mod UI; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("mssign32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn SignerTimeStampEx(dwflags : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("mssign32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, dwalgid : u32, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mssign32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, dwalgid : ALG_ID, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("mssign32.dll" "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn SignerTimeStampEx3(dwflags : SIGNER_TIMESTAMP_FLAGS, dwindex : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, pszalgorithmoid : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] @@ -1507,10 +1507,116 @@ pub const BCRYPT_XTS_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys: #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = 897u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_3DES: ALG_ID = 26115u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_3DES_112: ALG_ID = 26121u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES: ALG_ID = 26129u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_128: ALG_ID = 26126u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_192: ALG_ID = 26127u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_256: ALG_ID = 26128u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AGREEDKEY_ANY: ALG_ID = 43523u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_CYLINK_MEK: ALG_ID = 26124u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DES: ALG_ID = 26113u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DESX: ALG_ID = 26116u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DH_EPHEM: ALG_ID = 43522u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DH_SF: ALG_ID = 43521u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DSS_SIGN: ALG_ID = 8704u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDH: ALG_ID = 43525u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDH_EPHEM: ALG_ID = 44550u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDSA: ALG_ID = 8707u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECMQV: ALG_ID = 40961u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HASH_REPLACE_OWF: ALG_ID = 32779u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HMAC: ALG_ID = 32777u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HUGHES_MD5: ALG_ID = 40963u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_KEA_KEYX: ALG_ID = 43524u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MAC: ALG_ID = 32773u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD2: ALG_ID = 32769u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD4: ALG_ID = 32770u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD5: ALG_ID = 32771u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_NO_SIGN: ALG_ID = 8192u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_NULLCIPHER: ALG_ID = 24576u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_PCT1_MASTER: ALG_ID = 19460u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC2: ALG_ID = 26114u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC4: ALG_ID = 26625u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC5: ALG_ID = 26125u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RSA_KEYX: ALG_ID = 41984u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RSA_SIGN: ALG_ID = 9216u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_ENC_KEY: ALG_ID = 19463u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_MAC_KEY: ALG_ID = 19459u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_MASTER_HASH: ALG_ID = 19458u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SEAL: ALG_ID = 26626u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA: ALG_ID = 32772u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA1: ALG_ID = 32772u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_256: ALG_ID = 32780u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_384: ALG_ID = 32781u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_512: ALG_ID = 32782u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SKIPJACK: ALG_ID = 26122u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL2_MASTER: ALG_ID = 19461u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL3_MASTER: ALG_ID = 19457u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL3_SHAMD5: ALG_ID = 32776u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TEK: ALG_ID = 26123u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_CIPHER: ALG_ID = 28672u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_HASH: ALG_ID = 36864u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_KEY_EXCHANGE: ALG_ID = 45056u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_SIGNATURE: ALG_ID = 12288u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TLS1PRF: ALG_ID = 32778u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TLS1_MASTER: ALG_ID = 19462u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x961f180f_f55c_413d_a9b3_7d2af4d8e42f); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38373906_5433_4633_b0fb_29b7e78262e1); @@ -3773,25 +3879,25 @@ pub const CRYPTPROTECT_VERIFY_PROTECTION: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACCUMULATIVE_TIMEOUT: u32 = 2048u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: u32 = 65536u32; +pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_CACHE_FLAG: CRYPT_ACQUIRE_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_COMPARE_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: u32 = 458752u32; +pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: CRYPT_ACQUIRE_FLAGS = 458752u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_NO_HEALING: CRYPT_ACQUIRE_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: u32 = 262144u32; +pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 262144u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: u32 = 131072u32; +pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_SILENT_FLAG: CRYPT_ACQUIRE_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: CRYPT_ACQUIRE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: u32 = 128u32; +pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: CRYPT_ACQUIRE_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_AIA_RETRIEVAL: u32 = 524288u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -7511,6 +7617,8 @@ pub const wszXMLNS_DIGSIG_Id: ::windows_sys::core::PCWSTR = ::windows_sys::core: #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const wszXMLNS_DIGSIG_SignatureProperties: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#SignatureProperties"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub type ALG_ID = u32; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type BCRYPTGENRANDOM_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type BCRYPT_DH_KEY_BLOB_MAGIC = u32; @@ -10668,7 +10776,7 @@ impl ::core::clone::Clone for CMSG_STREAM_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMS_DH_KEY_INFO { pub dwVersion: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub pszContentEncObjId: ::windows_sys::core::PSTR, pub PubInfo: CRYPT_INTEGER_BLOB, pub pReserved: *mut ::core::ffi::c_void, @@ -10683,7 +10791,7 @@ impl ::core::clone::Clone for CMS_DH_KEY_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMS_KEY_INFO { pub dwVersion: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub pbOID: *mut u8, pub cbOID: u32, } @@ -11565,7 +11673,7 @@ impl ::core::clone::Clone for CRYPT_OID_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub union CRYPT_OID_INFO_0 { pub dwValue: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub dwLength: u32, } impl ::core::marker::Copy for CRYPT_OID_INFO_0 {} @@ -12785,7 +12893,7 @@ pub type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = usize; #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct HMAC_INFO { - pub HashAlgid: u32, + pub HashAlgid: ALG_ID, pub pbInnerString: *mut u8, pub cbInnerString: u32, pub pbOuterString: *mut u8, @@ -13492,7 +13600,7 @@ impl ::core::clone::Clone for PRIVKEYVER3 { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct PROV_ENUMALGS { - pub aiAlgid: u32, + pub aiAlgid: ALG_ID, pub dwBitLen: u32, pub dwNameLen: u32, pub szName: [u8; 20], @@ -13506,7 +13614,7 @@ impl ::core::clone::Clone for PROV_ENUMALGS { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct PROV_ENUMALGS_EX { - pub aiAlgid: u32, + pub aiAlgid: ALG_ID, pub dwDefaultLen: u32, pub dwMinLen: u32, pub dwMaxLen: u32, @@ -13555,7 +13663,7 @@ pub struct PUBLICKEYSTRUC { pub bType: u8, pub bVersion: u8, pub reserved: u16, - pub aiKeyAlg: u32, + pub aiKeyAlg: ALG_ID, } impl ::core::marker::Copy for PUBLICKEYSTRUC {} impl ::core::clone::Clone for PUBLICKEYSTRUC { @@ -13626,7 +13734,7 @@ impl ::core::clone::Clone for RSAPUBKEY { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct SCHANNEL_ALG { pub dwUse: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub cBits: u32, pub dwFlags: u32, pub dwReserved: u32, @@ -13852,7 +13960,7 @@ impl ::core::clone::Clone for SIGNER_PROVIDER_INFO_0 { #[cfg(feature = "Win32_Foundation")] pub struct SIGNER_SIGNATURE_INFO { pub cbSize: u32, - pub algidHash: u32, + pub algidHash: ALG_ID, pub dwAttrChoice: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE, pub Anonymous: SIGNER_SIGNATURE_INFO_0, pub psAuthenticated: *mut CRYPT_ATTRIBUTES, @@ -14032,16 +14140,16 @@ pub type PFNCryptStreamOutputCallback = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option ::windows_sys::core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CANCEL_ASYNC_RETRIEVAL_FUNC = ::core::option::Option super::super::Foundation::BOOL>; diff --git a/crates/libs/sys/src/Windows/Win32/Security/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/mod.rs index 96bbb9de8e9..6f85f42d3c8 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/mod.rs @@ -27,27 +27,27 @@ pub mod WinTrust; #[cfg(feature = "Win32_Security_WinWlx")] pub mod WinWlx; #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheck(psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheck(psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByType(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByType(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultList(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccesslist : *mut u32, accessstatuslist : *mut u32) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AddAccessAllowedAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -145,19 +145,19 @@ pub mod WinWlx; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetLengthSid(psid : super::Foundation:: PSID) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : u32, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : OBJECT_SECURITY_INFORMATION, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, pcontrol : *mut u16, lpdwrevision : *mut u32) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut i32, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut super::Foundation:: BOOL, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSecurityDescriptorLength(psecuritydescriptor : PSECURITY_DESCRIPTOR) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSecurityDescriptorRMControl(securitydescriptor : PSECURITY_DESCRIPTOR, rmcontrol : *mut u8) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut i32, psacl : *mut *mut ACL, lpbsacldefaulted : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut super::Foundation:: BOOL, psacl : *mut *mut ACL, lpbsacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSidIdentifierAuthority(psid : super::Foundation:: PSID) -> *mut SID_IDENTIFIER_AUTHORITY); ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSidLengthRequired(nsubauthoritycount : u8) -> u32); @@ -235,20 +235,20 @@ pub mod WinWlx; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectDeleteAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectOpenAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectOpenAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectOpenAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectOpenAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectPrivilegeAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ObjectPrivilegeAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut i32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn PrivilegedServiceAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, servicename : ::windows_sys::core::PCSTR, clienttoken : super::Foundation:: HANDLE, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn PrivilegedServiceAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, servicename : ::windows_sys::core::PCWSTR, clienttoken : super::Foundation:: HANDLE, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn QuerySecurityAccessMask(securityinformation : u32, desiredaccess : *mut u32) -> ()); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn QuerySecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn RevertToSelf() -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -260,16 +260,16 @@ pub mod WinWlx; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetCachedSigningLevel(sourcefiles : *const super::Foundation:: HANDLE, sourcefilecount : u32, flags : u32, targetfile : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, securityinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : OBJECT_SECURITY_INFORMATION, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurity(securityinformation : u32, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurity(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurityEx(securityinformation : u32, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn SetSecurityAccessMask(securityinformation : u32, desiredaccess : *mut u32) -> ()); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurityEx(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn SetSecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL, controlbitstoset : SECURITY_DESCRIPTOR_CONTROL) -> super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs index f809ec7a692..ce4c0503fc8 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -54,15 +54,15 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileExA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut i32, dwcopyflags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileExA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileExW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut i32, dwcopyflags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileExW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("api-ms-win-core-file-fromapp-l1-1-0.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileFromAppW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileTransactedA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const i32, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileTransactedA(lpexistingfilename : ::windows_sys::core::PCSTR, lpnewfilename : ::windows_sys::core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileTransactedW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const i32, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileTransactedW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn CopyFileW(lpexistingfilename : ::windows_sys::core::PCWSTR, lpnewfilename : ::windows_sys::core::PCWSTR, bfailifexists : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] fn CopyLZFile(hfsource : i32, hfdest : i32) -> i32); @@ -288,7 +288,7 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn GetFileAttributesTransactedW(lpfilename : ::windows_sys::core::PCWSTR, finfolevelid : GET_FILEEX_INFO_LEVELS, lpfileinformation : *mut ::core::ffi::c_void, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] fn GetFileAttributesW(lpfilename : ::windows_sys::core::PCWSTR) -> u32); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn GetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, lpperiodmilliseconds : *mut u32, lpbytesperperiod : *mut u32, pdiscardable : *mut i32, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn GetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, lpperiodmilliseconds : *mut u32, lpbytesperperiod : *mut u32, pdiscardable : *mut super::super::Foundation:: BOOL, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] fn GetFileInformationByHandle(hfile : super::super::Foundation:: HANDLE, lpfileinformation : *mut BY_HANDLE_FILE_INFORMATION) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -3606,14 +3606,17 @@ impl ::core::clone::Clone for EFS_HASH_BLOB { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] +#[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct EFS_KEY_INFO { pub dwVersion: u32, pub Entropy: u32, - pub Algorithm: u32, + pub Algorithm: super::super::Security::Cryptography::ALG_ID, pub KeyLength: u32, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for EFS_KEY_INFO {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for EFS_KEY_INFO { fn clone(&self) -> Self { *self @@ -6525,7 +6528,7 @@ impl ::core::clone::Clone for WOF_FILE_COMPRESSION_INFO_V1 { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -pub type CACHE_ACCESS_CHECK = ::core::option::Option super::super::Foundation::BOOL>; +pub type CACHE_ACCESS_CHECK = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub type CACHE_DESTROY_CALLBACK = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs index db2151c7ddc..b5a5f8a0852 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs @@ -1815,7 +1815,7 @@ pub const JET_errStartingRestoreLogTooHigh: i32 = -554i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub const JET_errStreamingDataNotLogged: i32 = -549i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] -pub const JET_errSuccess: u32 = 0u32; +pub const JET_errSuccess: i32 = 0i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub const JET_errSystemParameterConflict: i32 = -1087i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs new file mode 100644 index 00000000000..c7832d193ad --- /dev/null +++ b/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs @@ -0,0 +1,6368 @@ +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const FIRMWARE_ACTIVATION_HISTORY_ENTRY_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGEGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIESGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_ERROR_RECOVERY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_ERROR_RECOVERYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_LATENCY_MONITOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_LATENCY_MONITORGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_SMART_INFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_SMART_INFORMATIONGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_CONFIGURATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_CONFIGURATIONGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_HISTORY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_HISTORYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTSGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_ERROR_RECOVERY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_ERROR_RECOVERYGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_SMART_ATTRIBUTES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_SMART_ATTRIBUTESGuid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_FR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_FR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_NONE: NVME_ACCESS_FREQUENCIES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_ONE_TIME_READ: NVME_ACCESS_FREQUENCIES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_SPECULATIVE_READ: NVME_ACCESS_FREQUENCIES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_TYPICAL: NVME_ACCESS_FREQUENCIES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_WILL_BE_OVERWRITTEN: NVME_ACCESS_FREQUENCIES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_IDLE: NVME_ACCESS_LATENCIES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_LOW: NVME_ACCESS_LATENCIES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_NONE: NVME_ACCESS_LATENCIES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_NORMAL: NVME_ACCESS_LATENCIES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_ABORT: NVME_ADMIN_COMMANDS = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_ASYNC_EVENT_REQUEST: NVME_ADMIN_COMMANDS = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_CREATE_IO_CQ: NVME_ADMIN_COMMANDS = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_CREATE_IO_SQ: NVME_ADMIN_COMMANDS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DELETE_IO_CQ: NVME_ADMIN_COMMANDS = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DELETE_IO_SQ: NVME_ADMIN_COMMANDS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DEVICE_SELF_TEST: NVME_ADMIN_COMMANDS = 20i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DIRECTIVE_RECEIVE: NVME_ADMIN_COMMANDS = 26i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DIRECTIVE_SEND: NVME_ADMIN_COMMANDS = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DOORBELL_BUFFER_CONFIG: NVME_ADMIN_COMMANDS = 124i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_ACTIVATE: NVME_ADMIN_COMMANDS = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_COMMIT: NVME_ADMIN_COMMANDS = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_IMAGE_DOWNLOAD: NVME_ADMIN_COMMANDS = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FORMAT_NVM: NVME_ADMIN_COMMANDS = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_FEATURES: NVME_ADMIN_COMMANDS = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_LBA_STATUS: NVME_ADMIN_COMMANDS = 134i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_LOG_PAGE: NVME_ADMIN_COMMANDS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_IDENTIFY: NVME_ADMIN_COMMANDS = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NAMESPACE_ATTACHMENT: NVME_ADMIN_COMMANDS = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NAMESPACE_MANAGEMENT: NVME_ADMIN_COMMANDS = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NVME_MI_RECEIVE: NVME_ADMIN_COMMANDS = 30i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NVME_MI_SEND: NVME_ADMIN_COMMANDS = 29i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SANITIZE: NVME_ADMIN_COMMANDS = 132i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SECURITY_RECEIVE: NVME_ADMIN_COMMANDS = 130i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SECURITY_SEND: NVME_ADMIN_COMMANDS = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SET_FEATURES: NVME_ADMIN_COMMANDS = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_VIRTUALIZATION_MANAGEMENT: NVME_ADMIN_COMMANDS = 28i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_AMS_ROUND_ROBIN: NVME_AMS_OPTION = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_AMS_WEIGHTED_ROUND_ROBIN_URGENT: NVME_AMS_OPTION = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_DIAG_FAILURE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_FIRMWARE_IMAGE_LOAD_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_INVALID_DOORBELL_WRITE_VALUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_INVALID_SUBMISSION_QUEUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_PERSISTENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_TRANSIENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_ERROR_STATUS: NVME_ASYNC_EVENT_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_HEALTH_STATUS: NVME_ASYNC_EVENT_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_IO_COMMAND_SET_STATUS: NVME_ASYNC_EVENT_TYPES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_NOTICE: NVME_ASYNC_EVENT_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC: NVME_ASYNC_EVENT_TYPES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_DEVICE_PANIC: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_RESERVED: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_NVM_SUBSYSTEM_RELIABILITY: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_SPARE_BELOW_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_TEMPERATURE_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED_WITH_UNEXPECTED_DEALLOCATION: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SET_RESERVATION_LOG_PAGE_AVAILABLE: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ASYMMETRIC_ACCESS_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ENDURANCE_GROUP_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_FIRMWARE_ACTIVATION_STARTING: NVME_ASYNC_EVENT_NOTICE_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_LBA_STATUS_INFORMATION_ALERT: NVME_ASYNC_EVENT_NOTICE_CODES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_NAMESPACE_ATTRIBUTE_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_PREDICTABLE_LATENCY_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_TELEMETRY_LOG_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ZONE_DESCRIPTOR_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = 239i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_ABRUPT_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_NORMAL_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_NO_NOTIFICATION: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_16MB: NVME_CMBSZ_SIZE_UNITS = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_1MB: NVME_CMBSZ_SIZE_UNITS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_256MB: NVME_CMBSZ_SIZE_UNITS = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_4GB: NVME_CMBSZ_SIZE_UNITS = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_4KB: NVME_CMBSZ_SIZE_UNITS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_64GB: NVME_CMBSZ_SIZE_UNITS = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_64KB: NVME_CMBSZ_SIZE_UNITS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_NONE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_CONTROLLER: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_NAMESPACE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_KEY_VALUE: NVME_COMMAND_SET_IDENTIFIERS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_NVM: NVME_COMMAND_SET_IDENTIFIERS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_ZONED_NAMESPACE: NVME_COMMAND_SET_IDENTIFIERS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_FIRMWARE_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_HOST_DETERMINED_FAILURE_RECORD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_FILENAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_NAME_AND_BUILD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_SYSTEM_PROCESSOR_MODEL: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_SYSTEM_PRODUCT_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_ADMIN_COMMAND_SET_ONLY: NVME_CSS_COMMAND_SETS = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_ALL_SUPPORTED_IO_COMMAND_SET: NVME_CSS_COMMAND_SETS = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_NVM_COMMAND_SET: NVME_CSS_COMMAND_SETS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_NO_SHUTDOWN: NVME_CSTS_SHST_SHUTDOWN_STATUS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_SHUTDOWN_COMPLETED: NVME_CSTS_SHST_SHUTDOWN_STATUS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_SHUTDOWN_IN_PROCESS: NVME_CSTS_SHST_SHUTDOWN_STATUS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_ALLOCATE_RESOURCES: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_GET_STATUS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_IDENTIFY_OPERATION_ENABLE_DIRECTIVE: NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_IDENTIFIER: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_RESOURCES: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_TYPE_IDENTIFY: NVME_DIRECTIVE_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_TYPE_STREAMS: NVME_DIRECTIVE_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_CPU_CONTROLLER_HANG: NVME_ERROR_INJECTION_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_CRITICAL: NVME_ERROR_INJECTION_TYPES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_NONCRITICAL: NVME_ERROR_INJECTION_TYPES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_HW_MALFUNCTION: NVME_ERROR_INJECTION_TYPES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_LOGICAL_FW_ERROR: NVME_ERROR_INJECTION_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_CORRUPTION: NVME_ERROR_INJECTION_TYPES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_HANG: NVME_ERROR_INJECTION_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_PLP_DEFECT: NVME_ERROR_INJECTION_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_SRAM_CORRUPTION: NVME_ERROR_INJECTION_TYPES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_MAX: NVME_ERROR_INJECTION_TYPES = 65535i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_RESERVED0: NVME_ERROR_INJECTION_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_RESERVED1: NVME_ERROR_INJECTION_TYPES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_EXTENDED_HOST_IDENTIFIER_SIZE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ARBITRATION: NVME_FEATURES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ASYNC_EVENT_CONFIG: NVME_FEATURES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_AUTONOMOUS_POWER_STATE_TRANSITION: NVME_FEATURES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CLEAR_FW_UPDATE_HISTORY: NVME_FEATURES = 193i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS: NVME_FEATURES = 195i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CONTROLLER_METADATA: NVME_FEATURES = 126i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENABLE_IEEE1667_SILO: NVME_FEATURES = 196i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENDURANCE_GROUP_EVENT_CONFIG: NVME_FEATURES = 24i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENHANCED_CONTROLLER_METADATA: NVME_FEATURES = 125i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ERROR_INJECTION: NVME_FEATURES = 192i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ERROR_RECOVERY: NVME_FEATURES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_BEHAVIOR_SUPPORT: NVME_FEATURES = 22i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_CONTROLLED_THERMAL_MANAGEMENT: NVME_FEATURES = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_MEMORY_BUFFER: NVME_FEATURES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_INTERRUPT_COALESCING: NVME_FEATURES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_INTERRUPT_VECTOR_CONFIG: NVME_FEATURES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_IO_COMMAND_SET_PROFILE: NVME_FEATURES = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_KEEP_ALIVE: NVME_FEATURES = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_LBA_RANGE_TYPE: NVME_FEATURES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_LBA_STATUS_INFORMATION_REPORT_INTERVAL: NVME_FEATURES = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NAMESPACE_METADATA: NVME_FEATURES = 127i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NONOPERATIONAL_POWER_STATE: NVME_FEATURES = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NUMBER_OF_QUEUES: NVME_FEATURES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_HOST_IDENTIFIER: NVME_FEATURES = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_NAMESPACE_WRITE_PROTECTION_CONFIG: NVME_FEATURES = 132i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_RESERVATION_NOTIFICATION_MASK: NVME_FEATURES = 130i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_RESERVATION_PERSISTANCE: NVME_FEATURES = 131i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_SOFTWARE_PROGRESS_MARKER: NVME_FEATURES = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PLP_HEALTH_MONITOR: NVME_FEATURES = 197i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_POWER_MANAGEMENT: NVME_FEATURES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_CONFIG: NVME_FEATURES = 19i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_WINDOW: NVME_FEATURES = 20i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_READONLY_WRITETHROUGH_MODE: NVME_FEATURES = 194i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_READ_RECOVERY_LEVEL_CONFIG: NVME_FEATURES = 18i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_SANITIZE_CONFIG: NVME_FEATURES = 23i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_TEMPERATURE_THRESHOLD: NVME_FEATURES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_TIMESTAMP: NVME_FEATURES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_CURRENT: NVME_FEATURE_VALUE_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_DEFAULT: NVME_FEATURE_VALUE_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_SAVED: NVME_FEATURE_VALUE_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_SUPPORTED_CAPABILITIES: NVME_FEATURE_VALUE_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VOLATILE_WRITE_CACHE: NVME_FEATURES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_WRITE_ATOMICITY: NVME_FEATURES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT: NVME_FIRMWARE_ACTIVATE_ACTIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE_IMMEDIATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_FIRST_CMD: NVME_FUSED_OPERATION_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_NORMAL: NVME_FUSED_OPERATION_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_SECOND_CMD: NVME_FUSED_OPERATION_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_IDENTIFIER_SIZE: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_ADD_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_ADD_REPLACE_ENTRY: NVME_HOST_METADATA_ELEMENT_ACTIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_DELETE_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_CSI: NVME_IDENTIFIER_TYPE = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_CSI_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_EUI64: NVME_IDENTIFIER_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_EUI64_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_NGUID: NVME_IDENTIFIER_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_NGUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_UUID: NVME_IDENTIFIER_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_UUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACES: NVME_IDENTIFY_CNS_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 27i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_LIST: NVME_IDENTIFY_CNS_CODES = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMSPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 26i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER: NVME_IDENTIFY_CNS_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NSID: NVME_IDENTIFY_CNS_CODES = 18i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NVM_SUBSYSTEM: NVME_IDENTIFY_CNS_CODES = 19i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE_SIZE: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DOMAIN_LIST: NVME_IDENTIFY_CNS_CODES = 24i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ENDURANCE_GROUP_LIST: NVME_IDENTIFY_CNS_CODES = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 28i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_NAMESPACE_GRANULARITY_LIST: NVME_IDENTIFY_CNS_CODES = 22i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_NVM_SET: NVME_IDENTIFY_CNS_CODES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_PRIMARY_CONTROLLER_CAPABILITIES: NVME_IDENTIFY_CNS_CODES = 20i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SECONDARY_CONTROLLER_LIST: NVME_IDENTIFY_CNS_CODES = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE: NVME_IDENTIFY_CNS_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_UUID_LIST: NVME_IDENTIFY_CNS_CODES = 23i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_COMBINATION_REJECTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 43i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 44i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_NOT_ENABLED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 42i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 41i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_CACHE: NVME_LBA_RANGE_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_FILESYSTEM: NVME_LBA_RANGE_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_PAGE_SWAP_FILE: NVME_LBA_RANGE_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_RAID: NVME_LBA_RANGE_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_RESERVED: NVME_LBA_RANGE_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ASYMMETRIC_NAMESPACE_ACCESS: NVME_LOG_PAGES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_CHANGED_NAMESPACE_LIST: NVME_LOG_PAGES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_CHANGED_ZONE_LIST: NVME_LOG_PAGES = 191i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_COMMAND_EFFECTS: NVME_LOG_PAGES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_DEVICE_SELF_TEST: NVME_LOG_PAGES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ENDURANCE_GROUP_EVENT_AGGREGATE: NVME_LOG_PAGES = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ENDURANCE_GROUP_INFORMATION: NVME_LOG_PAGES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ERROR_INFO: NVME_LOG_PAGES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_FIRMWARE_SLOT_INFO: NVME_LOG_PAGES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_HEALTH_INFO: NVME_LOG_PAGES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_LBA_STATUS_INFORMATION: NVME_LOG_PAGES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_CAPABILITIES: NVME_VENDOR_LOG_PAGES = 196i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_ERROR_RECOVERY: NVME_VENDOR_LOG_PAGES = 193i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_SMART_INFORMATION: NVME_VENDOR_LOG_PAGES = 192i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_FIRMWARE_ACTIVATION_HISTORY: NVME_VENDOR_LOG_PAGES = 194i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_LATENCY_MONITOR: NVME_VENDOR_LOG_PAGES = 195i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_TCG_CONFIGURATION: NVME_VENDOR_LOG_PAGES = 200i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_TCG_HISTORY: NVME_VENDOR_LOG_PAGES = 201i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_UNSUPPORTED_REQUIREMENTS: NVME_VENDOR_LOG_PAGES = 197i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PERSISTENT_EVENT_LOG: NVME_LOG_PAGES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_EVENT_AGGREGATE: NVME_LOG_PAGES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_NVM_SET: NVME_LOG_PAGES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_RESERVATION_NOTIFICATION: NVME_LOG_PAGES = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_SANITIZE_STATUS: NVME_LOG_PAGES = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_TELEMETRY_CTLR_INITIATED: NVME_LOG_PAGES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_TELEMETRY_HOST_INITIATED: NVME_LOG_PAGES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MAX_HOST_IDENTIFIER_SIZE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MAX_LOG_SIZE: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_ADDITIONALLY_MODIFIED_AFTER_SANITIZE_NOT_DEFINED: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_ADDITIONALLY_MOFIDIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_NOT_ADDITIONALLY_MODIFIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_ALL: u32 = 4294967295u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_1: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_2: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_PREBOOT_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_COMPARE: NVME_NVM_COMMANDS = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_COPY: NVME_NVM_COMMANDS = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_DATASET_MANAGEMENT: NVME_NVM_COMMANDS = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_FLUSH: NVME_NVM_COMMANDS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_READ: NVME_NVM_COMMANDS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_ACQUIRE: NVME_NVM_COMMANDS = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_REGISTER: NVME_NVM_COMMANDS = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_RELEASE: NVME_NVM_COMMANDS = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_REPORT: NVME_NVM_COMMANDS = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_VERIFY: NVME_NVM_COMMANDS = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE: NVME_NVM_COMMANDS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE_UNCORRECTABLE: NVME_NVM_COMMANDS = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE_ZEROES: NVME_NVM_COMMANDS = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_APPEND: NVME_NVM_COMMANDS = 125i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_RECEIVE: NVME_NVM_COMMANDS = 122i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_SEND: NVME_NVM_COMMANDS = 121i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_HIGH: NVME_NVM_QUEUE_PRIORITIES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_LOW: NVME_NVM_QUEUE_PRIORITIES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_MEDIUM: NVME_NVM_QUEUE_PRIORITIES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_URGENT: NVME_NVM_QUEUE_PRIORITIES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_CAPABILITIES_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_VERSION_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_SMART_INFORMATION_LOG_VERSION_3: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_TCG_HISTORY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_CHANGE_NAMESPACE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FIRMWARE_COMMIT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_MAX: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 255i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_NVM_SUBSYSTEM_HARDWARE_ERROR: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_POWER_ON_OR_RESET: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED0: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 221i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 224i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 255i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SET_FEATURE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SMART_HEALTH_LOG_SNAPSHOT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TCG_DEFINED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 223i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TELEMETRY_LOG_CREATED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_THERMAL_EXCURSION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TIMESTAMP_CHANGE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_VENDOR_SPECIFIC_EVENT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = 222i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_NOT_ENABLED: NVME_PROTECTION_INFORMATION_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE1: NVME_PROTECTION_INFORMATION_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE2: NVME_PROTECTION_INFORMATION_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE3: NVME_PROTECTION_INFORMATION_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_ACQUIRE: NVME_RESERVATION_ACQUIRE_ACTIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT: NVME_RESERVATION_ACQUIRE_ACTIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT_AND_ABORT: NVME_RESERVATION_ACQUIRE_ACTIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_EMPTY_LOG_PAGE: NVME_RESERVATION_NOTIFICATION_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_PREEMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_RELEASED: NVME_RESERVATION_NOTIFICATION_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_RESERVATION_PREEPMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_REGISTER: NVME_RESERVATION_REGISTER_ACTIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_REPLACE: NVME_RESERVATION_REGISTER_ACTIONS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_UNREGISTER: NVME_RESERVATION_REGISTER_ACTIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_NO_CHANGE: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_RESERVED: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_0: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_1: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_RELEASE_ACTION_CLEAR: NVME_RESERVATION_RELEASE_ACTIONS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_RELEASE_ACTION_RELEASE: NVME_RESERVATION_RELEASE_ACTIONS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS: NVME_RESERVATION_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_RESERVED: NVME_RESERVATION_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE: NVME_RESERVATION_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_EXIT_FAILURE_MODE: NVME_SANITIZE_ACTION = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_RESERVED: NVME_SANITIZE_ACTION = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_BLOCK_ERASE_SANITIZE: NVME_SANITIZE_ACTION = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_CRYPTO_ERASE_SANITIZE: NVME_SANITIZE_ACTION = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_OVERWRITE_SANITIZE: NVME_SANITIZE_ACTION = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_FAILED: NVME_SANITIZE_OPERATION_STATUS = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_IN_PROGRESS: NVME_SANITIZE_OPERATION_STATUS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_NONE: NVME_SANITIZE_OPERATION_STATUS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_SUCCEEDED: NVME_SANITIZE_OPERATION_STATUS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_SUCCEEDED_WITH_FORCED_DEALLOCATION: NVME_SANITIZE_OPERATION_STATUS = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_CRYPTOGRAPHIC: NVME_SECURE_ERASE_SETTINGS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_NONE: NVME_SECURE_ERASE_SETTINGS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_USER_DATA: NVME_SECURE_ERASE_SETTINGS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSC: ZONE_STATE = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSE: ZONE_STATE = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSEO: ZONE_STATE = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSF: ZONE_STATE = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSIO: ZONE_STATE = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSO: ZONE_STATE = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSRO: ZONE_STATE = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ABORT_COMMAND_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ANA_ATTACH_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 37i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ASYNC_EVENT_REQUEST_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ATOMIC_WRITE_UNIT_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = 20i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_BOOT_PARTITION_WRITE_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 30i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_FUSED_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_MISSING_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_POWER_LOSS_NOTIFICATION: NVME_STATUS_GENERIC_COMMAND_CODES = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_PREEMPT_ABORT: NVME_STATUS_GENERIC_COMMAND_CODES = 27i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_SQ_DELETION: NVME_STATUS_GENERIC_COMMAND_CODES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORT_REQUESTED: NVME_STATUS_GENERIC_COMMAND_CODES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ID_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_SEQUENCE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMPLETION_QUEUE_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_CONTROLLER_LIST_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = 28i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DATA_TRANSFER_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DEVICE_SELF_TEST_IN_PROGRESS: NVME_STATUS_COMMAND_SPECIFIC_CODES = 29i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DIRECTIVE_ID_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 113i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DIRECTIVE_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 112i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_ID_NOT_SAVEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_NOT_CHANGEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_NOT_NAMESPACE_SPECIFIC: NVME_STATUS_COMMAND_SPECIFIC_CODES = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 19i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_CONVENTIONAL_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_MAX_TIME_VIOLATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 18i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_NVM_SUBSYSTEM_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FORMAT_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = 132i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_HOST_IDENTIFIER_INCONSISTENT_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = 24i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INTERNAL_DEVICE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_ANA_GROUP_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 36i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_COMMAND_OPCODE: NVME_STATUS_GENERIC_COMMAND_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_CONTROLLER_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 31i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIELD_IN_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIRMWARE_IMAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIRMWARE_SLOT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 10i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_INTERRUPT_VECTOR: NVME_STATUS_COMMAND_SPECIFIC_CODES = 8i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_LOG_PAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 9i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NAMESPACE_OR_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = 11i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NUMBER_OF_CONTROLLER_RESOURCES: NVME_STATUS_COMMAND_SPECIFIC_CODES = 33i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NUMBER_OF_SGL_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = 14i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_QUEUE_DELETION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 12i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_QUEUE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_RESOURCE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = 34i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_SECONDARY_CONTROLLER_STATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 32i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_SGL_LAST_SEGMENT_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = 13i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_USE_OF_CONTROLLER_MEMORY_BUFFER: NVME_STATUS_GENERIC_COMMAND_CODES = 18i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_EXPIRED: NVME_STATUS_GENERIC_COMMAND_CODES = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 26i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_MAX_QUEUE_SIZE_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_METADATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_ALREADY_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 24i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_IDENTIFIER_UNAVAILABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 22i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_INSUFFICIENT_CAPACITY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_IS_PRIVATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 25i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_NOT_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 26i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_THIN_PROVISIONING_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 27i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_ACCESS_DENIED: NVME_STATUS_MEDIA_ERROR_CODES = 134i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_ATTEMPTED_WRITE_TO_READ_ONLY_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 130i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_CAPACITY_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_COMMAND_SIZE_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 131i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_COMPARE_FAILURE: NVME_STATUS_MEDIA_ERROR_CODES = 133i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_CONFLICTING_ATTRIBUTES: NVME_STATUS_COMMAND_SPECIFIC_CODES = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_DEALLOCATED_OR_UNWRITTEN_LOGICAL_BLOCK: NVME_STATUS_MEDIA_ERROR_CODES = 135i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_APPLICATION_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 131i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_GUARD_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 130i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_REFERENCE_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 132i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_INVALID_PROTECTION_INFORMATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_LBA_OUT_OF_RANGE: NVME_STATUS_GENERIC_COMMAND_CODES = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_NAMESPACE_NOT_READY: NVME_STATUS_GENERIC_COMMAND_CODES = 130i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_RESERVATION_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = 131i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_UNRECOVERED_READ_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = 129i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_WRITE_FAULT: NVME_STATUS_MEDIA_ERROR_CODES = 128i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_OPERATION_DENIED: NVME_STATUS_GENERIC_COMMAND_CODES = 21i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_OVERLAPPING_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 20i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_PRP_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 19i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_RESERVED: NVME_STATUS_GENERIC_COMMAND_CODES = 23i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_FAILED: NVME_STATUS_GENERIC_COMMAND_CODES = 28i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = 29i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_PROHIBITED_ON_PERSISTENT_MEMORY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 35i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_DATA_BLOCK_GRANULARITY_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 30i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_DESCR_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 17i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = 22i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_STREAM_RESOURCE_ALLOCATION_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = 127i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SUCCESS_COMPLETION: NVME_STATUS_GENERIC_COMMAND_CODES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_COMMAND_SPECIFIC: NVME_STATUS_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_GENERIC_COMMAND: NVME_STATUS_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_MEDIA_ERROR: NVME_STATUS_TYPES = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_VENDOR_SPECIFIC: NVME_STATUS_TYPES = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_BOUNDARY_ERROR: NVME_STATUS_COMMAND_SPECIFIC_CODES = 184i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_FULL: NVME_STATUS_COMMAND_SPECIFIC_CODES = 185i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = 127i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_STATE_TRANSITION: NVME_STATUS_COMMAND_SPECIFIC_CODES = 191i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_WRITE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 188i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_OFFLINE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 187i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_READ_ONLY: NVME_STATUS_COMMAND_SPECIFIC_CODES = 186i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_TOO_MANY_ACTIVE: NVME_STATUS_COMMAND_SPECIFIC_CODES = 189i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_TOO_MANY_OPEN: NVME_STATUS_COMMAND_SPECIFIC_CODES = 190i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_GET_STATUS_MAX_IDS: u32 = 65535u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_ID_MAX: u32 = 65535u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_ID_MIN: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TELEMETRY_DATA_BLOCK_SIZE: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TEMPERATURE_OVER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TEMPERATURE_UNDER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_WCS_DEVICE_ERROR_RECOVERY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_VERSION_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_RECEIVE_EXTENDED_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_RECEIVE_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_CLOSE: NVME_ZONE_SEND_ACTION = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_FINISH: NVME_ZONE_SEND_ACTION = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_OFFLINE: NVME_ZONE_SEND_ACTION = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_OPEN: NVME_ZONE_SEND_ACTION = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_RESET: NVME_ZONE_SEND_ACTION = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_SET_ZONE_DESCRIPTOR: NVME_ZONE_SEND_ACTION = 16i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_ALL_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_CLOSED_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_EMPTY_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_EO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_FULL_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_IO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_OFFLINE_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 7i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_RO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecovery1Max: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecovery2Max: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 15i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryControllerReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryDeviceReplacement: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryFormatNVM: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryNoAction: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPERST: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPcieFunctionReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPcieHotReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPowerCycle: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoverySanitize: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoverySubsystemReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryVendorAnalysis: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryVendorSpecificCommand: NVME_WCS_DEVICE_RECOVERY_ACTION1 = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const TCG_HISTORY_ENTRY_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ACCESS_FREQUENCIES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ACCESS_LATENCIES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ADMIN_COMMANDS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_AMS_OPTION = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_ERROR_STATUS_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_NOTICE_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_CMBSZ_SIZE_UNITS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_COMMAND_SET_IDENTIFIERS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_CONTROLLER_METADATA_ELEMENT_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_CSS_COMMAND_SETS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_CSTS_SHST_SHUTDOWN_STATUS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_DIRECTIVE_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ERROR_INJECTION_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_FEATURES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_FEATURE_VALUE_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_FIRMWARE_ACTIVATE_ACTIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_FUSED_OPERATION_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_HOST_METADATA_ELEMENT_ACTIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_IDENTIFIER_TYPE = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_IDENTIFIER_TYPE_LENGTH = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_IDENTIFY_CNS_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_LBA_RANGE_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_LOG_PAGES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_NAMESPACE_METADATA_ELEMENT_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_NVM_COMMANDS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_NVM_QUEUE_PRIORITIES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_PROTECTION_INFORMATION_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_ACQUIRE_ACTIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_NOTIFICATION_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_REGISTER_ACTIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_RELEASE_ACTIONS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_RESERVATION_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_SANITIZE_ACTION = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_SANITIZE_OPERATION_STATUS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_SECURE_ERASE_SETTINGS = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_STATUS_COMMAND_SPECIFIC_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_STATUS_GENERIC_COMMAND_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_STATUS_MEDIA_ERROR_CODES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_STATUS_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_TEMPERATURE_THRESHOLD_TYPES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_VENDOR_LOG_PAGES = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_WCS_DEVICE_RECOVERY_ACTION1 = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_WCS_DEVICE_RECOVERY_ACTION2 = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ZONE_RECEIVE_ACTION = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ZONE_RECEIVE_ACTION_SPECIFIC = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type NVME_ZONE_SEND_ACTION = i32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub type ZONE_STATE = i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct ACTIVE_LATENCY_CONFIGURATION { + pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union ACTIVE_LATENCY_CONFIGURATION_0 { + pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0 {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct ACTIVE_LATENCY_CONFIGURATION_0_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0_0 {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct BUCKET_COUNTER { + pub Reserved: u32, + pub Trim: u32, + pub Write: u32, + pub Read: u32, +} +impl ::core::marker::Copy for BUCKET_COUNTER {} +impl ::core::clone::Clone for BUCKET_COUNTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct DEBUG_BIT_FIELD { + pub _bitfield: u16, +} +impl ::core::marker::Copy for DEBUG_BIT_FIELD {} +impl ::core::clone::Clone for DEBUG_BIT_FIELD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct DSSD_POWER_STATE_DESCRIPTOR { + pub _bitfield: u8, +} +impl ::core::marker::Copy for DSSD_POWER_STATE_DESCRIPTOR {} +impl ::core::clone::Clone for DSSD_POWER_STATE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct FIRMWARE_ACTIVATION_HISTORY_ENTRY { + pub VersionNumber: u8, + pub Length: u8, + pub Reserved0: u16, + pub ActivationCount: u16, + pub Timestamp: u64, + pub Reserved1: u64, + pub PowerCycleCount: u64, + pub PreviousFirmware: u64, + pub NewFirmware: u64, + pub SlotNumber: u8, + pub CommitActionType: u8, + pub Result: u16, + pub Reserved2: [u8; 14], +} +impl ::core::marker::Copy for FIRMWARE_ACTIVATION_HISTORY_ENTRY {} +impl ::core::clone::Clone for FIRMWARE_ACTIVATION_HISTORY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_MONITOR_FEATURE_STATUS { + pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union LATENCY_MONITOR_FEATURE_STATUS_0 { + pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0 {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_MONITOR_FEATURE_STATUS_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0_0 {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_STAMP { + pub Trim3: u64, + pub Write3: u64, + pub Read3: u64, + pub Trim2: u64, + pub Write2: u64, + pub Read2: u64, + pub Trim1: u64, + pub Write1: u64, + pub Read1: u64, + pub Trim0: u64, + pub Write0: u64, + pub Read0: u64, +} +impl ::core::marker::Copy for LATENCY_STAMP {} +impl ::core::clone::Clone for LATENCY_STAMP { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_STAMP_UNITS { + pub _bitfield: u16, +} +impl ::core::marker::Copy for LATENCY_STAMP_UNITS {} +impl ::core::clone::Clone for LATENCY_STAMP_UNITS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct MEASURED_LATENCY { + pub Trim3: u16, + pub Write3: u16, + pub Read3: u16, + pub Trim2: u16, + pub Write2: u16, + pub Read2: u16, + pub Trim1: u16, + pub Write1: u16, + pub Read1: u16, + pub Trim0: u16, + pub Write0: u16, + pub Read0: u16, +} +impl ::core::marker::Copy for MEASURED_LATENCY {} +impl ::core::clone::Clone for MEASURED_LATENCY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ACTIVE_NAMESPACE_ID_LIST { + pub NSID: [u32; 1024], +} +impl ::core::marker::Copy for NVME_ACTIVE_NAMESPACE_ID_LIST {} +impl ::core::clone::Clone for NVME_ACTIVE_NAMESPACE_ID_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + pub Anonymous: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS {} +impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_QUEUE_ATTRIBUTES { + pub Anonymous: NVME_ADMIN_QUEUE_ATTRIBUTES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES {} +impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES_0 {} +impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + pub Anonymous: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS {} +impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + pub _bitfield: u32, + pub Reserved1: u32, +} +impl ::core::marker::Copy for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY {} +impl ::core::clone::Clone for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + pub Anonymous: NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_ERROR_INJECTION { + pub Anonymous: NVME_CDW0_FEATURE_ERROR_INJECTION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + pub Anonymous: NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_RESERVATION_PERSISTENCE { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_RESERVATION_PERSISTENCE {} +impl ::core::clone::Clone for NVME_CDW0_RESERVATION_PERSISTENCE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_ABORT { + pub Anonymous: NVME_CDW10_ABORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_ABORT {} +impl ::core::clone::Clone for NVME_CDW10_ABORT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ABORT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_ABORT_0 {} +impl ::core::clone::Clone for NVME_CDW10_ABORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_CREATE_IO_QUEUE { + pub Anonymous: NVME_CDW10_CREATE_IO_QUEUE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE {} +impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_CREATE_IO_QUEUE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE_0 {} +impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_DATASET_MANAGEMENT { + pub Anonymous: NVME_CDW10_DATASET_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DATASET_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DIRECTIVE_RECEIVE { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DIRECTIVE_SEND { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_FIRMWARE_ACTIVATE { + pub Anonymous: NVME_CDW10_FIRMWARE_ACTIVATE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FIRMWARE_ACTIVATE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE_0 {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FIRMWARE_DOWNLOAD { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_DOWNLOAD {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_DOWNLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_FORMAT_NVM { + pub Anonymous: NVME_CDW10_FORMAT_NVM_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM {} +impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FORMAT_NVM_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM_0 {} +impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_FEATURES { + pub Anonymous: NVME_CDW10_GET_FEATURES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES {} +impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_FEATURES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_LOG_PAGE { + pub Anonymous: NVME_CDW10_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_LOG_PAGE_V13 { + pub Anonymous: NVME_CDW10_GET_LOG_PAGE_V13_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_LOG_PAGE_V13_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_IDENTIFY { + pub Anonymous: NVME_CDW10_IDENTIFY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_IDENTIFY {} +impl ::core::clone::Clone for NVME_CDW10_IDENTIFY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_IDENTIFY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_IDENTIFY_0 {} +impl ::core::clone::Clone for NVME_CDW10_IDENTIFY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_ACQUIRE { + pub Anonymous: NVME_CDW10_RESERVATION_ACQUIRE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_ACQUIRE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_REGISTER { + pub Anonymous: NVME_CDW10_RESERVATION_REGISTER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_REGISTER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_RELEASE { + pub Anonymous: NVME_CDW10_RESERVATION_RELEASE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_RELEASE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_REPORT { + pub Anonymous: NVME_CDW10_RESERVATION_REPORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_REPORT_0 { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SANITIZE { + pub Anonymous: NVME_CDW10_SANITIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SANITIZE {} +impl ::core::clone::Clone for NVME_CDW10_SANITIZE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SANITIZE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SANITIZE_0 {} +impl ::core::clone::Clone for NVME_CDW10_SANITIZE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SECURITY_SEND_RECEIVE { + pub Anonymous: NVME_CDW10_SECURITY_SEND_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SET_FEATURES { + pub Anonymous: NVME_CDW10_SET_FEATURES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES {} +impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SET_FEATURES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES_0 {} +impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_APPEND { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_MANAGEMENT_SEND { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_SEND {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_CREATE_IO_CQ { + pub Anonymous: NVME_CDW11_CREATE_IO_CQ_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_CREATE_IO_CQ_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ_0 {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_CREATE_IO_SQ { + pub Anonymous: NVME_CDW11_CREATE_IO_SQ_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_CREATE_IO_SQ_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ_0 {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DATASET_MANAGEMENT { + pub Anonymous: NVME_CDW11_DATASET_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DATASET_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DIRECTIVE_RECEIVE { + pub Anonymous: NVME_CDW11_DIRECTIVE_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DIRECTIVE_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DIRECTIVE_SEND { + pub Anonymous: NVME_CDW11_DIRECTIVE_SEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DIRECTIVE_SEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND_0 {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURES { + pub NumberOfQueues: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES, + pub InterruptCoalescing: NVME_CDW11_FEATURE_INTERRUPT_COALESCING, + pub InterruptVectorConfig: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG, + pub LbaRangeType: NVME_CDW11_FEATURE_LBA_RANGE_TYPE, + pub Arbitration: NVME_CDW11_FEATURE_ARBITRATION, + pub VolatileWriteCache: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE, + pub AsyncEventConfig: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG, + pub PowerManagement: NVME_CDW11_FEATURE_POWER_MANAGEMENT, + pub AutoPowerStateTransition: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION, + pub TemperatureThreshold: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD, + pub ErrorRecovery: NVME_CDW11_FEATURE_ERROR_RECOVERY, + pub HostMemoryBuffer: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER, + pub WriteAtomicityNormal: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL, + pub NonOperationalPowerState: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE, + pub IoCommandSetProfile: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE, + pub ErrorInjection: NVME_CDW0_FEATURE_ERROR_INJECTION, + pub HostIdentifier: NVME_CDW11_FEATURE_HOST_IDENTIFIER, + pub ReservationPersistence: NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE, + pub ReservationNotificationMask: NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK, + pub GetHostMetadata: NVME_CDW11_FEATURE_GET_HOST_METADATA, + pub SetHostMetadata: NVME_CDW11_FEATURE_SET_HOST_METADATA, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURES {} +impl ::core::clone::Clone for NVME_CDW11_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ARBITRATION { + pub Anonymous: NVME_CDW11_FEATURE_ARBITRATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ARBITRATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + pub Anonymous: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + pub Anonymous: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + pub Anonymous: NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + pub Anonymous: NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + pub Anonymous: NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ERROR_RECOVERY { + pub Anonymous: NVME_CDW11_FEATURE_ERROR_RECOVERY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_GET_HOST_METADATA { + pub Anonymous: NVME_CDW11_FEATURE_GET_HOST_METADATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_HOST_IDENTIFIER { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_IDENTIFIER {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + pub Anonymous: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + pub Anonymous: NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + pub Anonymous: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + pub Anonymous: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_POWER_MANAGEMENT { + pub Anonymous: NVME_CDW11_FEATURE_POWER_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + pub Anonymous: NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_SET_HOST_METADATA { + pub Anonymous: NVME_CDW11_FEATURE_SET_HOST_METADATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + pub Anonymous: NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + pub Anonymous: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + pub Anonymous: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + pub Anonymous: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FIRMWARE_DOWNLOAD { + pub OFST: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FIRMWARE_DOWNLOAD {} +impl ::core::clone::Clone for NVME_CDW11_FIRMWARE_DOWNLOAD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_GET_LOG_PAGE { + pub Anonymous: NVME_CDW11_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_IDENTIFY { + pub Anonymous1: NVME_CDW11_IDENTIFY_0, + pub Anonymous2: NVME_CDW11_IDENTIFY_1, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_IDENTIFY_0 { + pub NVMSETID: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_0 {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_IDENTIFY_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_1 {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_RESERVATION_REPORT { + pub Anonymous: NVME_CDW11_RESERVATION_REPORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT {} +impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_RESERVATION_REPORT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT_0 {} +impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_SANITIZE { + pub Anonymous: NVME_CDW11_SANITIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SANITIZE {} +impl ::core::clone::Clone for NVME_CDW11_SANITIZE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SANITIZE_0 { + pub OVRPAT: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SANITIZE_0 {} +impl ::core::clone::Clone for NVME_CDW11_SANITIZE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SECURITY_RECEIVE { + pub AL: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SECURITY_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW11_SECURITY_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SECURITY_SEND { + pub TL: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SECURITY_SEND {} +impl ::core::clone::Clone for NVME_CDW11_SECURITY_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_RECEIVE { + pub AllocateResources: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + pub Anonymous: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_SEND { + pub EnableDirective: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + pub Anonymous: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_FEATURES { + pub HostMemoryBuffer: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURES {} +impl ::core::clone::Clone for NVME_CDW12_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HSIZE: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_GET_LOG_PAGE { + pub LPOL: u32, +} +impl ::core::marker::Copy for NVME_CDW12_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW12_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_READ_WRITE { + pub Anonymous: NVME_CDW12_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW12_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_READ_WRITE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW12_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_ZONE_APPEND { + pub Anonymous: NVME_CDW12_ZONE_APPEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_ZONE_APPEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND_0 {} +impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_FEATURES { + pub HostMemoryBuffer: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURES {} +impl ::core::clone::Clone for NVME_CDW13_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_GET_LOG_PAGE { + pub LPOU: u32, +} +impl ::core::marker::Copy for NVME_CDW13_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW13_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_READ_WRITE { + pub Anonymous: NVME_CDW13_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_READ_WRITE_0 { + pub DSM: NVME_CDW13_READ_WRITE_0_0, + pub Reserved: u8, + pub DSPEC: u16, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_READ_WRITE_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0_0 {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_ZONE_MANAGEMENT_SEND { + pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_SEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_FEATURES { + pub HostMemoryBuffer: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURES {} +impl ::core::clone::Clone for NVME_CDW14_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HMDLUA: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_GET_LOG_PAGE { + pub Anonymous: NVME_CDW14_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW14_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_FEATURES { + pub HostMemoryBuffer: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURES {} +impl ::core::clone::Clone for NVME_CDW15_FEATURES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HMDLEC: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_READ_WRITE { + pub Anonymous: NVME_CDW15_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW15_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_READ_WRITE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW15_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW15_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_ZONE_APPEND { + pub Anonymous: NVME_CDW15_ZONE_APPEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_ZONE_APPEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND_0 {} +impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CHANGED_NAMESPACE_LIST_LOG { + pub NSID: [u32; 1024], +} +impl ::core::marker::Copy for NVME_CHANGED_NAMESPACE_LIST_LOG {} +impl ::core::clone::Clone for NVME_CHANGED_NAMESPACE_LIST_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CHANGED_ZONE_LIST_LOG { + pub ZoneIdentifiersCount: u16, + pub Reserved: [u8; 6], + pub ZoneIdentifier: [u64; 511], +} +impl ::core::marker::Copy for NVME_CHANGED_ZONE_LIST_LOG {} +impl ::core::clone::Clone for NVME_CHANGED_ZONE_LIST_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND { + pub CDW0: NVME_COMMAND_DWORD0, + pub NSID: u32, + pub Reserved0: [u32; 2], + pub MPTR: u64, + pub PRP1: u64, + pub PRP2: u64, + pub u: NVME_COMMAND_0, +} +impl ::core::marker::Copy for NVME_COMMAND {} +impl ::core::clone::Clone for NVME_COMMAND { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_0 { + pub GENERAL: NVME_COMMAND_0_9, + pub IDENTIFY: NVME_COMMAND_0_12, + pub ABORT: NVME_COMMAND_0_0, + pub GETFEATURES: NVME_COMMAND_0_10, + pub SETFEATURES: NVME_COMMAND_0_21, + pub GETLOGPAGE: NVME_COMMAND_0_11, + pub CREATEIOCQ: NVME_COMMAND_0_1, + pub CREATEIOSQ: NVME_COMMAND_0_2, + pub DATASETMANAGEMENT: NVME_COMMAND_0_3, + pub SECURITYSEND: NVME_COMMAND_0_20, + pub SECURITYRECEIVE: NVME_COMMAND_0_19, + pub FIRMWAREDOWNLOAD: NVME_COMMAND_0_7, + pub FIRMWAREACTIVATE: NVME_COMMAND_0_6, + pub FORMATNVM: NVME_COMMAND_0_8, + pub DIRECTIVERECEIVE: NVME_COMMAND_0_4, + pub DIRECTIVESEND: NVME_COMMAND_0_5, + pub SANITIZE: NVME_COMMAND_0_18, + pub READWRITE: NVME_COMMAND_0_13, + pub RESERVATIONACQUIRE: NVME_COMMAND_0_14, + pub RESERVATIONREGISTER: NVME_COMMAND_0_15, + pub RESERVATIONRELEASE: NVME_COMMAND_0_16, + pub RESERVATIONREPORT: NVME_COMMAND_0_17, + pub ZONEMANAGEMENTSEND: NVME_COMMAND_0_24, + pub ZONEMANAGEMENTRECEIVE: NVME_COMMAND_0_23, + pub ZONEAPPEND: NVME_COMMAND_0_22, +} +impl ::core::marker::Copy for NVME_COMMAND_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_0 { + pub CDW10: NVME_CDW10_ABORT, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_1 { + pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, + pub CDW11: NVME_CDW11_CREATE_IO_CQ, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_1 {} +impl ::core::clone::Clone for NVME_COMMAND_0_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_2 { + pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, + pub CDW11: NVME_CDW11_CREATE_IO_SQ, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_2 {} +impl ::core::clone::Clone for NVME_COMMAND_0_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_3 { + pub CDW10: NVME_CDW10_DATASET_MANAGEMENT, + pub CDW11: NVME_CDW11_DATASET_MANAGEMENT, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_3 {} +impl ::core::clone::Clone for NVME_COMMAND_0_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_4 { + pub CDW10: NVME_CDW10_DIRECTIVE_RECEIVE, + pub CDW11: NVME_CDW11_DIRECTIVE_RECEIVE, + pub CDW12: NVME_CDW12_DIRECTIVE_RECEIVE, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_4 {} +impl ::core::clone::Clone for NVME_COMMAND_0_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_5 { + pub CDW10: NVME_CDW10_DIRECTIVE_SEND, + pub CDW11: NVME_CDW11_DIRECTIVE_SEND, + pub CDW12: NVME_CDW12_DIRECTIVE_SEND, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_5 {} +impl ::core::clone::Clone for NVME_COMMAND_0_5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_6 { + pub CDW10: NVME_CDW10_FIRMWARE_ACTIVATE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_6 {} +impl ::core::clone::Clone for NVME_COMMAND_0_6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_7 { + pub CDW10: NVME_CDW10_FIRMWARE_DOWNLOAD, + pub CDW11: NVME_CDW11_FIRMWARE_DOWNLOAD, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_7 {} +impl ::core::clone::Clone for NVME_COMMAND_0_7 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_8 { + pub CDW10: NVME_CDW10_FORMAT_NVM, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_8 {} +impl ::core::clone::Clone for NVME_COMMAND_0_8 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_9 { + pub CDW10: u32, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_9 {} +impl ::core::clone::Clone for NVME_COMMAND_0_9 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_10 { + pub CDW10: NVME_CDW10_GET_FEATURES, + pub CDW11: NVME_CDW11_FEATURES, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_10 {} +impl ::core::clone::Clone for NVME_COMMAND_0_10 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_11 { + pub Anonymous: NVME_COMMAND_0_11_0, + pub CDW11: NVME_CDW11_GET_LOG_PAGE, + pub CDW12: NVME_CDW12_GET_LOG_PAGE, + pub CDW13: NVME_CDW13_GET_LOG_PAGE, + pub CDW14: NVME_CDW14_GET_LOG_PAGE, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_11 {} +impl ::core::clone::Clone for NVME_COMMAND_0_11 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_0_11_0 { + pub CDW10: NVME_CDW10_GET_LOG_PAGE, + pub CDW10_V13: NVME_CDW10_GET_LOG_PAGE_V13, +} +impl ::core::marker::Copy for NVME_COMMAND_0_11_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0_11_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_12 { + pub CDW10: NVME_CDW10_IDENTIFY, + pub CDW11: NVME_CDW11_IDENTIFY, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_12 {} +impl ::core::clone::Clone for NVME_COMMAND_0_12 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_13 { + pub LBALOW: u32, + pub LBAHIGH: u32, + pub CDW12: NVME_CDW12_READ_WRITE, + pub CDW13: NVME_CDW13_READ_WRITE, + pub CDW14: u32, + pub CDW15: NVME_CDW15_READ_WRITE, +} +impl ::core::marker::Copy for NVME_COMMAND_0_13 {} +impl ::core::clone::Clone for NVME_COMMAND_0_13 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_14 { + pub CDW10: NVME_CDW10_RESERVATION_ACQUIRE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_14 {} +impl ::core::clone::Clone for NVME_COMMAND_0_14 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_15 { + pub CDW10: NVME_CDW10_RESERVATION_REGISTER, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_15 {} +impl ::core::clone::Clone for NVME_COMMAND_0_15 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_16 { + pub CDW10: NVME_CDW10_RESERVATION_RELEASE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_16 {} +impl ::core::clone::Clone for NVME_COMMAND_0_16 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_17 { + pub CDW10: NVME_CDW10_RESERVATION_REPORT, + pub CDW11: NVME_CDW11_RESERVATION_REPORT, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_17 {} +impl ::core::clone::Clone for NVME_COMMAND_0_17 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_18 { + pub CDW10: NVME_CDW10_SANITIZE, + pub CDW11: NVME_CDW11_SANITIZE, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_18 {} +impl ::core::clone::Clone for NVME_COMMAND_0_18 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_19 { + pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, + pub CDW11: NVME_CDW11_SECURITY_RECEIVE, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_19 {} +impl ::core::clone::Clone for NVME_COMMAND_0_19 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_20 { + pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, + pub CDW11: NVME_CDW11_SECURITY_SEND, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_20 {} +impl ::core::clone::Clone for NVME_COMMAND_0_20 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_21 { + pub CDW10: NVME_CDW10_SET_FEATURES, + pub CDW11: NVME_CDW11_FEATURES, + pub CDW12: NVME_CDW12_FEATURES, + pub CDW13: NVME_CDW13_FEATURES, + pub CDW14: NVME_CDW14_FEATURES, + pub CDW15: NVME_CDW15_FEATURES, +} +impl ::core::marker::Copy for NVME_COMMAND_0_21 {} +impl ::core::clone::Clone for NVME_COMMAND_0_21 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_22 { + pub CDW1011: NVME_CDW10_ZONE_APPEND, + pub CDW12: NVME_CDW12_ZONE_APPEND, + pub CDW13: u32, + pub ILBRT: u32, + pub CDW15: NVME_CDW15_ZONE_APPEND, +} +impl ::core::marker::Copy for NVME_COMMAND_0_22 {} +impl ::core::clone::Clone for NVME_COMMAND_0_22 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_23 { + pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_RECEIVE, + pub DWORDCOUNT: u32, + pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_23 {} +impl ::core::clone::Clone for NVME_COMMAND_0_23 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_24 { + pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_SEND, + pub CDW12: u32, + pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_SEND, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_24 {} +impl ::core::clone::Clone for NVME_COMMAND_0_24 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_DWORD0 { + pub Anonymous: NVME_COMMAND_DWORD0_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_DWORD0 {} +impl ::core::clone::Clone for NVME_COMMAND_DWORD0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_DWORD0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_DWORD0_0 {} +impl ::core::clone::Clone for NVME_COMMAND_DWORD0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_EFFECTS_DATA { + pub Anonymous: NVME_COMMAND_EFFECTS_DATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_EFFECTS_DATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA_0 {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_EFFECTS_LOG { + pub ACS: [NVME_COMMAND_EFFECTS_DATA; 256], + pub IOCS: [NVME_COMMAND_EFFECTS_DATA; 256], + pub Reserved: [u8; 2048], +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_LOG {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_STATUS { + pub Anonymous: NVME_COMMAND_STATUS_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_COMMAND_STATUS {} +impl ::core::clone::Clone for NVME_COMMAND_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_STATUS_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_COMMAND_STATUS_0 {} +impl ::core::clone::Clone for NVME_COMMAND_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + pub Anonymous: NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY { + pub DW0: u32, + pub DW1: u32, + pub DW2: NVME_COMPLETION_ENTRY_0, + pub DW3: NVME_COMPLETION_ENTRY_1, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_ENTRY_0 { + pub Anonymous: NVME_COMPLETION_ENTRY_0_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY_0_0 { + pub SQHD: u16, + pub SQID: u16, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_ENTRY_1 { + pub Anonymous: NVME_COMPLETION_ENTRY_1_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY_1_0 { + pub CID: u16, + pub Status: NVME_COMMAND_STATUS, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + pub Anonymous: NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL {} +impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTEXT_ATTRIBUTES { + pub Anonymous: NVME_CONTEXT_ATTRIBUTES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES {} +impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTEXT_ATTRIBUTES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES_0 {} +impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_CAPABILITIES { + pub Anonymous: NVME_CONTROLLER_CAPABILITIES_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES {} +impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_CAPABILITIES_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_CONFIGURATION { + pub Anonymous: NVME_CONTROLLER_CONFIGURATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION {} +impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_CONFIGURATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_LIST { + pub NumberOfIdentifiers: u16, + pub ControllerID: [u16; 2047], +} +impl ::core::marker::Copy for NVME_CONTROLLER_LIST {} +impl ::core::clone::Clone for NVME_CONTROLLER_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_REGISTERS { + pub CAP: NVME_CONTROLLER_CAPABILITIES, + pub VS: NVME_VERSION, + pub INTMS: u32, + pub INTMC: u32, + pub CC: NVME_CONTROLLER_CONFIGURATION, + pub Reserved0: u32, + pub CSTS: NVME_CONTROLLER_STATUS, + pub NSSR: NVME_NVM_SUBSYSTEM_RESET, + pub AQA: NVME_ADMIN_QUEUE_ATTRIBUTES, + pub ASQ: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS, + pub ACQ: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS, + pub CMBLOC: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION, + pub CMBSZ: NVME_CONTROLLER_MEMORY_BUFFER_SIZE, + pub Reserved2: [u32; 944], + pub Reserved3: [u32; 64], + pub Doorbells: [u32; 1], +} +impl ::core::marker::Copy for NVME_CONTROLLER_REGISTERS {} +impl ::core::clone::Clone for NVME_CONTROLLER_REGISTERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_STATUS { + pub Anonymous: NVME_CONTROLLER_STATUS_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_STATUS {} +impl ::core::clone::Clone for NVME_CONTROLLER_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_STATUS_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_STATUS_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG { + pub CurrentOperation: NVME_DEVICE_SELF_TEST_LOG_1, + pub CurrentCompletion: NVME_DEVICE_SELF_TEST_LOG_0, + pub Reserved: [u8; 2], + pub ResultData: [NVME_DEVICE_SELF_TEST_RESULT_DATA; 20], +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_0 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_1 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA { + pub Status: NVME_DEVICE_SELF_TEST_RESULT_DATA_1, + pub SegmentNumber: u8, + pub ValidDiagnostics: NVME_DEVICE_SELF_TEST_RESULT_DATA_2, + pub Reserved: u8, + pub POH: u64, + pub NSID: u32, + pub FailingLBA: u64, + pub StatusCodeType: NVME_DEVICE_SELF_TEST_RESULT_DATA_0, + pub StatusCode: u8, + pub VendorSpecific: u16, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + pub DirectivesSupported: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, + pub DirectivesEnabled: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, +} +impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + pub _bitfield: u8, + pub Reserved1: [u8; 31], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + pub OpenStreamCount: u16, + pub StreamIdentifiers: [u16; 65535], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA {} +impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + pub MSL: u16, + pub NSSA: u16, + pub NSSO: u16, + pub Reserved0: [u8; 10], + pub SWS: u32, + pub SGS: u16, + pub NSA: u16, + pub NSO: u16, + pub Reserved1: [u8; 6], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ENDURANCE_GROUP_LOG { + pub Reserved0: u32, + pub AvailableSpareThreshold: u8, + pub PercentageUsed: u8, + pub Reserved1: [u8; 26], + pub EnduranceEstimate: [u8; 16], + pub DataUnitsRead: [u8; 16], + pub DataUnitsWritten: [u8; 16], + pub MediaUnitsWritten: [u8; 16], + pub Reserved2: [u8; 416], +} +impl ::core::marker::Copy for NVME_ENDURANCE_GROUP_LOG {} +impl ::core::clone::Clone for NVME_ENDURANCE_GROUP_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INFO_LOG { + pub ErrorCount: u64, + pub SQID: u16, + pub CMDID: u16, + pub Status: NVME_COMMAND_STATUS, + pub ParameterErrorLocation: NVME_ERROR_INFO_LOG_0, + pub Lba: u64, + pub NameSpace: u32, + pub VendorInfoAvailable: u8, + pub Reserved0: [u8; 3], + pub CommandSpecificInfo: u64, + pub Reserved1: [u8; 24], +} +impl ::core::marker::Copy for NVME_ERROR_INFO_LOG {} +impl ::core::clone::Clone for NVME_ERROR_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INFO_LOG_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_ERROR_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_ERROR_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INJECTION_ENTRY { + pub Flags: NVME_ERROR_INJECTION_ENTRY_0, + pub Reserved1: u8, + pub ErrorInjectionType: u16, + pub ErrorInjectionTypeSpecific: [u8; 28], +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ERROR_INJECTION_ENTRY_0 { + pub Anonymous: NVME_ERROR_INJECTION_ENTRY_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0 {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INJECTION_ENTRY_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0_0 {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_EXTENDED_REPORT_ZONE_INFO { + pub ZoneCount: u64, + pub Reserved: [u64; 7], + pub Desc: [NVME_ZONE_EXTENDED_REPORT_ZONE_DESC; 1], +} +impl ::core::marker::Copy for NVME_EXTENDED_REPORT_ZONE_INFO {} +impl ::core::clone::Clone for NVME_EXTENDED_REPORT_ZONE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FEATURE_HOST_IDENTIFIER_DATA { + pub HOSTID: [u8; 16], +} +impl ::core::marker::Copy for NVME_FEATURE_HOST_IDENTIFIER_DATA {} +impl ::core::clone::Clone for NVME_FEATURE_HOST_IDENTIFIER_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FEATURE_HOST_METADATA_DATA { + pub NumberOfMetadataElementDescriptors: u8, + pub Reserved0: u8, + pub MetadataElementDescriptors: [u8; 4094], +} +impl ::core::marker::Copy for NVME_FEATURE_HOST_METADATA_DATA {} +impl ::core::clone::Clone for NVME_FEATURE_HOST_METADATA_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FIRMWARE_SLOT_INFO_LOG { + pub AFI: NVME_FIRMWARE_SLOT_INFO_LOG_0, + pub Reserved0: [u8; 7], + pub FRS: [u64; 7], + pub Reserved1: [u8; 448], +} +impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG {} +impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FIRMWARE_SLOT_INFO_LOG_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HEALTH_INFO_LOG { + pub CriticalWarning: NVME_HEALTH_INFO_LOG_0, + pub Temperature: [u8; 2], + pub AvailableSpare: u8, + pub AvailableSpareThreshold: u8, + pub PercentageUsed: u8, + pub Reserved0: [u8; 26], + pub DataUnitRead: [u8; 16], + pub DataUnitWritten: [u8; 16], + pub HostReadCommands: [u8; 16], + pub HostWrittenCommands: [u8; 16], + pub ControllerBusyTime: [u8; 16], + pub PowerCycle: [u8; 16], + pub PowerOnHours: [u8; 16], + pub UnsafeShutdowns: [u8; 16], + pub MediaErrors: [u8; 16], + pub ErrorInfoLogEntryCount: [u8; 16], + pub WarningCompositeTemperatureTime: u32, + pub CriticalCompositeTemperatureTime: u32, + pub TemperatureSensor1: u16, + pub TemperatureSensor2: u16, + pub TemperatureSensor3: u16, + pub TemperatureSensor4: u16, + pub TemperatureSensor5: u16, + pub TemperatureSensor6: u16, + pub TemperatureSensor7: u16, + pub TemperatureSensor8: u16, + pub Reserved1: [u8; 296], +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_HEALTH_INFO_LOG_0 { + pub Anonymous: NVME_HEALTH_INFO_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HEALTH_INFO_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0_0 {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + pub BADD: u64, + pub BSIZE: u32, + pub Reserved: u32, +} +impl ::core::marker::Copy for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY {} +impl ::core::clone::Clone for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + pub _bitfield: u32, + pub EVAL: [u8; 1], +} +impl ::core::marker::Copy for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA { + pub VID: u16, + pub SSVID: u16, + pub SN: [u8; 20], + pub MN: [u8; 40], + pub FR: [u8; 8], + pub RAB: u8, + pub IEEE: [u8; 3], + pub CMIC: NVME_IDENTIFY_CONTROLLER_DATA_3, + pub MDTS: u8, + pub CNTLID: u16, + pub VER: u32, + pub RTD3R: u32, + pub RTD3E: u32, + pub OAES: NVME_IDENTIFY_CONTROLLER_DATA_14, + pub CTRATT: NVME_IDENTIFY_CONTROLLER_DATA_5, + pub RRLS: NVME_IDENTIFY_CONTROLLER_DATA_17, + pub Reserved0: [u8; 9], + pub CNTRLTYPE: u8, + pub FGUID: [u8; 16], + pub CRDT1: u16, + pub CRDT2: u16, + pub CRDT3: u16, + pub Reserved0_1: [u8; 106], + pub ReservedForManagement: [u8; 16], + pub OACS: NVME_IDENTIFY_CONTROLLER_DATA_13, + pub ACL: u8, + pub AERL: u8, + pub FRMW: NVME_IDENTIFY_CONTROLLER_DATA_7, + pub LPA: NVME_IDENTIFY_CONTROLLER_DATA_10, + pub ELPE: u8, + pub NPSS: u8, + pub AVSCC: NVME_IDENTIFY_CONTROLLER_DATA_2, + pub APSTA: NVME_IDENTIFY_CONTROLLER_DATA_1, + pub WCTEMP: u16, + pub CCTEMP: u16, + pub MTFA: u16, + pub HMPRE: u32, + pub HMMIN: u32, + pub TNVMCAP: [u8; 16], + pub UNVMCAP: [u8; 16], + pub RPMBS: NVME_IDENTIFY_CONTROLLER_DATA_16, + pub EDSTT: u16, + pub DSTO: u8, + pub FWUG: u8, + pub KAS: u16, + pub HCTMA: NVME_IDENTIFY_CONTROLLER_DATA_9, + pub MNTMT: u16, + pub MXTMT: u16, + pub SANICAP: NVME_IDENTIFY_CONTROLLER_DATA_18, + pub HMMINDS: u32, + pub HMMAXD: u16, + pub NSETIDMAX: u16, + pub ENDGIDMAX: u16, + pub ANATT: u8, + pub ANACAP: NVME_IDENTIFY_CONTROLLER_DATA_0, + pub ANAGRPMAX: u32, + pub NANAGRPID: u32, + pub PELS: u32, + pub Reserved1: [u8; 156], + pub SQES: NVME_IDENTIFY_CONTROLLER_DATA_20, + pub CQES: NVME_IDENTIFY_CONTROLLER_DATA_4, + pub MAXCMD: u16, + pub NN: u32, + pub ONCS: NVME_IDENTIFY_CONTROLLER_DATA_15, + pub FUSES: NVME_IDENTIFY_CONTROLLER_DATA_8, + pub FNA: NVME_IDENTIFY_CONTROLLER_DATA_6, + pub VWC: NVME_IDENTIFY_CONTROLLER_DATA_21, + pub AWUN: u16, + pub AWUPF: u16, + pub NVSCC: NVME_IDENTIFY_CONTROLLER_DATA_11, + pub NWPC: NVME_IDENTIFY_CONTROLLER_DATA_12, + pub ACWU: u16, + pub Reserved4: [u8; 2], + pub SGLS: NVME_IDENTIFY_CONTROLLER_DATA_19, + pub MNAN: u32, + pub Reserved6: [u8; 224], + pub SUBNQN: [u8; 256], + pub Reserved7: [u8; 768], + pub Reserved8: [u8; 256], + pub PDS: [NVME_POWER_STATE_DESC; 32], + pub VS: [u8; 1024], +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_2 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_3 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_3 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_4 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_4 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_5 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_5 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_6 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_6 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_7 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_7 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_7 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_8 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_8 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_8 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_9 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_9 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_9 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_10 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_10 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_10 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_11 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_11 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_11 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_12 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_12 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_12 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_13 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_13 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_13 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_14 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_14 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_14 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_15 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_15 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_15 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_16 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_16 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_16 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_17 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_17 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_17 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_18 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_18 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_18 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_19 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_19 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_19 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_20 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_20 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_20 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_21 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_21 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_21 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_IO_COMMAND_SET { + pub IOCommandSetVector: [u64; 512], +} +impl ::core::marker::Copy for NVME_IDENTIFY_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA { + pub NSZE: u64, + pub NCAP: u64, + pub NUSE: u64, + pub NSFEAT: NVME_IDENTIFY_NAMESPACE_DATA_8, + pub NLBAF: u8, + pub FLBAS: NVME_IDENTIFY_NAMESPACE_DATA_3, + pub MC: NVME_IDENTIFY_NAMESPACE_DATA_5, + pub DPC: NVME_IDENTIFY_NAMESPACE_DATA_1, + pub DPS: NVME_IDENTIFY_NAMESPACE_DATA_2, + pub NMIC: NVME_IDENTIFY_NAMESPACE_DATA_6, + pub RESCAP: NVM_RESERVATION_CAPABILITIES, + pub FPI: NVME_IDENTIFY_NAMESPACE_DATA_4, + pub DLFEAT: NVME_IDENTIFY_NAMESPACE_DATA_0, + pub NAWUN: u16, + pub NAWUPF: u16, + pub NACWU: u16, + pub NABSN: u16, + pub NABO: u16, + pub NABSPF: u16, + pub NOIOB: u16, + pub NVMCAP: [u8; 16], + pub NPWG: u16, + pub NPWA: u16, + pub NPDG: u16, + pub NPDA: u16, + pub NOWS: u16, + pub MSSRL: u16, + pub MCL: u32, + pub MSRC: u8, + pub Reserved2: [u8; 11], + pub ANAGRPID: u32, + pub Reserved3: [u8; 3], + pub NSATTR: NVME_IDENTIFY_NAMESPACE_DATA_7, + pub NVMSETID: u16, + pub ENDGID: u16, + pub NGUID: [u8; 16], + pub EUI64: [u8; 8], + pub LBAF: [NVME_LBA_FORMAT; 16], + pub Reserved4: [u8; 192], + pub VS: [u8; 3712], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_2 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_3 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_3 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_4 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_4 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_5 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_5 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_6 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_6 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_6 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_7 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_7 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_7 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_8 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_8 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_8 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + pub NIDT: u8, + pub NIDL: u8, + pub Reserved: [u8; 2], + pub NID: [u8; 1], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + pub VSL: u8, + pub WZSL: u8, + pub WUSL: u8, + pub DMRL: u8, + pub DMRSL: u32, + pub DMSL: u64, + pub Reserved: [u8; 4080], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + pub ZOC: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1, + pub OZCS: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0, + pub MAR: u32, + pub MOR: u32, + pub RRL: u32, + pub FRL: u32, + pub Reserved0: [u8; 2796], + pub LBAEF: [NVME_LBA_ZONE_FORMAT; 16], + pub Reserved1: [u8; 768], + pub VS: [u8; 256], +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + pub ZASL: u8, + pub Reserved: [u8; 4095], +} +impl ::core::marker::Copy for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_LBA_FORMAT { + pub Anonymous: NVME_LBA_FORMAT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_LBA_FORMAT {} +impl ::core::clone::Clone for NVME_LBA_FORMAT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_FORMAT_0 { + pub MS: u16, + pub LBADS: u8, + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_LBA_FORMAT_0 {} +impl ::core::clone::Clone for NVME_LBA_FORMAT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGE { + pub Attributes: NVME_CONTEXT_ATTRIBUTES, + pub LogicalBlockCount: u32, + pub StartingLBA: u64, +} +impl ::core::marker::Copy for NVME_LBA_RANGE {} +impl ::core::clone::Clone for NVME_LBA_RANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGET_TYPE_ENTRY { + pub Type: u8, + pub Attributes: NVME_LBA_RANGET_TYPE_ENTRY_0, + pub Reserved0: [u8; 14], + pub SLBA: u64, + pub NLB: u64, + pub GUID: [u8; 16], + pub Reserved1: [u8; 16], +} +impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY {} +impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGET_TYPE_ENTRY_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY_0 {} +impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_ZONE_FORMAT { + pub ZoneSize: u64, + pub ZDES: u8, + pub Reserved: [u8; 7], +} +impl ::core::marker::Copy for NVME_LBA_ZONE_FORMAT {} +impl ::core::clone::Clone for NVME_LBA_ZONE_FORMAT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_NVM_SUBSYSTEM_RESET { + pub NSSRC: u32, +} +impl ::core::marker::Copy for NVME_NVM_SUBSYSTEM_RESET {} +impl ::core::clone::Clone for NVME_NVM_SUBSYSTEM_RESET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG { + pub PciePorts: u16, + pub OobMgmtSupport: NVME_OCP_DEVICE_CAPABILITIES_LOG_2, + pub WriteZeroesCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_5, + pub SanitizeCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_3, + pub DatasetMgmtCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_0, + pub WriteUncorrectableCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_4, + pub FusedCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_1, + pub MinimumValidDSSDPowerState: u16, + pub Reserved0: u8, + pub DssdDescriptors: [DSSD_POWER_STATE_DESCRIPTOR; 127], + pub Reserved1: [u8; 3934], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + pub PanicResetWaitTime: u16, + pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, + pub DeviceRecoveryAction1: u8, + pub PanicId: u64, + pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, + pub VendorSpecificRecoveryCode: u8, + pub Reserved0: [u8; 3], + pub VendorSpecificCommandCDW12: u32, + pub VendorSpecificCommandCDW13: u32, + pub VendorSpecificCommandTimeout: u8, + pub DeviceRecoveryAction2: u8, + pub DeviceRecoveryAction2Timeout: u8, + pub Reserved1: [u8; 463], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + pub LID: u8, + pub Reserved0: [u8; 3], + pub ValidNumberOfEntries: u32, + pub Entries: [FIRMWARE_ACTIVATION_HISTORY_ENTRY; 20], + pub Reserved1: [u8; 2790], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + pub FeatureStatus: LATENCY_MONITOR_FEATURE_STATUS, + pub Reserved0: u8, + pub ActiveBucketTimer: u16, + pub ActiveBucketTimerThreshold: u16, + pub ActiveThresholdA: u8, + pub ActiveThresholdB: u8, + pub ActiveThresholdC: u8, + pub ActiveThresholdD: u8, + pub ActiveLatencyConfig: ACTIVE_LATENCY_CONFIGURATION, + pub ActiveLatencyMinimumWindow: u8, + pub Reserved1: [u8; 19], + pub ActiveBucketCounter0: BUCKET_COUNTER, + pub ActiveBucketCounter1: BUCKET_COUNTER, + pub ActiveBucketCounter2: BUCKET_COUNTER, + pub ActiveBucketCounter3: BUCKET_COUNTER, + pub ActiveLatencyStamp: LATENCY_STAMP, + pub ActiveMeasuredLatency: MEASURED_LATENCY, + pub ActiveLatencyStampUnits: LATENCY_STAMP_UNITS, + pub Reserved2: [u8; 22], + pub StaticBucketCounter0: BUCKET_COUNTER, + pub StaticBucketCounter1: BUCKET_COUNTER, + pub StaticBucketCounter2: BUCKET_COUNTER, + pub StaticBucketCounter3: BUCKET_COUNTER, + pub StaticLatencyStamp: LATENCY_STAMP, + pub StaticMeasuredLatency: MEASURED_LATENCY, + pub StaticLatencyStampUnits: LATENCY_STAMP_UNITS, + pub Reserved3: [u8; 22], + pub DebugLogTriggerEnable: DEBUG_BIT_FIELD, + pub DebugLogMeasuredLatency: u16, + pub DebugLogLatencyStamp: u64, + pub DebugLogPointer: u16, + pub DebugCounterTriggerSource: DEBUG_BIT_FIELD, + pub DebugLogStampUnits: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0, + pub Reserved4: [u8; 29], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + pub MediaUnitsWritten: [u8; 16], + pub MediaUnitsRead: [u8; 16], + pub BadUserNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1, + pub BadSystemNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0, + pub XORRecoveryCount: u64, + pub UnrecoverableReadErrorCount: u64, + pub SoftECCErrorCount: u64, + pub EndToEndCorrectionCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2, + pub PercentageSystemDataUsed: u8, + pub RefreshCount: [u8; 7], + pub UserDataEraseCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4, + pub ThermalThrottling: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3, + pub DSSDSpecVersion: [u8; 6], + pub PCIeCorrectableErrorCount: u64, + pub IncompleteShutdownCount: u32, + pub Reserved1: u32, + pub PercentageFreeBlocks: u8, + pub Reserved2: [u8; 7], + pub CapacitorHealth: u16, + pub NvmeErrata: u8, + pub Reserved3: [u8; 5], + pub UnalignedIOCount: u64, + pub SecurityVersionNumber: u64, + pub NUSE: u64, + pub PLPStartCount: [u8; 16], + pub EnduranceEstimate: [u8; 16], + pub PCIeLinkRetrainingCount: u64, + pub PowerStateChangeCount: u64, + pub Reserved4: [u8; 286], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + pub DetectedCounts: u32, + pub CorrectedCounts: u32, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + pub EventCount: u8, + pub Status: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + pub MaximumCount: u32, + pub MinimumCount: u32, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + pub State: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0, + pub Reserved0: [u8; 3], + pub LSPActivationCount: u8, + pub TPRevertCount: u8, + pub LSPRevertCount: u8, + pub LOCount: u8, + pub SUMLOCount: u8, + pub RPLOCount: u8, + pub NPLOCount: u8, + pub RLLOCount: u8, + pub WLLOCount: u8, + pub RULOCount: u8, + pub WULOCount: u8, + pub Reserved1: u8, + pub SIDAuthTryCount: u32, + pub SIDAuthTryLimit: u32, + pub ResetCount: u32, + pub ResetLockCount: u32, + pub Reserved2: [u8; 462], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_HISTORY_LOG { + pub LID: u8, + pub Reserved0: [u8; 3], + pub HistoryEntryCount: u32, + pub HistoryEntries: [TCG_HISTORY_ENTRY; 84], + pub Reserved1: [u8; 38], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_HISTORY_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_HISTORY_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + pub UnsupportedCount: u16, + pub Reserved0: [u8; 14], + pub UnsupportedReqList: [UNSUPPORTED_REQUIREMENT; 253], + pub Reserved1: [u8; 14], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + pub EventType: u8, + pub EventTypeRevision: u8, + pub EventHeaderLength: u8, + pub Reserved0: u8, + pub ControllerIdentifier: u16, + pub EventTimestamp: u64, + pub Reserved1: [u8; 6], + pub VendorSpecificInformationLength: u16, + pub EventLength: u16, +} +impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER {} +impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PERSISTENT_EVENT_LOG_HEADER { + pub LogIdentifier: u8, + pub Reserved0: [u8; 3], + pub TotalNumberOfEvents: u32, + pub TotalLogLength: u64, + pub LogRevision: u8, + pub Reserved1: u8, + pub LogHeaderLength: u16, + pub Timestamp: u64, + pub PowerOnHours: [u8; 16], + pub PowerCycleCount: u64, + pub PciVendorId: u16, + pub PciSubsystemVendorId: u16, + pub SerialNumber: [u8; 20], + pub ModelNumber: [u8; 40], + pub NVMSubsystemNVMeQualifiedName: [u8; 256], + pub Reserved: [u8; 108], + pub SupportedEventsBitmap: [u8; 32], +} +impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_HEADER {} +impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_POWER_STATE_DESC { + pub MP: u16, + pub Reserved0: u8, + pub _bitfield1: u8, + pub ENLAT: u32, + pub EXLAT: u32, + pub _bitfield2: u8, + pub _bitfield3: u8, + pub _bitfield4: u8, + pub _bitfield5: u8, + pub IDLP: u16, + pub _bitfield6: u8, + pub Reserved7: u8, + pub ACTP: u16, + pub _bitfield7: u8, + pub Reserved9: [u8; 9], +} +impl ::core::marker::Copy for NVME_POWER_STATE_DESC {} +impl ::core::clone::Clone for NVME_POWER_STATE_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_PRP_ENTRY { + pub Anonymous: NVME_PRP_ENTRY_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_PRP_ENTRY {} +impl ::core::clone::Clone for NVME_PRP_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PRP_ENTRY_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_PRP_ENTRY_0 {} +impl ::core::clone::Clone for NVME_PRP_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_DATA { + pub CNTLID: u16, + pub RCSTS: NVME_REGISTERED_CONTROLLER_DATA_0, + pub Reserved: [u8; 5], + pub HOSTID: [u8; 8], + pub RKEY: u64, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA_0 {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + pub CNTLID: u16, + pub RCSTS: NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0, + pub Reserved: [u8; 5], + pub RKEY: u64, + pub HOSTID: [u8; 16], + pub Reserved1: [u8; 32], +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REPORT_ZONE_INFO { + pub ZoneCount: u64, + pub Reserved: [u64; 7], + pub ZoneDescriptor: [NVME_ZONE_DESCRIPTOR; 1], +} +impl ::core::marker::Copy for NVME_REPORT_ZONE_INFO {} +impl ::core::clone::Clone for NVME_REPORT_ZONE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + pub CRKEY: u64, + pub PRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_NOTIFICATION_LOG { + pub LogPageCount: u64, + pub LogPageType: u8, + pub AvailableLogPageCount: u8, + pub Reserved0: [u8; 2], + pub NameSpaceId: u32, + pub Reserved1: [u8; 48], +} +impl ::core::marker::Copy for NVME_RESERVATION_NOTIFICATION_LOG {} +impl ::core::clone::Clone for NVME_RESERVATION_NOTIFICATION_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + pub CRKEY: u64, + pub NRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_REGISTER_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + pub CRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_RELEASE_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, + pub RegisteredControllersData: [NVME_REGISTERED_CONTROLLER_DATA; 1], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, + pub Reserved1: [u8; 40], + pub RegisteredControllersExtendedData: [NVME_REGISTERED_CONTROLLER_EXTENDED_DATA; 1], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_HEADER { + pub GEN: u32, + pub RTYPE: u8, + pub REGCTL: u16, + pub Reserved: [u8; 2], + pub PTPLS: u8, + pub Reserved1: [u8; 14], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_HEADER {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_HEADER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SANITIZE_STATUS { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_SANITIZE_STATUS {} +impl ::core::clone::Clone for NVME_SANITIZE_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SANITIZE_STATUS_LOG { + pub SPROG: u16, + pub SSTAT: NVME_SANITIZE_STATUS, + pub SCDW10: u32, + pub EstimatedTimeForOverwrite: u32, + pub EstimatedTimeForBlockErase: u32, + pub EstimatedTimeForCryptoErase: u32, + pub EstimatedTimeForOverwriteWithNoDeallocateMediaModification: u32, + pub EstimatedTimeForBlockEraseWithNoDeallocateMediaModification: u32, + pub EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification: u32, + pub Reserved: [u8; 480], +} +impl ::core::marker::Copy for NVME_SANITIZE_STATUS_LOG {} +impl ::core::clone::Clone for NVME_SANITIZE_STATUS_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SCSI_NAME_STRING { + pub PCIVendorID: [u8; 4], + pub ModelNumber: [u8; 40], + pub NamespaceID: [u8; 4], + pub SerialNumber: [u8; 20], +} +impl ::core::marker::Copy for NVME_SCSI_NAME_STRING {} +impl ::core::clone::Clone for NVME_SCSI_NAME_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SET_ATTRIBUTES_ENTRY { + pub Identifier: u16, + pub ENDGID: u16, + pub Reserved1: u32, + pub Random4KBReadTypical: u32, + pub OptimalWriteSize: u32, + pub TotalCapacity: [u8; 16], + pub UnallocatedCapacity: [u8; 16], + pub Reserved2: [u8; 80], +} +impl ::core::marker::Copy for NVME_SET_ATTRIBUTES_ENTRY {} +impl ::core::clone::Clone for NVME_SET_ATTRIBUTES_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + pub Anonymous: NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL {} +impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 {} +impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + pub LogIdentifier: u8, + pub Reserved0: [u8; 4], + pub OrganizationID: [u8; 3], + pub Area1LastBlock: u16, + pub Area2LastBlock: u16, + pub Area3LastBlock: u16, + pub Reserved1: [u8; 2], + pub Area4LastBlock: u32, + pub Reserved2: [u8; 362], + pub ControllerInitiatedDataAvailable: u8, + pub ControllerInitiatedDataGenerationNumber: u8, + pub ReasonIdentifier: [u8; 128], +} +impl ::core::marker::Copy for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG {} +impl ::core::clone::Clone for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_TELEMETRY_HOST_INITIATED_LOG { + pub LogIdentifier: u8, + pub Reserved0: [u8; 4], + pub OrganizationID: [u8; 3], + pub Area1LastBlock: u16, + pub Area2LastBlock: u16, + pub Area3LastBlock: u16, + pub Reserved1: [u8; 2], + pub Area4LastBlock: u32, + pub Reserved2: [u8; 361], + pub HostInitiatedDataGenerationNumber: u8, + pub ControllerInitiatedDataAvailable: u8, + pub ControllerInitiatedDataGenerationNumber: u8, + pub ReasonIdentifier: [u8; 128], +} +impl ::core::marker::Copy for NVME_TELEMETRY_HOST_INITIATED_LOG {} +impl ::core::clone::Clone for NVME_TELEMETRY_HOST_INITIATED_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_VERSION { + pub Anonymous: NVME_VERSION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_VERSION {} +impl ::core::clone::Clone for NVME_VERSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_VERSION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_VERSION_0 {} +impl ::core::clone::Clone for NVME_VERSION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_CAPABILITIES { + pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_WCS_DEVICE_CAPABILITIES_0 { + pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0_0, + pub AsULONG: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_CAPABILITIES_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + pub PanicResetWaitTime: u16, + pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, + pub DriveRecoveryAction: u8, + pub PanicId: u64, + pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, + pub VendorSpecificRecoveryCode: u8, + pub Reserved0: [u8; 3], + pub VendorSpecificCommandCDW12: u32, + pub VendorSpecificCommandCDW13: u32, + pub Reserved1: [u8; 466], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_RESET_ACTION { + pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_WCS_DEVICE_RESET_ACTION_0 { + pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0_0, + pub AsUCHAR: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_RESET_ACTION_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + pub VersionSpecificData: [u8; 494], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + pub MediaUnitsWritten: [u8; 16], + pub MediaUnitsRead: [u8; 16], + pub BadUserNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1, + pub BadSystemNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0, + pub XORRecoveryCount: u64, + pub UnrecoverableReadErrorCount: u64, + pub SoftECCErrorCount: u64, + pub EndToEndCorrectionCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2, + pub PercentageSystemDataUsed: u8, + pub RefreshCount: [u8; 7], + pub UserDataEraseCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4, + pub ThermalThrottling: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3, + pub Reserved0: [u8; 6], + pub PCIeCorrectableErrorCount: u64, + pub IncompleteShutdownCount: u32, + pub Reserved1: u32, + pub PercentageFreeBlocks: u8, + pub Reserved2: [u8; 7], + pub CapacitorHealth: u16, + pub Reserved3: [u8; 6], + pub UnalignedIOCount: u64, + pub SecurityVersionNumber: u64, + pub NUSE: u64, + pub PLPStartCount: [u8; 16], + pub EnduranceEstimate: [u8; 16], + pub Reserved4: [u8; 302], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + pub DetectedCounts: u32, + pub CorrectedCounts: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + pub EventCount: u8, + pub Status: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + pub MaximumCount: u32, + pub MinimumCount: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR { + pub Anonymous1: NVME_ZONE_DESCRIPTOR_0, + pub Anonymous2: NVME_ZONE_DESCRIPTOR_1, + pub ZA: NVME_ZONE_DESCRIPTOR_2, + pub Reserved3: [u8; 5], + pub ZCAP: u64, + pub ZSLBA: u64, + pub WritePointer: u64, + pub Reserved4: [u8; 32], +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_0 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_1 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_2 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_EXTENSION { + pub ZoneDescriptorExtensionInfo: [u8; 64], +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_EXTENSION {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_EXTENSION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + pub ZoneDescriptor: NVME_ZONE_DESCRIPTOR, + pub ZoneDescriptorExtension: [NVME_ZONE_DESCRIPTOR_EXTENSION; 1], +} +impl ::core::marker::Copy for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC {} +impl ::core::clone::Clone for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVM_RESERVATION_CAPABILITIES { + pub Anonymous: NVM_RESERVATION_CAPABILITIES_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES {} +impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVM_RESERVATION_CAPABILITIES_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVM_SET_LIST { + pub IdentifierCount: u8, + pub Reserved: [u8; 127], + pub Entry: [NVME_SET_ATTRIBUTES_ENTRY; 1], +} +impl ::core::marker::Copy for NVM_SET_LIST {} +impl ::core::clone::Clone for NVM_SET_LIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_ACTIVATE_METHOD_SPECIFIC { + pub RangeStartLengthPolicy: u8, +} +impl ::core::marker::Copy for TCG_ACTIVATE_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_ACTIVATE_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_ASSIGN_METHOD_SPECIFIC { + pub NamespaceId: u32, +} +impl ::core::marker::Copy for TCG_ASSIGN_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_ASSIGN_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_AUTH_METHOD_SPECIFIC { + pub AuthorityId: u64, + pub TriesCount: u8, +} +impl ::core::marker::Copy for TCG_AUTH_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_AUTH_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_BLOCKSID_METHOD_SPECIFIC { + pub ClearEvents: u8, +} +impl ::core::marker::Copy for TCG_BLOCKSID_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_BLOCKSID_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_HISTORY_ENTRY { + pub VersionNumber: u8, + pub EntryLength: u8, + pub PowerCycleCount: u16, + pub TcgCommandCount: u32, + pub TcgCommandCompletionTS: u64, + pub InvokingId: u64, + pub MethodId: u64, + pub ComId: u16, + pub ProtocolId: u8, + pub TcgStatus: u8, + pub ProcessTime: u16, + pub CommandSpecific: [u8; 10], +} +impl ::core::marker::Copy for TCG_HISTORY_ENTRY {} +impl ::core::clone::Clone for TCG_HISTORY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_REACTIVATE_METHOD_SPECIFIC { + pub RangeStartLengthPolicy: u8, +} +impl ::core::marker::Copy for TCG_REACTIVATE_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_REACTIVATE_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct UNSUPPORTED_REQUIREMENT { + pub ReqId: [u8; 16], +} +impl ::core::marker::Copy for UNSUPPORTED_REQUIREMENT {} +impl ::core::clone::Clone for UNSUPPORTED_REQUIREMENT { + fn clone(&self) -> Self { + *self + } +} diff --git a/crates/libs/sys/src/Windows/Win32/Storage/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/mod.rs index 8da2a63525f..f452f93da61 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/mod.rs @@ -20,6 +20,8 @@ pub mod InstallableFileSystems; pub mod IscsiDisc; #[cfg(feature = "Win32_Storage_Jet")] pub mod Jet; +#[cfg(feature = "Win32_Storage_Nvme")] +pub mod Nvme; #[cfg(feature = "Win32_Storage_OfflineFiles")] pub mod OfflineFiles; #[cfg(feature = "Win32_Storage_OperationRecorder")] diff --git a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 0d0b917bd27..2ac6f1f1b46 100644 --- a/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -30,12 +30,12 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreateActCtxA(pactctx : *const ACTCTXA) -> super::super::Foundation:: HANDLE); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreateActCtxW(pactctx : *const ACTCTXW) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreateDeltaA(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_sys::core::PCSTR, lptargetname : ::windows_sys::core::PCSTR, lpsourceoptionsname : ::windows_sys::core::PCSTR, lptargetoptionsname : ::windows_sys::core::PCSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdeltaname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreateDeltaB(filetypeset : i64, setflags : i64, resetflags : i64, source : DELTA_INPUT, target : DELTA_INPUT, sourceoptions : DELTA_INPUT, targetoptions : DELTA_INPUT, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdelta : *mut DELTA_OUTPUT) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreateDeltaW(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_sys::core::PCWSTR, lptargetname : ::windows_sys::core::PCWSTR, lpsourceoptionsname : ::windows_sys::core::PCWSTR, lptargetoptionsname : ::windows_sys::core::PCWSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdeltaname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn CreateDeltaA(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_sys::core::PCSTR, lptargetname : ::windows_sys::core::PCSTR, lpsourceoptionsname : ::windows_sys::core::PCSTR, lptargetoptionsname : ::windows_sys::core::PCSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdeltaname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn CreateDeltaB(filetypeset : i64, setflags : i64, resetflags : i64, source : DELTA_INPUT, target : DELTA_INPUT, sourceoptions : DELTA_INPUT, targetoptions : DELTA_INPUT, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdelta : *mut DELTA_OUTPUT) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn CreateDeltaW(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_sys::core::PCWSTR, lptargetname : ::windows_sys::core::PCWSTR, lpsourceoptionsname : ::windows_sys::core::PCWSTR, lptargetoptionsname : ::windows_sys::core::PCWSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdeltaname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("mspatchc.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn CreatePatchFileA(oldfilename : ::windows_sys::core::PCSTR, newfilename : ::windows_sys::core::PCSTR, patchfilename : ::windows_sys::core::PCSTR, optionflags : u32, optiondata : *const PATCH_OPTION_DATA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -68,18 +68,18 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FindActCtxSectionStringW(dwflags : u32, lpextensionguid : *const ::windows_sys::core::GUID, ulsectionid : u32, lpstringtofind : ::windows_sys::core::PCWSTR, returneddata : *mut ACTCTX_SECTION_KEYED_DATA) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetCurrentActCtx(lphactctx : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaInfoA(lpdeltaname : ::windows_sys::core::PCSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaInfoB(delta : DELTA_INPUT, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaInfoW(lpdeltaname : ::windows_sys::core::PCWSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaSignatureA(filetypeset : i64, hashalgid : u32, lpsourcename : ::windows_sys::core::PCSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaSignatureB(filetypeset : i64, hashalgid : u32, source : DELTA_INPUT, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetDeltaSignatureW(filetypeset : i64, hashalgid : u32, lpsourcename : ::windows_sys::core::PCWSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaInfoA(lpdeltaname : ::windows_sys::core::PCSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaInfoB(delta : DELTA_INPUT, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaInfoW(lpdeltaname : ::windows_sys::core::PCWSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaSignatureA(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpsourcename : ::windows_sys::core::PCSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaSignatureB(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, source : DELTA_INPUT, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("msdelta.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] fn GetDeltaSignatureW(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpsourcename : ::windows_sys::core::PCWSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("mspatcha.dll" "system" #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] fn GetFilePatchSignatureA(filename : ::windows_sys::core::PCSTR, optionflags : u32, optiondata : *const ::core::ffi::c_void, ignorerangecount : u32, ignorerangearray : *const PATCH_IGNORE_RANGE, retainrangecount : u32, retainrangearray : *const PATCH_RETAIN_RANGE, signaturebuffersize : u32, signaturebuffer : ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -3413,20 +3413,20 @@ impl ::core::clone::Clone for DELTA_HASH { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct DELTA_HEADER_INFO { pub FileTypeSet: i64, pub FileType: i64, pub Flags: i64, pub TargetSize: usize, pub TargetFileTime: super::super::Foundation::FILETIME, - pub TargetHashAlgId: u32, + pub TargetHashAlgId: super::super::Security::Cryptography::ALG_ID, pub TargetHash: DELTA_HASH, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for DELTA_HEADER_INFO {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for DELTA_HEADER_INFO { fn clone(&self) -> Self { *self 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 9bcf975468b..8ef52c7f15e 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 @@ -100,7 +100,7 @@ pub mod Extensions; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] fn GetThreadSelectorEntry(hthread : super::super::super::Foundation:: HANDLE, dwselector : u32, lpselectorentry : *mut LDT_ENTRY) -> super::super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] fn GetThreadWaitChain(wcthandle : *const ::core::ffi::c_void, context : usize, flags : WAIT_CHAIN_THREAD_OPTIONS, threadid : u32, nodecount : *mut u32, nodeinfoarray : *mut WAITCHAIN_NODE_INFO, iscycle : *mut i32) -> super::super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] fn GetThreadWaitChain(wcthandle : *const ::core::ffi::c_void, context : usize, flags : WAIT_CHAIN_THREAD_OPTIONS, threadid : u32, nodecount : *mut u32, nodeinfoarray : *mut WAITCHAIN_NODE_INFO, iscycle : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("dbghelp.dll" "system" #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] fn GetTimestampForLoadedLibrary(module : super::super::super::Foundation:: HMODULE) -> u32); #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] @@ -9750,7 +9750,7 @@ pub type PTRANSLATE_ADDRESS_ROUTINE64 = ::core::option::Option i32>; #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWAITCHAINCALLBACK = ::core::option::Option ()>; +pub type PWAITCHAINCALLBACK = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type SYMADDSOURCESTREAM = ::core::option::Option super::super::super::Foundation::BOOL>; diff --git a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs index 4c86a6e08e8..018331d6b35 100644 --- a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -42,8 +42,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn RegisterGPNotification(hevent : super::super::Foundation:: HANDLE, bmachine : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pprincipalselfsid : super::super::Foundation:: PSID, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, pgenericmapping : *const super::super::Security:: GENERIC_MAPPING, pprivilegeset : *const super::super::Security:: PRIVILEGE_SET, pdwprivilegesetlength : *const u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn RsopFileAccessCheck(pszfilename : ::windows_sys::core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pprincipalselfsid : super::super::Foundation:: PSID, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, pgenericmapping : *const super::super::Security:: GENERIC_MAPPING, pprivilegeset : *const super::super::Security:: PRIVILEGE_SET, pdwprivilegesetlength : *const u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn RsopFileAccessCheck(pszfilename : ::windows_sys::core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Wmi")] ::windows_targets::link!("userenv.dll" "system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Wmi\"`*"] fn RsopResetPolicySettingStatus(dwflags : u32, pservices : super::Wmi:: IWbemServices, psettinginstance : super::Wmi:: IWbemClassObject) -> ::windows_sys::core::HRESULT); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Wmi"))] @@ -98,6 +99,8 @@ pub type IRSOPInformation = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const ABSENT: APPSTATE = 0i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const ADMXCOMMENTS_EXTENSION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6c5a2a86_9eb3_42b9_aa83_a7371ba011b9); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const APPNAME: INSTALLSPECTYPE = 1i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const ASSIGNED: APPSTATE = 1i32; @@ -292,19 +295,19 @@ pub const GPO_LIST_FLAG_NO_WMIFILTERS: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GPO_LIST_FLAG_SITEONLY: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPEN_LOAD_REGISTRY: u32 = 1u32; +pub const GPO_OPEN_LOAD_REGISTRY: GPO_OPEN_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPEN_READ_ONLY: u32 = 2u32; +pub const GPO_OPEN_READ_ONLY: GPO_OPEN_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPTION_DISABLE_MACHINE: u32 = 2u32; +pub const GPO_OPTION_DISABLE_MACHINE: GPO_OPTIONS = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPTION_DISABLE_USER: u32 = 1u32; +pub const GPO_OPTION_DISABLE_USER: GPO_OPTIONS = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_MACHINE: u32 = 2u32; +pub const GPO_SECTION_MACHINE: GPO_SECTION = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_ROOT: u32 = 0u32; +pub const GPO_SECTION_ROOT: GPO_SECTION = 0u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_USER: u32 = 1u32; +pub const GPO_SECTION_USER: GPO_SECTION = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GP_DLLNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DllName"); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -330,6 +333,8 @@ pub const GP_PROCESSGROUPPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::co #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GP_REQUIRESSUCCESSFULREGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequiresSuccessfulRegistry"); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GROUP_POLICY_TRIGGER_EVENT_PROVIDER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd2f4252_5e1e_49fc_9a30_f3978ad89ee2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_ASSIGNED: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_ORPHANED: u32 = 32u32; @@ -344,6 +349,8 @@ pub const LOCALSTATE_UNINSTALLED: u32 = 64u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_UNINSTALL_UNMANAGED: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MACHINE_POLICY_PRESENT_TRIGGER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x659fcae6_5bdb_4da9_b1ff_ca2a178d46e0); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const MANAGED_APPS_FROMCATEGORY: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const MANAGED_APPS_INFOLEVEL_DEFAULT: u32 = 65536u32; @@ -388,6 +395,8 @@ pub const PT_TEMPORARY: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const PUBLISHED: APPSTATE = 2i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const REGISTRY_EXTENSION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35378eac_683f_11d2_a89a_00c04fbbcfa2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RP_FORCE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RP_SYNC: u32 = 2u32; @@ -424,6 +433,8 @@ pub const RSOP_TEMPNAMESPACE_EXISTS: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RSOP_USER_ACCESS_DENIED: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const USER_POLICY_PRESENT_TRIGGER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x54fb46c8_f089_464c_b1fd_59d1b62c3b50); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const backupMostRecent: GPMSearchProperty = 9i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const gpoComputerExtensions: GPMSearchProperty = 5i32; @@ -584,6 +595,12 @@ pub type GPMStarterGPOType = i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub type GPO_LINK = i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPO_OPEN_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPO_OPTIONS = u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPO_SECTION = u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub type GROUP_POLICY_HINT_TYPE = i32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub type GROUP_POLICY_OBJECT_TYPE = i32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs index 43722cc921d..3f7ed0f5a0f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Memory/mod.rs @@ -155,7 +155,7 @@ pub mod NonVolatile; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("api-ms-win-core-memory-l1-1-7.dll" "system" #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] fn SetProcessValidCallTargetsForMappedView(process : super::super::Foundation:: HANDLE, virtualaddress : *const ::core::ffi::c_void, regionsize : usize, numberofoffsets : u32, offsetinformation : *mut CFG_CALL_TARGET_INFO, section : super::super::Foundation:: HANDLE, expectedfileoffset : u64) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] fn SetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, dwminimumworkingsetsize : usize, dwmaximumworkingsetsize : usize, flags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] fn SetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, dwminimumworkingsetsize : usize, dwmaximumworkingsetsize : usize, flags : SETPROCESSWORKINGSETSIZEEX_FLAGS) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] fn SetSystemFileCacheSize(minimumfilecachesize : usize, maximumfilecachesize : usize, flags : u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -422,6 +422,14 @@ pub const PAGE_WRITECOMBINE: PAGE_PROTECTION_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const PAGE_WRITECOPY: PAGE_PROTECTION_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 8u32; +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 4u32; +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 2u32; +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 1u32; +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const SECTION_ALL_ACCESS: SECTION_FLAGS = 983071u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const SECTION_EXTEND_SIZE: SECTION_FLAGS = 16u32; @@ -492,6 +500,8 @@ pub type PAGE_TYPE = u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub type SECTION_FLAGS = u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub type SETPROCESSWORKINGSETSIZEEX_FLAGS = u32; +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub type UNMAP_VIEW_OF_FILE_FLAGS = u32; #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub type VIRTUAL_ALLOCATION_TYPE = u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs index a8c2a737ce3..1059099462a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -54,7 +54,7 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))] ::windows_targets::link!("mqrt.dll" "system" #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`*"] fn MQSetQueueProperties(lpwcsformatname : ::windows_sys::core::PCWSTR, pqueueprops : *mut MQQUEUEPROPS) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Security")] -::windows_targets::link!("mqrt.dll" "system" #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Security\"`*"] fn MQSetQueueSecurity(lpwcsformatname : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("mqrt.dll" "system" #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Security\"`*"] fn MQSetQueueSecurity(lpwcsformatname : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> ::windows_sys::core::HRESULT); pub type IMSMQApplication = *mut ::core::ffi::c_void; pub type IMSMQApplication2 = *mut ::core::ffi::c_void; pub type IMSMQApplication3 = *mut ::core::ffi::c_void; diff --git a/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs index 179b417e5e8..6832603fcb1 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Registry/mod.rs @@ -71,7 +71,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] fn RegFlushKey(hkey : HKEY) -> super::super::Foundation:: WIN32_ERROR); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RegGetKeySecurity(hkey : HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RegGetKeySecurity(hkey : HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] fn RegGetValueA(hkey : HKEY, lpsubkey : ::windows_sys::core::PCSTR, lpvalue : ::windows_sys::core::PCSTR, dwflags : REG_ROUTINE_FLAGS, pdwtype : *mut REG_VALUE_TYPE, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] @@ -145,7 +145,7 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RegSaveKeyW(hkey : HKEY, lpfile : ::windows_sys::core::PCWSTR, lpsecurityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES) -> super::super::Foundation:: WIN32_ERROR); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RegSetKeySecurity(hkey : HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn RegSetKeySecurity(hkey : HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] fn RegSetKeyValueA(hkey : HKEY, lpsubkey : ::windows_sys::core::PCSTR, lpvaluename : ::windows_sys::core::PCSTR, dwtype : u32, lpdata : *const ::core::ffi::c_void, cbdata : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs index cda03387912..5c8db9d9d6e 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -47,9 +47,9 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] fn WTSGetChildSessionId(psessionid : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSGetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSGetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSGetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSGetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] fn WTSIsChildSessionsEnabled(pbenabled : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -85,9 +85,9 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn WTSSendMessageW(hserver : super::super::Foundation:: HANDLE, sessionid : u32, ptitle : ::windows_sys::core::PCWSTR, titlelength : u32, pmessage : ::windows_sys::core::PCWSTR, messagelength : u32, style : super::super::UI::WindowsAndMessaging:: MESSAGEBOX_STYLE, timeout : u32, presponse : *mut super::super::UI::WindowsAndMessaging:: MESSAGEBOX_RESULT, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSSetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSSetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSSetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn WTSSetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_sys::core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("wtsapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] fn WTSSetRenderHint(prenderhintid : *mut u64, hwndowner : super::super::Foundation:: HWND, renderhinttype : u32, cbhintdatalength : u32, phintdata : *const u8) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs index 3063be96e87..8d4660919bc 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -1659,7 +1659,7 @@ pub struct WSMAN_PLUGIN_REQUEST { pub locale: ::windows_sys::core::PCWSTR, pub resourceUri: ::windows_sys::core::PCWSTR, pub operationInfo: *mut WSMAN_OPERATION_INFO, - pub shutdownNotification: i32, + pub shutdownNotification: super::super::Foundation::BOOL, pub shutdownNotificationHandle: super::super::Foundation::HANDLE, pub dataLocale: ::windows_sys::core::PCWSTR, } diff --git a/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs index 859485e2b91..5e06be40375 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RestartManager/mod.rs @@ -1,18 +1,25 @@ #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmAddFilter(dwsessionhandle : u32, strmodulename : ::windows_sys::core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_sys::core::PCWSTR, filteraction : RM_FILTER_ACTION) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmCancelCurrentTask(dwsessionhandle : u32) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmEndSession(dwsessionhandle : u32) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmGetFilterList(dwsessionhandle : u32, pbfilterbuf : *mut u8, cbfilterbuf : u32, cbfilterbufneeded : *mut u32) -> u32); +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmAddFilter(dwsessionhandle : u32, strmodulename : ::windows_sys::core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_sys::core::PCWSTR, filteraction : RM_FILTER_ACTION) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmGetList(dwsessionhandle : u32, pnprocinfoneeded : *mut u32, pnprocinfo : *mut u32, rgaffectedapps : *mut RM_PROCESS_INFO, lpdwrebootreasons : *mut u32) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmJoinSession(psessionhandle : *mut u32, strsessionkey : ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmCancelCurrentTask(dwsessionhandle : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmRegisterResources(dwsessionhandle : u32, nfiles : u32, rgsfilenames : *const ::windows_sys::core::PCWSTR, napplications : u32, rgapplications : *const RM_UNIQUE_PROCESS, nservices : u32, rgsservicenames : *const ::windows_sys::core::PCWSTR) -> u32); +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmEndSession(dwsessionhandle : u32) -> super::super::Foundation:: WIN32_ERROR); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmRemoveFilter(dwsessionhandle : u32, strmodulename : ::windows_sys::core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_sys::core::PCWSTR) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmRestart(dwsessionhandle : u32, dwrestartflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmShutdown(dwsessionhandle : u32, lactionflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> u32); -::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] fn RmStartSession(psessionhandle : *mut u32, dwsessionflags : u32, strsessionkey : ::windows_sys::core::PWSTR) -> u32); +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmGetFilterList(dwsessionhandle : u32, pbfilterbuf : *mut u8, cbfilterbuf : u32, cbfilterbufneeded : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmGetList(dwsessionhandle : u32, pnprocinfoneeded : *mut u32, pnprocinfo : *mut u32, rgaffectedapps : *mut RM_PROCESS_INFO, lpdwrebootreasons : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmJoinSession(psessionhandle : *mut u32, strsessionkey : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmRegisterResources(dwsessionhandle : u32, nfiles : u32, rgsfilenames : *const ::windows_sys::core::PCWSTR, napplications : u32, rgapplications : *const RM_UNIQUE_PROCESS, nservices : u32, rgsservicenames : *const ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmRemoveFilter(dwsessionhandle : u32, strmodulename : ::windows_sys::core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmRestart(dwsessionhandle : u32, dwrestartflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmShutdown(dwsessionhandle : u32, lactionflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("rstrtmgr.dll" "system" #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] fn RmStartSession(psessionhandle : *mut u32, dwsessionflags : u32, strsessionkey : ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub const CCH_RM_MAX_APP_NAME: u32 = 255u32; #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs index 0a2014de4ff..57f801a0ca0 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs @@ -1,3 +1,4 @@ +::windows_targets::link!("srclient.dll" "system" #[doc = "*Required features: `\"Win32_System_Restore\"`*"] fn SRRemoveRestorePoint(dwrpnum : u32) -> u32); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("sfc.dll" "system" #[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] fn SRSetRestorePointA(prestoreptspec : *const RESTOREPOINTINFOA, psmgrstatus : *mut STATEMGRSTATUS) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] @@ -113,12 +114,15 @@ impl ::core::clone::Clone for RESTOREPOINTINFOW { } } #[repr(C, packed(1))] -#[doc = "*Required features: `\"Win32_System_Restore\"`*"] +#[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] pub struct STATEMGRSTATUS { - pub nStatus: u32, + pub nStatus: super::super::Foundation::WIN32_ERROR, pub llSequenceNumber: i64, } +#[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for STATEMGRSTATUS {} +#[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for STATEMGRSTATUS { fn clone(&self) -> Self { *self diff --git a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs index 1a07d699281..0ff3b4038e7 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Search/mod.rs @@ -2274,6 +2274,8 @@ pub const DBPROP_USERNAME: DBPROPENUM = 118i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBPROP_Unicode: u32 = 6u32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const DBQUERYGUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x49691c90_7e17_101a_a91c_08002b2ecda9); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBRANGE_EXCLUDENULLS: DBRANGEENUM = 4i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBRANGE_EXCLUSIVEEND: DBRANGEENUM = 2i32; @@ -5152,6 +5154,10 @@ pub const PRTH_S_TRY_IMPERSONATING: i32 = 266789i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PRTH_S_USE_ROSEBUD: i32 = 266772i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const PSGUID_CHARACTERIZATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x560c36c0_503a_11cf_baa1_00004c752a9a); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const PSGUID_QUERY_METADATA: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x624c9360_93d0_11cf_a787_00004c752752); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PSGUID_STORAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb725f130_47ef_101a_a5f1_02608c9eebac); #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PWPROP_OSPVALUE: u32 = 2u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs index cdc34a064d6..4b481b61be6 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Services/mod.rs @@ -3,9 +3,9 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ChangeServiceConfig2W(hservice : super::super::Security:: SC_HANDLE, dwinfolevel : SERVICE_CONFIG, lpinfo : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ChangeServiceConfigA(hservice : super::super::Security:: SC_HANDLE, dwservicetype : u32, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_sys::core::PCSTR, lploadordergroup : ::windows_sys::core::PCSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_sys::core::PCSTR, lpservicestartname : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lpdisplayname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ChangeServiceConfigA(hservice : super::super::Security:: SC_HANDLE, dwservicetype : ENUM_SERVICE_TYPE, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_sys::core::PCSTR, lploadordergroup : ::windows_sys::core::PCSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_sys::core::PCSTR, lpservicestartname : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lpdisplayname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ChangeServiceConfigW(hservice : super::super::Security:: SC_HANDLE, dwservicetype : u32, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_sys::core::PCWSTR, lploadordergroup : ::windows_sys::core::PCWSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_sys::core::PCWSTR, lpservicestartname : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lpdisplayname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn ChangeServiceConfigW(hservice : super::super::Security:: SC_HANDLE, dwservicetype : ENUM_SERVICE_TYPE, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_sys::core::PCWSTR, lploadordergroup : ::windows_sys::core::PCWSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_sys::core::PCWSTR, lpservicestartname : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lpdisplayname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CloseServiceHandle(hscobject : super::super::Security:: SC_HANDLE) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] diff --git a/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs index dad8cab2eb6..dd2b749cd7a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Shutdown/mod.rs @@ -25,18 +25,32 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("user32.dll" "system" #[doc = "*Required features: `\"Win32_System_Shutdown\"`, `\"Win32_Foundation\"`*"] fn ShutdownBlockReasonQuery(hwnd : super::super::Foundation:: HWND, pwszbuff : ::windows_sys::core::PWSTR, pcchbuff : *mut u32) -> super::super::Foundation:: BOOL); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_ARSO: EXIT_WINDOWS_FLAGS = 67108864u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_BOOTOPTIONS: EXIT_WINDOWS_FLAGS = 16777216u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_CHECK_SAFE_FOR_SERVER: EXIT_WINDOWS_FLAGS = 134217728u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_FORCE: EXIT_WINDOWS_FLAGS = 4u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_FORCEIFHUNG: EXIT_WINDOWS_FLAGS = 16u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_HYBRID_SHUTDOWN: EXIT_WINDOWS_FLAGS = 4194304u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_LOGOFF: EXIT_WINDOWS_FLAGS = 0u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_POWEROFF: EXIT_WINDOWS_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_QUICKRESOLVE: EXIT_WINDOWS_FLAGS = 32u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_REBOOT: EXIT_WINDOWS_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_RESTARTAPPS: EXIT_WINDOWS_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_SHUTDOWN: EXIT_WINDOWS_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_SYSTEM_INITIATED: EXIT_WINDOWS_FLAGS = 268435456u32; +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const MAX_NUM_REASONS: u32 = 256u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const MAX_REASON_BUGID_LEN: u32 = 32u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs index 7fccfe2f524..df5a8f7d2e1 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs @@ -119,8 +119,6 @@ pub const ALERT_SYSTEM_WARNING: ALERT_SYSTEM_SEV = 2u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const ALL_POWERSCHEMES_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x68a1e95e_13ea_41e1_8011_0c496ca490b0); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const ALL_PROCESSOR_GROUPS: u32 = 65535u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const ANYSIZE_ARRAY: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const APPCOMMAND_BASS_BOOST: APPCOMMAND_ID = 20u32; @@ -475,6 +473,8 @@ pub const CompatibilityInformationInActivationContext: ACTIVATION_CONTEXT_INFO_C #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const CriticalError: SERVICE_ERROR_TYPE = 3i32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] +pub const DECIMAL_NEG: u8 = 128u8; +#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const DEDICATED_MEMORY_CACHE_ELIGIBLE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const DEVICEFAMILYDEVICEFORM_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM"); @@ -1107,12 +1107,6 @@ pub const GUID_DEVICE_POWER_POLICY_VIDEO_BRIGHTNESS: ::windows_sys::core::GUID = #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DEVICE_POWER_POLICY_VIDEO_DIM_BRIGHTNESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf1fbfde2_a960_4165_9f88_50667911ce96); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DISCONNECTED_STANDBY_MODE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x68afb2d9_ee95_47a8_8f50_4115088073b1); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DISK_ADAPTIVE_POWERDOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x396a32e1_499a_40b2_9124_a96afe707667); @@ -3095,44 +3089,8 @@ pub const PERFSTATE_POLICY_CHANGE_ROCKET: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PERFSTATE_POLICY_CHANGE_SINGLE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ALPHA_BYTE_INSTRUCTIONS: u32 = 5u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_NEON_INSTRUCTIONS_AVAILABLE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V82_DP_INSTRUCTIONS_AVAILABLE: u32 = 43u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE: u32 = 44u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V83_LRCPC_INSTRUCTIONS_AVAILABLE: u32 = 45u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX2_INSTRUCTIONS_AVAILABLE: u32 = 40u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE: u32 = 41u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX_INSTRUCTIONS_AVAILABLE: u32 = 39u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ERMS_AVAILABLE: u32 = 42u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_MONITORX_INSTRUCTION_AVAILABLE: u32 = 35u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_NON_TEMPORAL_LEVEL_ALL: u32 = 0u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_PPC_MOVEMEM_64BIT_OK: u32 = 4u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDPID_INSTRUCTION_AVAILABLE: u32 = 33u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDRAND_INSTRUCTION_AVAILABLE: u32 = 28u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDTSCP_INSTRUCTION_AVAILABLE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE: u32 = 37u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE: u32 = 38u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE_DAZ_MODE_AVAILABLE: u32 = 11u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE: u32 = 36u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_TEMPORAL_LEVEL_1: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_TEMPORAL_LEVEL_2: u32 = 2u32; @@ -3509,14 +3467,6 @@ pub const PowerMonitorOff: MONITOR_DISPLAY_STATE = 0i32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PowerMonitorOn: MONITOR_DISPLAY_STATE = 1i32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const QUOTA_LIMITS_USE_DEFAULT_LIMITS: u32 = 16u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const READ_THREAD_PROFILING_FLAG_DISPATCHING: u32 = 1u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs index f05a91756c2..9ed28580e91 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Threading/mod.rs @@ -38,6 +38,8 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn CallbackMayRunLong(pci : PTP_CALLBACK_INSTANCE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`*"] fn CancelThreadpoolIo(pio : PTP_IO) -> ()); #[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn CancelTimerQueueTimer(timerqueue : super::super::Foundation:: HANDLE, timer : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn CancelWaitableTimer(htimer : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn ChangeTimerQueueTimer(timerqueue : super::super::Foundation:: HANDLE, timer : super::super::Foundation:: HANDLE, duetime : u32, period : u32) -> super::super::Foundation:: BOOL); @@ -123,6 +125,10 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn CreateUmsThreadContext(lpumsthread : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, bmanualreset : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerExA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, lptimername : ::windows_sys::core::PCSTR, dwflags : u32, dwdesiredaccess : u32) -> super::super::Foundation:: HANDLE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerExW(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, lptimername : ::windows_sys::core::PCWSTR, dwflags : u32, dwdesiredaccess : u32) -> super::super::Foundation:: HANDLE); #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerW(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, bmanualreset : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); @@ -344,6 +350,8 @@ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] ::windows_targets::link!("advapi32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn OpenThreadToken(threadhandle : super::super::Foundation:: HANDLE, desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK, openasself : super::super::Foundation:: BOOL, tokenhandle : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn OpenWaitableTimerA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); +#[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn OpenWaitableTimerW(dwdesiredaccess : SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] fn PulseEvent(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); @@ -581,6 +589,8 @@ pub type RTWQASYNCRESULT = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const ABOVE_NORMAL_PRIORITY_CLASS: PROCESS_CREATION_FLAGS = 32768u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const ALL_PROCESSOR_GROUPS: u16 = 65535u16; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const AVRT_PRIORITY_CRITICAL: AVRT_PRIORITY = 2i32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const AVRT_PRIORITY_HIGH: AVRT_PRIORITY = 1i32; @@ -699,6 +709,8 @@ pub const NORMAL_PRIORITY_CLASS: PROCESS_CREATION_FLAGS = 32u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_3DNOW_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 7u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ALPHA_BYTE_INSTRUCTIONS: PROCESSOR_FEATURE_ID = 5u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_64BIT_LOADSTORE_ATOMIC: PROCESSOR_FEATURE_ID = 25u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 24u32; @@ -707,8 +719,16 @@ pub const PF_ARM_EXTERNAL_CACHE_AVAILABLE: PROCESSOR_FEATURE_ID = 26u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 27u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_NEON_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 19u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 34u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V82_DP_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 43u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 44u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V83_LRCPC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 45u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 31u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 30u32; @@ -717,6 +737,12 @@ pub const PF_ARM_V8_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 29u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_VFP_32_REGISTERS_AVAILABLE: PROCESSOR_FEATURE_ID = 18u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX2_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 40u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 41u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 39u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_CHANNELS_ENABLED: PROCESSOR_FEATURE_ID = 16u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_COMPARE64_EXCHANGE128: PROCESSOR_FEATURE_ID = 15u32; @@ -725,6 +751,8 @@ pub const PF_COMPARE_EXCHANGE128: PROCESSOR_FEATURE_ID = 14u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_COMPARE_EXCHANGE_DOUBLE: PROCESSOR_FEATURE_ID = 2u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ERMS_AVAILABLE: PROCESSOR_FEATURE_ID = 42u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_FASTFAIL_AVAILABLE: PROCESSOR_FEATURE_ID = 23u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_FLOATING_POINT_EMULATED: PROCESSOR_FEATURE_ID = 1u32; @@ -733,10 +761,20 @@ pub const PF_FLOATING_POINT_PRECISION_ERRATA: PROCESSOR_FEATURE_ID = 0u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_MMX_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 3u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_MONITORX_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 35u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_NX_ENABLED: PROCESSOR_FEATURE_ID = 12u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_PAE_ENABLED: PROCESSOR_FEATURE_ID = 9u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_PPC_MOVEMEM_64BIT_OK: PROCESSOR_FEATURE_ID = 4u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDPID_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 33u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDRAND_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 28u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDTSCP_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 32u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_RDTSC_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = 8u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_RDWRFSGSBASE_AVAILABLE: PROCESSOR_FEATURE_ID = 22u32; @@ -745,6 +783,14 @@ pub const PF_SECOND_LEVEL_ADDRESS_TRANSLATION: PROCESSOR_FEATURE_ID = 20u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_SSE3_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 13u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 37u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 38u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE_DAZ_MODE_AVAILABLE: PROCESSOR_FEATURE_ID = 11u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 36u32; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_VIRT_FIRMWARE_ENABLED: PROCESSOR_FEATURE_ID = 21u32; #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_XMMI64_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = 10u32; diff --git a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs index d9b5661dfd2..54ee466a829 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -8,15 +8,9 @@ ::windows_targets::link!("apphelp.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn ApphelpCheckShellObject(objectclsid : *const ::windows_sys::core::GUID, bshimifnecessary : super::super::Foundation:: BOOL, pullflags : *mut u64) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn CancelDeviceWakeupRequest(hdevice : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn CancelTimerQueueTimer(timerqueue : super::super::Foundation:: HANDLE, timer : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("advpack.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] fn CloseINFEngine(hinf : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-core-realtime-l1-1-2.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue : u64, lpperformancecountervalue : *mut u64, lpconversionerror : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("api-ms-win-core-realtime-l1-1-2.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue : u64, lpauxiliarycountervalue : *mut u64, lpconversionerror : *mut u64) -> ::windows_sys::core::HRESULT); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, bmanualreset : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] fn CreateWaitableTimerExA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, lptimername : ::windows_sys::core::PCSTR, dwflags : u32, dwdesiredaccess : u32) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("dciman32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] fn DCIBeginAccess(pdci : *mut DCISURFACEINFO, x : i32, y : i32, dx : i32, dy : i32) -> i32); #[cfg(feature = "Win32_Graphics_Gdi")] ::windows_targets::link!("dciman32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Graphics_Gdi\"`*"] fn DCICloseProvider(hdc : super::super::Graphics::Gdi:: HDC) -> ()); @@ -172,8 +166,6 @@ ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn OpenMutexA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lpname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn OpenSemaphoreA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lpname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); -#[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn OpenWaitableTimerA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lptimername : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); ::windows_targets::link!("api-ms-win-core-realtime-l1-1-2.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] fn QueryAuxiliaryCounterFrequency(lpauxiliarycounterfrequency : *mut u64) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] fn QueryIdleProcessorCycleTime(bufferlength : *mut u32, processoridlecycletime : *mut u64) -> super::super::Foundation:: BOOL); diff --git a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs index 3229eb2c752..901eef29b69 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -33,7 +33,7 @@ #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("icm32.dll" "system" #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] fn CMGetNamedProfileInfo(hprofile : isize, pnamedprofileinfo : *mut NAMED_PROFILE_INFO) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] -::windows_targets::link!("icm32.dll" "system" #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] fn CMIsProfileValid(hprofile : isize, lpbvalid : *mut i32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("icm32.dll" "system" #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] fn CMIsProfileValid(hprofile : isize, lpbvalid : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("icm32.dll" "system" #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] fn CMTranslateColors(hcmtransform : isize, lpainputcolors : *const COLOR, ncolors : u32, ctinput : COLORTYPE, lpaoutputcolors : *mut COLOR, ctoutput : COLORTYPE) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index c59f791d9e8..cb61cc7e622 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -316,17 +316,23 @@ pub const FR_HIDEUPDOWN: FINDREPLACE_FLAGS = 16384u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_HIDEWHOLEWORD: FINDREPLACE_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHALEFHAMZA: FINDREPLACE_FLAGS = 2147483648u32; +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_MATCHCASE: FINDREPLACE_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHDIAC: FINDREPLACE_FLAGS = 536870912u32; +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHKASHIDA: FINDREPLACE_FLAGS = 1073741824u32; +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOMATCHCASE: FINDREPLACE_FLAGS = 2048u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOUPDOWN: FINDREPLACE_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOWHOLEWORD: FINDREPLACE_FLAGS = 4096u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_NOWRAPAROUND: u32 = 524288u32; +pub const FR_NOWRAPAROUND: FINDREPLACE_FLAGS = 524288u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_RAW: u32 = 131072u32; +pub const FR_RAW: FINDREPLACE_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_REPLACE: FINDREPLACE_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] @@ -334,11 +340,11 @@ pub const FR_REPLACEALL: FINDREPLACE_FLAGS = 32u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_SHOWHELP: FINDREPLACE_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_SHOWWRAPAROUND: u32 = 262144u32; +pub const FR_SHOWWRAPAROUND: FINDREPLACE_FLAGS = 262144u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_WHOLEWORD: FINDREPLACE_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_WRAPAROUND: u32 = 1048576u32; +pub const FR_WRAPAROUND: FINDREPLACE_FLAGS = 1048576u32; #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const HELPMSGSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("commdlg_help"); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs index 7927615db6b..f6ce5511e30 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs @@ -273,7 +273,7 @@ pub mod Dialogs; #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("comctl32.dll" "system" #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] fn ImageList_GetDragImage(ppt : *mut super::super::Foundation:: POINT, ppthotspot : *mut super::super::Foundation:: POINT) -> HIMAGELIST); #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -::windows_targets::link!("comctl32.dll" "system" #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn ImageList_GetIcon(himl : HIMAGELIST, i : i32, flags : u32) -> super::WindowsAndMessaging:: HICON); +::windows_targets::link!("comctl32.dll" "system" #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn ImageList_GetIcon(himl : HIMAGELIST, i : i32, flags : IMAGE_LIST_DRAW_STYLE) -> super::WindowsAndMessaging:: HICON); #[cfg(feature = "Win32_Foundation")] ::windows_targets::link!("comctl32.dll" "system" #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] fn ImageList_GetIconSize(himl : HIMAGELIST, cx : *mut i32, cy : *mut i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("comctl32.dll" "system" #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] fn ImageList_GetImageCount(himl : HIMAGELIST) -> i32); @@ -2848,35 +2848,35 @@ pub const LVGA_HEADER_LEFT: LIST_VIEW_GROUP_ALIGN_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGA_HEADER_RIGHT: LIST_VIEW_GROUP_ALIGN_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_ALIGN: u32 = 8u32; +pub const LVGF_ALIGN: LVGROUP_MASK = 8u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_DESCRIPTIONBOTTOM: u32 = 2048u32; +pub const LVGF_DESCRIPTIONBOTTOM: LVGROUP_MASK = 2048u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_DESCRIPTIONTOP: u32 = 1024u32; +pub const LVGF_DESCRIPTIONTOP: LVGROUP_MASK = 1024u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_EXTENDEDIMAGE: u32 = 8192u32; +pub const LVGF_EXTENDEDIMAGE: LVGROUP_MASK = 8192u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_FOOTER: LVGROUP_MASK = 2u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_GROUPID: u32 = 16u32; +pub const LVGF_GROUPID: LVGROUP_MASK = 16u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_HEADER: LVGROUP_MASK = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_ITEMS: u32 = 16384u32; +pub const LVGF_ITEMS: LVGROUP_MASK = 16384u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_NONE: LVGROUP_MASK = 0u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_STATE: LVGROUP_MASK = 4u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBSET: u32 = 32768u32; +pub const LVGF_SUBSET: LVGROUP_MASK = 32768u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBSETITEMS: u32 = 65536u32; +pub const LVGF_SUBSETITEMS: LVGROUP_MASK = 65536u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBTITLE: u32 = 256u32; +pub const LVGF_SUBTITLE: LVGROUP_MASK = 256u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_TASK: u32 = 512u32; +pub const LVGF_TASK: LVGROUP_MASK = 512u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_TITLEIMAGE: u32 = 4096u32; +pub const LVGF_TITLEIMAGE: LVGROUP_MASK = 4096u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGGR_GROUP: u32 = 0u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -3034,7 +3034,7 @@ pub const LVIF_STATE: LIST_VIEW_ITEM_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVIF_TEXT: LIST_VIEW_ITEM_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVIM_AFTER: LIST_VIEW_INSERT_MARK_FLAGS = 1u32; +pub const LVIM_AFTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVIR_BOUNDS: u32 = 0u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -6244,16 +6244,26 @@ pub const TCS_TOOLTIPS: u32 = 16384u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TCS_VERTICAL: u32 = 128u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_ABORT_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 65536i32; +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_CANCEL_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 8i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_CLOSE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 32i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_CONTINUE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 524288i32; +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_HELP_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 1048576i32; +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_IGNORE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 131072i32; +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_NO_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 4i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_OK_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 1i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_RETRY_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 16i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_TRYAGAIN_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 262144i32; +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_YES_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = 2i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDE_CONTENT: TASKDIALOG_ELEMENTS = 0i32; @@ -9016,8 +9026,6 @@ pub type LIST_VIEW_GROUP_ALIGN_FLAGS = u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub type LIST_VIEW_GROUP_STATE_FLAGS = u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub type LIST_VIEW_INSERT_MARK_FLAGS = u32; -#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub type LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS = i32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub type LIST_VIEW_ITEM_FLAGS = u32; @@ -10307,7 +10315,7 @@ impl ::core::clone::Clone for LVINSERTGROUPSORTED { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub struct LVINSERTMARK { pub cbSize: u32, - pub dwFlags: LIST_VIEW_INSERT_MARK_FLAGS, + pub dwFlags: u32, pub iItem: i32, pub dwReserved: u32, } @@ -10331,7 +10339,7 @@ pub struct LVITEMA { pub iImage: i32, pub lParam: super::super::Foundation::LPARAM, pub iIndent: i32, - pub iGroupId: LVITEMA_GROUP_ID, + pub iGroupId: i32, pub cColumns: u32, pub puColumns: *mut u32, pub piColFmt: *mut LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS, @@ -10371,7 +10379,7 @@ pub struct LVITEMW { pub iImage: i32, pub lParam: super::super::Foundation::LPARAM, pub iIndent: i32, - pub iGroupId: LVITEMA_GROUP_ID, + pub iGroupId: i32, pub cColumns: u32, pub puColumns: *mut u32, pub piColFmt: *mut LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS, diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index 4c25d33fe92..11b1146b53e 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -1195,7 +1195,7 @@ impl ::core::clone::Clone for MODIFIERS { pub struct MOUSEINPUT { pub dx: i32, pub dy: i32, - pub mouseData: i32, + pub mouseData: u32, pub dwFlags: MOUSE_EVENT_FLAGS, pub time: u32, pub dwExtraInfo: usize, diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs index 3517119b8ea..57ce3746169 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs @@ -3867,69 +3867,71 @@ pub const FOF2_MERGEFOLDERSONCOLLISION: FILE_OPERATION_FLAGS2 = 1i32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const FOF2_NONE: FILE_OPERATION_FLAGS2 = 0i32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_ADDUNDORECORD: u32 = 536870912u32; +pub const FOFX_ADDUNDORECORD: FILEOPERATION_FLAGS = 536870912u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_COPYASDOWNLOAD: u32 = 1073741824u32; +pub const FOFX_COPYASDOWNLOAD: FILEOPERATION_FLAGS = 1073741824u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYDESTPATH: u32 = 134217728u32; +pub const FOFX_DONTDISPLAYDESTPATH: FILEOPERATION_FLAGS = 134217728u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYLOCATIONS: u32 = 2147483648u32; +pub const FOFX_DONTDISPLAYLOCATIONS: FILEOPERATION_FLAGS = 2147483648u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYSOURCEPATH: u32 = 67108864u32; +pub const FOFX_DONTDISPLAYSOURCEPATH: FILEOPERATION_FLAGS = 67108864u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_EARLYFAILURE: u32 = 1048576u32; +pub const FOFX_EARLYFAILURE: FILEOPERATION_FLAGS = 1048576u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_KEEPNEWERFILE: u32 = 4194304u32; +pub const FOFX_KEEPNEWERFILE: FILEOPERATION_FLAGS = 4194304u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_MOVEACLSACROSSVOLUMES: u32 = 33554432u32; +pub const FOFX_MOVEACLSACROSSVOLUMES: FILEOPERATION_FLAGS = 33554432u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOCOPYHOOKS: u32 = 8388608u32; +pub const FOFX_NOCOPYHOOKS: FILEOPERATION_FLAGS = 8388608u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOMINIMIZEBOX: u32 = 16777216u32; +pub const FOFX_NOMINIMIZEBOX: FILEOPERATION_FLAGS = 16777216u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOSKIPJUNCTIONS: u32 = 65536u32; +pub const FOFX_NOSKIPJUNCTIONS: FILEOPERATION_FLAGS = 65536u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_PREFERHARDLINK: u32 = 131072u32; +pub const FOFX_PREFERHARDLINK: FILEOPERATION_FLAGS = 131072u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_PRESERVEFILEEXTENSIONS: u32 = 2097152u32; +pub const FOFX_PRESERVEFILEEXTENSIONS: FILEOPERATION_FLAGS = 2097152u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_RECYCLEONDELETE: u32 = 524288u32; +pub const FOFX_RECYCLEONDELETE: FILEOPERATION_FLAGS = 524288u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_REQUIREELEVATION: u32 = 268435456u32; +pub const FOFX_REQUIREELEVATION: FILEOPERATION_FLAGS = 268435456u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_SHOWELEVATIONPROMPT: u32 = 262144u32; +pub const FOFX_SHOWELEVATIONPROMPT: FILEOPERATION_FLAGS = 262144u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_ALLOWUNDO: u32 = 64u32; +pub const FOF_ALLOWUNDO: FILEOPERATION_FLAGS = 64u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_CONFIRMMOUSE: u32 = 2u32; +pub const FOF_CONFIRMMOUSE: FILEOPERATION_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_FILESONLY: u32 = 128u32; +pub const FOF_FILESONLY: FILEOPERATION_FLAGS = 128u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_MULTIDESTFILES: u32 = 1u32; +pub const FOF_MULTIDESTFILES: FILEOPERATION_FLAGS = 1u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCONFIRMATION: u32 = 16u32; +pub const FOF_NOCONFIRMATION: FILEOPERATION_FLAGS = 16u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCONFIRMMKDIR: u32 = 512u32; +pub const FOF_NOCONFIRMMKDIR: FILEOPERATION_FLAGS = 512u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCOPYSECURITYATTRIBS: u32 = 2048u32; +pub const FOF_NOCOPYSECURITYATTRIBS: FILEOPERATION_FLAGS = 2048u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOERRORUI: u32 = 1024u32; +pub const FOF_NOERRORUI: FILEOPERATION_FLAGS = 1024u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NORECURSEREPARSE: u32 = 32768u32; +pub const FOF_NORECURSEREPARSE: FILEOPERATION_FLAGS = 32768u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NORECURSION: u32 = 4096u32; +pub const FOF_NORECURSION: FILEOPERATION_FLAGS = 4096u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NO_CONNECTED_ELEMENTS: u32 = 8192u32; +pub const FOF_NO_CONNECTED_ELEMENTS: FILEOPERATION_FLAGS = 8192u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_RENAMEONCOLLISION: u32 = 8u32; +pub const FOF_NO_UI: FILEOPERATION_FLAGS = 1556u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_SILENT: u32 = 4u32; +pub const FOF_RENAMEONCOLLISION: FILEOPERATION_FLAGS = 8u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_SIMPLEPROGRESS: u32 = 256u32; +pub const FOF_SILENT: FILEOPERATION_FLAGS = 4u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_WANTMAPPINGHANDLE: u32 = 32u32; +pub const FOF_SIMPLEPROGRESS: FILEOPERATION_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_WANTNUKEWARNING: u32 = 16384u32; +pub const FOF_WANTMAPPINGHANDLE: FILEOPERATION_FLAGS = 32u32; +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const FOF_WANTNUKEWARNING: FILEOPERATION_FLAGS = 16384u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const FOLDERID_AccountPictures: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x008ca0b1_55b4_4c56_b8a8_4de4b299d3be); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -6079,6 +6081,48 @@ pub const PROPSTR_EXTENSIONCOMPLETIONSTATE: ::windows_sys::core::PCWSTR = ::wind #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PROP_CONTRACT_DELEGATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ContractDelegate"); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_AUDIO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64440490_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_BRIEFCASE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x328d8b21_7729_4bfc_954c_902b329d56b0); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_CONTROLPANEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x305ca226_d286_468e_b848_2b2e8e697b74); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_CUSTOMIMAGEPROPERTIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7ecd8b0e_c136_4a9b_9411_4ebd6673ccc3); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DISPLACED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9b174b33_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DOCUMENTSUMMARYINFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd5cdd502_2e9c_101b_9397_08002b2cf9ae); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DRM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaeac19e4_89ae_4508_b9b7_bb867abee2ed); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_IMAGEPROPERTIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x14b81da1_0135_4d31_96d9_6cbfc9671a99); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_IMAGESUMMARYINFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6444048f_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_LIBRARYPROPERTIES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5d76b67f_9b3d_44bb_b6ae_25da4f638a67); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_LINK: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb9b4b3fc_2b51_4a42_b5d8_324146afcf25); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MEDIAFILESUMMARYINFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64440492_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MISC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9b174b34_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MUSIC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x56a3372e_ce9c_11d2_9f0e_006097c686f6); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_QUERY_D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x49691c90_7e17_101a_a91c_08002b2ecda9); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SHARE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd8c3986f_813b_449c_845d_87b95d674ade); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SHELLDETAILS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x28636aa6_953d_11d2_b5d6_00c04fd918d0); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SUMMARYINFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf29f85e0_4ff9_1068_ab91_08002b27b3d9); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_VIDEO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64440491_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_VOLUME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9b174b35_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_WEBVIEW: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf2275480_f782_4291_bd94_f13693513aec); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PackageDebugSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb1aec16f_2383_4852_b0e9_8f0b1dc66b4d); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PasswordCredentialProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x60b78e88_ead8_445c_9cfd_0b87f74ea6cd); @@ -9331,6 +9375,8 @@ pub type FFFP_MODE = i32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub type FILEOPENDIALOGOPTIONS = u32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub type FILEOPERATION_FLAGS = u32; +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub type FILETYPEATTRIBUTEFLAGS = i32; #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub type FILE_OPERATION_FLAGS2 = i32; diff --git a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index e0c61f32cb3..b05ab3215e3 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -1567,20 +1567,6 @@ pub const EVENT_UIA_PROPID_END: u32 = 30207u32; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const EVENT_UIA_PROPID_START: u32 = 29952u32; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_ARSO: u32 = 67108864u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_BOOTOPTIONS: u32 = 16777216u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_CHECK_SAFE_FOR_SERVER: u32 = 134217728u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_FORCE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_FORCEIFHUNG: u32 = 16u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_QUICKRESOLVE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_SYSTEM_INITIATED: u32 = 268435456u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const FALT: ACCEL_VIRT_FLAGS = 16u8; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const FAPPCOMMAND_KEY: u32 = 0u32; @@ -2044,6 +2030,9 @@ pub const HTZOOM: u32 = 9u32; pub const HWND_BOTTOM: super::super::Foundation::HWND = 1i32 as _; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] +pub const HWND_BROADCAST: super::super::Foundation::HWND = 65535i32 as _; +#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] pub const HWND_DESKTOP: super::super::Foundation::HWND = 0i32 as _; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 1a45392ece4..c2013e3a7d8 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -437,6 +437,7 @@ Win32_Graphics_Dwm = ["Win32_Graphics"] Win32_Graphics_Dxgi = ["Win32_Graphics"] Win32_Graphics_Dxgi_Common = ["Win32_Graphics_Dxgi"] Win32_Graphics_Gdi = ["Win32_Graphics"] +Win32_Graphics_GdiPlus = ["Win32_Graphics"] Win32_Graphics_Hlsl = ["Win32_Graphics"] Win32_Graphics_Imaging = ["Win32_Graphics"] Win32_Graphics_Imaging_D2D = ["Win32_Graphics_Imaging"] @@ -543,6 +544,7 @@ Win32_Storage_IndexServer = ["Win32_Storage"] Win32_Storage_InstallableFileSystems = ["Win32_Storage"] Win32_Storage_IscsiDisc = ["Win32_Storage"] Win32_Storage_Jet = ["Win32_Storage"] +Win32_Storage_Nvme = ["Win32_Storage"] Win32_Storage_OfflineFiles = ["Win32_Storage"] Win32_Storage_OperationRecorder = ["Win32_Storage"] Win32_Storage_Packaging = ["Win32_Storage"] diff --git a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs index be37dda6640..1cb8de781bc 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -360,6 +360,36 @@ pub const GUID_DEVINTERFACE_BIOMETRIC_READER: ::windows_core::GUID = ::windows_c #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const IOCTL_BIOMETRIC_VENDOR: u32 = 4464640u32; #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_BIT_PACKED: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_JPEG: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_JPEG2000: u16 = 4u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_PNG: u16 = 5u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_COMPRESSED_WSQ: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMG_UNCOMPRESSED: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LATENT: u16 = 7u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_CONTACTLESS: u16 = 9u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_PLAIN: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_LIVE_SCAN_ROLLED: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_NONLIVE_SCAN_PLAIN: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_NONLIVE_SCAN_ROLLED: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_IMP_TYPE_SWIPE: u16 = 8u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_PIXELS_PER_CM: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_ANSI_381_PIXELS_PER_INCH: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_ANTI_SPOOF_DISABLE: WINBIO_ANTI_SPOOF_POLICY_ACTION = WINBIO_ANTI_SPOOF_POLICY_ACTION(0i32); #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_ANTI_SPOOF_ENABLE: WINBIO_ANTI_SPOOF_POLICY_ACTION = WINBIO_ANTI_SPOOF_POLICY_ACTION(1i32); @@ -392,6 +422,20 @@ pub const WINBIO_CREDENTIAL_PASSWORD: WINBIO_CREDENTIAL_TYPE = WINBIO_CREDENTIAL #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_CREDENTIAL_SET: WINBIO_CREDENTIAL_STATE = WINBIO_CREDENTIAL_STATE(2i32); #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_INTEGRITY: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_INTERMEDIATE: u16 = 64u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_OPTION_MASK_PRESENT: u16 = 8u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_PRIVACY: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_PROCESSED: u16 = 128u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_RAW: u16 = 32u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] +pub const WINBIO_DATA_FLAG_SIGNED: u16 = 4u16; +#[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_E_ADAPTER_INTEGRITY_FAILURE: ::windows_core::HRESULT = ::windows_core::HRESULT(-2146860995i32); #[doc = "*Required features: `\"Win32_Devices_BiometricFramework\"`*"] pub const WINBIO_E_AUTO_LOGON_DISABLED: ::windows_core::HRESULT = ::windows_core::HRESULT(-2146860989i32); 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 ff7ce5ec0a2..216e262dec1 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -250,14 +250,14 @@ pub unsafe fn CM_Enable_DevNode_Ex(dndevinst: u32, ulflags: u32, hmachine: isize } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Enumerate_Classes(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: u32) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : u32) -> CONFIGRET); +pub unsafe fn CM_Enumerate_Classes(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: CM_ENUMERATE_FLAGS) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : CM_ENUMERATE_FLAGS) -> CONFIGRET); CM_Enumerate_Classes(ulclassindex, classguid, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Enumerate_Classes_Ex(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes_Ex(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : u32, hmachine : isize) -> CONFIGRET); +pub unsafe fn CM_Enumerate_Classes_Ex(ulclassindex: u32, classguid: *mut ::windows_core::GUID, ulflags: CM_ENUMERATE_FLAGS, hmachine: isize) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Enumerate_Classes_Ex(ulclassindex : u32, classguid : *mut ::windows_core::GUID, ulflags : CM_ENUMERATE_FLAGS, hmachine : isize) -> CONFIGRET); CM_Enumerate_Classes_Ex(ulclassindex, classguid, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -546,14 +546,14 @@ pub unsafe fn CM_Get_DevNode_Registry_Property_ExW(dndevinst: u32, ulproperty: u } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_DevNode_Status(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status(pulstatus : *mut u32, pulproblemnumber : *mut u32, dndevinst : u32, ulflags : u32) -> CONFIGRET); +pub unsafe fn CM_Get_DevNode_Status(pulstatus: *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber: *mut CM_PROB, dndevinst: u32, ulflags: u32) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32) -> CONFIGRET); CM_Get_DevNode_Status(pulstatus, pulproblemnumber, dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_DevNode_Status_Ex(pulstatus: *mut u32, pulproblemnumber: *mut u32, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status_Ex(pulstatus : *mut u32, pulproblemnumber : *mut u32, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +pub unsafe fn CM_Get_DevNode_Status_Ex(pulstatus: *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber: *mut CM_PROB, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_DevNode_Status_Ex(pulstatus : *mut CM_DEVNODE_STATUS_FLAGS, pulproblemnumber : *mut CM_PROB, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); CM_Get_DevNode_Status_Ex(pulstatus, pulproblemnumber, dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -702,20 +702,20 @@ where } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_ListA(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_ListA(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u8], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListA(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, buffer : ::windows_core::PSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); CM_Get_Device_Interface_ListA(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_ListW(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_ListW(interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, buffer: &mut [u16], ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_ListW(interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, buffer : ::windows_core::PWSTR, bufferlen : u32, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); CM_Get_Device_Interface_ListW(interfaceclassguid, pdeviceid.into_param().abi(), ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -738,38 +738,38 @@ where } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_List_SizeA(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_SizeA(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); CM_Get_Device_Interface_List_SizeA(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_List_SizeW(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_SizeW(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_SizeW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS) -> CONFIGRET); CM_Get_Device_Interface_List_SizeW(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_List_Size_ExA(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_Size_ExA(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, 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_Size_ExA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_Size_ExA(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); CM_Get_Device_Interface_List_Size_ExA(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Device_Interface_List_Size_ExW(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, ulflags: u32, hmachine: isize) -> CONFIGRET +pub unsafe fn CM_Get_Device_Interface_List_Size_ExW(pullen: *mut u32, interfaceclassguid: *const ::windows_core::GUID, pdeviceid: P0, 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_Size_ExW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : u32, hmachine : isize) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Device_Interface_List_Size_ExW(pullen : *mut u32, interfaceclassguid : *const ::windows_core::GUID, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_GET_DEVICE_INTERFACE_LIST_FLAGS, hmachine : isize) -> CONFIGRET); CM_Get_Device_Interface_List_Size_ExW(pullen, interfaceclassguid, pdeviceid.into_param().abi(), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Devices_Properties\"`*"] @@ -814,14 +814,14 @@ where } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_First_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf(plclogconf : *mut usize, dndevinst : u32, ulflags : u32) -> CONFIGRET); +pub unsafe fn CM_Get_First_Log_Conf(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: CM_LOG_CONF) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF) -> CONFIGRET); CM_Get_First_Log_Conf(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_First_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +pub unsafe fn CM_Get_First_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut usize>, dndevinst: u32, ulflags: CM_LOG_CONF, hmachine: isize) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_First_Log_Conf_Ex(plclogconf : *mut usize, dndevinst : u32, ulflags : CM_LOG_CONF, hmachine : isize) -> CONFIGRET); CM_Get_First_Log_Conf_Ex(::core::mem::transmute(plclogconf.unwrap_or(::std::ptr::null_mut())), dndevinst, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -922,14 +922,14 @@ pub unsafe fn CM_Get_Next_Log_Conf_Ex(plclogconf: ::core::option::Option<*mut us } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Next_Res_Des(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: ::core::option::Option<*mut u32>, ulflags: u32) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des(prdresdes : *mut usize, rdresdes : usize, forresource : u32, presourceid : *mut u32, ulflags : u32) -> CONFIGRET); +pub unsafe fn CM_Get_Next_Res_Des(prdresdes: *mut usize, rdresdes: usize, forresource: CM_RESTYPE, presourceid: ::core::option::Option<*mut CM_RESTYPE>, ulflags: u32) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32) -> CONFIGRET); CM_Get_Next_Res_Des(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Get_Next_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, forresource: u32, presourceid: ::core::option::Option<*mut u32>, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, forresource : u32, presourceid : *mut u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +pub unsafe fn CM_Get_Next_Res_Des_Ex(prdresdes: *mut usize, rdresdes: usize, forresource: CM_RESTYPE, presourceid: ::core::option::Option<*mut CM_RESTYPE>, ulflags: u32, hmachine: isize) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Get_Next_Res_Des_Ex(prdresdes : *mut usize, rdresdes : usize, forresource : CM_RESTYPE, presourceid : *mut CM_RESTYPE, ulflags : u32, hmachine : isize) -> CONFIGRET); CM_Get_Next_Res_Des_Ex(prdresdes, rdresdes, forresource, ::core::mem::transmute(presourceid.unwrap_or(::std::ptr::null_mut())), ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1052,20 +1052,20 @@ pub unsafe fn CM_Is_Version_Available_Ex(wversion: u16, hmachine: isize) -> supe } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Locate_DevNodeA(pdndevinst: *mut u32, pdeviceid: P0, ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Locate_DevNodeA(pdndevinst: *mut u32, pdeviceid: P0, ulflags: CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeA(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); CM_Locate_DevNodeA(pdndevinst, pdeviceid.into_param().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Locate_DevNodeW(pdndevinst: *mut u32, pdeviceid: P0, ulflags: u32) -> CONFIGRET +pub unsafe fn CM_Locate_DevNodeW(pdndevinst: *mut u32, pdeviceid: P0, ulflags: CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, ulflags : u32) -> CONFIGRET); + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Locate_DevNodeW(pdndevinst : *mut u32, pdeviceid : ::windows_core::PCWSTR, ulflags : CM_LOCATE_DEVNODE_FLAGS) -> CONFIGRET); CM_Locate_DevNodeW(pdndevinst, pdeviceid.into_param().abi(), ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1284,14 +1284,14 @@ pub unsafe fn CM_Query_Remove_SubTree_Ex(dnancestor: u32, ulflags: u32, hmachine } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Query_Resource_Conflict_List(pclconflictlist: *mut usize, dndevinst: u32, resourceid: u32, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Resource_Conflict_List(pclconflictlist : *mut usize, dndevinst : u32, resourceid : u32, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); +pub unsafe fn CM_Query_Resource_Conflict_List(pclconflictlist: *mut usize, dndevinst: u32, resourceid: CM_RESTYPE, resourcedata: *const ::core::ffi::c_void, resourcelen: u32, ulflags: u32, hmachine: isize) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Query_Resource_Conflict_List(pclconflictlist : *mut usize, dndevinst : u32, resourceid : CM_RESTYPE, resourcedata : *const ::core::ffi::c_void, resourcelen : u32, ulflags : u32, hmachine : isize) -> CONFIGRET); CM_Query_Resource_Conflict_List(pclconflictlist, dndevinst, resourceid, resourcedata, resourcelen, ulflags, hmachine) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn CM_Reenumerate_DevNode(dndevinst: u32, ulflags: u32) -> CONFIGRET { - ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Reenumerate_DevNode(dndevinst : u32, ulflags : u32) -> CONFIGRET); +pub unsafe fn CM_Reenumerate_DevNode(dndevinst: u32, ulflags: CM_REENUMERATE_FLAGS) -> CONFIGRET { + ::windows_targets::link!("cfgmgr32.dll" "system" fn CM_Reenumerate_DevNode(dndevinst : u32, ulflags : CM_REENUMERATE_FLAGS) -> CONFIGRET); CM_Reenumerate_DevNode(dndevinst, ulflags) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -1637,45 +1637,45 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiInstallDevice(hwndparent: P0, deviceinfoset: P1, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: ::core::option::Option<*const SP_DRVINFO_DATA_V2_W>, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiInstallDevice(hwndparent: P0, deviceinfoset: P1, deviceinfodata: *const SP_DEVINFO_DATA, driverinfodata: ::core::option::Option<*const SP_DRVINFO_DATA_V2_W>, flags: DIINSTALLDEVICE_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("newdev.dll" "system" fn DiInstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiInstallDevice(hwndparent : super::super::Foundation:: HWND, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, driverinfodata : *const SP_DRVINFO_DATA_V2_W, flags : DIINSTALLDEVICE_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiInstallDevice(hwndparent.into_param().abi(), deviceinfoset.into_param().abi(), deviceinfodata, ::core::mem::transmute(driverinfodata.unwrap_or(::std::ptr::null())), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiInstallDriverA(hwndparent: P0, infpath: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiInstallDriverA(hwndparent: P0, infpath: P1, flags: DIINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiInstallDriverA(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiInstallDriverW(hwndparent: P0, infpath: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiInstallDriverW(hwndparent: P0, infpath: P1, flags: DIINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiInstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : DIINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiInstallDriverW(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiRollbackDriver(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, hwndparent: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiRollbackDriver(deviceinfoset: P0, deviceinfodata: *const SP_DEVINFO_DATA, hwndparent: P1, flags: DIROLLBACKDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("newdev.dll" "system" fn DiRollbackDriver(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, hwndparent : super::super::Foundation:: HWND, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiRollbackDriver(deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, hwndparent : super::super::Foundation:: HWND, flags : DIROLLBACKDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiRollbackDriver(deviceinfoset.into_param().abi(), deviceinfodata, hwndparent.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1714,23 +1714,23 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiUninstallDriverA(hwndparent: P0, infpath: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiUninstallDriverA(hwndparent: P0, infpath: P1, flags: DIUNINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverA(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiUninstallDriverA(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn DiUninstallDriverW(hwndparent: P0, infpath: P1, flags: u32, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn DiUninstallDriverW(hwndparent: P0, infpath: P1, flags: DIUNINSTALLDRIVER_FLAGS, needreboot: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : u32, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn DiUninstallDriverW(hwndparent : super::super::Foundation:: HWND, infpath : ::windows_core::PCWSTR, flags : DIUNINSTALLDRIVER_FLAGS, needreboot : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); DiUninstallDriverW(hwndparent.into_param().abi(), infpath.into_param().abi(), flags, ::core::mem::transmute(needreboot.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -1982,23 +1982,23 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupCopyOEMInfA(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: u32, destinationinffilename: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PSTR>) -> ::windows_core::Result<()> +pub unsafe fn SetupCopyOEMInfA(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: SP_COPY_STYLE, destinationinffilename: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PSTR>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfA(sourceinffilename : ::windows_core::PCSTR, oemsourcemedialocation : ::windows_core::PCSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : u32, destinationinffilename : ::windows_core::PSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfA(sourceinffilename : ::windows_core::PCSTR, oemsourcemedialocation : ::windows_core::PCSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_core::PSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PSTR) -> super::super::Foundation:: BOOL); SetupCopyOEMInfA(sourceinffilename.into_param().abi(), oemsourcemedialocation.into_param().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupCopyOEMInfW(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: u32, destinationinffilename: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> +pub unsafe fn SetupCopyOEMInfW(sourceinffilename: P0, oemsourcemedialocation: P1, oemsourcemediatype: OEM_SOURCE_MEDIA_TYPE, copystyle: SP_COPY_STYLE, destinationinffilename: ::core::option::Option<&mut [u16]>, requiredsize: ::core::option::Option<*mut u32>, destinationinffilenamecomponent: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfW(sourceinffilename : ::windows_core::PCWSTR, oemsourcemedialocation : ::windows_core::PCWSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : u32, destinationinffilename : ::windows_core::PWSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PWSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupCopyOEMInfW(sourceinffilename : ::windows_core::PCWSTR, oemsourcemedialocation : ::windows_core::PCWSTR, oemsourcemediatype : OEM_SOURCE_MEDIA_TYPE, copystyle : SP_COPY_STYLE, destinationinffilename : ::windows_core::PWSTR, destinationinffilenamesize : u32, requiredsize : *mut u32, destinationinffilenamecomponent : *mut ::windows_core::PWSTR) -> super::super::Foundation:: BOOL); SetupCopyOEMInfW(sourceinffilename.into_param().abi(), oemsourcemedialocation.into_param().abi(), oemsourcemediatype, copystyle, ::core::mem::transmute(destinationinffilename.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), destinationinffilename.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(destinationinffilenamecomponent.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -3765,21 +3765,21 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupGetInfFileListA(directorypath: P0, infstyle: u32, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn SetupGetInfFileListA(directorypath: P0, infstyle: INF_STYLE, returnbuffer: ::core::option::Option<&mut [u8]>, requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListA(directorypath : ::windows_core::PCSTR, infstyle : u32, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListA(directorypath : ::windows_core::PCSTR, infstyle : INF_STYLE, returnbuffer : ::windows_core::PSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); SetupGetInfFileListA(directorypath.into_param().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), returnbuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupGetInfFileListW(directorypath: P0, infstyle: u32, returnbuffer: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn SetupGetInfFileListW(directorypath: P0, infstyle: INF_STYLE, returnbuffer: &mut [u16], requiredsize: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListW(directorypath : ::windows_core::PCWSTR, infstyle : u32, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupGetInfFileListW(directorypath : ::windows_core::PCWSTR, infstyle : INF_STYLE, returnbuffer : ::windows_core::PWSTR, returnbuffersize : u32, requiredsize : *mut u32) -> super::super::Foundation:: BOOL); SetupGetInfFileListW(directorypath.into_param().abi(), infstyle, ::core::mem::transmute(returnbuffer.as_ptr()), returnbuffer.len() as _, ::core::mem::transmute(requiredsize.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4140,43 +4140,43 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupInstallServicesFromInfSectionA(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn SetupInstallServicesFromInfSectionA(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); SetupInstallServicesFromInfSectionA(infhandle, sectionname.into_param().abi(), flags).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupInstallServicesFromInfSectionExA(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn SetupInstallServicesFromInfSectionExA(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : u32, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExA(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); SetupInstallServicesFromInfSectionExA(infhandle, sectionname.into_param().abi(), flags, deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupInstallServicesFromInfSectionExW(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn SetupInstallServicesFromInfSectionExW(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS, deviceinfoset: P1, deviceinfodata: ::core::option::Option<*const SP_DEVINFO_DATA>, reserved1: ::core::option::Option<*const ::core::ffi::c_void>, reserved2: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : u32, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionExW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : SPSVCINST_FLAGS, deviceinfoset : HDEVINFO, deviceinfodata : *const SP_DEVINFO_DATA, reserved1 : *const ::core::ffi::c_void, reserved2 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); SetupInstallServicesFromInfSectionExW(infhandle, sectionname.into_param().abi(), flags, deviceinfoset.into_param().abi(), ::core::mem::transmute(deviceinfodata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved2.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupInstallServicesFromInfSectionW(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn SetupInstallServicesFromInfSectionW(infhandle: *const ::core::ffi::c_void, sectionname: P0, flags: SPSVCINST_FLAGS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupInstallServicesFromInfSectionW(infhandle : *const ::core::ffi::c_void, sectionname : ::windows_core::PCWSTR, flags : SPSVCINST_FLAGS) -> super::super::Foundation:: BOOL); SetupInstallServicesFromInfSectionW(infhandle, sectionname.into_param().abi(), flags).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4277,22 +4277,22 @@ pub unsafe fn SetupOpenFileQueue() -> *mut ::core::ffi::c_void { } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn SetupOpenInfFileA(filename: P0, infclass: P1, infstyle: u32, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void +pub unsafe fn SetupOpenInfFileA(filename: P0, infclass: P1, infstyle: INF_STYLE, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileA(filename : ::windows_core::PCSTR, infclass : ::windows_core::PCSTR, infstyle : u32, errorline : *mut u32) -> *mut ::core::ffi::c_void); + ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileA(filename : ::windows_core::PCSTR, infclass : ::windows_core::PCSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); SetupOpenInfFileA(filename.into_param().abi(), infclass.into_param().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[inline] -pub unsafe fn SetupOpenInfFileW(filename: P0, infclass: P1, infstyle: u32, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void +pub unsafe fn SetupOpenInfFileW(filename: P0, infclass: P1, infstyle: INF_STYLE, errorline: ::core::option::Option<*mut u32>) -> *mut ::core::ffi::c_void where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileW(filename : ::windows_core::PCWSTR, infclass : ::windows_core::PCWSTR, infstyle : u32, errorline : *mut u32) -> *mut ::core::ffi::c_void); + ::windows_targets::link!("setupapi.dll" "system" fn SetupOpenInfFileW(filename : ::windows_core::PCWSTR, infclass : ::windows_core::PCWSTR, infstyle : INF_STYLE, errorline : *mut u32) -> *mut ::core::ffi::c_void); SetupOpenInfFileW(filename.into_param().abi(), infclass.into_param().abi(), infstyle, ::core::mem::transmute(errorline.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -4801,21 +4801,21 @@ where #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupScanFileQueueA(filequeue: *const ::core::ffi::c_void, flags: u32, window: P0, callbackroutine: PSP_FILE_CALLBACK_A, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn SetupScanFileQueueA(filequeue: *const ::core::ffi::c_void, flags: SETUPSCANFILEQUEUE_FLAGS, window: P0, callbackroutine: PSP_FILE_CALLBACK_A, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueA(filequeue : *const ::core::ffi::c_void, flags : u32, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_A, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueA(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_A, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); SetupScanFileQueueA(filequeue, flags, window.into_param().abi(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetupScanFileQueueW(filequeue: *const ::core::ffi::c_void, flags: u32, window: P0, callbackroutine: PSP_FILE_CALLBACK_W, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn SetupScanFileQueueW(filequeue: *const ::core::ffi::c_void, flags: SETUPSCANFILEQUEUE_FLAGS, window: P0, callbackroutine: PSP_FILE_CALLBACK_W, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, result: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueW(filequeue : *const ::core::ffi::c_void, flags : u32, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_W, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("setupapi.dll" "system" fn SetupScanFileQueueW(filequeue : *const ::core::ffi::c_void, flags : SETUPSCANFILEQUEUE_FLAGS, window : super::super::Foundation:: HWND, callbackroutine : PSP_FILE_CALLBACK_W, callbackcontext : *const ::core::ffi::c_void, result : *mut u32) -> super::super::Foundation:: BOOL); SetupScanFileQueueW(filequeue, flags, window.into_param().abi(), callbackroutine, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), result).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] @@ -5022,33 +5022,33 @@ pub unsafe fn SetupWriteTextLogInfLine(logtoken: u64, flags: u32, infhandle: *co #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn UpdateDriverForPlugAndPlayDevicesA(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: u32, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn UpdateDriverForPlugAndPlayDevicesA(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesA(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCSTR, fullinfpath : ::windows_core::PCSTR, installflags : u32, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesA(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCSTR, fullinfpath : ::windows_core::PCSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); UpdateDriverForPlugAndPlayDevicesA(hwndparent.into_param().abi(), hardwareid.into_param().abi(), fullinfpath.into_param().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn UpdateDriverForPlugAndPlayDevicesW(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: u32, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> +pub unsafe fn UpdateDriverForPlugAndPlayDevicesW(hwndparent: P0, hardwareid: P1, fullinfpath: P2, installflags: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired: ::core::option::Option<*mut super::super::Foundation::BOOL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesW(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCWSTR, fullinfpath : ::windows_core::PCWSTR, installflags : u32, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("newdev.dll" "system" fn UpdateDriverForPlugAndPlayDevicesW(hwndparent : super::super::Foundation:: HWND, hardwareid : ::windows_core::PCWSTR, fullinfpath : ::windows_core::PCWSTR, installflags : UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS, brebootrequired : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); UpdateDriverForPlugAndPlayDevicesW(hwndparent.into_param().abi(), hardwareid.into_param().abi(), fullinfpath.into_param().abi(), installflags, ::core::mem::transmute(brebootrequired.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ALLOC_LOG_CONF: u32 = 2u32; +pub const ALLOC_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const BASIC_LOG_CONF: u32 = 0u32; +pub const BASIC_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const BOOT_LOG_CONF: u32 = 3u32; +pub const BOOT_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_ADD_ID_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5062,21 +5062,21 @@ pub const CM_ADD_RANGE_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_ADD_RANGE_DONOTADDIFCONFLICT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_DRIVER: u32 = 1u32; +pub const CM_CDFLAGS_DRIVER: CM_CDFLAGS = CM_CDFLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_RESERVED: u32 = 4u32; +pub const CM_CDFLAGS_RESERVED: CM_CDFLAGS = CM_CDFLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDFLAGS_ROOT_OWNED: u32 = 2u32; +pub const CM_CDFLAGS_ROOT_OWNED: CM_CDFLAGS = CM_CDFLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_DESCRIPTION: u32 = 8u32; +pub const CM_CDMASK_DESCRIPTION: CM_CDMASK = CM_CDMASK(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_DEVINST: u32 = 1u32; +pub const CM_CDMASK_DEVINST: CM_CDMASK = CM_CDMASK(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_FLAGS: u32 = 4u32; +pub const CM_CDMASK_FLAGS: CM_CDMASK = CM_CDMASK(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_RESDES: u32 = 2u32; +pub const CM_CDMASK_RESDES: CM_CDMASK = CM_CDMASK(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_CDMASK_VALID: u32 = 15u32; +pub const CM_CDMASK_VALID: CM_CDMASK = CM_CDMASK(15u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_CLASS_PROPERTY_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5148,27 +5148,27 @@ pub const CM_DETECT_NEW_PROFILE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DETECT_RUN: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_DOCKDEVICE: u32 = 8u32; +pub const CM_DEVCAP_DOCKDEVICE: CM_DEVCAP = CM_DEVCAP(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_EJECTSUPPORTED: u32 = 2u32; +pub const CM_DEVCAP_EJECTSUPPORTED: CM_DEVCAP = CM_DEVCAP(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_HARDWAREDISABLED: u32 = 256u32; +pub const CM_DEVCAP_HARDWAREDISABLED: CM_DEVCAP = CM_DEVCAP(256u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_LOCKSUPPORTED: u32 = 1u32; +pub const CM_DEVCAP_LOCKSUPPORTED: CM_DEVCAP = CM_DEVCAP(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_NONDYNAMIC: u32 = 512u32; +pub const CM_DEVCAP_NONDYNAMIC: CM_DEVCAP = CM_DEVCAP(512u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_RAWDEVICEOK: u32 = 64u32; +pub const CM_DEVCAP_RAWDEVICEOK: CM_DEVCAP = CM_DEVCAP(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_REMOVABLE: u32 = 4u32; +pub const CM_DEVCAP_REMOVABLE: CM_DEVCAP = CM_DEVCAP(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SECUREDEVICE: u32 = 1024u32; +pub const CM_DEVCAP_SECUREDEVICE: CM_DEVCAP = CM_DEVCAP(1024u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SILENTINSTALL: u32 = 32u32; +pub const CM_DEVCAP_SILENTINSTALL: CM_DEVCAP = CM_DEVCAP(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_SURPRISEREMOVALOK: u32 = 128u32; +pub const CM_DEVCAP_SURPRISEREMOVALOK: CM_DEVCAP = CM_DEVCAP(128u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_DEVCAP_UNIQUEID: u32 = 16u32; +pub const CM_DEVCAP_UNIQUEID: CM_DEVCAP = CM_DEVCAP(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DEVICE_PANEL_EDGE_BOTTOM: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5304,11 +5304,11 @@ pub const CM_DRP_UNUSED2: u32 = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_DRP_UPPERFILTERS: u32 = 18u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_BITS: u32 = 1u32; +pub const CM_ENUMERATE_CLASSES_BITS: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_INSTALLER: u32 = 0u32; +pub const CM_ENUMERATE_CLASSES_INSTALLER: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_ENUMERATE_CLASSES_INTERFACE: u32 = 1u32; +pub const CM_ENUMERATE_CLASSES_INTERFACE: CM_ENUMERATE_FLAGS = CM_ENUMERATE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GETIDLIST_DONOTGENERATE: u32 = 268435520u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5334,11 +5334,11 @@ pub const CM_GETIDLIST_FILTER_SERVICE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GETIDLIST_FILTER_TRANSPORTRELATIONS: u32 = 128u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES: u32 = 1u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_ALL_DEVICES: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_BITS: u32 = 1u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_BITS: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_GET_DEVICE_INTERFACE_LIST_PRESENT: u32 = 0u32; +pub const CM_GET_DEVICE_INTERFACE_LIST_PRESENT: CM_GET_DEVICE_INTERFACE_LIST_FLAGS = CM_GET_DEVICE_INTERFACE_LIST_FLAGS(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_GLOBAL_STATE_CAN_DO_UI: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5358,33 +5358,23 @@ pub const CM_HWPI_NOT_DOCKABLE: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_HWPI_UNDOCKED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_FAILED_INSTALL: u32 = 2u32; +pub const CM_INSTALL_STATE_FAILED_INSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_FINISH_INSTALL: u32 = 3u32; +pub const CM_INSTALL_STATE_FINISH_INSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_INSTALLED: u32 = 0u32; +pub const CM_INSTALL_STATE_INSTALLED: CM_INSTALL_STATE = CM_INSTALL_STATE(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_INSTALL_STATE_NEEDS_REINSTALL: u32 = 1u32; +pub const CM_INSTALL_STATE_NEEDS_REINSTALL: CM_INSTALL_STATE = CM_INSTALL_STATE(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_BITS: u32 = 7u32; +pub const CM_LOCATE_DEVNODE_BITS: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_CANCELREMOVE: u32 = 2u32; +pub const CM_LOCATE_DEVNODE_CANCELREMOVE: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_NORMAL: u32 = 0u32; +pub const CM_LOCATE_DEVNODE_NORMAL: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_NOVALIDATION: u32 = 4u32; +pub const CM_LOCATE_DEVNODE_NOVALIDATION: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVINST_PHANTOM: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_BITS: u32 = 7u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_CANCELREMOVE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_NORMAL: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_NOVALIDATION: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_LOCATE_DEVNODE_PHANTOM: u32 = 1u32; +pub const CM_LOCATE_DEVNODE_PHANTOM: CM_LOCATE_DEVNODE_FLAGS = CM_LOCATE_DEVNODE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_NAME_ATTRIBUTE_NAME_RETRIEVED_FROM_DEVICE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5430,119 +5420,119 @@ pub const CM_OPEN_CLASS_KEY_INSTALLER: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_OPEN_CLASS_KEY_INTERFACE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_BIOS_TABLE: u32 = 35u32; +pub const CM_PROB_BIOS_TABLE: CM_PROB = CM_PROB(35u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_BOOT_CONFIG_CONFLICT: u32 = 6u32; +pub const CM_PROB_BOOT_CONFIG_CONFLICT: CM_PROB = CM_PROB(6u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_CANT_SHARE_IRQ: u32 = 30u32; +pub const CM_PROB_CANT_SHARE_IRQ: CM_PROB = CM_PROB(30u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_CONSOLE_LOCKED: u32 = 55u32; +pub const CM_PROB_CONSOLE_LOCKED: CM_PROB = CM_PROB(55u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVICE_NOT_THERE: u32 = 24u32; +pub const CM_PROB_DEVICE_NOT_THERE: CM_PROB = CM_PROB(24u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVICE_RESET: u32 = 54u32; +pub const CM_PROB_DEVICE_RESET: CM_PROB = CM_PROB(54u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_FAILED: u32 = 2u32; +pub const CM_PROB_DEVLOADER_FAILED: CM_PROB = CM_PROB(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_NOT_FOUND: u32 = 8u32; +pub const CM_PROB_DEVLOADER_NOT_FOUND: CM_PROB = CM_PROB(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DEVLOADER_NOT_READY: u32 = 23u32; +pub const CM_PROB_DEVLOADER_NOT_READY: CM_PROB = CM_PROB(23u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DISABLED: u32 = 22u32; +pub const CM_PROB_DISABLED: CM_PROB = CM_PROB(22u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DISABLED_SERVICE: u32 = 32u32; +pub const CM_PROB_DISABLED_SERVICE: CM_PROB = CM_PROB(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_BLOCKED: u32 = 48u32; +pub const CM_PROB_DRIVER_BLOCKED: CM_PROB = CM_PROB(48u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_FAILED_LOAD: u32 = 39u32; +pub const CM_PROB_DRIVER_FAILED_LOAD: CM_PROB = CM_PROB(39u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD: u32 = 38u32; +pub const CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD: CM_PROB = CM_PROB(38u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DRIVER_SERVICE_KEY_INVALID: u32 = 40u32; +pub const CM_PROB_DRIVER_SERVICE_KEY_INVALID: CM_PROB = CM_PROB(40u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_DUPLICATE_DEVICE: u32 = 42u32; +pub const CM_PROB_DUPLICATE_DEVICE: CM_PROB = CM_PROB(42u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_ENTRY_IS_WRONG_TYPE: u32 = 4u32; +pub const CM_PROB_ENTRY_IS_WRONG_TYPE: CM_PROB = CM_PROB(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_ADD: u32 = 31u32; +pub const CM_PROB_FAILED_ADD: CM_PROB = CM_PROB(31u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_DRIVER_ENTRY: u32 = 37u32; +pub const CM_PROB_FAILED_DRIVER_ENTRY: CM_PROB = CM_PROB(37u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_FILTER: u32 = 7u32; +pub const CM_PROB_FAILED_FILTER: CM_PROB = CM_PROB(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_INSTALL: u32 = 28u32; +pub const CM_PROB_FAILED_INSTALL: CM_PROB = CM_PROB(28u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_POST_START: u32 = 43u32; +pub const CM_PROB_FAILED_POST_START: CM_PROB = CM_PROB(43u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_FAILED_START: u32 = 10u32; +pub const CM_PROB_FAILED_START: CM_PROB = CM_PROB(10u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_GUEST_ASSIGNMENT_FAILED: u32 = 57u32; +pub const CM_PROB_GUEST_ASSIGNMENT_FAILED: CM_PROB = CM_PROB(57u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HALTED: u32 = 44u32; +pub const CM_PROB_HALTED: CM_PROB = CM_PROB(44u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HARDWARE_DISABLED: u32 = 29u32; +pub const CM_PROB_HARDWARE_DISABLED: CM_PROB = CM_PROB(29u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_HELD_FOR_EJECT: u32 = 47u32; +pub const CM_PROB_HELD_FOR_EJECT: CM_PROB = CM_PROB(47u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_INVALID_DATA: u32 = 9u32; +pub const CM_PROB_INVALID_DATA: CM_PROB = CM_PROB(9u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_IRQ_TRANSLATION_FAILED: u32 = 36u32; +pub const CM_PROB_IRQ_TRANSLATION_FAILED: CM_PROB = CM_PROB(36u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LACKED_ARBITRATOR: u32 = 5u32; +pub const CM_PROB_LACKED_ARBITRATOR: CM_PROB = CM_PROB(5u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LEGACY_SERVICE_NO_DEVICES: u32 = 41u32; +pub const CM_PROB_LEGACY_SERVICE_NO_DEVICES: CM_PROB = CM_PROB(41u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_LIAR: u32 = 11u32; +pub const CM_PROB_LIAR: CM_PROB = CM_PROB(11u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_MOVED: u32 = 25u32; +pub const CM_PROB_MOVED: CM_PROB = CM_PROB(25u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NEED_CLASS_CONFIG: u32 = 56u32; +pub const CM_PROB_NEED_CLASS_CONFIG: CM_PROB = CM_PROB(56u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NEED_RESTART: u32 = 14u32; +pub const CM_PROB_NEED_RESTART: CM_PROB = CM_PROB(14u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NORMAL_CONFLICT: u32 = 12u32; +pub const CM_PROB_NORMAL_CONFLICT: CM_PROB = CM_PROB(12u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NOT_CONFIGURED: u32 = 1u32; +pub const CM_PROB_NOT_CONFIGURED: CM_PROB = CM_PROB(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NOT_VERIFIED: u32 = 13u32; +pub const CM_PROB_NOT_VERIFIED: CM_PROB = CM_PROB(13u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NO_SOFTCONFIG: u32 = 34u32; +pub const CM_PROB_NO_SOFTCONFIG: CM_PROB = CM_PROB(34u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_NO_VALID_LOG_CONF: u32 = 27u32; +pub const CM_PROB_NO_VALID_LOG_CONF: CM_PROB = CM_PROB(27u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_OUT_OF_MEMORY: u32 = 3u32; +pub const CM_PROB_OUT_OF_MEMORY: CM_PROB = CM_PROB(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_PARTIAL_LOG_CONF: u32 = 16u32; +pub const CM_PROB_PARTIAL_LOG_CONF: CM_PROB = CM_PROB(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_PHANTOM: u32 = 45u32; +pub const CM_PROB_PHANTOM: CM_PROB = CM_PROB(45u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REENUMERATION: u32 = 15u32; +pub const CM_PROB_REENUMERATION: CM_PROB = CM_PROB(15u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REGISTRY: u32 = 19u32; +pub const CM_PROB_REGISTRY: CM_PROB = CM_PROB(19u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REGISTRY_TOO_LARGE: u32 = 49u32; +pub const CM_PROB_REGISTRY_TOO_LARGE: CM_PROB = CM_PROB(49u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_REINSTALL: u32 = 18u32; +pub const CM_PROB_REINSTALL: CM_PROB = CM_PROB(18u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_SETPROPERTIES_FAILED: u32 = 50u32; +pub const CM_PROB_SETPROPERTIES_FAILED: CM_PROB = CM_PROB(50u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_SYSTEM_SHUTDOWN: u32 = 46u32; +pub const CM_PROB_SYSTEM_SHUTDOWN: CM_PROB = CM_PROB(46u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_TOO_EARLY: u32 = 26u32; +pub const CM_PROB_TOO_EARLY: CM_PROB = CM_PROB(26u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_TRANSLATION_FAILED: u32 = 33u32; +pub const CM_PROB_TRANSLATION_FAILED: CM_PROB = CM_PROB(33u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_UNKNOWN_RESOURCE: u32 = 17u32; +pub const CM_PROB_UNKNOWN_RESOURCE: CM_PROB = CM_PROB(17u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_UNSIGNED_DRIVER: u32 = 52u32; +pub const CM_PROB_UNSIGNED_DRIVER: CM_PROB = CM_PROB(52u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_USED_BY_DEBUGGER: u32 = 53u32; +pub const CM_PROB_USED_BY_DEBUGGER: CM_PROB = CM_PROB(53u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_VXDLDR: u32 = 20u32; +pub const CM_PROB_VXDLDR: CM_PROB = CM_PROB(20u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_WAITING_ON_DEPENDENCY: u32 = 51u32; +pub const CM_PROB_WAITING_ON_DEPENDENCY: CM_PROB = CM_PROB(51u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_PROB_WILL_BE_REMOVED: u32 = 21u32; +pub const CM_PROB_WILL_BE_REMOVED: CM_PROB = CM_PROB(21u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_QUERY_ARBITRATOR_BITS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5554,15 +5544,15 @@ pub const CM_QUERY_REMOVE_UI_NOT_OK: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_QUERY_REMOVE_UI_OK: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_ASYNCHRONOUS: u32 = 4u32; +pub const CM_REENUMERATE_ASYNCHRONOUS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_BITS: u32 = 7u32; +pub const CM_REENUMERATE_BITS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_NORMAL: u32 = 0u32; +pub const CM_REENUMERATE_NORMAL: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_RETRY_INSTALLATION: u32 = 2u32; +pub const CM_REENUMERATE_RETRY_INSTALLATION: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REENUMERATE_SYNCHRONOUS: u32 = 1u32; +pub const CM_REENUMERATE_SYNCHRONOUS: CM_REENUMERATE_FLAGS = CM_REENUMERATE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REGISTER_DEVICE_DRIVER_BITS: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5582,11 +5572,11 @@ pub const CM_REGISTRY_SOFTWARE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REGISTRY_USER: u32 = 256u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_NO_REMOVAL: u32 = 1u32; +pub const CM_REMOVAL_POLICY_EXPECT_NO_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_ORDERLY_REMOVAL: u32 = 2u32; +pub const CM_REMOVAL_POLICY_EXPECT_ORDERLY_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const CM_REMOVAL_POLICY_EXPECT_SURPRISE_REMOVAL: u32 = 3u32; +pub const CM_REMOVAL_POLICY_EXPECT_SURPRISE_REMOVAL: CM_REMOVAL_POLICY = CM_REMOVAL_POLICY(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const CM_REMOVE_BITS: u32 = 7u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -5950,29 +5940,33 @@ pub const DIGCF_PRESENT: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIGCF_PROFILE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_BITS: u32 = 15u32; +pub const DIIDFLAG_BITS: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(15u32); +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIIDFLAG_INSTALLCOPYINFDRIVERS: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_INSTALLCOPYINFDRIVERS: u32 = 8u32; +pub const DIIDFLAG_INSTALLNULLDRIVER: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_INSTALLNULLDRIVER: u32 = 4u32; +pub const DIIDFLAG_NOFINISHINSTALLUI: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_NOFINISHINSTALLUI: u32 = 2u32; +pub const DIIDFLAG_SHOWSEARCHUI: DIINSTALLDEVICE_FLAGS = DIINSTALLDEVICE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIDFLAG_SHOWSEARCHUI: u32 = 1u32; +pub const DIIRFLAG_BITS: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(106u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_FORCE_INF: u32 = 2u32; +pub const DIIRFLAG_FORCE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_HOTPATCH: u32 = 8u32; +pub const DIIRFLAG_HOTPATCH: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_HW_USING_THE_INF: u32 = 4u32; +pub const DIIRFLAG_HW_USING_THE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_INF_ALREADY_COPIED: u32 = 1u32; +pub const DIIRFLAG_INF_ALREADY_COPIED: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_INSTALL_AS_SET: u32 = 64u32; +pub const DIIRFLAG_INSTALL_AS_SET: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_NOBACKUP: u32 = 16u32; +pub const DIIRFLAG_NOBACKUP: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIIRFLAG_PRE_CONFIGURE_INF: u32 = 32u32; +pub const DIIRFLAG_PRE_CONFIGURE_INF: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(32u32); +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIIRFLAG_SYSTEM_BITS: DIINSTALLDRIVER_FLAGS = DIINSTALLDRIVER_FLAGS(127u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIOCR_INSTALLER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -6066,9 +6060,11 @@ pub const DIRID_VIEWERS: u32 = 21u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DIRID_WINDOWS: u32 = 10u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIURFLAG_NO_REMOVE_INF: u32 = 1u32; +pub const DIURFLAG_NO_REMOVE_INF: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(1u32); +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DIURFLAG_RESERVED: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DIURFLAG_RESERVED: u32 = 2u32; +pub const DIURFLAG_VALID: DIUNINSTALLDRIVER_FLAGS = DIUNINSTALLDRIVER_FLAGS(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DI_AUTOASSIGNRES: i32 = 64i32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -6274,83 +6270,85 @@ pub const DNF_UNUSED_30: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DNF_UNUSED_31: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_APM_DRIVER: u32 = 268435456u32; +pub const DN_APM_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(268435456u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_APM_ENUMERATOR: u32 = 134217728u32; +pub const DN_APM_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(134217728u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ARM_WAKEUP: u32 = 67108864u32; +pub const DN_ARM_WAKEUP: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(67108864u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_BAD_PARTIAL: u32 = 4194304u32; +pub const DN_BAD_PARTIAL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4194304u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_BOOT_LOG_PROB: u32 = 2147483648u32; +pub const DN_BOOT_LOG_PROB: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2147483648u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_CHILD_WITH_INVALID_ID: u32 = 512u32; +pub const DN_CHANGEABLE_FLAGS: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1639670464u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DEVICE_DISCONNECTED: u32 = 33554432u32; +pub const DN_CHILD_WITH_INVALID_ID: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(512u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DISABLEABLE: u32 = 8192u32; +pub const DN_DEVICE_DISCONNECTED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(33554432u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DRIVER_BLOCKED: u32 = 64u32; +pub const DN_DISABLEABLE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8192u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_DRIVER_LOADED: u32 = 2u32; +pub const DN_DRIVER_BLOCKED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ENUM_LOADED: u32 = 4u32; +pub const DN_DRIVER_LOADED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_FILTERED: u32 = 2048u32; +pub const DN_ENUM_LOADED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HARDWARE_ENUM: u32 = 128u32; +pub const DN_FILTERED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2048u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HAS_MARK: u32 = 512u32; +pub const DN_HARDWARE_ENUM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(128u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_HAS_PROBLEM: u32 = 1024u32; +pub const DN_HAS_MARK: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(512u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_LEGACY_DRIVER: u32 = 4096u32; +pub const DN_HAS_PROBLEM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1024u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_LIAR: u32 = 256u32; +pub const DN_LEGACY_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4096u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MANUAL: u32 = 16u32; +pub const DN_LIAR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(256u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MF_CHILD: u32 = 131072u32; +pub const DN_MANUAL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MF_PARENT: u32 = 65536u32; +pub const DN_MF_CHILD: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_MOVED: u32 = 4096u32; +pub const DN_MF_PARENT: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEEDS_LOCKING: u32 = 33554432u32; +pub const DN_MOVED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(4096u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEED_RESTART: u32 = 256u32; +pub const DN_NEEDS_LOCKING: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(33554432u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NEED_TO_ENUM: u32 = 32u32; +pub const DN_NEED_RESTART: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(256u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NOT_FIRST_TIME: u32 = 64u32; +pub const DN_NEED_TO_ENUM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NOT_FIRST_TIMEE: u32 = 524288u32; +pub const DN_NOT_FIRST_TIME: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NO_SHOW_IN_DM: u32 = 1073741824u32; +pub const DN_NOT_FIRST_TIMEE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(524288u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NT_DRIVER: u32 = 16777216u32; +pub const DN_NO_SHOW_IN_DM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1073741824u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_NT_ENUMERATOR: u32 = 8388608u32; +pub const DN_NT_DRIVER: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16777216u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_PRIVATE_PROBLEM: u32 = 32768u32; +pub const DN_NT_ENUMERATOR: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8388608u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_QUERY_REMOVE_ACTIVE: u32 = 131072u32; +pub const DN_PRIVATE_PROBLEM: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(32768u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_QUERY_REMOVE_PENDING: u32 = 65536u32; +pub const DN_QUERY_REMOVE_ACTIVE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_REBAL_CANDIDATE: u32 = 2097152u32; +pub const DN_QUERY_REMOVE_PENDING: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_REMOVABLE: u32 = 16384u32; +pub const DN_REBAL_CANDIDATE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(2097152u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_ROOT_ENUMERATED: u32 = 1u32; +pub const DN_REMOVABLE: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(16384u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_SILENT_INSTALL: u32 = 536870912u32; +pub const DN_ROOT_ENUMERATED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_STARTED: u32 = 8u32; +pub const DN_SILENT_INSTALL: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(536870912u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_STOP_FREE_RES: u32 = 1048576u32; +pub const DN_STARTED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const DN_WILL_BE_REMOVED: u32 = 262144u32; +pub const DN_STOP_FREE_RES: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(1048576u32); +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +pub const DN_WILL_BE_REMOVED: CM_DEVNODE_STATUS_FLAGS = CM_DEVNODE_STATUS_FLAGS(262144u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const DPROMPT_BUFFERTOOSMALL: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -6422,7 +6420,7 @@ pub const FILE_COMPRESSION_NTCAB: u32 = 3u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FILE_COMPRESSION_WINLZA: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const FILTERED_LOG_CONF: u32 = 1u32; +pub const FILTERED_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FLG_ADDPROPERTY_AND: u32 = 16u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -6502,7 +6500,7 @@ pub const FLG_REGSVR_DLLINSTALL: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const FLG_REGSVR_DLLREGISTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const FORCED_LOG_CONF: u32 = 4u32; +pub const FORCED_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const GUID_ACPI_CMOS_INTERFACE_STANDARD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a8d0384_6505_40ca_bc39_56c15f8c5fed); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7324,25 +7322,25 @@ pub const INFSTR_SUBKEY_SOFTWARE: ::windows_core::PCWSTR = ::windows_core::w!("S #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const INFSTR_SUBKEY_WMI: ::windows_core::PCWSTR = ::windows_core::w!("WMI"); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_DISABLE: u32 = 32u32; +pub const INF_STYLE_CACHE_DISABLE: INF_STYLE = INF_STYLE(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_ENABLE: u32 = 16u32; +pub const INF_STYLE_CACHE_ENABLE: INF_STYLE = INF_STYLE(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_CACHE_IGNORE: u32 = 64u32; +pub const INF_STYLE_CACHE_IGNORE: INF_STYLE = INF_STYLE(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_NONE: SP_INF_STYLE = SP_INF_STYLE(0u32); +pub const INF_STYLE_NONE: INF_STYLE = INF_STYLE(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_OLDNT: SP_INF_STYLE = SP_INF_STYLE(1u32); +pub const INF_STYLE_OLDNT: INF_STYLE = INF_STYLE(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INF_STYLE_WIN4: SP_INF_STYLE = SP_INF_STYLE(2u32); +pub const INF_STYLE_WIN4: INF_STYLE = INF_STYLE(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_BITS: u32 = 7u32; +pub const INSTALLFLAG_BITS: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_FORCE: u32 = 1u32; +pub const INSTALLFLAG_FORCE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_NONINTERACTIVE: u32 = 4u32; +pub const INSTALLFLAG_NONINTERACTIVE: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const INSTALLFLAG_READONLY: u32 = 2u32; +pub const INSTALLFLAG_READONLY: UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS = UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const IOA_Local: u32 = 255u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7500,9 +7498,9 @@ pub const NUM_CM_PROB_V9: u32 = 58u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const NUM_CR_RESULTS: CONFIGRET = CONFIGRET(60u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const NUM_LOG_CONF: u32 = 6u32; +pub const NUM_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(6u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const OVERRIDE_LOG_CONF: u32 = 5u32; +pub const OVERRIDE_LOG_CONF: CM_LOG_CONF = CM_LOG_CONF(5u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const PCD_MAX_IO: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7542,9 +7540,9 @@ pub const PRIORITY_EQUAL_FIRST: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const PRIORITY_EQUAL_LAST: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ROLLBACK_BITS: u32 = 1u32; +pub const ROLLBACK_BITS: DIROLLBACKDRIVER_FLAGS = DIROLLBACKDRIVER_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ROLLBACK_FLAG_NO_UI: u32 = 1u32; +pub const ROLLBACK_FLAG_NO_UI: DIROLLBACKDRIVER_FLAGS = DIROLLBACKDRIVER_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const RegDisposition_Bits: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7552,39 +7550,39 @@ pub const RegDisposition_OpenAlways: u32 = 0u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const RegDisposition_OpenExisting: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_All: u32 = 0u32; +pub const ResType_All: CM_RESTYPE = CM_RESTYPE(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_BusNumber: u32 = 6u32; +pub const ResType_BusNumber: CM_RESTYPE = CM_RESTYPE(6u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_ClassSpecific: u32 = 65535u32; +pub const ResType_ClassSpecific: CM_RESTYPE = CM_RESTYPE(65535u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Connection: u32 = 32772u32; +pub const ResType_Connection: CM_RESTYPE = CM_RESTYPE(32772u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DMA: u32 = 3u32; +pub const ResType_DMA: CM_RESTYPE = CM_RESTYPE(3u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DevicePrivate: u32 = 32769u32; +pub const ResType_DevicePrivate: CM_RESTYPE = CM_RESTYPE(32769u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_DoNotUse: u32 = 5u32; +pub const ResType_DoNotUse: CM_RESTYPE = CM_RESTYPE(5u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_IO: u32 = 2u32; +pub const ResType_IO: CM_RESTYPE = CM_RESTYPE(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_IRQ: u32 = 4u32; +pub const ResType_IRQ: CM_RESTYPE = CM_RESTYPE(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Ignored_Bit: u32 = 32768u32; +pub const ResType_Ignored_Bit: CM_RESTYPE = CM_RESTYPE(32768u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MAX: u32 = 7u32; +pub const ResType_MAX: CM_RESTYPE = CM_RESTYPE(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Mem: u32 = 1u32; +pub const ResType_Mem: CM_RESTYPE = CM_RESTYPE(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MemLarge: u32 = 7u32; +pub const ResType_MemLarge: CM_RESTYPE = CM_RESTYPE(7u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_MfCardConfig: u32 = 32771u32; +pub const ResType_MfCardConfig: CM_RESTYPE = CM_RESTYPE(32771u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_None: u32 = 0u32; +pub const ResType_None: CM_RESTYPE = CM_RESTYPE(0u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_PcCardConfig: u32 = 32770u32; +pub const ResType_PcCardConfig: CM_RESTYPE = CM_RESTYPE(32770u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const ResType_Reserved: u32 = 32768u32; +pub const ResType_Reserved: CM_RESTYPE = CM_RESTYPE(32768u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SCWMI_CLOBBER_SECURITY: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7860,27 +7858,27 @@ pub const SPQ_FLAG_FILES_MODIFIED: u32 = 4u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPQ_FLAG_VALID: u32 = 15u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_ACTIVATE_DRP: u32 = 1024u32; +pub const SPQ_SCAN_ACTIVATE_DRP: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(1024u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_COMPARISON: u32 = 512u32; +pub const SPQ_SCAN_FILE_COMPARISON: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(512u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_PRESENCE: u32 = 1u32; +pub const SPQ_SCAN_FILE_PRESENCE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE: u32 = 256u32; +pub const SPQ_SCAN_FILE_PRESENCE_WITHOUT_SOURCE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(256u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_FILE_VALIDITY: u32 = 2u32; +pub const SPQ_SCAN_FILE_VALIDITY: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_INFORM_USER: u32 = 16u32; +pub const SPQ_SCAN_INFORM_USER: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_PRUNE_COPY_QUEUE: u32 = 32u32; +pub const SPQ_SCAN_PRUNE_COPY_QUEUE: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_PRUNE_DELREN: u32 = 128u32; +pub const SPQ_SCAN_PRUNE_DELREN: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(128u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACK: u32 = 4u32; +pub const SPQ_SCAN_USE_CALLBACK: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACKEX: u32 = 8u32; +pub const SPQ_SCAN_USE_CALLBACKEX: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPQ_SCAN_USE_CALLBACK_SIGNERINFO: u32 = 64u32; +pub const SPQ_SCAN_USE_CALLBACK_SIGNERINFO: SETUPSCANFILEQUEUE_FLAGS = SETUPSCANFILEQUEUE_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPRDI_FIND_DUPS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -7898,41 +7896,41 @@ pub const SPREG_TIMEOUT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPREG_UNKNOWN: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_ASSOCSERVICE: u32 = 2u32; +pub const SPSVCINST_ASSOCSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_CLOBBER_SECURITY: u32 = 1024u32; +pub const SPSVCINST_CLOBBER_SECURITY: SPSVCINST_FLAGS = SPSVCINST_FLAGS(1024u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_DELETEEVENTLOGENTRY: u32 = 4u32; +pub const SPSVCINST_DELETEEVENTLOGENTRY: SPSVCINST_FLAGS = SPSVCINST_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DELAYEDAUTOSTART: u32 = 32768u32; +pub const SPSVCINST_NOCLOBBER_DELAYEDAUTOSTART: SPSVCINST_FLAGS = SPSVCINST_FLAGS(32768u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DEPENDENCIES: u32 = 128u32; +pub const SPSVCINST_NOCLOBBER_DEPENDENCIES: SPSVCINST_FLAGS = SPSVCINST_FLAGS(128u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DESCRIPTION: u32 = 256u32; +pub const SPSVCINST_NOCLOBBER_DESCRIPTION: SPSVCINST_FLAGS = SPSVCINST_FLAGS(256u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_DISPLAYNAME: u32 = 8u32; +pub const SPSVCINST_NOCLOBBER_DISPLAYNAME: SPSVCINST_FLAGS = SPSVCINST_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_ERRORCONTROL: u32 = 32u32; +pub const SPSVCINST_NOCLOBBER_ERRORCONTROL: SPSVCINST_FLAGS = SPSVCINST_FLAGS(32u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_FAILUREACTIONS: u32 = 131072u32; +pub const SPSVCINST_NOCLOBBER_FAILUREACTIONS: SPSVCINST_FLAGS = SPSVCINST_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_LOADORDERGROUP: u32 = 64u32; +pub const SPSVCINST_NOCLOBBER_LOADORDERGROUP: SPSVCINST_FLAGS = SPSVCINST_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_REQUIREDPRIVILEGES: u32 = 4096u32; +pub const SPSVCINST_NOCLOBBER_REQUIREDPRIVILEGES: SPSVCINST_FLAGS = SPSVCINST_FLAGS(4096u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_SERVICESIDTYPE: u32 = 16384u32; +pub const SPSVCINST_NOCLOBBER_SERVICESIDTYPE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(16384u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_STARTTYPE: u32 = 16u32; +pub const SPSVCINST_NOCLOBBER_STARTTYPE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(16u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_NOCLOBBER_TRIGGERS: u32 = 8192u32; +pub const SPSVCINST_NOCLOBBER_TRIGGERS: SPSVCINST_FLAGS = SPSVCINST_FLAGS(8192u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_STARTSERVICE: u32 = 2048u32; +pub const SPSVCINST_STARTSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(2048u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_STOPSERVICE: u32 = 512u32; +pub const SPSVCINST_STOPSERVICE: SPSVCINST_FLAGS = SPSVCINST_FLAGS(512u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_TAGTOFRONT: u32 = 1u32; +pub const SPSVCINST_TAGTOFRONT: SPSVCINST_FLAGS = SPSVCINST_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] -pub const SPSVCINST_UNIQUE_NAME: u32 = 65536u32; +pub const SPSVCINST_UNIQUE_NAME: SPSVCINST_FLAGS = SPSVCINST_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub const SPWPT_SELECTDEVICE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] @@ -8354,264 +8352,1186 @@ pub const mPMF_AUDIO_ENABLE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct CM_NOTIFY_ACTION(pub i32); -impl ::core::marker::Copy for CM_NOTIFY_ACTION {} -impl ::core::clone::Clone for CM_NOTIFY_ACTION { +pub struct CM_CDFLAGS(pub u32); +impl ::core::marker::Copy for CM_CDFLAGS {} +impl ::core::clone::Clone for CM_CDFLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for CM_NOTIFY_ACTION { +impl ::core::default::Default for CM_CDFLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for CM_NOTIFY_ACTION { +impl ::windows_core::TypeKind for CM_CDFLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for CM_NOTIFY_ACTION { +impl ::core::fmt::Debug for CM_CDFLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CM_NOTIFY_ACTION").field(&self.0).finish() + f.debug_tuple("CM_CDFLAGS").field(&self.0).finish() + } +} +impl CM_CDFLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_CDFLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_CDFLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_CDFLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_CDFLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_CDFLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct CM_NOTIFY_FILTER_TYPE(pub i32); -impl ::core::marker::Copy for CM_NOTIFY_FILTER_TYPE {} -impl ::core::clone::Clone for CM_NOTIFY_FILTER_TYPE { +pub struct CM_CDMASK(pub u32); +impl ::core::marker::Copy for CM_CDMASK {} +impl ::core::clone::Clone for CM_CDMASK { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for CM_NOTIFY_FILTER_TYPE { +impl ::core::default::Default for CM_CDMASK { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_TYPE { +impl ::windows_core::TypeKind for CM_CDMASK { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for CM_NOTIFY_FILTER_TYPE { +impl ::core::fmt::Debug for CM_CDMASK { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CM_NOTIFY_FILTER_TYPE").field(&self.0).finish() + f.debug_tuple("CM_CDMASK").field(&self.0).finish() + } +} +impl CM_CDMASK { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_CDMASK { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_CDMASK { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_CDMASK { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_CDMASK { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_CDMASK { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct CONFIGRET(pub u32); -impl ::core::marker::Copy for CONFIGRET {} -impl ::core::clone::Clone for CONFIGRET { +pub struct CM_DEVCAP(pub u32); +impl ::core::marker::Copy for CM_DEVCAP {} +impl ::core::clone::Clone for CM_DEVCAP { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for CONFIGRET { +impl ::core::default::Default for CM_DEVCAP { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for CONFIGRET { +impl ::windows_core::TypeKind for CM_DEVCAP { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for CONFIGRET { +impl ::core::fmt::Debug for CM_DEVCAP { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("CONFIGRET").field(&self.0).finish() + f.debug_tuple("CM_DEVCAP").field(&self.0).finish() + } +} +impl CM_DEVCAP { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_DEVCAP { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_DEVCAP { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_DEVCAP { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_DEVCAP { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_DEVCAP { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[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 { +pub struct CM_DEVNODE_STATUS_FLAGS(pub u32); +impl ::core::marker::Copy for CM_DEVNODE_STATUS_FLAGS {} +impl ::core::clone::Clone for CM_DEVNODE_STATUS_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for OEM_SOURCE_MEDIA_TYPE { +impl ::core::default::Default for CM_DEVNODE_STATUS_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for OEM_SOURCE_MEDIA_TYPE { +impl ::windows_core::TypeKind for CM_DEVNODE_STATUS_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for OEM_SOURCE_MEDIA_TYPE { +impl ::core::fmt::Debug for CM_DEVNODE_STATUS_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("OEM_SOURCE_MEDIA_TYPE").field(&self.0).finish() + f.debug_tuple("CM_DEVNODE_STATUS_FLAGS").field(&self.0).finish() + } +} +impl CM_DEVNODE_STATUS_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_DEVNODE_STATUS_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_DEVNODE_STATUS_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_DEVNODE_STATUS_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_DEVNODE_STATUS_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_DEVNODE_STATUS_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[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 { +pub struct CM_ENUMERATE_FLAGS(pub u32); +impl ::core::marker::Copy for CM_ENUMERATE_FLAGS {} +impl ::core::clone::Clone for CM_ENUMERATE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for PNP_VETO_TYPE { +impl ::core::default::Default for CM_ENUMERATE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for PNP_VETO_TYPE { +impl ::windows_core::TypeKind for CM_ENUMERATE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for PNP_VETO_TYPE { +impl ::core::fmt::Debug for CM_ENUMERATE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("PNP_VETO_TYPE").field(&self.0).finish() + f.debug_tuple("CM_ENUMERATE_FLAGS").field(&self.0).finish() + } +} +impl CM_ENUMERATE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_ENUMERATE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_ENUMERATE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_ENUMERATE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_ENUMERATE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_ENUMERATE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SETUP_DI_BUILD_DRIVER_DRIVER_TYPE(pub u32); -impl ::core::marker::Copy for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE {} -impl ::core::clone::Clone for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { +pub struct CM_GET_DEVICE_INTERFACE_LIST_FLAGS(pub u32); +impl ::core::marker::Copy for CM_GET_DEVICE_INTERFACE_LIST_FLAGS {} +impl ::core::clone::Clone for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { +impl ::core::default::Default for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { +impl ::windows_core::TypeKind for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { +impl ::core::fmt::Debug for CM_GET_DEVICE_INTERFACE_LIST_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SETUP_DI_BUILD_DRIVER_DRIVER_TYPE").field(&self.0).finish() + f.debug_tuple("CM_GET_DEVICE_INTERFACE_LIST_FLAGS").field(&self.0).finish() } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SETUP_FILE_OPERATION(pub u32); -impl ::core::marker::Copy for SETUP_FILE_OPERATION {} -impl ::core::clone::Clone for SETUP_FILE_OPERATION { +pub struct CM_INSTALL_STATE(pub u32); +impl ::core::marker::Copy for CM_INSTALL_STATE {} +impl ::core::clone::Clone for CM_INSTALL_STATE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SETUP_FILE_OPERATION { +impl ::core::default::Default for CM_INSTALL_STATE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SETUP_FILE_OPERATION { +impl ::windows_core::TypeKind for CM_INSTALL_STATE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SETUP_FILE_OPERATION { +impl ::core::fmt::Debug for CM_INSTALL_STATE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SETUP_FILE_OPERATION").field(&self.0).finish() + f.debug_tuple("CM_INSTALL_STATE").field(&self.0).finish() } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SP_COPY_STYLE(pub u32); -impl ::core::marker::Copy for SP_COPY_STYLE {} -impl ::core::clone::Clone for SP_COPY_STYLE { +pub struct CM_LOCATE_DEVNODE_FLAGS(pub u32); +impl ::core::marker::Copy for CM_LOCATE_DEVNODE_FLAGS {} +impl ::core::clone::Clone for CM_LOCATE_DEVNODE_FLAGS { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SP_COPY_STYLE { +impl ::core::default::Default for CM_LOCATE_DEVNODE_FLAGS { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SP_COPY_STYLE { +impl ::windows_core::TypeKind for CM_LOCATE_DEVNODE_FLAGS { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SP_COPY_STYLE { +impl ::core::fmt::Debug for CM_LOCATE_DEVNODE_FLAGS { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SP_COPY_STYLE").field(&self.0).finish() - } -} -impl SP_COPY_STYLE { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for SP_COPY_STYLE { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) + f.debug_tuple("CM_LOCATE_DEVNODE_FLAGS").field(&self.0).finish() } } -impl ::core::ops::BitAnd for SP_COPY_STYLE { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CM_LOG_CONF(pub u32); +impl ::core::marker::Copy for CM_LOG_CONF {} +impl ::core::clone::Clone for CM_LOG_CONF { + fn clone(&self) -> Self { + *self } } -impl ::core::ops::BitOrAssign for SP_COPY_STYLE { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) +impl ::core::default::Default for CM_LOG_CONF { + fn default() -> Self { + Self(0) } } -impl ::core::ops::BitAndAssign for SP_COPY_STYLE { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } +impl ::windows_core::TypeKind for CM_LOG_CONF { + type TypeKind = ::windows_core::CopyType; } -impl ::core::ops::Not for SP_COPY_STYLE { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) +impl ::core::fmt::Debug for CM_LOG_CONF { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CM_LOG_CONF").field(&self.0).finish() } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SP_INF_STYLE(pub u32); -impl ::core::marker::Copy for SP_INF_STYLE {} -impl ::core::clone::Clone for SP_INF_STYLE { +pub struct CM_NOTIFY_ACTION(pub i32); +impl ::core::marker::Copy for CM_NOTIFY_ACTION {} +impl ::core::clone::Clone for CM_NOTIFY_ACTION { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SP_INF_STYLE { +impl ::core::default::Default for CM_NOTIFY_ACTION { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SP_INF_STYLE { +impl ::windows_core::TypeKind for CM_NOTIFY_ACTION { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SP_INF_STYLE { +impl ::core::fmt::Debug for CM_NOTIFY_ACTION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SP_INF_STYLE").field(&self.0).finish() + f.debug_tuple("CM_NOTIFY_ACTION").field(&self.0).finish() } } #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct SetupFileLogInfo(pub i32); -impl ::core::marker::Copy for SetupFileLogInfo {} -impl ::core::clone::Clone for SetupFileLogInfo { +pub struct CM_NOTIFY_FILTER_TYPE(pub i32); +impl ::core::marker::Copy for CM_NOTIFY_FILTER_TYPE {} +impl ::core::clone::Clone for CM_NOTIFY_FILTER_TYPE { fn clone(&self) -> Self { *self } } -impl ::core::default::Default for SetupFileLogInfo { +impl ::core::default::Default for CM_NOTIFY_FILTER_TYPE { fn default() -> Self { Self(0) } } -impl ::windows_core::TypeKind for SetupFileLogInfo { +impl ::windows_core::TypeKind for CM_NOTIFY_FILTER_TYPE { type TypeKind = ::windows_core::CopyType; } -impl ::core::fmt::Debug for SetupFileLogInfo { +impl ::core::fmt::Debug for CM_NOTIFY_FILTER_TYPE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("SetupFileLogInfo").field(&self.0).finish() + f.debug_tuple("CM_NOTIFY_FILTER_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CM_PROB(pub u32); +impl ::core::marker::Copy for CM_PROB {} +impl ::core::clone::Clone for CM_PROB { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CM_PROB { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CM_PROB { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CM_PROB { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CM_PROB").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CM_REENUMERATE_FLAGS(pub u32); +impl ::core::marker::Copy for CM_REENUMERATE_FLAGS {} +impl ::core::clone::Clone for CM_REENUMERATE_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CM_REENUMERATE_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CM_REENUMERATE_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CM_REENUMERATE_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CM_REENUMERATE_FLAGS").field(&self.0).finish() + } +} +impl CM_REENUMERATE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CM_REENUMERATE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CM_REENUMERATE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CM_REENUMERATE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CM_REENUMERATE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CM_REENUMERATE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CM_REMOVAL_POLICY(pub u32); +impl ::core::marker::Copy for CM_REMOVAL_POLICY {} +impl ::core::clone::Clone for CM_REMOVAL_POLICY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CM_REMOVAL_POLICY { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CM_REMOVAL_POLICY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CM_REMOVAL_POLICY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CM_REMOVAL_POLICY").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CM_RESTYPE(pub u32); +impl ::core::marker::Copy for CM_RESTYPE {} +impl ::core::clone::Clone for CM_RESTYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CM_RESTYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CM_RESTYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CM_RESTYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CM_RESTYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CONFIGRET(pub u32); +impl ::core::marker::Copy for CONFIGRET {} +impl ::core::clone::Clone for CONFIGRET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CONFIGRET { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CONFIGRET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CONFIGRET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CONFIGRET").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[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 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DIINSTALLDEVICE_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DIINSTALLDEVICE_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DIINSTALLDEVICE_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DIINSTALLDEVICE_FLAGS").field(&self.0).finish() + } +} +impl DIINSTALLDEVICE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for DIINSTALLDEVICE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for DIINSTALLDEVICE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for DIINSTALLDEVICE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for DIINSTALLDEVICE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for DIINSTALLDEVICE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DIINSTALLDRIVER_FLAGS(pub u32); +impl ::core::marker::Copy for DIINSTALLDRIVER_FLAGS {} +impl ::core::clone::Clone for DIINSTALLDRIVER_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DIINSTALLDRIVER_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DIINSTALLDRIVER_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DIINSTALLDRIVER_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DIINSTALLDRIVER_FLAGS").field(&self.0).finish() + } +} +impl DIINSTALLDRIVER_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for DIINSTALLDRIVER_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for DIINSTALLDRIVER_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for DIINSTALLDRIVER_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for DIINSTALLDRIVER_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for DIINSTALLDRIVER_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DIROLLBACKDRIVER_FLAGS(pub u32); +impl ::core::marker::Copy for DIROLLBACKDRIVER_FLAGS {} +impl ::core::clone::Clone for DIROLLBACKDRIVER_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DIROLLBACKDRIVER_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DIROLLBACKDRIVER_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DIROLLBACKDRIVER_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DIROLLBACKDRIVER_FLAGS").field(&self.0).finish() + } +} +impl DIROLLBACKDRIVER_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for DIROLLBACKDRIVER_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for DIROLLBACKDRIVER_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for DIROLLBACKDRIVER_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for DIROLLBACKDRIVER_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for DIROLLBACKDRIVER_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DIUNINSTALLDRIVER_FLAGS(pub u32); +impl ::core::marker::Copy for DIUNINSTALLDRIVER_FLAGS {} +impl ::core::clone::Clone for DIUNINSTALLDRIVER_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DIUNINSTALLDRIVER_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DIUNINSTALLDRIVER_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DIUNINSTALLDRIVER_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DIUNINSTALLDRIVER_FLAGS").field(&self.0).finish() + } +} +impl DIUNINSTALLDRIVER_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for DIUNINSTALLDRIVER_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for DIUNINSTALLDRIVER_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for DIUNINSTALLDRIVER_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for DIUNINSTALLDRIVER_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for DIUNINSTALLDRIVER_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct INF_STYLE(pub u32); +impl ::core::marker::Copy for INF_STYLE {} +impl ::core::clone::Clone for INF_STYLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for INF_STYLE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for INF_STYLE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for INF_STYLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("INF_STYLE").field(&self.0).finish() + } +} +impl INF_STYLE { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for INF_STYLE { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for INF_STYLE { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for INF_STYLE { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for INF_STYLE { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for INF_STYLE { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[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 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for OEM_SOURCE_MEDIA_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for OEM_SOURCE_MEDIA_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for OEM_SOURCE_MEDIA_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("OEM_SOURCE_MEDIA_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[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 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PNP_VETO_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PNP_VETO_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PNP_VETO_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PNP_VETO_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SETUPSCANFILEQUEUE_FLAGS(pub u32); +impl ::core::marker::Copy for SETUPSCANFILEQUEUE_FLAGS {} +impl ::core::clone::Clone for SETUPSCANFILEQUEUE_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SETUPSCANFILEQUEUE_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SETUPSCANFILEQUEUE_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SETUPSCANFILEQUEUE_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SETUPSCANFILEQUEUE_FLAGS").field(&self.0).finish() + } +} +impl SETUPSCANFILEQUEUE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for SETUPSCANFILEQUEUE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for SETUPSCANFILEQUEUE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for SETUPSCANFILEQUEUE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for SETUPSCANFILEQUEUE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for SETUPSCANFILEQUEUE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SETUP_DI_BUILD_DRIVER_DRIVER_TYPE(pub u32); +impl ::core::marker::Copy for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE {} +impl ::core::clone::Clone for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SETUP_DI_BUILD_DRIVER_DRIVER_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SETUP_DI_BUILD_DRIVER_DRIVER_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SETUP_FILE_OPERATION(pub u32); +impl ::core::marker::Copy for SETUP_FILE_OPERATION {} +impl ::core::clone::Clone for SETUP_FILE_OPERATION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SETUP_FILE_OPERATION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SETUP_FILE_OPERATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SETUP_FILE_OPERATION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SETUP_FILE_OPERATION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SPSVCINST_FLAGS(pub u32); +impl ::core::marker::Copy for SPSVCINST_FLAGS {} +impl ::core::clone::Clone for SPSVCINST_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SPSVCINST_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SPSVCINST_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SPSVCINST_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SPSVCINST_FLAGS").field(&self.0).finish() + } +} +impl SPSVCINST_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for SPSVCINST_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for SPSVCINST_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for SPSVCINST_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for SPSVCINST_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for SPSVCINST_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SP_COPY_STYLE(pub u32); +impl ::core::marker::Copy for SP_COPY_STYLE {} +impl ::core::clone::Clone for SP_COPY_STYLE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SP_COPY_STYLE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SP_COPY_STYLE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SP_COPY_STYLE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SP_COPY_STYLE").field(&self.0).finish() + } +} +impl SP_COPY_STYLE { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for SP_COPY_STYLE { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for SP_COPY_STYLE { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for SP_COPY_STYLE { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for SP_COPY_STYLE { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for SP_COPY_STYLE { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SetupFileLogInfo(pub i32); +impl ::core::marker::Copy for SetupFileLogInfo {} +impl ::core::clone::Clone for SetupFileLogInfo { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SetupFileLogInfo { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SetupFileLogInfo { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SetupFileLogInfo { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SetupFileLogInfo").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS(pub u32); +impl ::core::marker::Copy for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS {} +impl ::core::clone::Clone for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS").field(&self.0).finish() + } +} +impl UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for UPDATEDRIVERFORPLUGANDPLAYDEVICES_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) } } #[repr(C, packed(1))] @@ -9161,10 +10081,10 @@ impl ::core::default::Default for COINSTALLER_CONTEXT_DATA { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub struct CONFLICT_DETAILS_A { pub CD_ulSize: u32, - pub CD_ulMask: u32, + pub CD_ulMask: CM_CDMASK, pub CD_dnDevInst: u32, pub CD_rdResDes: usize, - pub CD_ulFlags: u32, + pub CD_ulFlags: CM_CDFLAGS, pub CD_szDescription: [u8; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_A {} @@ -9196,10 +10116,10 @@ impl ::core::default::Default for CONFLICT_DETAILS_A { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] pub struct CONFLICT_DETAILS_W { pub CD_ulSize: u32, - pub CD_ulMask: u32, + pub CD_ulMask: CM_CDMASK, pub CD_dnDevInst: u32, pub CD_rdResDes: usize, - pub CD_ulFlags: u32, + pub CD_ulFlags: CM_CDFLAGS, pub CD_szDescription: [u16; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_W {} @@ -12309,7 +13229,7 @@ impl ::core::default::Default for SP_FILE_COPY_PARAMS_W { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_INFORMATION { - pub InfStyle: SP_INF_STYLE, + pub InfStyle: INF_STYLE, pub InfCount: u32, pub VersionData: [u8; 1], } @@ -12335,7 +13255,7 @@ impl ::core::default::Default for SP_INF_INFORMATION { #[doc = "*Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`*"] #[cfg(target_arch = "x86")] pub struct SP_INF_INFORMATION { - pub InfStyle: SP_INF_STYLE, + pub InfStyle: INF_STYLE, pub InfCount: u32, pub VersionData: [u8; 1], } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs index 452b5aff11c..a7f1263f8b9 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -372,8 +372,12 @@ pub struct IFunctionInstance(::windows_core::IUnknown); impl IFunctionInstance { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] - pub unsafe fn QueryService(&self, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, riid, ppvobject).ok() + pub unsafe fn QueryService(&self, guidservice: *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__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) } pub unsafe fn GetID(&self) -> ::windows_core::Result<*mut u16> { let mut result__ = ::std::mem::zeroed(); diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Properties/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Properties/mod.rs index 6fa6da50570..2567528c1d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Properties/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Properties/mod.rs @@ -393,6 +393,8 @@ pub const DEVPKEY_NAME: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_core::GUID::f #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROPID_FIRST_USABLE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] +pub const DEVPROP_FALSE: DEVPROP_BOOLEAN = DEVPROP_BOOLEAN(0u8); +#[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_MASK_TYPE: u32 = 4095u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_MASK_TYPEMOD: u32 = 61440u32; @@ -401,6 +403,8 @@ pub const DEVPROP_STORE_SYSTEM: DEVPROPSTORE = DEVPROPSTORE(0i32); #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_STORE_USER: DEVPROPSTORE = DEVPROPSTORE(1i32); #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] +pub const DEVPROP_TRUE: DEVPROP_BOOLEAN = DEVPROP_BOOLEAN(255u8); +#[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_TYPEMOD_ARRAY: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Devices_Properties\"`*"] pub const DEVPROP_TYPEMOD_LIST: u32 = 8192u32; @@ -606,3 +610,25 @@ impl ::core::default::Default for DEVPROPKEY { unsafe { ::core::mem::zeroed() } } } +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_BOOLEAN(pub u8); +impl ::core::default::Default for DEVPROP_BOOLEAN { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for DEVPROP_BOOLEAN { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for DEVPROP_BOOLEAN {} +impl ::core::fmt::Debug for DEVPROP_BOOLEAN { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_BOOLEAN").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for DEVPROP_BOOLEAN { + type TypeKind = ::windows_core::CopyType; +} diff --git a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs index ed483cc8604..98c9b1004e2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs @@ -68,6 +68,192 @@ pub const CDB_REPORT_BYTES: u32 = 1u32; pub const COMDB_MAX_PORTS_ARBITRATED: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] pub const COMDB_MIN_PORTS_ARBITRATED: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_PortName: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 4 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_UsbProductId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 3 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_DeviceInterface_Serial_UsbVendorId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 2 }; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const EVEN_PARITY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_INTERNAL_SERENUM_REMOVE_SELF: u32 = 3604999u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_APPLY_DEFAULT_CONFIGURATION: u32 = 1769632u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLEAR_STATS: u32 = 1769616u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLR_DTR: u32 = 1769512u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CLR_RTS: u32 = 1769524u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_CONFIG_SIZE: u32 = 1769600u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_BAUD_RATE: u32 = 1769552u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_CHARS: u32 = 1769560u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_COMMCONFIG: u32 = 1769604u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_COMMSTATUS: u32 = 1769580u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_DTRRTS: u32 = 1769592u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_HANDFLOW: u32 = 1769568u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_LINE_CONTROL: u32 = 1769556u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_MODEMSTATUS: u32 = 1769576u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_MODEM_CONTROL: u32 = 1769620u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_PROPERTIES: u32 = 1769588u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_STATS: u32 = 1769612u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_TIMEOUTS: u32 = 1769504u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_GET_WAIT_MASK: u32 = 1769536u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_IMMEDIATE_CHAR: u32 = 1769496u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS: u32 = 1769484u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE: u32 = 1769480u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE: u32 = 1769476u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS: u32 = 1769488u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_PURGE: u32 = 1769548u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_RESET_DEVICE: u32 = 1769516u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BAUD_RATE: u32 = 1769476u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BREAK_OFF: u32 = 1769492u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_BREAK_ON: u32 = 1769488u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_CHARS: u32 = 1769564u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_COMMCONFIG: u32 = 1769608u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_DTR: u32 = 1769508u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_FIFO_CONTROL: u32 = 1769628u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_HANDFLOW: u32 = 1769572u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_INTERVAL_TIMER_RESOLUTION: u32 = 1769636u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_LINE_CONTROL: u32 = 1769484u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_MODEM_CONTROL: u32 = 1769624u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_QUEUE_SIZE: u32 = 1769480u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_RTS: u32 = 1769520u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_TIMEOUTS: u32 = 1769500u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_WAIT_MASK: u32 = 1769540u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_XOFF: u32 = 1769528u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_SET_XON: u32 = 1769532u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_WAIT_ON_MASK: u32 = 1769544u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const IOCTL_SERIAL_XOFF_COUNTER: u32 = 1769584u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const MARK_PARITY: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const NO_PARITY: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const ODD_PARITY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_BREAK: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_CTS: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_DSR: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_ERR: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_EVENT1: u32 = 2048u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_EVENT2: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_PERR: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RING: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RLSD: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RX80FULL: u32 = 1024u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RXCHAR: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_RXFLAG: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_EV_TXEMPTY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_ESCAPE: u16 = 0u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_LSR_DATA: u16 = 1u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_LSR_NODATA: u16 = 2u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_LSRMST_MST: u16 = 3u16; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_RXABORT: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_RXCLEAR: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_TXABORT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SERIAL_PURGE_TXCLEAR: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SPACE_PARITY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BITS_1_5: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BITS_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const STOP_BIT_1: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumFirstHalf: SERENUM_PORTION = SERENUM_PORTION(0i32); +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumSecondHalf: SERENUM_PORTION = SERENUM_PORTION(1i32); +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub const SerenumWhole: SERENUM_PORTION = SERENUM_PORTION(2i32); +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SERENUM_PORTION(pub i32); +impl ::core::marker::Copy for SERENUM_PORTION {} +impl ::core::clone::Clone for SERENUM_PORTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SERENUM_PORTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SERENUM_PORTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SERENUM_PORTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SERENUM_PORTION").field(&self.0).finish() + } +} #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct HCOMDB(pub isize); @@ -95,3 +281,510 @@ impl ::core::fmt::Debug for HCOMDB { impl ::windows_core::TypeKind for HCOMDB { type TypeKind = ::windows_core::CopyType; } +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERENUM_PORT_DESC { + pub Size: u32, + pub PortHandle: *mut ::core::ffi::c_void, + pub PortAddress: i64, + pub Reserved: [u16; 1], +} +impl ::core::marker::Copy for SERENUM_PORT_DESC {} +impl ::core::clone::Clone for SERENUM_PORT_DESC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERENUM_PORT_DESC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERENUM_PORT_DESC").field("Size", &self.Size).field("PortHandle", &self.PortHandle).field("PortAddress", &self.PortAddress).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for SERENUM_PORT_DESC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERENUM_PORT_DESC { + fn eq(&self, other: &Self) -> bool { + self.Size == other.Size && self.PortHandle == other.PortHandle && self.PortAddress == other.PortAddress && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for SERENUM_PORT_DESC {} +impl ::core::default::Default for SERENUM_PORT_DESC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERENUM_PORT_PARAMETERS { + pub Size: u32, + pub ReadAccessor: PSERENUM_READPORT, + pub WriteAccessor: PSERENUM_WRITEPORT, + pub SerPortAddress: *mut ::core::ffi::c_void, + pub HardwareHandle: *mut ::core::ffi::c_void, + pub Portion: SERENUM_PORTION, + pub NumberAxis: u16, + pub Reserved: [u16; 3], +} +impl ::core::marker::Copy for SERENUM_PORT_PARAMETERS {} +impl ::core::clone::Clone for SERENUM_PORT_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERENUM_PORT_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERENUM_PORT_PARAMETERS").field("Size", &self.Size).field("SerPortAddress", &self.SerPortAddress).field("HardwareHandle", &self.HardwareHandle).field("Portion", &self.Portion).field("NumberAxis", &self.NumberAxis).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for SERENUM_PORT_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for SERENUM_PORT_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIALCONFIG { + pub Size: u32, + pub Version: u16, + pub SubType: u32, + pub ProvOffset: u32, + pub ProviderSize: u32, + pub ProviderData: [u16; 1], +} +impl ::core::marker::Copy for SERIALCONFIG {} +impl ::core::clone::Clone for SERIALCONFIG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIALCONFIG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIALCONFIG").field("Size", &self.Size).field("Version", &self.Version).field("SubType", &self.SubType).field("ProvOffset", &self.ProvOffset).field("ProviderSize", &self.ProviderSize).field("ProviderData", &self.ProviderData).finish() + } +} +impl ::windows_core::TypeKind for SERIALCONFIG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIALCONFIG { + fn eq(&self, other: &Self) -> bool { + self.Size == other.Size && self.Version == other.Version && self.SubType == other.SubType && self.ProvOffset == other.ProvOffset && self.ProviderSize == other.ProviderSize && self.ProviderData == other.ProviderData + } +} +impl ::core::cmp::Eq for SERIALCONFIG {} +impl ::core::default::Default for SERIALCONFIG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIALPERF_STATS { + pub ReceivedCount: u32, + pub TransmittedCount: u32, + pub FrameErrorCount: u32, + pub SerialOverrunErrorCount: u32, + pub BufferOverrunErrorCount: u32, + pub ParityErrorCount: u32, +} +impl ::core::marker::Copy for SERIALPERF_STATS {} +impl ::core::clone::Clone for SERIALPERF_STATS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIALPERF_STATS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIALPERF_STATS").field("ReceivedCount", &self.ReceivedCount).field("TransmittedCount", &self.TransmittedCount).field("FrameErrorCount", &self.FrameErrorCount).field("SerialOverrunErrorCount", &self.SerialOverrunErrorCount).field("BufferOverrunErrorCount", &self.BufferOverrunErrorCount).field("ParityErrorCount", &self.ParityErrorCount).finish() + } +} +impl ::windows_core::TypeKind for SERIALPERF_STATS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIALPERF_STATS { + fn eq(&self, other: &Self) -> bool { + self.ReceivedCount == other.ReceivedCount && self.TransmittedCount == other.TransmittedCount && self.FrameErrorCount == other.FrameErrorCount && self.SerialOverrunErrorCount == other.SerialOverrunErrorCount && self.BufferOverrunErrorCount == other.BufferOverrunErrorCount && self.ParityErrorCount == other.ParityErrorCount + } +} +impl ::core::cmp::Eq for SERIALPERF_STATS {} +impl ::core::default::Default for SERIALPERF_STATS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_BASIC_SETTINGS { + pub Timeouts: SERIAL_TIMEOUTS, + pub HandFlow: SERIAL_HANDFLOW, + pub RxFifo: u32, + pub TxFifo: u32, +} +impl ::core::marker::Copy for SERIAL_BASIC_SETTINGS {} +impl ::core::clone::Clone for SERIAL_BASIC_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_BASIC_SETTINGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_BASIC_SETTINGS").field("Timeouts", &self.Timeouts).field("HandFlow", &self.HandFlow).field("RxFifo", &self.RxFifo).field("TxFifo", &self.TxFifo).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_BASIC_SETTINGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_BASIC_SETTINGS { + fn eq(&self, other: &Self) -> bool { + self.Timeouts == other.Timeouts && self.HandFlow == other.HandFlow && self.RxFifo == other.RxFifo && self.TxFifo == other.TxFifo + } +} +impl ::core::cmp::Eq for SERIAL_BASIC_SETTINGS {} +impl ::core::default::Default for SERIAL_BASIC_SETTINGS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_BAUD_RATE { + pub BaudRate: u32, +} +impl ::core::marker::Copy for SERIAL_BAUD_RATE {} +impl ::core::clone::Clone for SERIAL_BAUD_RATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_BAUD_RATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_BAUD_RATE").field("BaudRate", &self.BaudRate).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_BAUD_RATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_BAUD_RATE { + fn eq(&self, other: &Self) -> bool { + self.BaudRate == other.BaudRate + } +} +impl ::core::cmp::Eq for SERIAL_BAUD_RATE {} +impl ::core::default::Default for SERIAL_BAUD_RATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_CHARS { + pub EofChar: u8, + pub ErrorChar: u8, + pub BreakChar: u8, + pub EventChar: u8, + pub XonChar: u8, + pub XoffChar: u8, +} +impl ::core::marker::Copy for SERIAL_CHARS {} +impl ::core::clone::Clone for SERIAL_CHARS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_CHARS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_CHARS").field("EofChar", &self.EofChar).field("ErrorChar", &self.ErrorChar).field("BreakChar", &self.BreakChar).field("EventChar", &self.EventChar).field("XonChar", &self.XonChar).field("XoffChar", &self.XoffChar).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_CHARS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_CHARS { + fn eq(&self, other: &Self) -> bool { + self.EofChar == other.EofChar && self.ErrorChar == other.ErrorChar && self.BreakChar == other.BreakChar && self.EventChar == other.EventChar && self.XonChar == other.XonChar && self.XoffChar == other.XoffChar + } +} +impl ::core::cmp::Eq for SERIAL_CHARS {} +impl ::core::default::Default for SERIAL_CHARS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_COMMPROP { + pub PacketLength: u16, + pub PacketVersion: u16, + pub ServiceMask: u32, + pub Reserved1: u32, + pub MaxTxQueue: u32, + pub MaxRxQueue: u32, + pub MaxBaud: u32, + pub ProvSubType: u32, + pub ProvCapabilities: u32, + pub SettableParams: u32, + pub SettableBaud: u32, + pub SettableData: u16, + pub SettableStopParity: u16, + pub CurrentTxQueue: u32, + pub CurrentRxQueue: u32, + pub ProvSpec1: u32, + pub ProvSpec2: u32, + pub ProvChar: [u16; 1], +} +impl ::core::marker::Copy for SERIAL_COMMPROP {} +impl ::core::clone::Clone for SERIAL_COMMPROP { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_COMMPROP { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_COMMPROP") + .field("PacketLength", &self.PacketLength) + .field("PacketVersion", &self.PacketVersion) + .field("ServiceMask", &self.ServiceMask) + .field("Reserved1", &self.Reserved1) + .field("MaxTxQueue", &self.MaxTxQueue) + .field("MaxRxQueue", &self.MaxRxQueue) + .field("MaxBaud", &self.MaxBaud) + .field("ProvSubType", &self.ProvSubType) + .field("ProvCapabilities", &self.ProvCapabilities) + .field("SettableParams", &self.SettableParams) + .field("SettableBaud", &self.SettableBaud) + .field("SettableData", &self.SettableData) + .field("SettableStopParity", &self.SettableStopParity) + .field("CurrentTxQueue", &self.CurrentTxQueue) + .field("CurrentRxQueue", &self.CurrentRxQueue) + .field("ProvSpec1", &self.ProvSpec1) + .field("ProvSpec2", &self.ProvSpec2) + .field("ProvChar", &self.ProvChar) + .finish() + } +} +impl ::windows_core::TypeKind for SERIAL_COMMPROP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_COMMPROP { + fn eq(&self, other: &Self) -> bool { + self.PacketLength == other.PacketLength && self.PacketVersion == other.PacketVersion && self.ServiceMask == other.ServiceMask && self.Reserved1 == other.Reserved1 && self.MaxTxQueue == other.MaxTxQueue && self.MaxRxQueue == other.MaxRxQueue && self.MaxBaud == other.MaxBaud && self.ProvSubType == other.ProvSubType && self.ProvCapabilities == other.ProvCapabilities && self.SettableParams == other.SettableParams && self.SettableBaud == other.SettableBaud && self.SettableData == other.SettableData && self.SettableStopParity == other.SettableStopParity && self.CurrentTxQueue == other.CurrentTxQueue && self.CurrentRxQueue == other.CurrentRxQueue && self.ProvSpec1 == other.ProvSpec1 && self.ProvSpec2 == other.ProvSpec2 && self.ProvChar == other.ProvChar + } +} +impl ::core::cmp::Eq for SERIAL_COMMPROP {} +impl ::core::default::Default for SERIAL_COMMPROP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_HANDFLOW { + pub ControlHandShake: u32, + pub FlowReplace: u32, + pub XonLimit: i32, + pub XoffLimit: i32, +} +impl ::core::marker::Copy for SERIAL_HANDFLOW {} +impl ::core::clone::Clone for SERIAL_HANDFLOW { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_HANDFLOW { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_HANDFLOW").field("ControlHandShake", &self.ControlHandShake).field("FlowReplace", &self.FlowReplace).field("XonLimit", &self.XonLimit).field("XoffLimit", &self.XoffLimit).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_HANDFLOW { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_HANDFLOW { + fn eq(&self, other: &Self) -> bool { + self.ControlHandShake == other.ControlHandShake && self.FlowReplace == other.FlowReplace && self.XonLimit == other.XonLimit && self.XoffLimit == other.XoffLimit + } +} +impl ::core::cmp::Eq for SERIAL_HANDFLOW {} +impl ::core::default::Default for SERIAL_HANDFLOW { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_LINE_CONTROL { + pub StopBits: u8, + pub Parity: u8, + pub WordLength: u8, +} +impl ::core::marker::Copy for SERIAL_LINE_CONTROL {} +impl ::core::clone::Clone for SERIAL_LINE_CONTROL { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_LINE_CONTROL { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_LINE_CONTROL").field("StopBits", &self.StopBits).field("Parity", &self.Parity).field("WordLength", &self.WordLength).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_LINE_CONTROL { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_LINE_CONTROL { + fn eq(&self, other: &Self) -> bool { + self.StopBits == other.StopBits && self.Parity == other.Parity && self.WordLength == other.WordLength + } +} +impl ::core::cmp::Eq for SERIAL_LINE_CONTROL {} +impl ::core::default::Default for SERIAL_LINE_CONTROL { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_QUEUE_SIZE { + pub InSize: u32, + pub OutSize: u32, +} +impl ::core::marker::Copy for SERIAL_QUEUE_SIZE {} +impl ::core::clone::Clone for SERIAL_QUEUE_SIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_QUEUE_SIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_QUEUE_SIZE").field("InSize", &self.InSize).field("OutSize", &self.OutSize).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_QUEUE_SIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_QUEUE_SIZE { + fn eq(&self, other: &Self) -> bool { + self.InSize == other.InSize && self.OutSize == other.OutSize + } +} +impl ::core::cmp::Eq for SERIAL_QUEUE_SIZE {} +impl ::core::default::Default for SERIAL_QUEUE_SIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct SERIAL_STATUS { + pub Errors: u32, + pub HoldReasons: u32, + pub AmountInInQueue: u32, + pub AmountInOutQueue: u32, + pub EofReceived: super::super::Foundation::BOOLEAN, + pub WaitForImmediate: super::super::Foundation::BOOLEAN, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SERIAL_STATUS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SERIAL_STATUS { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for SERIAL_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_STATUS").field("Errors", &self.Errors).field("HoldReasons", &self.HoldReasons).field("AmountInInQueue", &self.AmountInInQueue).field("AmountInOutQueue", &self.AmountInOutQueue).field("EofReceived", &self.EofReceived).field("WaitForImmediate", &self.WaitForImmediate).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for SERIAL_STATUS { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for SERIAL_STATUS { + fn eq(&self, other: &Self) -> bool { + self.Errors == other.Errors && self.HoldReasons == other.HoldReasons && self.AmountInInQueue == other.AmountInInQueue && self.AmountInOutQueue == other.AmountInOutQueue && self.EofReceived == other.EofReceived && self.WaitForImmediate == other.WaitForImmediate + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for SERIAL_STATUS {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for SERIAL_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_TIMEOUTS { + pub ReadIntervalTimeout: u32, + pub ReadTotalTimeoutMultiplier: u32, + pub ReadTotalTimeoutConstant: u32, + pub WriteTotalTimeoutMultiplier: u32, + pub WriteTotalTimeoutConstant: u32, +} +impl ::core::marker::Copy for SERIAL_TIMEOUTS {} +impl ::core::clone::Clone for SERIAL_TIMEOUTS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_TIMEOUTS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_TIMEOUTS").field("ReadIntervalTimeout", &self.ReadIntervalTimeout).field("ReadTotalTimeoutMultiplier", &self.ReadTotalTimeoutMultiplier).field("ReadTotalTimeoutConstant", &self.ReadTotalTimeoutConstant).field("WriteTotalTimeoutMultiplier", &self.WriteTotalTimeoutMultiplier).field("WriteTotalTimeoutConstant", &self.WriteTotalTimeoutConstant).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_TIMEOUTS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_TIMEOUTS { + fn eq(&self, other: &Self) -> bool { + self.ReadIntervalTimeout == other.ReadIntervalTimeout && self.ReadTotalTimeoutMultiplier == other.ReadTotalTimeoutMultiplier && self.ReadTotalTimeoutConstant == other.ReadTotalTimeoutConstant && self.WriteTotalTimeoutMultiplier == other.WriteTotalTimeoutMultiplier && self.WriteTotalTimeoutConstant == other.WriteTotalTimeoutConstant + } +} +impl ::core::cmp::Eq for SERIAL_TIMEOUTS {} +impl ::core::default::Default for SERIAL_TIMEOUTS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub struct SERIAL_XOFF_COUNTER { + pub Timeout: u32, + pub Counter: i32, + pub XoffChar: u8, +} +impl ::core::marker::Copy for SERIAL_XOFF_COUNTER {} +impl ::core::clone::Clone for SERIAL_XOFF_COUNTER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SERIAL_XOFF_COUNTER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SERIAL_XOFF_COUNTER").field("Timeout", &self.Timeout).field("Counter", &self.Counter).field("XoffChar", &self.XoffChar).finish() + } +} +impl ::windows_core::TypeKind for SERIAL_XOFF_COUNTER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SERIAL_XOFF_COUNTER { + fn eq(&self, other: &Self) -> bool { + self.Timeout == other.Timeout && self.Counter == other.Counter && self.XoffChar == other.XoffChar + } +} +impl ::core::cmp::Eq for SERIAL_XOFF_COUNTER {} +impl ::core::default::Default for SERIAL_XOFF_COUNTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub type PSERENUM_READPORT = ::core::option::Option u8>; +#[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"] +pub type PSERENUM_WRITEPORT = ::core::option::Option ()>; diff --git a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs index 0bf6f9c1d72..599d24b61a5 100644 --- a/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Foundation/mod.rs @@ -2182,6 +2182,14 @@ pub const ERROR_AUTHENTICATION_FIREWALL_FAILED: WIN32_ERROR = WIN32_ERROR(1935u3 #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTHENTICATOR_MISMATCH: u32 = 955u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_DISALLOWED: WIN32_ERROR = WIN32_ERROR(3758096960u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED: WIN32_ERROR = WIN32_ERROR(3758096963u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_TRUSTED_PUBLISHER: WIN32_ERROR = WIN32_ERROR(3758096961u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED: WIN32_ERROR = WIN32_ERROR(3758096962u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTHIP_FAILURE: WIN32_ERROR = WIN32_ERROR(1469u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_AUTH_PROTOCOL_REJECTED: u32 = 917u32; @@ -2242,6 +2250,8 @@ pub const ERROR_BAD_IMPERSONATION_LEVEL: WIN32_ERROR = WIN32_ERROR(1346u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_INHERITANCE_ACL: WIN32_ERROR = WIN32_ERROR(1340u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_INTERFACE_INSTALLSECT: WIN32_ERROR = WIN32_ERROR(3758096925u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_LENGTH: WIN32_ERROR = WIN32_ERROR(24u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_LOGON_SESSION_STATE: WIN32_ERROR = WIN32_ERROR(1365u32); @@ -2268,8 +2278,12 @@ pub const ERROR_BAD_RECOVERY_POLICY: WIN32_ERROR = WIN32_ERROR(6012u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_REM_ADAP: WIN32_ERROR = WIN32_ERROR(60u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_SECTION_NAME_LINE: WIN32_ERROR = WIN32_ERROR(3758096385u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_SERVICE_ENTRYPOINT: WIN32_ERROR = WIN32_ERROR(610u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_BAD_SERVICE_INSTALLSECT: WIN32_ERROR = WIN32_ERROR(3758096919u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_STACK: WIN32_ERROR = WIN32_ERROR(543u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_BAD_THREADID_ADDR: WIN32_ERROR = WIN32_ERROR(159u32); @@ -2402,12 +2416,16 @@ pub const ERROR_CANT_ENABLE_DENY_ONLY: WIN32_ERROR = WIN32_ERROR(629u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_EVICT_ACTIVE_NODE: WIN32_ERROR = WIN32_ERROR(5009u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CANT_LOAD_CLASS_ICON: WIN32_ERROR = WIN32_ERROR(3758096908u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_OPEN_ANONYMOUS: WIN32_ERROR = WIN32_ERROR(1347u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT: WIN32_ERROR = WIN32_ERROR(6811u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_RECOVER_WITH_HANDLE_OPEN: WIN32_ERROR = WIN32_ERROR(6818u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CANT_REMOVE_DEVINST: WIN32_ERROR = WIN32_ERROR(3758096946u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_RESOLVE_FILENAME: WIN32_ERROR = WIN32_ERROR(1921u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CANT_TERMINATE_SELF: WIN32_ERROR = WIN32_ERROR(555u32); @@ -2474,6 +2492,8 @@ pub const ERROR_CLASS_DOES_NOT_EXIST: WIN32_ERROR = WIN32_ERROR(1411u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLASS_HAS_WINDOWS: WIN32_ERROR = WIN32_ERROR(1412u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_CLASS_MISMATCH: WIN32_ERROR = WIN32_ERROR(3758096897u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLEANER_CARTRIDGE_INSTALLED: WIN32_ERROR = WIN32_ERROR(4340u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_CLEANER_CARTRIDGE_SPENT: WIN32_ERROR = WIN32_ERROR(4333u32); @@ -3182,6 +3202,14 @@ pub const ERROR_DEVICE_HARDWARE_ERROR: WIN32_ERROR = WIN32_ERROR(483u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_HINT_NAME_BUFFER_TOO_SMALL: WIN32_ERROR = WIN32_ERROR(355u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INSTALLER_NOT_READY: WIN32_ERROR = WIN32_ERROR(3758096966u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INSTALL_BLOCKED: WIN32_ERROR = WIN32_ERROR(3758096968u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INTERFACE_ACTIVE: WIN32_ERROR = WIN32_ERROR(3758096923u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVICE_INTERFACE_REMOVED: WIN32_ERROR = WIN32_ERROR(3758096924u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_IN_MAINTENANCE: WIN32_ERROR = WIN32_ERROR(359u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_IN_USE: WIN32_ERROR = WIN32_ERROR(2404u32); @@ -3206,6 +3234,16 @@ pub const ERROR_DEVICE_SUPPORT_IN_PROGRESS: WIN32_ERROR = WIN32_ERROR(171u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEVICE_UNREACHABLE: WIN32_ERROR = WIN32_ERROR(321u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_DATA_LOCKED: WIN32_ERROR = WIN32_ERROR(3758096915u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_LIST_LOCKED: WIN32_ERROR = WIN32_ERROR(3758096914u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINFO_NOT_REGISTERED: WIN32_ERROR = WIN32_ERROR(3758096904u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINSTALL_QUEUE_NONNATIVE: WIN32_ERROR = WIN32_ERROR(3758096944u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DEVINST_ALREADY_EXISTS: WIN32_ERROR = WIN32_ERROR(3758096903u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEV_NOT_EXIST: WIN32_ERROR = WIN32_ERROR(55u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DEV_SIDELOAD_LIMIT_EXCEEDED: WIN32_ERROR = WIN32_ERROR(15633u32); @@ -3284,6 +3322,18 @@ pub const ERROR_DISK_RESOURCES_EXHAUSTED: WIN32_ERROR = WIN32_ERROR(314u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DISK_TOO_FRAGMENTED: WIN32_ERROR = WIN32_ERROR(302u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_BAD_PATH: WIN32_ERROR = WIN32_ERROR(3758096916u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_DONT_INSTALL: WIN32_ERROR = WIN32_ERROR(3758096939u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_DO_DEFAULT: WIN32_ERROR = WIN32_ERROR(3758096910u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_FUNCTION_OBSOLETE: WIN32_ERROR = WIN32_ERROR(3758096958u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_NOFILECOPY: WIN32_ERROR = WIN32_ERROR(3758096911u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DI_POSTPROCESSING_REQUIRED: WIN32_ERROR = WIN32_ERROR(3758096934u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DLL_INIT_FAILED: WIN32_ERROR = WIN32_ERROR(1114u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DLL_INIT_FAILED_LOGOFF: WIN32_ERROR = WIN32_ERROR(624u32); @@ -3332,8 +3382,16 @@ pub const ERROR_DRIVER_FAILED_PRIOR_UNLOAD: WIN32_ERROR = WIN32_ERROR(654u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVER_FAILED_SLEEP: WIN32_ERROR = WIN32_ERROR(633u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_INSTALL_BLOCKED: WIN32_ERROR = WIN32_ERROR(3758096969u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_NONNATIVE: WIN32_ERROR = WIN32_ERROR(3758096948u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVER_PROCESS_TERMINATED: WIN32_ERROR = WIN32_ERROR(1291u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_STORE_ADD_FAILED: WIN32_ERROR = WIN32_ERROR(3758096967u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DRIVER_STORE_DELETE_FAILED: WIN32_ERROR = WIN32_ERROR(3758096972u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVE_LOCKED: WIN32_ERROR = WIN32_ERROR(108u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DRIVE_MEDIA_MISMATCH: WIN32_ERROR = WIN32_ERROR(4303u32); @@ -4140,6 +4198,8 @@ pub const ERROR_DS_WRONG_LINKED_ATT_SYNTAX: WIN32_ERROR = WIN32_ERROR(8528u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DS_WRONG_OM_OBJ_CLASS: WIN32_ERROR = WIN32_ERROR(8476u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_DUPLICATE_FOUND: WIN32_ERROR = WIN32_ERROR(3758096898u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DUPLICATE_PRIVILEGES: WIN32_ERROR = WIN32_ERROR(311u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_DUPLICATE_SERVICE_NAME: WIN32_ERROR = WIN32_ERROR(1078u32); @@ -4328,6 +4388,8 @@ pub const ERROR_EXE_MACHINE_TYPE_MISMATCH: WIN32_ERROR = WIN32_ERROR(216u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXE_MARKED_INVALID: WIN32_ERROR = WIN32_ERROR(192u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_EXPECTED_SECTION_NAME: WIN32_ERROR = WIN32_ERROR(3758096384u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXPIRED_HANDLE: WIN32_ERROR = WIN32_ERROR(6854u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_EXTENDED_ERROR: WIN32_ERROR = WIN32_ERROR(1208u32); @@ -4362,6 +4424,8 @@ pub const ERROR_FILEMARK_DETECTED: WIN32_ERROR = WIN32_ERROR(1101u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILENAME_EXCED_RANGE: WIN32_ERROR = WIN32_ERROR(206u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_FILEQUEUE_LOCKED: WIN32_ERROR = WIN32_ERROR(3758096918u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_CHECKED_OUT: WIN32_ERROR = WIN32_ERROR(220u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_CORRUPT: WIN32_ERROR = WIN32_ERROR(1392u32); @@ -4372,6 +4436,8 @@ pub const ERROR_FILE_EXISTS: WIN32_ERROR = WIN32_ERROR(80u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_HANDLE_REVOKED: WIN32_ERROR = WIN32_ERROR(806u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_FILE_HASH_NOT_IN_CATALOG: WIN32_ERROR = WIN32_ERROR(3758096971u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_IDENTITY_NOT_PERSISTENT: WIN32_ERROR = WIN32_ERROR(6823u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_FILE_INVALID: WIN32_ERROR = WIN32_ERROR(1006u32); @@ -4534,6 +4600,8 @@ pub const ERROR_FUNCTION_NOT_CALLED: WIN32_ERROR = WIN32_ERROR(1626u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GDI_HANDLE_LEAK: WIN32_ERROR = WIN32_ERROR(373u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_GENERAL_SYNTAX: WIN32_ERROR = WIN32_ERROR(3758096387u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GENERIC_COMMAND_FAILED: WIN32_ERROR = WIN32_ERROR(14109u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_GENERIC_NOT_MAPPED: WIN32_ERROR = WIN32_ERROR(1360u32); @@ -5198,6 +5266,8 @@ pub const ERROR_INDOUBT_TRANSACTIONS_EXIST: WIN32_ERROR = WIN32_ERROR(6827u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INFLOOP_IN_RELOC_CHAIN: WIN32_ERROR = WIN32_ERROR(202u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INF_IN_USE_BY_DEVICES: WIN32_ERROR = WIN32_ERROR(3758096957u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INSTALL_ALREADY_RUNNING: WIN32_ERROR = WIN32_ERROR(1618u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INSTALL_CANCEL: WIN32_ERROR = WIN32_ERROR(15608u32); @@ -5308,6 +5378,10 @@ pub const ERROR_INTERFACE_CONFIGURATION: u32 = 912u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_CONNECTED: u32 = 908u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INTERFACE_DEVICE_ACTIVE: WIN32_ERROR = WIN32_ERROR(3758096923u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INTERFACE_DEVICE_REMOVED: WIN32_ERROR = WIN32_ERROR(3758096924u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_DISABLED: u32 = 916u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INTERFACE_DISCONNECTED: u32 = 929u32; @@ -5354,12 +5428,18 @@ pub const ERROR_INVALID_CAP: WIN32_ERROR = WIN32_ERROR(320u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CATEGORY: WIN32_ERROR = WIN32_ERROR(117u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_CLASS: WIN32_ERROR = WIN32_ERROR(3758096902u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_CLASS_INSTALLER: WIN32_ERROR = WIN32_ERROR(3758096909u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CLEANER: WIN32_ERROR = WIN32_ERROR(4310u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CLUSTER_IPV6_ADDRESS: WIN32_ERROR = WIN32_ERROR(5911u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_CMM: WIN32_ERROR = WIN32_ERROR(2010u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_COINSTALLER: WIN32_ERROR = WIN32_ERROR(3758096935u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_COLORINDEX: WIN32_ERROR = WIN32_ERROR(2022u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_COLORSPACE: WIN32_ERROR = WIN32_ERROR(2017u32); @@ -5380,6 +5460,8 @@ pub const ERROR_INVALID_DATATYPE: WIN32_ERROR = WIN32_ERROR(1804u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DEVICE_OBJECT_PARAMETER: WIN32_ERROR = WIN32_ERROR(650u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_DEVINST_NAME: WIN32_ERROR = WIN32_ERROR(3758096901u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DLL: WIN32_ERROR = WIN32_ERROR(1154u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_DOMAINNAME: WIN32_ERROR = WIN32_ERROR(1212u32); @@ -5414,6 +5496,8 @@ pub const ERROR_INVALID_FIELD: WIN32_ERROR = WIN32_ERROR(1616u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FIELD_IN_PARAMETER_LIST: WIN32_ERROR = WIN32_ERROR(328u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_FILTER_DRIVER: WIN32_ERROR = WIN32_ERROR(3758096940u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FILTER_PROC: WIN32_ERROR = WIN32_ERROR(1427u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_FLAGS: WIN32_ERROR = WIN32_ERROR(1004u32); @@ -5440,6 +5524,8 @@ pub const ERROR_INVALID_HOOK_FILTER: WIN32_ERROR = WIN32_ERROR(1426u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_HOOK_HANDLE: WIN32_ERROR = WIN32_ERROR(1404u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_HWPROFILE: WIN32_ERROR = WIN32_ERROR(3758096912u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_HW_PROFILE: WIN32_ERROR = WIN32_ERROR(619u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_ICON_HANDLE: WIN32_ERROR = WIN32_ERROR(1414u32); @@ -5452,6 +5538,8 @@ pub const ERROR_INVALID_IMPORT_OF_NON_DLL: WIN32_ERROR = WIN32_ERROR(1276u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_INDEX: WIN32_ERROR = WIN32_ERROR(1413u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_INF_LOGCONFIG: WIN32_ERROR = WIN32_ERROR(3758096938u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_KERNEL_INFO_VERSION: WIN32_ERROR = WIN32_ERROR(340u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_KEYBOARD_HANDLE: WIN32_ERROR = WIN32_ERROR(1457u32); @@ -5478,6 +5566,8 @@ pub const ERROR_INVALID_LOGON_HOURS: WIN32_ERROR = WIN32_ERROR(1328u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_LOGON_TYPE: WIN32_ERROR = WIN32_ERROR(1367u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_MACHINENAME: WIN32_ERROR = WIN32_ERROR(3758096928u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_MEDIA: WIN32_ERROR = WIN32_ERROR(4300u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_MEDIA_POOL: WIN32_ERROR = WIN32_ERROR(4302u32); @@ -5552,10 +5642,16 @@ pub const ERROR_INVALID_PRIORITY: WIN32_ERROR = WIN32_ERROR(1800u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_PROFILE: WIN32_ERROR = WIN32_ERROR(2011u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_PROPPAGE_PROVIDER: WIN32_ERROR = WIN32_ERROR(3758096932u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_QUOTA_LOWER: WIN32_ERROR = WIN32_ERROR(547u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_RADIUS_RESPONSE: u32 = 939u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_REFERENCE_STRING: WIN32_ERROR = WIN32_ERROR(3758096927u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_REG_PROPERTY: WIN32_ERROR = WIN32_ERROR(3758096905u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_REPARSE_DATA: WIN32_ERROR = WIN32_ERROR(4392u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_RUNLEVEL_SETTING: WIN32_ERROR = WIN32_ERROR(15401u32); @@ -5606,6 +5702,8 @@ pub const ERROR_INVALID_SUB_AUTHORITY: WIN32_ERROR = WIN32_ERROR(1335u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TABLE: WIN32_ERROR = WIN32_ERROR(1628u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_INVALID_TARGET: WIN32_ERROR = WIN32_ERROR(3758096947u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TARGET_HANDLE: WIN32_ERROR = WIN32_ERROR(114u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_TASK_INDEX: WIN32_ERROR = WIN32_ERROR(1551u32); @@ -5638,6 +5736,8 @@ pub const ERROR_INVALID_WINDOW_STYLE: WIN32_ERROR = WIN32_ERROR(2002u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_INVALID_WORKSTATION: WIN32_ERROR = WIN32_ERROR(1329u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_IN_WOW64: WIN32_ERROR = WIN32_ERROR(3758096949u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_IOPL_NOT_ENABLED: WIN32_ERROR = WIN32_ERROR(197u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_IO_DEVICE: WIN32_ERROR = WIN32_ERROR(1117u32); @@ -5992,6 +6092,8 @@ pub const ERROR_KERNEL_APC: WIN32_ERROR = WIN32_ERROR(738u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KEY_DELETED: WIN32_ERROR = WIN32_ERROR(1018u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_KEY_DOES_NOT_EXIST: WIN32_ERROR = WIN32_ERROR(3758096900u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KEY_HAS_CHILDREN: WIN32_ERROR = WIN32_ERROR(1020u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_KM_DRIVER_BLOCKED: WIN32_ERROR = WIN32_ERROR(1930u32); @@ -6008,6 +6110,8 @@ pub const ERROR_LIBRARY_OFFLINE: WIN32_ERROR = WIN32_ERROR(4305u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LICENSE_QUOTA_EXCEEDED: WIN32_ERROR = WIN32_ERROR(1395u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_LINE_NOT_FOUND: WIN32_ERROR = WIN32_ERROR(3758096642u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LINUX_SUBSYSTEM_NOT_PRESENT: WIN32_ERROR = WIN32_ERROR(414u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_LINUX_SUBSYSTEM_UPDATE_REQUIRED: WIN32_ERROR = WIN32_ERROR(444u32); @@ -6166,6 +6270,8 @@ pub const ERROR_MACHINE_LOCKED: WIN32_ERROR = WIN32_ERROR(1271u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MACHINE_SCOPE_NOT_ALLOWED: WIN32_ERROR = WIN32_ERROR(15666u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_MACHINE_UNAVAILABLE: WIN32_ERROR = WIN32_ERROR(3758096930u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MAGAZINE_NOT_PRESENT: WIN32_ERROR = WIN32_ERROR(1163u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_MALFORMED_SUBSTITUTION_STRING: WIN32_ERROR = WIN32_ERROR(14094u32); @@ -6516,6 +6622,10 @@ pub const ERROR_NON_DOMAIN_SID: WIN32_ERROR = WIN32_ERROR(1258u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NON_MDICHILD_WINDOW: WIN32_ERROR = WIN32_ERROR(1445u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NON_WINDOWS_DRIVER: WIN32_ERROR = WIN32_ERROR(3758096942u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NON_WINDOWS_NT_DRIVER: WIN32_ERROR = WIN32_ERROR(3758096941u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOTHING_TO_TERMINATE: WIN32_ERROR = WIN32_ERROR(758u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOTIFICATION_GUID_ALREADY_DEFINED: WIN32_ERROR = WIN32_ERROR(309u32); @@ -6528,6 +6638,8 @@ pub const ERROR_NOT_ALLOWED_ON_SYSTEM_FILE: WIN32_ERROR = WIN32_ERROR(313u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_ALL_ASSIGNED: WIN32_ERROR = WIN32_ERROR(1300u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_AN_INSTALLED_OEM_INF: WIN32_ERROR = WIN32_ERROR(3758096956u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_APPCONTAINER: WIN32_ERROR = WIN32_ERROR(4250u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_AUTHENTICATED: WIN32_ERROR = WIN32_ERROR(1244u32); @@ -6554,6 +6666,8 @@ pub const ERROR_NOT_CONTAINER: WIN32_ERROR = WIN32_ERROR(1207u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_DAX_MAPPABLE: WIN32_ERROR = WIN32_ERROR(421u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_DISABLEABLE: WIN32_ERROR = WIN32_ERROR(3758096945u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_DOS_DISK: WIN32_ERROR = WIN32_ERROR(26u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_EMPTY: WIN32_ERROR = WIN32_ERROR(4307u32); @@ -6570,6 +6684,8 @@ pub const ERROR_NOT_FOUND: WIN32_ERROR = WIN32_ERROR(1168u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_GUI_PROCESS: WIN32_ERROR = WIN32_ERROR(1471u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NOT_INSTALLED: WIN32_ERROR = WIN32_ERROR(3758100480u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_JOINED: WIN32_ERROR = WIN32_ERROR(136u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NOT_LOCKED: WIN32_ERROR = WIN32_ERROR(158u32); @@ -6646,20 +6762,48 @@ pub const ERROR_NO_ADMIN_ACCESS_POINT: WIN32_ERROR = WIN32_ERROR(5090u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_APPLICABLE_APP_LICENSES_FOUND: ::windows_core::HRESULT = ::windows_core::HRESULT(-1058406399i32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_ASSOCIATED_CLASS: WIN32_ERROR = WIN32_ERROR(3758096896u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_ASSOCIATED_SERVICE: WIN32_ERROR = WIN32_ERROR(3758096921u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_ASSOCIATION: WIN32_ERROR = WIN32_ERROR(1155u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_AUTHENTICODE_CATALOG: WIN32_ERROR = WIN32_ERROR(3758096959u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_AUTH_PROTOCOL_AVAILABLE: u32 = 918u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_BACKUP: WIN32_ERROR = WIN32_ERROR(3758096643u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_BROWSER_SERVERS_FOUND: WIN32_ERROR = WIN32_ERROR(6118u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_BYPASSIO_DRIVER_SUPPORT: WIN32_ERROR = WIN32_ERROR(494u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_CALLBACK_ACTIVE: WIN32_ERROR = WIN32_ERROR(614u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CATALOG_FOR_OEM_INF: WIN32_ERROR = WIN32_ERROR(3758096943u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CLASSINSTALL_PARAMS: WIN32_ERROR = WIN32_ERROR(3758096917u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CLASS_DRIVER_LIST: WIN32_ERROR = WIN32_ERROR(3758096920u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_COMPAT_DRIVERS: WIN32_ERROR = WIN32_ERROR(3758096936u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_CONFIGMGR_SERVICES: WIN32_ERROR = WIN32_ERROR(3758096931u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_DATA: WIN32_ERROR = WIN32_ERROR(232u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_DATA_DETECTED: WIN32_ERROR = WIN32_ERROR(1104u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEFAULT_DEVICE_INTERFACE: WIN32_ERROR = WIN32_ERROR(3758096922u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEFAULT_INTERFACE_DEVICE: WIN32_ERROR = WIN32_ERROR(3758096922u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEVICE_ICON: WIN32_ERROR = WIN32_ERROR(3758096937u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DEVICE_SELECTED: WIN32_ERROR = WIN32_ERROR(3758096913u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_DRIVER_SELECTED: WIN32_ERROR = WIN32_ERROR(3758096899u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_EFS: WIN32_ERROR = WIN32_ERROR(6004u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_EVENT_PAIR: WIN32_ERROR = WIN32_ERROR(580u32); @@ -6668,6 +6812,8 @@ pub const ERROR_NO_GUID_TRANSLATION: WIN32_ERROR = WIN32_ERROR(560u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_IMPERSONATION_TOKEN: WIN32_ERROR = WIN32_ERROR(1309u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_INF: WIN32_ERROR = WIN32_ERROR(3758096906u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_INHERITANCE: WIN32_ERROR = WIN32_ERROR(1391u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_INTERFACE_CREDENTIALS_SET: u32 = 909u32; @@ -6742,12 +6888,20 @@ pub const ERROR_NO_SUCH_ALIAS: WIN32_ERROR = WIN32_ERROR(1376u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_DEVICE: WIN32_ERROR = WIN32_ERROR(433u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_DEVICE_INTERFACE: WIN32_ERROR = WIN32_ERROR(3758096933u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_DEVINST: WIN32_ERROR = WIN32_ERROR(3758096907u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_DOMAIN: WIN32_ERROR = WIN32_ERROR(1355u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_GROUP: WIN32_ERROR = WIN32_ERROR(1319u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_INTERFACE: u32 = 905u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_INTERFACE_CLASS: WIN32_ERROR = WIN32_ERROR(3758096926u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_NO_SUCH_INTERFACE_DEVICE: WIN32_ERROR = WIN32_ERROR(3758096933u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_LOGON_SESSION: WIN32_ERROR = WIN32_ERROR(1312u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_NO_SUCH_MEMBER: WIN32_ERROR = WIN32_ERROR(1387u32); @@ -6830,6 +6984,8 @@ pub const ERROR_OLD_WIN_VERSION: WIN32_ERROR = WIN32_ERROR(1150u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_ONLY_IF_CONNECTED: WIN32_ERROR = WIN32_ERROR(1251u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE: WIN32_ERROR = WIN32_ERROR(3758096965u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_OPEN_FAILED: WIN32_ERROR = WIN32_ERROR(110u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_OPEN_FILES: WIN32_ERROR = WIN32_ERROR(2401u32); @@ -6996,6 +7152,8 @@ pub const ERROR_PNP_QUERY_REMOVE_UNRELATED_DEVICE_TIMEOUT: WIN32_ERROR = WIN32_E #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_REBOOT_REQUIRED: WIN32_ERROR = WIN32_ERROR(638u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_PNP_REGISTRY_ERROR: WIN32_ERROR = WIN32_ERROR(3758096954u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_RESTART_ENUMERATION: WIN32_ERROR = WIN32_ERROR(636u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_PNP_TRANSLATION_FAILED: WIN32_ERROR = WIN32_ERROR(672u32); @@ -7218,6 +7376,8 @@ pub const ERROR_REMOTE_ACCT_DISABLED: u32 = 922u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_AUTHENTICATION_FAILURE: u32 = 924u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_REMOTE_COMM_FAILURE: WIN32_ERROR = WIN32_ERROR(3758096929u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_FILE_VERSION_MISMATCH: WIN32_ERROR = WIN32_ERROR(6814u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_NO_DIALIN_PERMISSION: u32 = 920u32; @@ -7226,6 +7386,8 @@ pub const ERROR_REMOTE_PASSWD_EXPIRED: u32 = 921u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED: WIN32_ERROR = WIN32_ERROR(1936u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_REMOTE_REQUEST_UNSUPPORTED: WIN32_ERROR = WIN32_ERROR(3758096955u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_RESTRICTED_LOGON_HOURS: u32 = 923u32; #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_REMOTE_SESSION_LIMIT_EXCEEDED: WIN32_ERROR = WIN32_ERROR(1220u32); @@ -7378,6 +7540,8 @@ pub const ERROR_SAME_DRIVE: WIN32_ERROR = WIN32_ERROR(143u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SAM_INIT_FAILURE: WIN32_ERROR = WIN32_ERROR(8541u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SCE_DISABLED: WIN32_ERROR = WIN32_ERROR(3758096952u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SCOPE_NOT_FOUND: WIN32_ERROR = WIN32_ERROR(318u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SCREEN_ALREADY_LOCKED: WIN32_ERROR = WIN32_ERROR(1440u32); @@ -7392,6 +7556,10 @@ pub const ERROR_SECRET_TOO_LONG: WIN32_ERROR = WIN32_ERROR(1382u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECTION_DIRECT_MAP_ONLY: WIN32_ERROR = WIN32_ERROR(819u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SECTION_NAME_TOO_LONG: WIN32_ERROR = WIN32_ERROR(3758096386u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SECTION_NOT_FOUND: WIN32_ERROR = WIN32_ERROR(3758096641u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECTOR_NOT_FOUND: WIN32_ERROR = WIN32_ERROR(27u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SECUREBOOT_FILE_REPLACED: WIN32_ERROR = WIN32_ERROR(4426u32); @@ -7524,6 +7692,8 @@ pub const ERROR_SET_POWER_STATE_FAILED: WIN32_ERROR = WIN32_ERROR(1141u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SET_POWER_STATE_VETOED: WIN32_ERROR = WIN32_ERROR(1140u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SET_SYSTEM_RESTORE_POINT: WIN32_ERROR = WIN32_ERROR(3758096950u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SHARED_POLICY: WIN32_ERROR = WIN32_ERROR(8218u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SHARING_BUFFER_EXCEEDED: WIN32_ERROR = WIN32_ERROR(36u32); @@ -7548,6 +7718,8 @@ pub const ERROR_SIGNAL_PENDING: WIN32_ERROR = WIN32_ERROR(162u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SIGNAL_REFUSED: WIN32_ERROR = WIN32_ERROR(156u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH: WIN32_ERROR = WIN32_ERROR(3758096964u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SIGNED_PACKAGE_INVALID_PUBLISHER_NAMESPACE: WIN32_ERROR = WIN32_ERROR(15661u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_SINGLETON_RESOURCE_INSTALLED_IN_ACTIVE_USER: WIN32_ERROR = WIN32_ERROR(15653u32); @@ -8246,6 +8418,8 @@ pub const ERROR_UNIDENTIFIED_ERROR: WIN32_ERROR = WIN32_ERROR(1287u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_COMPONENT: WIN32_ERROR = WIN32_ERROR(1607u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_UNKNOWN_EXCEPTION: WIN32_ERROR = WIN32_ERROR(3758096953u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_FEATURE: WIN32_ERROR = WIN32_ERROR(1606u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNKNOWN_PATCH: WIN32_ERROR = WIN32_ERROR(1647u32); @@ -8272,6 +8446,8 @@ pub const ERROR_UNRECOGNIZED_MEDIA: WIN32_ERROR = WIN32_ERROR(1785u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNRECOGNIZED_VOLUME: WIN32_ERROR = WIN32_ERROR(1005u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_UNRECOVERABLE_STACK_OVERFLOW: WIN32_ERROR = WIN32_ERROR(3758097152u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNSATISFIED_DEPENDENCIES: WIN32_ERROR = WIN32_ERROR(441u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_UNSIGNED_PACKAGE_INVALID_CONTENT: WIN32_ERROR = WIN32_ERROR(15659u32); @@ -8858,6 +9034,10 @@ pub const ERROR_WRONG_DISK: WIN32_ERROR = WIN32_ERROR(34u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_EFS: WIN32_ERROR = WIN32_ERROR(6005u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_WRONG_INF_STYLE: WIN32_ERROR = WIN32_ERROR(3758096640u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const ERROR_WRONG_INF_TYPE: WIN32_ERROR = WIN32_ERROR(3758096970u32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_PASSWORD: WIN32_ERROR = WIN32_ERROR(1323u32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const ERROR_WRONG_TARGET_NAME: WIN32_ERROR = WIN32_ERROR(1396u32); @@ -8958,6 +9138,8 @@ pub const EXCEPTION_PRIV_INSTRUCTION: NTSTATUS = NTSTATUS(-1073741674i32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const EXCEPTION_SINGLE_STEP: NTSTATUS = NTSTATUS(-2147483644i32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] +pub const EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW: NTSTATUS = NTSTATUS(-536870144i32); +#[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const EXCEPTION_STACK_OVERFLOW: NTSTATUS = NTSTATUS(-1073741571i32); #[doc = "*Required features: `\"Win32_Foundation\"`*"] pub const E_ABORT: ::windows_core::HRESULT = ::windows_core::HRESULT(-2147467260i32); @@ -21079,6 +21261,12 @@ impl ::core::fmt::Debug for HWND { impl ::windows_core::TypeKind for HWND { type TypeKind = ::windows_core::CopyType; } +impl ::windows_core::CanInto for HWND {} +impl ::core::convert::From for HANDLE { + fn from(value: HWND) -> Self { + Self(value.0) + } +} #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct LPARAM(pub isize); diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 5b24a7a8839..5a09b9ac7f1 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -440,23 +440,23 @@ where } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] -pub unsafe fn GetGeoInfoA(location: i32, geotype: u32, lpgeodata: ::core::option::Option<&mut [u8]>, langid: u16) -> i32 { - ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoA(location : i32, geotype : u32, lpgeodata : ::windows_core::PSTR, cchdata : i32, langid : u16) -> i32); +pub unsafe fn GetGeoInfoA(location: i32, geotype: SYSGEOTYPE, lpgeodata: ::core::option::Option<&mut [u8]>, langid: u16) -> i32 { + ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoA(location : i32, geotype : SYSGEOTYPE, lpgeodata : ::windows_core::PSTR, cchdata : i32, langid : u16) -> i32); GetGeoInfoA(location, geotype, ::core::mem::transmute(lpgeodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpgeodata.as_deref().map_or(0, |slice| slice.len() as _), langid) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] -pub unsafe fn GetGeoInfoEx(location: P0, geotype: u32, geodata: ::core::option::Option<&mut [u16]>) -> i32 +pub unsafe fn GetGeoInfoEx(location: P0, geotype: SYSGEOTYPE, geodata: ::core::option::Option<&mut [u16]>) -> i32 where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoEx(location : ::windows_core::PCWSTR, geotype : u32, geodata : ::windows_core::PWSTR, geodatacount : i32) -> i32); + ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoEx(location : ::windows_core::PCWSTR, geotype : SYSGEOTYPE, geodata : ::windows_core::PWSTR, geodatacount : i32) -> i32); GetGeoInfoEx(location.into_param().abi(), geotype, ::core::mem::transmute(geodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), geodata.as_deref().map_or(0, |slice| slice.len() as _)) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] -pub unsafe fn GetGeoInfoW(location: i32, geotype: u32, lpgeodata: ::core::option::Option<&mut [u16]>, langid: u16) -> i32 { - ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoW(location : i32, geotype : u32, lpgeodata : ::windows_core::PWSTR, cchdata : i32, langid : u16) -> i32); +pub unsafe fn GetGeoInfoW(location: i32, geotype: SYSGEOTYPE, lpgeodata: ::core::option::Option<&mut [u16]>, langid: u16) -> i32 { + ::windows_targets::link!("kernel32.dll" "system" fn GetGeoInfoW(location : i32, geotype : SYSGEOTYPE, lpgeodata : ::windows_core::PWSTR, cchdata : i32, langid : u16) -> i32); GetGeoInfoW(location, geotype, ::core::mem::transmute(lpgeodata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpgeodata.as_deref().map_or(0, |slice| slice.len() as _), langid) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] @@ -724,8 +724,8 @@ pub unsafe fn GetUserDefaultUILanguage() -> u16 { } #[doc = "*Required features: `\"Win32_Globalization\"`*"] #[inline] -pub unsafe fn GetUserGeoID(geoclass: u32) -> i32 { - ::windows_targets::link!("kernel32.dll" "system" fn GetUserGeoID(geoclass : u32) -> i32); +pub unsafe fn GetUserGeoID(geoclass: SYSGEOCLASS) -> i32 { + ::windows_targets::link!("kernel32.dll" "system" fn GetUserGeoID(geoclass : SYSGEOCLASS) -> i32); GetUserGeoID(geoclass) } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] @@ -1455,13 +1455,14 @@ where ::windows_targets::link!("kernel32.dll" "system" fn VerifyScripts(dwflags : u32, lplocalescripts : ::windows_core::PCWSTR, cchlocalescripts : i32, lptestscripts : ::windows_core::PCWSTR, cchtestscripts : i32) -> super::Foundation:: BOOL); VerifyScripts(dwflags, lplocalescripts.into_param().abi(), cchlocalescripts, lptestscripts.into_param().abi(), cchtestscripts).ok() } -#[doc = "*Required features: `\"Win32_Globalization\"`*"] +#[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WideCharToMultiByte(codepage: u32, dwflags: u32, lpwidecharstr: &[u16], lpmultibytestr: ::core::option::Option<&mut [u8]>, lpdefaultchar: P0, lpuseddefaultchar: ::core::option::Option<*mut i32>) -> i32 +pub unsafe fn WideCharToMultiByte(codepage: u32, dwflags: u32, lpwidecharstr: &[u16], lpmultibytestr: ::core::option::Option<&mut [u8]>, lpdefaultchar: P0, lpuseddefaultchar: ::core::option::Option<*mut super::Foundation::BOOL>) -> i32 where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("kernel32.dll" "system" fn WideCharToMultiByte(codepage : u32, dwflags : u32, lpwidecharstr : ::windows_core::PCWSTR, cchwidechar : i32, lpmultibytestr : ::windows_core::PSTR, cbmultibyte : i32, lpdefaultchar : ::windows_core::PCSTR, lpuseddefaultchar : *mut i32) -> i32); + ::windows_targets::link!("kernel32.dll" "system" fn WideCharToMultiByte(codepage : u32, dwflags : u32, lpwidecharstr : ::windows_core::PCWSTR, cchwidechar : i32, lpmultibytestr : ::windows_core::PSTR, cbmultibyte : i32, lpdefaultchar : ::windows_core::PCSTR, lpuseddefaultchar : *mut super::Foundation:: BOOL) -> i32); WideCharToMultiByte(codepage, dwflags, ::core::mem::transmute(lpwidecharstr.as_ptr()), lpwidecharstr.len() as _, ::core::mem::transmute(lpmultibytestr.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpmultibytestr.as_deref().map_or(0, |slice| slice.len() as _), lpdefaultchar.into_param().abi(), ::core::mem::transmute(lpuseddefaultchar.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_Globalization\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 5a22cbd2c0a..7aba31ef47e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -47,137 +47,137 @@ pub struct ID2D1SimplifiedGeometrySink_Vtbl { pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(4u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(2u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(5u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(1u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(3u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(0u32); +pub const D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE = D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_ALPHA_MODE_IGNORE: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(3u32); +pub const D2D1_ALPHA_MODE_IGNORE: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_ALPHA_MODE_PREMULTIPLIED: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(1u32); +pub const D2D1_ALPHA_MODE_PREMULTIPLIED: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_ALPHA_MODE_STRAIGHT: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(2u32); +pub const D2D1_ALPHA_MODE_STRAIGHT: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_ALPHA_MODE_UNKNOWN: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(0u32); +pub const D2D1_ALPHA_MODE_UNKNOWN: D2D1_ALPHA_MODE = D2D1_ALPHA_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(22u32); +pub const D2D1_BLEND_MODE_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(22i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_COLOR_BURN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(5u32); +pub const D2D1_BLEND_MODE_COLOR_BURN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_COLOR_DODGE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(9u32); +pub const D2D1_BLEND_MODE_COLOR_DODGE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_DARKEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(2u32); +pub const D2D1_BLEND_MODE_DARKEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_DARKER_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(7u32); +pub const D2D1_BLEND_MODE_DARKER_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_DIFFERENCE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(18u32); +pub const D2D1_BLEND_MODE_DIFFERENCE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(18i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_DISSOLVE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(4u32); +pub const D2D1_BLEND_MODE_DISSOLVE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_DIVISION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(25u32); +pub const D2D1_BLEND_MODE_DIVISION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(25i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_EXCLUSION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(19u32); +pub const D2D1_BLEND_MODE_EXCLUSION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(19i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_HARD_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(13u32); +pub const D2D1_BLEND_MODE_HARD_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_HARD_MIX: D2D1_BLEND_MODE = D2D1_BLEND_MODE(17u32); +pub const D2D1_BLEND_MODE_HARD_MIX: D2D1_BLEND_MODE = D2D1_BLEND_MODE(17i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_HUE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(20u32); +pub const D2D1_BLEND_MODE_HUE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(20i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LIGHTEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(3u32); +pub const D2D1_BLEND_MODE_LIGHTEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LIGHTER_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(8u32); +pub const D2D1_BLEND_MODE_LIGHTER_COLOR: D2D1_BLEND_MODE = D2D1_BLEND_MODE(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LINEAR_BURN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(6u32); +pub const D2D1_BLEND_MODE_LINEAR_BURN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LINEAR_DODGE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(10u32); +pub const D2D1_BLEND_MODE_LINEAR_DODGE: D2D1_BLEND_MODE = D2D1_BLEND_MODE(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LINEAR_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(15u32); +pub const D2D1_BLEND_MODE_LINEAR_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_LUMINOSITY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(23u32); +pub const D2D1_BLEND_MODE_LUMINOSITY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(23i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_MULTIPLY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(0u32); +pub const D2D1_BLEND_MODE_MULTIPLY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_OVERLAY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(11u32); +pub const D2D1_BLEND_MODE_OVERLAY: D2D1_BLEND_MODE = D2D1_BLEND_MODE(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_PIN_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(16u32); +pub const D2D1_BLEND_MODE_PIN_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_SATURATION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(21u32); +pub const D2D1_BLEND_MODE_SATURATION: D2D1_BLEND_MODE = D2D1_BLEND_MODE(21i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_SCREEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(1u32); +pub const D2D1_BLEND_MODE_SCREEN: D2D1_BLEND_MODE = D2D1_BLEND_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_SOFT_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(12u32); +pub const D2D1_BLEND_MODE_SOFT_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_SUBTRACT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(24u32); +pub const D2D1_BLEND_MODE_SUBTRACT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(24i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BLEND_MODE_VIVID_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(14u32); +pub const D2D1_BLEND_MODE_VIVID_LIGHT: D2D1_BLEND_MODE = D2D1_BLEND_MODE(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BORDER_MODE_HARD: D2D1_BORDER_MODE = D2D1_BORDER_MODE(1u32); +pub const D2D1_BORDER_MODE_HARD: D2D1_BORDER_MODE = D2D1_BORDER_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_BORDER_MODE_SOFT: D2D1_BORDER_MODE = D2D1_BORDER_MODE(0u32); +pub const D2D1_BORDER_MODE_SOFT: D2D1_BORDER_MODE = D2D1_BORDER_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMATRIX_ALPHA_MODE = D2D1_COLORMATRIX_ALPHA_MODE(1u32); +pub const D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMATRIX_ALPHA_MODE = D2D1_COLORMATRIX_ALPHA_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT: D2D1_COLORMATRIX_ALPHA_MODE = D2D1_COLORMATRIX_ALPHA_MODE(2u32); +pub const D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT: D2D1_COLORMATRIX_ALPHA_MODE = D2D1_COLORMATRIX_ALPHA_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_BOUNDED_SOURCE_COPY: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(11u32); +pub const D2D1_COMPOSITE_MODE_BOUNDED_SOURCE_COPY: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_DESTINATION_ATOP: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(7u32); +pub const D2D1_COMPOSITE_MODE_DESTINATION_ATOP: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_DESTINATION_IN: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(3u32); +pub const D2D1_COMPOSITE_MODE_DESTINATION_IN: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_DESTINATION_OUT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(5u32); +pub const D2D1_COMPOSITE_MODE_DESTINATION_OUT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_DESTINATION_OVER: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(1u32); +pub const D2D1_COMPOSITE_MODE_DESTINATION_OVER: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_MASK_INVERT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(12u32); +pub const D2D1_COMPOSITE_MODE_MASK_INVERT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_PLUS: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(9u32); +pub const D2D1_COMPOSITE_MODE_PLUS: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_SOURCE_ATOP: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(6u32); +pub const D2D1_COMPOSITE_MODE_SOURCE_ATOP: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_SOURCE_COPY: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(10u32); +pub const D2D1_COMPOSITE_MODE_SOURCE_COPY: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_SOURCE_IN: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(2u32); +pub const D2D1_COMPOSITE_MODE_SOURCE_IN: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_SOURCE_OUT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(4u32); +pub const D2D1_COMPOSITE_MODE_SOURCE_OUT: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_SOURCE_OVER: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(0u32); +pub const D2D1_COMPOSITE_MODE_SOURCE_OVER: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_COMPOSITE_MODE_XOR: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(8u32); +pub const D2D1_COMPOSITE_MODE_XOR: D2D1_COMPOSITE_MODE = D2D1_COMPOSITE_MODE(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FIGURE_BEGIN_FILLED: D2D1_FIGURE_BEGIN = D2D1_FIGURE_BEGIN(0u32); +pub const D2D1_FIGURE_BEGIN_FILLED: D2D1_FIGURE_BEGIN = D2D1_FIGURE_BEGIN(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FIGURE_BEGIN_HOLLOW: D2D1_FIGURE_BEGIN = D2D1_FIGURE_BEGIN(1u32); +pub const D2D1_FIGURE_BEGIN_HOLLOW: D2D1_FIGURE_BEGIN = D2D1_FIGURE_BEGIN(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FIGURE_END_CLOSED: D2D1_FIGURE_END = D2D1_FIGURE_END(1u32); +pub const D2D1_FIGURE_END_CLOSED: D2D1_FIGURE_END = D2D1_FIGURE_END(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FIGURE_END_OPEN: D2D1_FIGURE_END = D2D1_FIGURE_END(0u32); +pub const D2D1_FIGURE_END_OPEN: D2D1_FIGURE_END = D2D1_FIGURE_END(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FILL_MODE_ALTERNATE: D2D1_FILL_MODE = D2D1_FILL_MODE(0u32); +pub const D2D1_FILL_MODE_ALTERNATE: D2D1_FILL_MODE = D2D1_FILL_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_FILL_MODE_WINDING: D2D1_FILL_MODE = D2D1_FILL_MODE(1u32); +pub const D2D1_FILL_MODE_WINDING: D2D1_FILL_MODE = D2D1_FILL_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(2u32); +pub const D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_PATH_SEGMENT_FORCE_UNSTROKED: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(1u32); +pub const D2D1_PATH_SEGMENT_FORCE_UNSTROKED: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_PATH_SEGMENT_NONE: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(0u32); +pub const D2D1_PATH_SEGMENT_NONE: D2D1_PATH_SEGMENT = D2D1_PATH_SEGMENT(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_TURBULENCE_NOISE_FRACTAL_SUM: D2D1_TURBULENCE_NOISE = D2D1_TURBULENCE_NOISE(0u32); +pub const D2D1_TURBULENCE_NOISE_FRACTAL_SUM: D2D1_TURBULENCE_NOISE = D2D1_TURBULENCE_NOISE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] -pub const D2D1_TURBULENCE_NOISE_TURBULENCE: D2D1_TURBULENCE_NOISE = D2D1_TURBULENCE_NOISE(1u32); +pub const D2D1_TURBULENCE_NOISE_TURBULENCE: D2D1_TURBULENCE_NOISE = D2D1_TURBULENCE_NOISE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(pub u32); +pub struct D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -200,7 +200,7 @@ impl ::core::fmt::Debug for D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ALPHA_MODE(pub u32); +pub struct D2D1_ALPHA_MODE(pub i32); impl ::core::marker::Copy for D2D1_ALPHA_MODE {} impl ::core::clone::Clone for D2D1_ALPHA_MODE { fn clone(&self) -> Self { @@ -223,7 +223,7 @@ impl ::core::fmt::Debug for D2D1_ALPHA_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BLEND_MODE(pub u32); +pub struct D2D1_BLEND_MODE(pub i32); impl ::core::marker::Copy for D2D1_BLEND_MODE {} impl ::core::clone::Clone for D2D1_BLEND_MODE { fn clone(&self) -> Self { @@ -246,7 +246,7 @@ impl ::core::fmt::Debug for D2D1_BLEND_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BORDER_MODE(pub u32); +pub struct D2D1_BORDER_MODE(pub i32); impl ::core::marker::Copy for D2D1_BORDER_MODE {} impl ::core::clone::Clone for D2D1_BORDER_MODE { fn clone(&self) -> Self { @@ -269,7 +269,7 @@ impl ::core::fmt::Debug for D2D1_BORDER_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMATRIX_ALPHA_MODE(pub u32); +pub struct D2D1_COLORMATRIX_ALPHA_MODE(pub i32); impl ::core::marker::Copy for D2D1_COLORMATRIX_ALPHA_MODE {} impl ::core::clone::Clone for D2D1_COLORMATRIX_ALPHA_MODE { fn clone(&self) -> Self { @@ -292,7 +292,7 @@ impl ::core::fmt::Debug for D2D1_COLORMATRIX_ALPHA_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COMPOSITE_MODE(pub u32); +pub struct D2D1_COMPOSITE_MODE(pub i32); impl ::core::marker::Copy for D2D1_COMPOSITE_MODE {} impl ::core::clone::Clone for D2D1_COMPOSITE_MODE { fn clone(&self) -> Self { @@ -315,7 +315,7 @@ impl ::core::fmt::Debug for D2D1_COMPOSITE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FIGURE_BEGIN(pub u32); +pub struct D2D1_FIGURE_BEGIN(pub i32); impl ::core::marker::Copy for D2D1_FIGURE_BEGIN {} impl ::core::clone::Clone for D2D1_FIGURE_BEGIN { fn clone(&self) -> Self { @@ -338,7 +338,7 @@ impl ::core::fmt::Debug for D2D1_FIGURE_BEGIN { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FIGURE_END(pub u32); +pub struct D2D1_FIGURE_END(pub i32); impl ::core::marker::Copy for D2D1_FIGURE_END {} impl ::core::clone::Clone for D2D1_FIGURE_END { fn clone(&self) -> Self { @@ -361,7 +361,7 @@ impl ::core::fmt::Debug for D2D1_FIGURE_END { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FILL_MODE(pub u32); +pub struct D2D1_FILL_MODE(pub i32); impl ::core::marker::Copy for D2D1_FILL_MODE {} impl ::core::clone::Clone for D2D1_FILL_MODE { fn clone(&self) -> Self { @@ -384,7 +384,7 @@ impl ::core::fmt::Debug for D2D1_FILL_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PATH_SEGMENT(pub u32); +pub struct D2D1_PATH_SEGMENT(pub i32); impl ::core::marker::Copy for D2D1_PATH_SEGMENT {} impl ::core::clone::Clone for D2D1_PATH_SEGMENT { fn clone(&self) -> Self { @@ -440,7 +440,7 @@ impl ::core::ops::Not for D2D1_PATH_SEGMENT { #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TURBULENCE_NOISE(pub u32); +pub struct D2D1_TURBULENCE_NOISE(pub i32); impl ::core::marker::Copy for D2D1_TURBULENCE_NOISE {} impl ::core::clone::Clone for D2D1_TURBULENCE_NOISE { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs index 79bc835aba6..e3f4d6b10bb 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -15607,681 +15607,681 @@ pub const CLSID_D2D1WhiteLevelAdjustment: ::windows_core::GUID = ::windows_core: #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const CLSID_D2D1YCbCr: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99503cc1_66c7_45c9_a875_8ad8a7914401); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(1u32); +pub const D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(0u32); +pub const D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(3u32); +pub const D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(2u32); +pub const D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_2DAFFINETRANSFORM_PROP = D2D1_2DAFFINETRANSFORM_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(4u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(2u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(1u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(3u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(0u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE = D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(1u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(2u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(5u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(0u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(4u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(3u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(7u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(6u32); +pub const D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN: D2D1_3DPERSPECTIVETRANSFORM_PROP = D2D1_3DPERSPECTIVETRANSFORM_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(4u32); +pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(2u32); +pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(1u32); +pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(3u32); +pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(0u32); +pub const D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_3DTRANSFORM_INTERPOLATION_MODE = D2D1_3DTRANSFORM_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_PROP_BORDER_MODE: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(1u32); +pub const D2D1_3DTRANSFORM_PROP_BORDER_MODE: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(0u32); +pub const D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(2u32); +pub const D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX: D2D1_3DTRANSFORM_PROP = D2D1_3DTRANSFORM_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ANTIALIAS_MODE_ALIASED: D2D1_ANTIALIAS_MODE = D2D1_ANTIALIAS_MODE(1u32); +pub const D2D1_ANTIALIAS_MODE_ALIASED: D2D1_ANTIALIAS_MODE = D2D1_ANTIALIAS_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ANTIALIAS_MODE_PER_PRIMITIVE: D2D1_ANTIALIAS_MODE = D2D1_ANTIALIAS_MODE(0u32); +pub const D2D1_ANTIALIAS_MODE_PER_PRIMITIVE: D2D1_ANTIALIAS_MODE = D2D1_ANTIALIAS_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const D2D1_APPEND_ALIGNED_ELEMENT: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ARC_SIZE_LARGE: D2D1_ARC_SIZE = D2D1_ARC_SIZE(1u32); +pub const D2D1_ARC_SIZE_LARGE: D2D1_ARC_SIZE = D2D1_ARC_SIZE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ARC_SIZE_SMALL: D2D1_ARC_SIZE = D2D1_ARC_SIZE(0u32); +pub const D2D1_ARC_SIZE_SMALL: D2D1_ARC_SIZE = D2D1_ARC_SIZE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT: D2D1_ARITHMETICCOMPOSITE_PROP = D2D1_ARITHMETICCOMPOSITE_PROP(1u32); +pub const D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT: D2D1_ARITHMETICCOMPOSITE_PROP = D2D1_ARITHMETICCOMPOSITE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS: D2D1_ARITHMETICCOMPOSITE_PROP = D2D1_ARITHMETICCOMPOSITE_PROP(0u32); +pub const D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS: D2D1_ARITHMETICCOMPOSITE_PROP = D2D1_ARITHMETICCOMPOSITE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ATLAS_PROP_INPUT_PADDING_RECT: D2D1_ATLAS_PROP = D2D1_ATLAS_PROP(1u32); +pub const D2D1_ATLAS_PROP_INPUT_PADDING_RECT: D2D1_ATLAS_PROP = D2D1_ATLAS_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ATLAS_PROP_INPUT_RECT: D2D1_ATLAS_PROP = D2D1_ATLAS_PROP(0u32); +pub const D2D1_ATLAS_PROP_INPUT_RECT: D2D1_ATLAS_PROP = D2D1_ATLAS_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED: D2D1_BITMAPSOURCE_ALPHA_MODE = D2D1_BITMAPSOURCE_ALPHA_MODE(1u32); +pub const D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED: D2D1_BITMAPSOURCE_ALPHA_MODE = D2D1_BITMAPSOURCE_ALPHA_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT: D2D1_BITMAPSOURCE_ALPHA_MODE = D2D1_BITMAPSOURCE_ALPHA_MODE(2u32); +pub const D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT: D2D1_BITMAPSOURCE_ALPHA_MODE = D2D1_BITMAPSOURCE_ALPHA_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(2u32); +pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(6u32); +pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(1u32); +pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(7u32); +pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(0u32); +pub const D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAPSOURCE_INTERPOLATION_MODE = D2D1_BITMAPSOURCE_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(1u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(2u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(3u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(4u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(8u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(5u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(6u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(7u32); +pub const D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_BITMAPSOURCE_ORIENTATION = D2D1_BITMAPSOURCE_ORIENTATION(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_ALPHA_MODE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(4u32); +pub const D2D1_BITMAPSOURCE_PROP_ALPHA_MODE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(3u32); +pub const D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(2u32); +pub const D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_ORIENTATION: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(5u32); +pub const D2D1_BITMAPSOURCE_PROP_ORIENTATION: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_SCALE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(1u32); +pub const D2D1_BITMAPSOURCE_PROP_SCALE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(0u32); +pub const D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE: D2D1_BITMAPSOURCE_PROP = D2D1_BITMAPSOURCE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_INTERPOLATION_MODE_LINEAR: D2D1_BITMAP_INTERPOLATION_MODE = D2D1_BITMAP_INTERPOLATION_MODE(1u32); +pub const D2D1_BITMAP_INTERPOLATION_MODE_LINEAR: D2D1_BITMAP_INTERPOLATION_MODE = D2D1_BITMAP_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAP_INTERPOLATION_MODE = D2D1_BITMAP_INTERPOLATION_MODE(0u32); +pub const D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_BITMAP_INTERPOLATION_MODE = D2D1_BITMAP_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_OPTIONS_CANNOT_DRAW: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(2u32); +pub const D2D1_BITMAP_OPTIONS_CANNOT_DRAW: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_OPTIONS_CPU_READ: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(4u32); +pub const D2D1_BITMAP_OPTIONS_CPU_READ: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(8u32); +pub const D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_OPTIONS_NONE: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(0u32); +pub const D2D1_BITMAP_OPTIONS_NONE: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BITMAP_OPTIONS_TARGET: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(1u32); +pub const D2D1_BITMAP_OPTIONS_TARGET: D2D1_BITMAP_OPTIONS = D2D1_BITMAP_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_BLEND_FACTOR: D2D1_BLEND = D2D1_BLEND(14u32); +pub const D2D1_BLEND_BLEND_FACTOR: D2D1_BLEND = D2D1_BLEND(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_DEST_ALPHA: D2D1_BLEND = D2D1_BLEND(7u32); +pub const D2D1_BLEND_DEST_ALPHA: D2D1_BLEND = D2D1_BLEND(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_DEST_COLOR: D2D1_BLEND = D2D1_BLEND(9u32); +pub const D2D1_BLEND_DEST_COLOR: D2D1_BLEND = D2D1_BLEND(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_INV_BLEND_FACTOR: D2D1_BLEND = D2D1_BLEND(15u32); +pub const D2D1_BLEND_INV_BLEND_FACTOR: D2D1_BLEND = D2D1_BLEND(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_INV_DEST_ALPHA: D2D1_BLEND = D2D1_BLEND(8u32); +pub const D2D1_BLEND_INV_DEST_ALPHA: D2D1_BLEND = D2D1_BLEND(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_INV_DEST_COLOR: D2D1_BLEND = D2D1_BLEND(10u32); +pub const D2D1_BLEND_INV_DEST_COLOR: D2D1_BLEND = D2D1_BLEND(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_INV_SRC_ALPHA: D2D1_BLEND = D2D1_BLEND(6u32); +pub const D2D1_BLEND_INV_SRC_ALPHA: D2D1_BLEND = D2D1_BLEND(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_INV_SRC_COLOR: D2D1_BLEND = D2D1_BLEND(4u32); +pub const D2D1_BLEND_INV_SRC_COLOR: D2D1_BLEND = D2D1_BLEND(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_ONE: D2D1_BLEND = D2D1_BLEND(2u32); +pub const D2D1_BLEND_ONE: D2D1_BLEND = D2D1_BLEND(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_OPERATION_ADD: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(1u32); +pub const D2D1_BLEND_OPERATION_ADD: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_OPERATION_MAX: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(5u32); +pub const D2D1_BLEND_OPERATION_MAX: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_OPERATION_MIN: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(4u32); +pub const D2D1_BLEND_OPERATION_MIN: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_OPERATION_REV_SUBTRACT: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(3u32); +pub const D2D1_BLEND_OPERATION_REV_SUBTRACT: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_OPERATION_SUBTRACT: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(2u32); +pub const D2D1_BLEND_OPERATION_SUBTRACT: D2D1_BLEND_OPERATION = D2D1_BLEND_OPERATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_PROP_MODE: D2D1_BLEND_PROP = D2D1_BLEND_PROP(0u32); +pub const D2D1_BLEND_PROP_MODE: D2D1_BLEND_PROP = D2D1_BLEND_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_SRC_ALPHA: D2D1_BLEND = D2D1_BLEND(5u32); +pub const D2D1_BLEND_SRC_ALPHA: D2D1_BLEND = D2D1_BLEND(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_SRC_ALPHA_SAT: D2D1_BLEND = D2D1_BLEND(11u32); +pub const D2D1_BLEND_SRC_ALPHA_SAT: D2D1_BLEND = D2D1_BLEND(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_SRC_COLOR: D2D1_BLEND = D2D1_BLEND(3u32); +pub const D2D1_BLEND_SRC_COLOR: D2D1_BLEND = D2D1_BLEND(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BLEND_ZERO: D2D1_BLEND = D2D1_BLEND(1u32); +pub const D2D1_BLEND_ZERO: D2D1_BLEND = D2D1_BLEND(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BORDER_EDGE_MODE_CLAMP: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(0u32); +pub const D2D1_BORDER_EDGE_MODE_CLAMP: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BORDER_EDGE_MODE_MIRROR: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(2u32); +pub const D2D1_BORDER_EDGE_MODE_MIRROR: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BORDER_EDGE_MODE_WRAP: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(1u32); +pub const D2D1_BORDER_EDGE_MODE_WRAP: D2D1_BORDER_EDGE_MODE = D2D1_BORDER_EDGE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BORDER_PROP_EDGE_MODE_X: D2D1_BORDER_PROP = D2D1_BORDER_PROP(0u32); +pub const D2D1_BORDER_PROP_EDGE_MODE_X: D2D1_BORDER_PROP = D2D1_BORDER_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BORDER_PROP_EDGE_MODE_Y: D2D1_BORDER_PROP = D2D1_BORDER_PROP(1u32); +pub const D2D1_BORDER_PROP_EDGE_MODE_Y: D2D1_BORDER_PROP = D2D1_BORDER_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BRIGHTNESS_PROP_BLACK_POINT: D2D1_BRIGHTNESS_PROP = D2D1_BRIGHTNESS_PROP(1u32); +pub const D2D1_BRIGHTNESS_PROP_BLACK_POINT: D2D1_BRIGHTNESS_PROP = D2D1_BRIGHTNESS_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BRIGHTNESS_PROP_WHITE_POINT: D2D1_BRIGHTNESS_PROP = D2D1_BRIGHTNESS_PROP(0u32); +pub const D2D1_BRIGHTNESS_PROP_WHITE_POINT: D2D1_BRIGHTNESS_PROP = D2D1_BRIGHTNESS_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_16BPC_FLOAT: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(4u32); +pub const D2D1_BUFFER_PRECISION_16BPC_FLOAT: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_16BPC_UNORM: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(3u32); +pub const D2D1_BUFFER_PRECISION_16BPC_UNORM: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_32BPC_FLOAT: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(5u32); +pub const D2D1_BUFFER_PRECISION_32BPC_FLOAT: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_8BPC_UNORM: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(1u32); +pub const D2D1_BUFFER_PRECISION_8BPC_UNORM: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(2u32); +pub const D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_BUFFER_PRECISION_UNKNOWN: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(0u32); +pub const D2D1_BUFFER_PRECISION_UNKNOWN: D2D1_BUFFER_PRECISION = D2D1_BUFFER_PRECISION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CAP_STYLE_FLAT: D2D1_CAP_STYLE = D2D1_CAP_STYLE(0u32); +pub const D2D1_CAP_STYLE_FLAT: D2D1_CAP_STYLE = D2D1_CAP_STYLE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CAP_STYLE_ROUND: D2D1_CAP_STYLE = D2D1_CAP_STYLE(2u32); +pub const D2D1_CAP_STYLE_ROUND: D2D1_CAP_STYLE = D2D1_CAP_STYLE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CAP_STYLE_SQUARE: D2D1_CAP_STYLE = D2D1_CAP_STYLE(1u32); +pub const D2D1_CAP_STYLE_SQUARE: D2D1_CAP_STYLE = D2D1_CAP_STYLE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CAP_STYLE_TRIANGLE: D2D1_CAP_STYLE = D2D1_CAP_STYLE(3u32); +pub const D2D1_CAP_STYLE_TRIANGLE: D2D1_CAP_STYLE = D2D1_CAP_STYLE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANGE_TYPE_CONTEXT: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(2u32); +pub const D2D1_CHANGE_TYPE_CONTEXT: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANGE_TYPE_GRAPH: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(3u32); +pub const D2D1_CHANGE_TYPE_GRAPH: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANGE_TYPE_NONE: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(0u32); +pub const D2D1_CHANGE_TYPE_NONE: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANGE_TYPE_PROPERTIES: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(1u32); +pub const D2D1_CHANGE_TYPE_PROPERTIES: D2D1_CHANGE_TYPE = D2D1_CHANGE_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_DEPTH_1: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(1u32); +pub const D2D1_CHANNEL_DEPTH_1: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_DEPTH_4: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(4u32); +pub const D2D1_CHANNEL_DEPTH_4: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_DEPTH_DEFAULT: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(0u32); +pub const D2D1_CHANNEL_DEPTH_DEFAULT: D2D1_CHANNEL_DEPTH = D2D1_CHANNEL_DEPTH(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_SELECTOR_A: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(3u32); +pub const D2D1_CHANNEL_SELECTOR_A: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_SELECTOR_B: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(2u32); +pub const D2D1_CHANNEL_SELECTOR_B: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_SELECTOR_G: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(1u32); +pub const D2D1_CHANNEL_SELECTOR_G: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHANNEL_SELECTOR_R: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(0u32); +pub const D2D1_CHANNEL_SELECTOR_R: D2D1_CHANNEL_SELECTOR = D2D1_CHANNEL_SELECTOR(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHROMAKEY_PROP_COLOR: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(0u32); +pub const D2D1_CHROMAKEY_PROP_COLOR: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHROMAKEY_PROP_FEATHER: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(3u32); +pub const D2D1_CHROMAKEY_PROP_FEATHER: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHROMAKEY_PROP_INVERT_ALPHA: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(2u32); +pub const D2D1_CHROMAKEY_PROP_INVERT_ALPHA: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CHROMAKEY_PROP_TOLERANCE: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(1u32); +pub const D2D1_CHROMAKEY_PROP_TOLERANCE: D2D1_CHROMAKEY_PROP = D2D1_CHROMAKEY_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMANAGEMENT_ALPHA_MODE = D2D1_COLORMANAGEMENT_ALPHA_MODE(1u32); +pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED: D2D1_COLORMANAGEMENT_ALPHA_MODE = D2D1_COLORMANAGEMENT_ALPHA_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT: D2D1_COLORMANAGEMENT_ALPHA_MODE = D2D1_COLORMANAGEMENT_ALPHA_MODE(2u32); +pub const D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT: D2D1_COLORMANAGEMENT_ALPHA_MODE = D2D1_COLORMANAGEMENT_ALPHA_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(4u32); +pub const D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(2u32); +pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(3u32); +pub const D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_QUALITY: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(5u32); +pub const D2D1_COLORMANAGEMENT_PROP_QUALITY: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(0u32); +pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(1u32); +pub const D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT: D2D1_COLORMANAGEMENT_PROP = D2D1_COLORMANAGEMENT_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_QUALITY_BEST: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(2u32); +pub const D2D1_COLORMANAGEMENT_QUALITY_BEST: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_QUALITY_NORMAL: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(1u32); +pub const D2D1_COLORMANAGEMENT_QUALITY_NORMAL: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_QUALITY_PROOF: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(0u32); +pub const D2D1_COLORMANAGEMENT_QUALITY_PROOF: D2D1_COLORMANAGEMENT_QUALITY = D2D1_COLORMANAGEMENT_QUALITY(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(3u32); +pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(0u32); +pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(1u32); +pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(2u32); +pub const D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION: D2D1_COLORMANAGEMENT_RENDERING_INTENT = D2D1_COLORMANAGEMENT_RENDERING_INTENT(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMATRIX_PROP_ALPHA_MODE: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(1u32); +pub const D2D1_COLORMATRIX_PROP_ALPHA_MODE: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(2u32); +pub const D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLORMATRIX_PROP_COLOR_MATRIX: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(0u32); +pub const D2D1_COLORMATRIX_PROP_COLOR_MATRIX: D2D1_COLORMATRIX_PROP = D2D1_COLORMATRIX_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(0u32); +pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(1u32); +pub const D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION = D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_CONTEXT_TYPE_DXGI: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(2u32); +pub const D2D1_COLOR_CONTEXT_TYPE_DXGI: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_CONTEXT_TYPE_ICC: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(0u32); +pub const D2D1_COLOR_CONTEXT_TYPE_ICC: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_CONTEXT_TYPE_SIMPLE: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(1u32); +pub const D2D1_COLOR_CONTEXT_TYPE_SIMPLE: D2D1_COLOR_CONTEXT_TYPE = D2D1_COLOR_CONTEXT_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED: D2D1_COLOR_INTERPOLATION_MODE = D2D1_COLOR_INTERPOLATION_MODE(1u32); +pub const D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED: D2D1_COLOR_INTERPOLATION_MODE = D2D1_COLOR_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT: D2D1_COLOR_INTERPOLATION_MODE = D2D1_COLOR_INTERPOLATION_MODE(0u32); +pub const D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT: D2D1_COLOR_INTERPOLATION_MODE = D2D1_COLOR_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_SPACE_CUSTOM: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(0u32); +pub const D2D1_COLOR_SPACE_CUSTOM: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_SPACE_SCRGB: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(2u32); +pub const D2D1_COLOR_SPACE_SCRGB: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COLOR_SPACE_SRGB: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(1u32); +pub const D2D1_COLOR_SPACE_SRGB: D2D1_COLOR_SPACE = D2D1_COLOR_SPACE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMBINE_MODE_EXCLUDE: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(3u32); +pub const D2D1_COMBINE_MODE_EXCLUDE: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMBINE_MODE_INTERSECT: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(1u32); +pub const D2D1_COMBINE_MODE_INTERSECT: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMBINE_MODE_UNION: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(0u32); +pub const D2D1_COMBINE_MODE_UNION: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMBINE_MODE_XOR: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(2u32); +pub const D2D1_COMBINE_MODE_XOR: D2D1_COMBINE_MODE = D2D1_COMBINE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(1u32); +pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(0u32); +pub const D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS = D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_COMPOSITE_PROP_MODE: D2D1_COMPOSITE_PROP = D2D1_COMPOSITE_PROP(0u32); +pub const D2D1_COMPOSITE_PROP_MODE: D2D1_COMPOSITE_PROP = D2D1_COMPOSITE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONTRAST_PROP_CLAMP_INPUT: D2D1_CONTRAST_PROP = D2D1_CONTRAST_PROP(1u32); +pub const D2D1_CONTRAST_PROP_CLAMP_INPUT: D2D1_CONTRAST_PROP = D2D1_CONTRAST_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONTRAST_PROP_CONTRAST: D2D1_CONTRAST_PROP = D2D1_CONTRAST_PROP(0u32); +pub const D2D1_CONTRAST_PROP_CONTRAST: D2D1_CONTRAST_PROP = D2D1_CONTRAST_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_BIAS: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(6u32); +pub const D2D1_CONVOLVEMATRIX_PROP_BIAS: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(9u32); +pub const D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(10u32); +pub const D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_DIVISOR: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(5u32); +pub const D2D1_CONVOLVEMATRIX_PROP_DIVISOR: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(4u32); +pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(7u32); +pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(2u32); +pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(3u32); +pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(0u32); +pub const D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(8u32); +pub const D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(1u32); +pub const D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE: D2D1_CONVOLVEMATRIX_PROP = D2D1_CONVOLVEMATRIX_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(4u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(2u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(5u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(1u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(3u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(0u32); +pub const D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_CONVOLVEMATRIX_SCALE_MODE = D2D1_CONVOLVEMATRIX_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CROP_PROP_BORDER_MODE: D2D1_CROP_PROP = D2D1_CROP_PROP(1u32); +pub const D2D1_CROP_PROP_BORDER_MODE: D2D1_CROP_PROP = D2D1_CROP_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CROP_PROP_RECT: D2D1_CROP_PROP = D2D1_CROP_PROP(0u32); +pub const D2D1_CROP_PROP_RECT: D2D1_CROP_PROP = D2D1_CROP_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_CROSSFADE_PROP_WEIGHT: D2D1_CROSSFADE_PROP = D2D1_CROSSFADE_PROP(0u32); +pub const D2D1_CROSSFADE_PROP_WEIGHT: D2D1_CROSSFADE_PROP = D2D1_CROSSFADE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_CUSTOM: D2D1_DASH_STYLE = D2D1_DASH_STYLE(5u32); +pub const D2D1_DASH_STYLE_CUSTOM: D2D1_DASH_STYLE = D2D1_DASH_STYLE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_DASH: D2D1_DASH_STYLE = D2D1_DASH_STYLE(1u32); +pub const D2D1_DASH_STYLE_DASH: D2D1_DASH_STYLE = D2D1_DASH_STYLE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_DASH_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(3u32); +pub const D2D1_DASH_STYLE_DASH_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_DASH_DOT_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(4u32); +pub const D2D1_DASH_STYLE_DASH_DOT_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(2u32); +pub const D2D1_DASH_STYLE_DOT: D2D1_DASH_STYLE = D2D1_DASH_STYLE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DASH_STYLE_SOLID: D2D1_DASH_STYLE = D2D1_DASH_STYLE(0u32); +pub const D2D1_DASH_STYLE_SOLID: D2D1_DASH_STYLE = D2D1_DASH_STYLE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DC_INITIALIZE_MODE_CLEAR: D2D1_DC_INITIALIZE_MODE = D2D1_DC_INITIALIZE_MODE(1u32); +pub const D2D1_DC_INITIALIZE_MODE_CLEAR: D2D1_DC_INITIALIZE_MODE = D2D1_DC_INITIALIZE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DC_INITIALIZE_MODE_COPY: D2D1_DC_INITIALIZE_MODE = D2D1_DC_INITIALIZE_MODE(0u32); +pub const D2D1_DC_INITIALIZE_MODE_COPY: D2D1_DC_INITIALIZE_MODE = D2D1_DC_INITIALIZE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEBUG_LEVEL_ERROR: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(1u32); +pub const D2D1_DEBUG_LEVEL_ERROR: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEBUG_LEVEL_INFORMATION: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(3u32); +pub const D2D1_DEBUG_LEVEL_INFORMATION: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEBUG_LEVEL_NONE: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(0u32); +pub const D2D1_DEBUG_LEVEL_NONE: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEBUG_LEVEL_WARNING: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(2u32); +pub const D2D1_DEBUG_LEVEL_WARNING: D2D1_DEBUG_LEVEL = D2D1_DEBUG_LEVEL(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const D2D1_DEFAULT_FLATTENING_TOLERANCE: f32 = 0.25f32; #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS: D2D1_DEVICE_CONTEXT_OPTIONS = D2D1_DEVICE_CONTEXT_OPTIONS(1u32); +pub const D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS: D2D1_DEVICE_CONTEXT_OPTIONS = D2D1_DEVICE_CONTEXT_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DEVICE_CONTEXT_OPTIONS_NONE: D2D1_DEVICE_CONTEXT_OPTIONS = D2D1_DEVICE_CONTEXT_OPTIONS(0u32); +pub const D2D1_DEVICE_CONTEXT_OPTIONS_NONE: D2D1_DEVICE_CONTEXT_OPTIONS = D2D1_DEVICE_CONTEXT_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(1u32); +pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(2u32); +pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(0u32); +pub const D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED: D2D1_DIRECTIONALBLUR_OPTIMIZATION = D2D1_DIRECTIONALBLUR_OPTIMIZATION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_PROP_ANGLE: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(1u32); +pub const D2D1_DIRECTIONALBLUR_PROP_ANGLE: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(3u32); +pub const D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(2u32); +pub const D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(0u32); +pub const D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION: D2D1_DIRECTIONALBLUR_PROP = D2D1_DIRECTIONALBLUR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(7u32); +pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(6u32); +pub const D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(5u32); +pub const D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(4u32); +pub const D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(8u32); +pub const D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(3u32); +pub const D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(2u32); +pub const D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_RED_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(1u32); +pub const D2D1_DISCRETETRANSFER_PROP_RED_DISABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISCRETETRANSFER_PROP_RED_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(0u32); +pub const D2D1_DISCRETETRANSFER_PROP_RED_TABLE: D2D1_DISCRETETRANSFER_PROP = D2D1_DISCRETETRANSFER_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISPLACEMENTMAP_PROP_SCALE: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(0u32); +pub const D2D1_DISPLACEMENTMAP_PROP_SCALE: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(1u32); +pub const D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(2u32); +pub const D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT: D2D1_DISPLACEMENTMAP_PROP = D2D1_DISPLACEMENTMAP_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_AZIMUTH: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(0u32); +pub const D2D1_DISTANTDIFFUSE_PROP_AZIMUTH: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_COLOR: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(4u32); +pub const D2D1_DISTANTDIFFUSE_PROP_COLOR: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(2u32); +pub const D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_ELEVATION: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(1u32); +pub const D2D1_DISTANTDIFFUSE_PROP_ELEVATION: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(5u32); +pub const D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(6u32); +pub const D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(3u32); +pub const D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE: D2D1_DISTANTDIFFUSE_PROP = D2D1_DISTANTDIFFUSE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(4u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(2u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(5u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(1u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(3u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(0u32); +pub const D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTDIFFUSE_SCALE_MODE = D2D1_DISTANTDIFFUSE_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_AZIMUTH: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(0u32); +pub const D2D1_DISTANTSPECULAR_PROP_AZIMUTH: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_COLOR: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(5u32); +pub const D2D1_DISTANTSPECULAR_PROP_COLOR: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_ELEVATION: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(1u32); +pub const D2D1_DISTANTSPECULAR_PROP_ELEVATION: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(6u32); +pub const D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_SCALE_MODE: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(7u32); +pub const D2D1_DISTANTSPECULAR_PROP_SCALE_MODE: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(3u32); +pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(2u32); +pub const D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(4u32); +pub const D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE: D2D1_DISTANTSPECULAR_PROP = D2D1_DISTANTSPECULAR_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(4u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(2u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(5u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(1u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(3u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(0u32); +pub const D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_DISTANTSPECULAR_SCALE_MODE = D2D1_DISTANTSPECULAR_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(4u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(2u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(5u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(1u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(3u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(0u32); +pub const D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_DPICOMPENSATION_INTERPOLATION_MODE = D2D1_DPICOMPENSATION_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_PROP_BORDER_MODE: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(1u32); +pub const D2D1_DPICOMPENSATION_PROP_BORDER_MODE: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_PROP_INPUT_DPI: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(2u32); +pub const D2D1_DPICOMPENSATION_PROP_INPUT_DPI: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(0u32); +pub const D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE: D2D1_DPICOMPENSATION_PROP = D2D1_DPICOMPENSATION_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DRAW_TEXT_OPTIONS_CLIP: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(2u32); +pub const D2D1_DRAW_TEXT_OPTIONS_CLIP: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(8u32); +pub const D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(4u32); +pub const D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DRAW_TEXT_OPTIONS_NONE: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(0u32); +pub const D2D1_DRAW_TEXT_OPTIONS_NONE: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_DRAW_TEXT_OPTIONS_NO_SNAP: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(1u32); +pub const D2D1_DRAW_TEXT_OPTIONS_NO_SNAP: D2D1_DRAW_TEXT_OPTIONS = D2D1_DRAW_TEXT_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_MODE_PREWITT: D2D1_EDGEDETECTION_MODE = D2D1_EDGEDETECTION_MODE(1u32); +pub const D2D1_EDGEDETECTION_MODE_PREWITT: D2D1_EDGEDETECTION_MODE = D2D1_EDGEDETECTION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_MODE_SOBEL: D2D1_EDGEDETECTION_MODE = D2D1_EDGEDETECTION_MODE(0u32); +pub const D2D1_EDGEDETECTION_MODE_SOBEL: D2D1_EDGEDETECTION_MODE = D2D1_EDGEDETECTION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_PROP_ALPHA_MODE: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(4u32); +pub const D2D1_EDGEDETECTION_PROP_ALPHA_MODE: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_PROP_BLUR_RADIUS: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(1u32); +pub const D2D1_EDGEDETECTION_PROP_BLUR_RADIUS: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_PROP_MODE: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(2u32); +pub const D2D1_EDGEDETECTION_PROP_MODE: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(3u32); +pub const D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EDGEDETECTION_PROP_STRENGTH: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(0u32); +pub const D2D1_EDGEDETECTION_PROP_STRENGTH: D2D1_EDGEDETECTION_PROP = D2D1_EDGEDETECTION_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EMBOSS_PROP_DIRECTION: D2D1_EMBOSS_PROP = D2D1_EMBOSS_PROP(1u32); +pub const D2D1_EMBOSS_PROP_DIRECTION: D2D1_EMBOSS_PROP = D2D1_EMBOSS_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EMBOSS_PROP_HEIGHT: D2D1_EMBOSS_PROP = D2D1_EMBOSS_PROP(0u32); +pub const D2D1_EMBOSS_PROP_HEIGHT: D2D1_EMBOSS_PROP = D2D1_EMBOSS_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EXPOSURE_PROP_EXPOSURE_VALUE: D2D1_EXPOSURE_PROP = D2D1_EXPOSURE_PROP(0u32); +pub const D2D1_EXPOSURE_PROP_EXPOSURE_VALUE: D2D1_EXPOSURE_PROP = D2D1_EXPOSURE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EXTEND_MODE_CLAMP: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(0u32); +pub const D2D1_EXTEND_MODE_CLAMP: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EXTEND_MODE_MIRROR: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(2u32); +pub const D2D1_EXTEND_MODE_MIRROR: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_EXTEND_MODE_WRAP: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(1u32); +pub const D2D1_EXTEND_MODE_WRAP: D2D1_EXTEND_MODE = D2D1_EXTEND_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FACTORY_TYPE_MULTI_THREADED: D2D1_FACTORY_TYPE = D2D1_FACTORY_TYPE(1u32); +pub const D2D1_FACTORY_TYPE_MULTI_THREADED: D2D1_FACTORY_TYPE = D2D1_FACTORY_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FACTORY_TYPE_SINGLE_THREADED: D2D1_FACTORY_TYPE = D2D1_FACTORY_TYPE(0u32); +pub const D2D1_FACTORY_TYPE_SINGLE_THREADED: D2D1_FACTORY_TYPE = D2D1_FACTORY_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FEATURE_D3D10_X_HARDWARE_OPTIONS: D2D1_FEATURE = D2D1_FEATURE(1u32); +pub const D2D1_FEATURE_D3D10_X_HARDWARE_OPTIONS: D2D1_FEATURE = D2D1_FEATURE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FEATURE_DOUBLES: D2D1_FEATURE = D2D1_FEATURE(0u32); +pub const D2D1_FEATURE_DOUBLES: D2D1_FEATURE = D2D1_FEATURE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FEATURE_LEVEL_10: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(40960u32); +pub const D2D1_FEATURE_LEVEL_10: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(40960i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FEATURE_LEVEL_9: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(37120u32); +pub const D2D1_FEATURE_LEVEL_9: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(37120i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FEATURE_LEVEL_DEFAULT: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(0u32); +pub const D2D1_FEATURE_LEVEL_DEFAULT: D2D1_FEATURE_LEVEL = D2D1_FEATURE_LEVEL(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_ANISOTROPIC: D2D1_FILTER = D2D1_FILTER(85u32); +pub const D2D1_FILTER_ANISOTROPIC: D2D1_FILTER = D2D1_FILTER(85i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT: D2D1_FILTER = D2D1_FILTER(16u32); +pub const D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT: D2D1_FILTER = D2D1_FILTER(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(17u32); +pub const D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(17i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT: D2D1_FILTER = D2D1_FILTER(20u32); +pub const D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT: D2D1_FILTER = D2D1_FILTER(20i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_MAG_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(21u32); +pub const D2D1_FILTER_MIN_MAG_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(21i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_MAG_MIP_POINT: D2D1_FILTER = D2D1_FILTER(0u32); +pub const D2D1_FILTER_MIN_MAG_MIP_POINT: D2D1_FILTER = D2D1_FILTER(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(1u32); +pub const D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT: D2D1_FILTER = D2D1_FILTER(4u32); +pub const D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT: D2D1_FILTER = D2D1_FILTER(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(5u32); +pub const D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR: D2D1_FILTER = D2D1_FILTER(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_FLOOD_PROP_COLOR: D2D1_FLOOD_PROP = D2D1_FLOOD_PROP(0u32); +pub const D2D1_FLOOD_PROP_COLOR: D2D1_FLOOD_PROP = D2D1_FLOOD_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMA1_G10: D2D1_GAMMA1 = D2D1_GAMMA1(1u32); +pub const D2D1_GAMMA1_G10: D2D1_GAMMA1 = D2D1_GAMMA1(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMA1_G2084: D2D1_GAMMA1 = D2D1_GAMMA1(2u32); +pub const D2D1_GAMMA1_G2084: D2D1_GAMMA1 = D2D1_GAMMA1(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMA1_G22: D2D1_GAMMA1 = D2D1_GAMMA1(0u32); +pub const D2D1_GAMMA1_G22: D2D1_GAMMA1 = D2D1_GAMMA1(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(12u32); +pub const D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(15u32); +pub const D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(13u32); +pub const D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(14u32); +pub const D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(8u32); +pub const D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(11u32); +pub const D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(9u32); +pub const D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(10u32); +pub const D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(16u32); +pub const D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(4u32); +pub const D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(7u32); +pub const D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(5u32); +pub const D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(6u32); +pub const D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(0u32); +pub const D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_RED_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(3u32); +pub const D2D1_GAMMATRANSFER_PROP_RED_DISABLE: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_RED_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(1u32); +pub const D2D1_GAMMATRANSFER_PROP_RED_EXPONENT: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMATRANSFER_PROP_RED_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(2u32); +pub const D2D1_GAMMATRANSFER_PROP_RED_OFFSET: D2D1_GAMMATRANSFER_PROP = D2D1_GAMMATRANSFER_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMA_1_0: D2D1_GAMMA = D2D1_GAMMA(1u32); +pub const D2D1_GAMMA_1_0: D2D1_GAMMA = D2D1_GAMMA(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAMMA_2_2: D2D1_GAMMA = D2D1_GAMMA(0u32); +pub const D2D1_GAMMA_2_2: D2D1_GAMMA = D2D1_GAMMA(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(1u32); +pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(2u32); +pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(0u32); +pub const D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED: D2D1_GAUSSIANBLUR_OPTIMIZATION = D2D1_GAUSSIANBLUR_OPTIMIZATION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_PROP_BORDER_MODE: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(2u32); +pub const D2D1_GAUSSIANBLUR_PROP_BORDER_MODE: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(1u32); +pub const D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(0u32); +pub const D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION: D2D1_GAUSSIANBLUR_PROP = D2D1_GAUSSIANBLUR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_RELATION_CONTAINS: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(3u32); +pub const D2D1_GEOMETRY_RELATION_CONTAINS: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_RELATION_DISJOINT: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(1u32); +pub const D2D1_GEOMETRY_RELATION_DISJOINT: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_RELATION_IS_CONTAINED: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(2u32); +pub const D2D1_GEOMETRY_RELATION_IS_CONTAINED: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_RELATION_OVERLAP: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(4u32); +pub const D2D1_GEOMETRY_RELATION_OVERLAP: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_RELATION_UNKNOWN: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(0u32); +pub const D2D1_GEOMETRY_RELATION_UNKNOWN: D2D1_GEOMETRY_RELATION = D2D1_GEOMETRY_RELATION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = D2D1_GEOMETRY_SIMPLIFICATION_OPTION(0u32); +pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = D2D1_GEOMETRY_SIMPLIFICATION_OPTION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = D2D1_GEOMETRY_SIMPLIFICATION_OPTION(1u32); +pub const D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES: D2D1_GEOMETRY_SIMPLIFICATION_OPTION = D2D1_GEOMETRY_SIMPLIFICATION_OPTION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HDRTONEMAP_DISPLAY_MODE_HDR: D2D1_HDRTONEMAP_DISPLAY_MODE = D2D1_HDRTONEMAP_DISPLAY_MODE(1u32); +pub const D2D1_HDRTONEMAP_DISPLAY_MODE_HDR: D2D1_HDRTONEMAP_DISPLAY_MODE = D2D1_HDRTONEMAP_DISPLAY_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HDRTONEMAP_DISPLAY_MODE_SDR: D2D1_HDRTONEMAP_DISPLAY_MODE = D2D1_HDRTONEMAP_DISPLAY_MODE(0u32); +pub const D2D1_HDRTONEMAP_DISPLAY_MODE_SDR: D2D1_HDRTONEMAP_DISPLAY_MODE = D2D1_HDRTONEMAP_DISPLAY_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HDRTONEMAP_PROP_DISPLAY_MODE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(2u32); +pub const D2D1_HDRTONEMAP_PROP_DISPLAY_MODE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(0u32); +pub const D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(1u32); +pub const D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE: D2D1_HDRTONEMAP_PROP = D2D1_HDRTONEMAP_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(0u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(1u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB: D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA = D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(2u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(0u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(3u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(4u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(1u32); +pub const D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS: D2D1_HIGHLIGHTSANDSHADOWS_PROP = D2D1_HIGHLIGHTSANDSHADOWS_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HISTOGRAM_PROP_CHANNEL_SELECT: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(1u32); +pub const D2D1_HISTOGRAM_PROP_CHANNEL_SELECT: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(2u32); +pub const D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HISTOGRAM_PROP_NUM_BINS: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(0u32); +pub const D2D1_HISTOGRAM_PROP_NUM_BINS: D2D1_HISTOGRAM_PROP = D2D1_HISTOGRAM_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HUEROTATION_PROP_ANGLE: D2D1_HUEROTATION_PROP = D2D1_HUEROTATION_PROP(0u32); +pub const D2D1_HUEROTATION_PROP_ANGLE: D2D1_HUEROTATION_PROP = D2D1_HUEROTATION_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_HUETORGB_INPUT_COLOR_SPACE = D2D1_HUETORGB_INPUT_COLOR_SPACE(1u32); +pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_HUETORGB_INPUT_COLOR_SPACE = D2D1_HUETORGB_INPUT_COLOR_SPACE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_HUETORGB_INPUT_COLOR_SPACE = D2D1_HUETORGB_INPUT_COLOR_SPACE(0u32); +pub const D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_HUETORGB_INPUT_COLOR_SPACE = D2D1_HUETORGB_INPUT_COLOR_SPACE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE: D2D1_HUETORGB_PROP = D2D1_HUETORGB_PROP(0u32); +pub const D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE: D2D1_HUETORGB_PROP = D2D1_HUETORGB_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_LOW_QUALITY_PRIMARY_CONVERSION: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(1u32); +pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_LOW_QUALITY_PRIMARY_CONVERSION: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(0u32); +pub const D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS = D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_CACHE_ON_DEMAND: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(2u32); +pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_CACHE_ON_DEMAND: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(0u32); +pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_RELEASE_SOURCE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(1u32); +pub const D2D1_IMAGE_SOURCE_LOADING_OPTIONS_RELEASE_SOURCE: D2D1_IMAGE_SOURCE_LOADING_OPTIONS = D2D1_IMAGE_SOURCE_LOADING_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INK_NIB_SHAPE_ROUND: D2D1_INK_NIB_SHAPE = D2D1_INK_NIB_SHAPE(0u32); +pub const D2D1_INK_NIB_SHAPE_ROUND: D2D1_INK_NIB_SHAPE = D2D1_INK_NIB_SHAPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INK_NIB_SHAPE_SQUARE: D2D1_INK_NIB_SHAPE = D2D1_INK_NIB_SHAPE(1u32); +pub const D2D1_INK_NIB_SHAPE_SQUARE: D2D1_INK_NIB_SHAPE = D2D1_INK_NIB_SHAPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_ANISOTROPIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(4u32); +pub const D2D1_INTERPOLATION_MODE_ANISOTROPIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_CUBIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(2u32); +pub const D2D1_INTERPOLATION_MODE_CUBIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC: D2D1_INTERPOLATION_MODE_DEFINITION = D2D1_INTERPOLATION_MODE_DEFINITION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] @@ -16299,687 +16299,687 @@ pub const D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR: D2D1_INTERPOLA #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR: D2D1_INTERPOLATION_MODE_DEFINITION = D2D1_INTERPOLATION_MODE_DEFINITION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(5u32); +pub const D2D1_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_LINEAR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(1u32); +pub const D2D1_INTERPOLATION_MODE_LINEAR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(3u32); +pub const D2D1_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(0u32); +pub const D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_INTERPOLATION_MODE = D2D1_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LAYER_OPTIONS1_IGNORE_ALPHA: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(2u32); +pub const D2D1_LAYER_OPTIONS1_IGNORE_ALPHA: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(1u32); +pub const D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LAYER_OPTIONS1_NONE: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(0u32); +pub const D2D1_LAYER_OPTIONS1_NONE: D2D1_LAYER_OPTIONS1 = D2D1_LAYER_OPTIONS1(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE: D2D1_LAYER_OPTIONS = D2D1_LAYER_OPTIONS(1u32); +pub const D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE: D2D1_LAYER_OPTIONS = D2D1_LAYER_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LAYER_OPTIONS_NONE: D2D1_LAYER_OPTIONS = D2D1_LAYER_OPTIONS(0u32); +pub const D2D1_LAYER_OPTIONS_NONE: D2D1_LAYER_OPTIONS = D2D1_LAYER_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(11u32); +pub const D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(10u32); +pub const D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(9u32); +pub const D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(8u32); +pub const D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(7u32); +pub const D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(6u32); +pub const D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(12u32); +pub const D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(5u32); +pub const D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(4u32); +pub const D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(3u32); +pub const D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_RED_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(2u32); +pub const D2D1_LINEARTRANSFER_PROP_RED_DISABLE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_RED_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(1u32); +pub const D2D1_LINEARTRANSFER_PROP_RED_SLOPE: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(0u32); +pub const D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT: D2D1_LINEARTRANSFER_PROP = D2D1_LINEARTRANSFER_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINE_JOIN_BEVEL: D2D1_LINE_JOIN = D2D1_LINE_JOIN(1u32); +pub const D2D1_LINE_JOIN_BEVEL: D2D1_LINE_JOIN = D2D1_LINE_JOIN(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINE_JOIN_MITER: D2D1_LINE_JOIN = D2D1_LINE_JOIN(0u32); +pub const D2D1_LINE_JOIN_MITER: D2D1_LINE_JOIN = D2D1_LINE_JOIN(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINE_JOIN_MITER_OR_BEVEL: D2D1_LINE_JOIN = D2D1_LINE_JOIN(3u32); +pub const D2D1_LINE_JOIN_MITER_OR_BEVEL: D2D1_LINE_JOIN = D2D1_LINE_JOIN(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LINE_JOIN_ROUND: D2D1_LINE_JOIN = D2D1_LINE_JOIN(2u32); +pub const D2D1_LINE_JOIN_ROUND: D2D1_LINE_JOIN = D2D1_LINE_JOIN(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE: D2D1_LOOKUPTABLE3D_PROP = D2D1_LOOKUPTABLE3D_PROP(1u32); +pub const D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE: D2D1_LOOKUPTABLE3D_PROP = D2D1_LOOKUPTABLE3D_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_LOOKUPTABLE3D_PROP_LUT: D2D1_LOOKUPTABLE3D_PROP = D2D1_LOOKUPTABLE3D_PROP(0u32); +pub const D2D1_LOOKUPTABLE3D_PROP_LUT: D2D1_LOOKUPTABLE3D_PROP = D2D1_LOOKUPTABLE3D_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MAP_OPTIONS_DISCARD: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(4u32); +pub const D2D1_MAP_OPTIONS_DISCARD: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MAP_OPTIONS_NONE: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(0u32); +pub const D2D1_MAP_OPTIONS_NONE: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MAP_OPTIONS_READ: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(1u32); +pub const D2D1_MAP_OPTIONS_READ: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MAP_OPTIONS_WRITE: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(2u32); +pub const D2D1_MAP_OPTIONS_WRITE: D2D1_MAP_OPTIONS = D2D1_MAP_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MORPHOLOGY_MODE_DILATE: D2D1_MORPHOLOGY_MODE = D2D1_MORPHOLOGY_MODE(1u32); +pub const D2D1_MORPHOLOGY_MODE_DILATE: D2D1_MORPHOLOGY_MODE = D2D1_MORPHOLOGY_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MORPHOLOGY_MODE_ERODE: D2D1_MORPHOLOGY_MODE = D2D1_MORPHOLOGY_MODE(0u32); +pub const D2D1_MORPHOLOGY_MODE_ERODE: D2D1_MORPHOLOGY_MODE = D2D1_MORPHOLOGY_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MORPHOLOGY_PROP_HEIGHT: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(2u32); +pub const D2D1_MORPHOLOGY_PROP_HEIGHT: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MORPHOLOGY_PROP_MODE: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(0u32); +pub const D2D1_MORPHOLOGY_PROP_MODE: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_MORPHOLOGY_PROP_WIDTH: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(1u32); +pub const D2D1_MORPHOLOGY_PROP_WIDTH: D2D1_MORPHOLOGY_PROP = D2D1_MORPHOLOGY_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT: D2D1_OPACITYMETADATA_PROP = D2D1_OPACITYMETADATA_PROP(0u32); +pub const D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT: D2D1_OPACITYMETADATA_PROP = D2D1_OPACITYMETADATA_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_OPACITY_MASK_CONTENT_GRAPHICS: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(0u32); +pub const D2D1_OPACITY_MASK_CONTENT_GRAPHICS: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(2u32); +pub const D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(1u32); +pub const D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL: D2D1_OPACITY_MASK_CONTENT = D2D1_OPACITY_MASK_CONTENT(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_OPACITY_PROP_OPACITY: D2D1_OPACITY_PROP = D2D1_OPACITY_PROP(0u32); +pub const D2D1_OPACITY_PROP_OPACITY: D2D1_OPACITY_PROP = D2D1_OPACITY_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_DEFAULT: D2D1_ORIENTATION = D2D1_ORIENTATION(1u32); +pub const D2D1_ORIENTATION_DEFAULT: D2D1_ORIENTATION = D2D1_ORIENTATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(2u32); +pub const D2D1_ORIENTATION_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_ORIENTATION = D2D1_ORIENTATION(3u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180: D2D1_ORIENTATION = D2D1_ORIENTATION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(4u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_ORIENTATION = D2D1_ORIENTATION(6u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270: D2D1_ORIENTATION = D2D1_ORIENTATION(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(7u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_ORIENTATION = D2D1_ORIENTATION(8u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90: D2D1_ORIENTATION = D2D1_ORIENTATION(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(5u32); +pub const D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL: D2D1_ORIENTATION = D2D1_ORIENTATION(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PATCH_EDGE_MODE_ALIASED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(0u32); +pub const D2D1_PATCH_EDGE_MODE_ALIASED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(2u32); +pub const D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PATCH_EDGE_MODE_ANTIALIASED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(1u32); +pub const D2D1_PATCH_EDGE_MODE_ANTIALIASED: D2D1_PATCH_EDGE_MODE = D2D1_PATCH_EDGE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PIXEL_OPTIONS_NONE: D2D1_PIXEL_OPTIONS = D2D1_PIXEL_OPTIONS(0u32); +pub const D2D1_PIXEL_OPTIONS_NONE: D2D1_PIXEL_OPTIONS = D2D1_PIXEL_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING: D2D1_PIXEL_OPTIONS = D2D1_PIXEL_OPTIONS(1u32); +pub const D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING: D2D1_PIXEL_OPTIONS = D2D1_PIXEL_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_COLOR: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(3u32); +pub const D2D1_POINTDIFFUSE_PROP_COLOR: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(1u32); +pub const D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(4u32); +pub const D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(0u32); +pub const D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_SCALE_MODE: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(5u32); +pub const D2D1_POINTDIFFUSE_PROP_SCALE_MODE: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(2u32); +pub const D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE: D2D1_POINTDIFFUSE_PROP = D2D1_POINTDIFFUSE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(4u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(2u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(5u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(1u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(3u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(0u32); +pub const D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTDIFFUSE_SCALE_MODE = D2D1_POINTDIFFUSE_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_COLOR: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(4u32); +pub const D2D1_POINTSPECULAR_PROP_COLOR: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(5u32); +pub const D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_LIGHT_POSITION: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(0u32); +pub const D2D1_POINTSPECULAR_PROP_LIGHT_POSITION: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_SCALE_MODE: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(6u32); +pub const D2D1_POINTSPECULAR_PROP_SCALE_MODE: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(2u32); +pub const D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(1u32); +pub const D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_PROP_SURFACE_SCALE: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(3u32); +pub const D2D1_POINTSPECULAR_PROP_SURFACE_SCALE: D2D1_POINTSPECULAR_PROP = D2D1_POINTSPECULAR_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(4u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(2u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(5u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(1u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(3u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(0u32); +pub const D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_POINTSPECULAR_SCALE_MODE = D2D1_POINTSPECULAR_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(2u32); +pub const D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(1u32); +pub const D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_POSTERIZE_PROP_RED_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(0u32); +pub const D2D1_POSTERIZE_PROP_RED_VALUE_COUNT: D2D1_POSTERIZE_PROP = D2D1_POSTERIZE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRESENT_OPTIONS_IMMEDIATELY: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(2u32); +pub const D2D1_PRESENT_OPTIONS_IMMEDIATELY: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRESENT_OPTIONS_NONE: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(0u32); +pub const D2D1_PRESENT_OPTIONS_NONE: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(1u32); +pub const D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS: D2D1_PRESENT_OPTIONS = D2D1_PRESENT_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRIMITIVE_BLEND_ADD: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(3u32); +pub const D2D1_PRIMITIVE_BLEND_ADD: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRIMITIVE_BLEND_COPY: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(1u32); +pub const D2D1_PRIMITIVE_BLEND_COPY: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRIMITIVE_BLEND_MAX: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(4u32); +pub const D2D1_PRIMITIVE_BLEND_MAX: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRIMITIVE_BLEND_MIN: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(2u32); +pub const D2D1_PRIMITIVE_BLEND_MIN: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRIMITIVE_BLEND_SOURCE_OVER: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(0u32); +pub const D2D1_PRIMITIVE_BLEND_SOURCE_OVER: D2D1_PRIMITIVE_BLEND = D2D1_PRIMITIVE_BLEND(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(0u32); +pub const D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(1u32); +pub const D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PRINT_FONT_SUBSET_MODE_NONE: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(2u32); +pub const D2D1_PRINT_FONT_SUBSET_MODE_NONE: D2D1_PRINT_FONT_SUBSET_MODE = D2D1_PRINT_FONT_SUBSET_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_AUTHOR: D2D1_PROPERTY = D2D1_PROPERTY(2147483650u32); +pub const D2D1_PROPERTY_AUTHOR: D2D1_PROPERTY = D2D1_PROPERTY(-2147483646i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_CACHED: D2D1_PROPERTY = D2D1_PROPERTY(2147483654u32); +pub const D2D1_PROPERTY_CACHED: D2D1_PROPERTY = D2D1_PROPERTY(-2147483642i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_CATEGORY: D2D1_PROPERTY = D2D1_PROPERTY(2147483651u32); +pub const D2D1_PROPERTY_CATEGORY: D2D1_PROPERTY = D2D1_PROPERTY(-2147483645i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_CLSID: D2D1_PROPERTY = D2D1_PROPERTY(2147483648u32); +pub const D2D1_PROPERTY_CLSID: D2D1_PROPERTY = D2D1_PROPERTY(-2147483648i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_DESCRIPTION: D2D1_PROPERTY = D2D1_PROPERTY(2147483652u32); +pub const D2D1_PROPERTY_DESCRIPTION: D2D1_PROPERTY = D2D1_PROPERTY(-2147483644i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_DISPLAYNAME: D2D1_PROPERTY = D2D1_PROPERTY(2147483649u32); +pub const D2D1_PROPERTY_DISPLAYNAME: D2D1_PROPERTY = D2D1_PROPERTY(-2147483647i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(2147483653u32); +pub const D2D1_PROPERTY_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(-2147483643i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_MAX_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(2147483657u32); +pub const D2D1_PROPERTY_MAX_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(-2147483639i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_MIN_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(2147483656u32); +pub const D2D1_PROPERTY_MIN_INPUTS: D2D1_PROPERTY = D2D1_PROPERTY(-2147483640i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_PRECISION: D2D1_PROPERTY = D2D1_PROPERTY(2147483655u32); +pub const D2D1_PROPERTY_PRECISION: D2D1_PROPERTY = D2D1_PROPERTY(-2147483641i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_ARRAY: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(12u32); +pub const D2D1_PROPERTY_TYPE_ARRAY: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_BLOB: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(9u32); +pub const D2D1_PROPERTY_TYPE_BLOB: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_BOOL: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(2u32); +pub const D2D1_PROPERTY_TYPE_BOOL: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_CLSID: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(13u32); +pub const D2D1_PROPERTY_TYPE_CLSID: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_COLOR_CONTEXT: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(18u32); +pub const D2D1_PROPERTY_TYPE_COLOR_CONTEXT: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(18i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_ENUM: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(11u32); +pub const D2D1_PROPERTY_TYPE_ENUM: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_FLOAT: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(5u32); +pub const D2D1_PROPERTY_TYPE_FLOAT: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_INT32: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(4u32); +pub const D2D1_PROPERTY_TYPE_INT32: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_IUNKNOWN: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(10u32); +pub const D2D1_PROPERTY_TYPE_IUNKNOWN: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_MATRIX_3X2: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(14u32); +pub const D2D1_PROPERTY_TYPE_MATRIX_3X2: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_MATRIX_4X3: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(15u32); +pub const D2D1_PROPERTY_TYPE_MATRIX_4X3: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_MATRIX_4X4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(16u32); +pub const D2D1_PROPERTY_TYPE_MATRIX_4X4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_MATRIX_5X4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(17u32); +pub const D2D1_PROPERTY_TYPE_MATRIX_5X4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(17i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_STRING: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(1u32); +pub const D2D1_PROPERTY_TYPE_STRING: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_UINT32: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(3u32); +pub const D2D1_PROPERTY_TYPE_UINT32: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_UNKNOWN: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(0u32); +pub const D2D1_PROPERTY_TYPE_UNKNOWN: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_VECTOR2: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(6u32); +pub const D2D1_PROPERTY_TYPE_VECTOR2: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_VECTOR3: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(7u32); +pub const D2D1_PROPERTY_TYPE_VECTOR3: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_PROPERTY_TYPE_VECTOR4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(8u32); +pub const D2D1_PROPERTY_TYPE_VECTOR4: D2D1_PROPERTY_TYPE = D2D1_PROPERTY_TYPE(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDERING_PRIORITY_LOW: D2D1_RENDERING_PRIORITY = D2D1_RENDERING_PRIORITY(1u32); +pub const D2D1_RENDERING_PRIORITY_LOW: D2D1_RENDERING_PRIORITY = D2D1_RENDERING_PRIORITY(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDERING_PRIORITY_NORMAL: D2D1_RENDERING_PRIORITY = D2D1_RENDERING_PRIORITY(0u32); +pub const D2D1_RENDERING_PRIORITY_NORMAL: D2D1_RENDERING_PRIORITY = D2D1_RENDERING_PRIORITY(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_TYPE_DEFAULT: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(0u32); +pub const D2D1_RENDER_TARGET_TYPE_DEFAULT: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_TYPE_HARDWARE: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(2u32); +pub const D2D1_RENDER_TARGET_TYPE_HARDWARE: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_TYPE_SOFTWARE: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(1u32); +pub const D2D1_RENDER_TARGET_TYPE_SOFTWARE: D2D1_RENDER_TARGET_TYPE = D2D1_RENDER_TARGET_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(1u32); +pub const D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(2u32); +pub const D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RENDER_TARGET_USAGE_NONE: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(0u32); +pub const D2D1_RENDER_TARGET_USAGE_NONE: D2D1_RENDER_TARGET_USAGE = D2D1_RENDER_TARGET_USAGE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(1u32); +pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(0u32); +pub const D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE: D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE = D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE: D2D1_RGBTOHUE_PROP = D2D1_RGBTOHUE_PROP(0u32); +pub const D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE: D2D1_RGBTOHUE_PROP = D2D1_RGBTOHUE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SATURATION_PROP_SATURATION: D2D1_SATURATION_PROP = D2D1_SATURATION_PROP(0u32); +pub const D2D1_SATURATION_PROP_SATURATION: D2D1_SATURATION_PROP = D2D1_SATURATION_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(4u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(2u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(5u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(1u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(3u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(0u32); +pub const D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_SCALE_INTERPOLATION_MODE = D2D1_SCALE_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_PROP_BORDER_MODE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(3u32); +pub const D2D1_SCALE_PROP_BORDER_MODE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_PROP_CENTER_POINT: D2D1_SCALE_PROP = D2D1_SCALE_PROP(1u32); +pub const D2D1_SCALE_PROP_CENTER_POINT: D2D1_SCALE_PROP = D2D1_SCALE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_PROP_INTERPOLATION_MODE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(2u32); +pub const D2D1_SCALE_PROP_INTERPOLATION_MODE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_PROP_SCALE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(0u32); +pub const D2D1_SCALE_PROP_SCALE: D2D1_SCALE_PROP = D2D1_SCALE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SCALE_PROP_SHARPNESS: D2D1_SCALE_PROP = D2D1_SCALE_PROP(4u32); +pub const D2D1_SCALE_PROP_SHARPNESS: D2D1_SCALE_PROP = D2D1_SCALE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const D2D1_SCENE_REFERRED_SDR_WHITE_LEVEL: f32 = 80f32; #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SEPIA_PROP_ALPHA_MODE: D2D1_SEPIA_PROP = D2D1_SEPIA_PROP(1u32); +pub const D2D1_SEPIA_PROP_ALPHA_MODE: D2D1_SEPIA_PROP = D2D1_SEPIA_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SEPIA_PROP_INTENSITY: D2D1_SEPIA_PROP = D2D1_SEPIA_PROP(0u32); +pub const D2D1_SEPIA_PROP_INTENSITY: D2D1_SEPIA_PROP = D2D1_SEPIA_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_OPTIMIZATION_BALANCED: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(1u32); +pub const D2D1_SHADOW_OPTIMIZATION_BALANCED: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_OPTIMIZATION_QUALITY: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(2u32); +pub const D2D1_SHADOW_OPTIMIZATION_QUALITY: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_OPTIMIZATION_SPEED: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(0u32); +pub const D2D1_SHADOW_OPTIMIZATION_SPEED: D2D1_SHADOW_OPTIMIZATION = D2D1_SHADOW_OPTIMIZATION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(0u32); +pub const D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_PROP_COLOR: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(1u32); +pub const D2D1_SHADOW_PROP_COLOR: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHADOW_PROP_OPTIMIZATION: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(2u32); +pub const D2D1_SHADOW_PROP_OPTIMIZATION: D2D1_SHADOW_PROP = D2D1_SHADOW_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHARPEN_PROP_SHARPNESS: D2D1_SHARPEN_PROP = D2D1_SHARPEN_PROP(0u32); +pub const D2D1_SHARPEN_PROP_SHARPNESS: D2D1_SHARPEN_PROP = D2D1_SHARPEN_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SHARPEN_PROP_THRESHOLD: D2D1_SHARPEN_PROP = D2D1_SHARPEN_PROP(1u32); +pub const D2D1_SHARPEN_PROP_THRESHOLD: D2D1_SHARPEN_PROP = D2D1_SHARPEN_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_COLOR: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(6u32); +pub const D2D1_SPOTDIFFUSE_PROP_COLOR: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(4u32); +pub const D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_FOCUS: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(2u32); +pub const D2D1_SPOTDIFFUSE_PROP_FOCUS: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(7u32); +pub const D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(0u32); +pub const D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(3u32); +pub const D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_POINTS_AT: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(1u32); +pub const D2D1_SPOTDIFFUSE_PROP_POINTS_AT: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_SCALE_MODE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(8u32); +pub const D2D1_SPOTDIFFUSE_PROP_SCALE_MODE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(5u32); +pub const D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE: D2D1_SPOTDIFFUSE_PROP = D2D1_SPOTDIFFUSE_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(4u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(2u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(5u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(1u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(3u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(0u32); +pub const D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTDIFFUSE_SCALE_MODE = D2D1_SPOTDIFFUSE_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_COLOR: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(7u32); +pub const D2D1_SPOTSPECULAR_PROP_COLOR: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_FOCUS: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(2u32); +pub const D2D1_SPOTSPECULAR_PROP_FOCUS: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(8u32); +pub const D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(0u32); +pub const D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(3u32); +pub const D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_POINTS_AT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(1u32); +pub const D2D1_SPOTSPECULAR_PROP_POINTS_AT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_SCALE_MODE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(9u32); +pub const D2D1_SPOTSPECULAR_PROP_SCALE_MODE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(5u32); +pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(4u32); +pub const D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(6u32); +pub const D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE: D2D1_SPOTSPECULAR_PROP = D2D1_SPOTSPECULAR_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(4u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(2u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(5u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(1u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(3u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(0u32); +pub const D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_SPOTSPECULAR_SCALE_MODE = D2D1_SPOTSPECULAR_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE: D2D1_SPRITE_OPTIONS = D2D1_SPRITE_OPTIONS(1u32); +pub const D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE: D2D1_SPRITE_OPTIONS = D2D1_SPRITE_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SPRITE_OPTIONS_NONE: D2D1_SPRITE_OPTIONS = D2D1_SPRITE_OPTIONS(0u32); +pub const D2D1_SPRITE_OPTIONS_NONE: D2D1_SPRITE_OPTIONS = D2D1_SPRITE_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_PROP_ANGLE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(0u32); +pub const D2D1_STRAIGHTEN_PROP_ANGLE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(1u32); +pub const D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_PROP_SCALE_MODE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(2u32); +pub const D2D1_STRAIGHTEN_PROP_SCALE_MODE: D2D1_STRAIGHTEN_PROP = D2D1_STRAIGHTEN_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(4u32); +pub const D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_SCALE_MODE_CUBIC: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(2u32); +pub const D2D1_STRAIGHTEN_SCALE_MODE_CUBIC: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_SCALE_MODE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(1u32); +pub const D2D1_STRAIGHTEN_SCALE_MODE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(3u32); +pub const D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(0u32); +pub const D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR: D2D1_STRAIGHTEN_SCALE_MODE = D2D1_STRAIGHTEN_SCALE_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STROKE_TRANSFORM_TYPE_FIXED: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(1u32); +pub const D2D1_STROKE_TRANSFORM_TYPE_FIXED: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STROKE_TRANSFORM_TYPE_HAIRLINE: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(2u32); +pub const D2D1_STROKE_TRANSFORM_TYPE_HAIRLINE: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_STROKE_TRANSFORM_TYPE_NORMAL: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(0u32); +pub const D2D1_STROKE_TRANSFORM_TYPE_NORMAL: D2D1_STROKE_TRANSFORM_TYPE = D2D1_STROKE_TRANSFORM_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_DEFAULT: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483652u32); +pub const D2D1_SUBPROPERTY_DEFAULT: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483644i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_DISPLAYNAME: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483648u32); +pub const D2D1_SUBPROPERTY_DISPLAYNAME: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483648i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_FIELDS: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483653u32); +pub const D2D1_SUBPROPERTY_FIELDS: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483643i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_INDEX: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483654u32); +pub const D2D1_SUBPROPERTY_INDEX: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483642i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_ISREADONLY: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483649u32); +pub const D2D1_SUBPROPERTY_ISREADONLY: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483647i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_MAX: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483651u32); +pub const D2D1_SUBPROPERTY_MAX: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483645i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SUBPROPERTY_MIN: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(2147483650u32); +pub const D2D1_SUBPROPERTY_MIN: D2D1_SUBPROPERTY = D2D1_SUBPROPERTY(-2147483646i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_NONE: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(0u32); +pub const D2D1_SVG_ASPECT_ALIGN_NONE: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(9u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(6u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(3u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(8u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(5u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(2u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(7u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(4u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(1u32); +pub const D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN: D2D1_SVG_ASPECT_ALIGN = D2D1_SVG_ASPECT_ALIGN(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_SCALING_MEET: D2D1_SVG_ASPECT_SCALING = D2D1_SVG_ASPECT_SCALING(0u32); +pub const D2D1_SVG_ASPECT_SCALING_MEET: D2D1_SVG_ASPECT_SCALING = D2D1_SVG_ASPECT_SCALING(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ASPECT_SCALING_SLICE: D2D1_SVG_ASPECT_SCALING = D2D1_SVG_ASPECT_SCALING(1u32); +pub const D2D1_SVG_ASPECT_SCALING_SLICE: D2D1_SVG_ASPECT_SCALING = D2D1_SVG_ASPECT_SCALING(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(1u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(3u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(10u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(2u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(0u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(13u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(5u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(6u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(8u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(4u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(11u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(9u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(12u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(7u32); +pub const D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY: D2D1_SVG_ATTRIBUTE_POD_TYPE = D2D1_SVG_ATTRIBUTE_POD_TYPE(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID: D2D1_SVG_ATTRIBUTE_STRING_TYPE = D2D1_SVG_ATTRIBUTE_STRING_TYPE(1u32); +pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID: D2D1_SVG_ATTRIBUTE_STRING_TYPE = D2D1_SVG_ATTRIBUTE_STRING_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG: D2D1_SVG_ATTRIBUTE_STRING_TYPE = D2D1_SVG_ATTRIBUTE_STRING_TYPE(0u32); +pub const D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG: D2D1_SVG_ATTRIBUTE_STRING_TYPE = D2D1_SVG_ATTRIBUTE_STRING_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_DISPLAY_INLINE: D2D1_SVG_DISPLAY = D2D1_SVG_DISPLAY(0u32); +pub const D2D1_SVG_DISPLAY_INLINE: D2D1_SVG_DISPLAY = D2D1_SVG_DISPLAY(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_DISPLAY_NONE: D2D1_SVG_DISPLAY = D2D1_SVG_DISPLAY(1u32); +pub const D2D1_SVG_DISPLAY_NONE: D2D1_SVG_DISPLAY = D2D1_SVG_DISPLAY(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LENGTH_UNITS_NUMBER: D2D1_SVG_LENGTH_UNITS = D2D1_SVG_LENGTH_UNITS(0u32); +pub const D2D1_SVG_LENGTH_UNITS_NUMBER: D2D1_SVG_LENGTH_UNITS = D2D1_SVG_LENGTH_UNITS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LENGTH_UNITS_PERCENTAGE: D2D1_SVG_LENGTH_UNITS = D2D1_SVG_LENGTH_UNITS(1u32); +pub const D2D1_SVG_LENGTH_UNITS_PERCENTAGE: D2D1_SVG_LENGTH_UNITS = D2D1_SVG_LENGTH_UNITS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_CAP_BUTT: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(0u32); +pub const D2D1_SVG_LINE_CAP_BUTT: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_CAP_ROUND: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(2u32); +pub const D2D1_SVG_LINE_CAP_ROUND: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_CAP_SQUARE: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(1u32); +pub const D2D1_SVG_LINE_CAP_SQUARE: D2D1_SVG_LINE_CAP = D2D1_SVG_LINE_CAP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_JOIN_BEVEL: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(1u32); +pub const D2D1_SVG_LINE_JOIN_BEVEL: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_JOIN_MITER: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(3u32); +pub const D2D1_SVG_LINE_JOIN_MITER: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_LINE_JOIN_ROUND: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(2u32); +pub const D2D1_SVG_LINE_JOIN_ROUND: D2D1_SVG_LINE_JOIN = D2D1_SVG_LINE_JOIN(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_OVERFLOW_HIDDEN: D2D1_SVG_OVERFLOW = D2D1_SVG_OVERFLOW(1u32); +pub const D2D1_SVG_OVERFLOW_HIDDEN: D2D1_SVG_OVERFLOW = D2D1_SVG_OVERFLOW(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_OVERFLOW_VISIBLE: D2D1_SVG_OVERFLOW = D2D1_SVG_OVERFLOW(0u32); +pub const D2D1_SVG_OVERFLOW_VISIBLE: D2D1_SVG_OVERFLOW = D2D1_SVG_OVERFLOW(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(1u32); +pub const D2D1_SVG_PAINT_TYPE_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(2u32); +pub const D2D1_SVG_PAINT_TYPE_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_NONE: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(0u32); +pub const D2D1_SVG_PAINT_TYPE_NONE: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_URI: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(3u32); +pub const D2D1_SVG_PAINT_TYPE_URI: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_URI_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(5u32); +pub const D2D1_SVG_PAINT_TYPE_URI_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(6u32); +pub const D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PAINT_TYPE_URI_NONE: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(4u32); +pub const D2D1_SVG_PAINT_TYPE_URI_NONE: D2D1_SVG_PAINT_TYPE = D2D1_SVG_PAINT_TYPE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(9u32); +pub const D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_ARC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(10u32); +pub const D2D1_SVG_PATH_COMMAND_ARC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_CLOSE_PATH: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(0u32); +pub const D2D1_SVG_PATH_COMMAND_CLOSE_PATH: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(5u32); +pub const D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(6u32); +pub const D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(15u32); +pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(16u32); +pub const D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(11u32); +pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(12u32); +pub const D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(3u32); +pub const D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_LINE_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(4u32); +pub const D2D1_SVG_PATH_COMMAND_LINE_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(1u32); +pub const D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(2u32); +pub const D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(7u32); +pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(8u32); +pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(17u32); +pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(17i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(18u32); +pub const D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(18i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(13u32); +pub const D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(14u32); +pub const D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE: D2D1_SVG_PATH_COMMAND = D2D1_SVG_PATH_COMMAND(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX: D2D1_SVG_UNIT_TYPE = D2D1_SVG_UNIT_TYPE(1u32); +pub const D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX: D2D1_SVG_UNIT_TYPE = D2D1_SVG_UNIT_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE: D2D1_SVG_UNIT_TYPE = D2D1_SVG_UNIT_TYPE(0u32); +pub const D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE: D2D1_SVG_UNIT_TYPE = D2D1_SVG_UNIT_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_VISIBILITY_HIDDEN: D2D1_SVG_VISIBILITY = D2D1_SVG_VISIBILITY(1u32); +pub const D2D1_SVG_VISIBILITY_HIDDEN: D2D1_SVG_VISIBILITY = D2D1_SVG_VISIBILITY(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SVG_VISIBILITY_VISIBLE: D2D1_SVG_VISIBILITY = D2D1_SVG_VISIBILITY(0u32); +pub const D2D1_SVG_VISIBILITY_VISIBLE: D2D1_SVG_VISIBILITY = D2D1_SVG_VISIBILITY(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SWEEP_DIRECTION_CLOCKWISE: D2D1_SWEEP_DIRECTION = D2D1_SWEEP_DIRECTION(1u32); +pub const D2D1_SWEEP_DIRECTION_CLOCKWISE: D2D1_SWEEP_DIRECTION = D2D1_SWEEP_DIRECTION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE: D2D1_SWEEP_DIRECTION = D2D1_SWEEP_DIRECTION(0u32); +pub const D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE: D2D1_SWEEP_DIRECTION = D2D1_SWEEP_DIRECTION(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(7u32); +pub const D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_ALPHA_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(6u32); +pub const D2D1_TABLETRANSFER_PROP_ALPHA_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_BLUE_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(5u32); +pub const D2D1_TABLETRANSFER_PROP_BLUE_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_BLUE_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(4u32); +pub const D2D1_TABLETRANSFER_PROP_BLUE_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(8u32); +pub const D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_GREEN_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(3u32); +pub const D2D1_TABLETRANSFER_PROP_GREEN_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_GREEN_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(2u32); +pub const D2D1_TABLETRANSFER_PROP_GREEN_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_RED_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(1u32); +pub const D2D1_TABLETRANSFER_PROP_RED_DISABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TABLETRANSFER_PROP_RED_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(0u32); +pub const D2D1_TABLETRANSFER_PROP_RED_TABLE: D2D1_TABLETRANSFER_PROP = D2D1_TABLETRANSFER_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE: D2D1_TEMPERATUREANDTINT_PROP = D2D1_TEMPERATUREANDTINT_PROP(0u32); +pub const D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE: D2D1_TEMPERATUREANDTINT_PROP = D2D1_TEMPERATUREANDTINT_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEMPERATUREANDTINT_PROP_TINT: D2D1_TEMPERATUREANDTINT_PROP = D2D1_TEMPERATUREANDTINT_PROP(1u32); +pub const D2D1_TEMPERATUREANDTINT_PROP_TINT: D2D1_TEMPERATUREANDTINT_PROP = D2D1_TEMPERATUREANDTINT_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEXT_ANTIALIAS_MODE_ALIASED: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(3u32); +pub const D2D1_TEXT_ANTIALIAS_MODE_ALIASED: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(1u32); +pub const D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEXT_ANTIALIAS_MODE_DEFAULT: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(0u32); +pub const D2D1_TEXT_ANTIALIAS_MODE_DEFAULT: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(2u32); +pub const D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE: D2D1_TEXT_ANTIALIAS_MODE = D2D1_TEXT_ANTIALIAS_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_THREADING_MODE_MULTI_THREADED: D2D1_THREADING_MODE = D2D1_THREADING_MODE(1u32); +pub const D2D1_THREADING_MODE_MULTI_THREADED: D2D1_THREADING_MODE = D2D1_THREADING_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_THREADING_MODE_SINGLE_THREADED: D2D1_THREADING_MODE = D2D1_THREADING_MODE(0u32); +pub const D2D1_THREADING_MODE_SINGLE_THREADED: D2D1_THREADING_MODE = D2D1_THREADING_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TILE_PROP_RECT: D2D1_TILE_PROP = D2D1_TILE_PROP(0u32); +pub const D2D1_TILE_PROP_RECT: D2D1_TILE_PROP = D2D1_TILE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TINT_PROP_CLAMP_OUTPUT: D2D1_TINT_PROP = D2D1_TINT_PROP(1u32); +pub const D2D1_TINT_PROP_CLAMP_OUTPUT: D2D1_TINT_PROP = D2D1_TINT_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TINT_PROP_COLOR: D2D1_TINT_PROP = D2D1_TINT_PROP(0u32); +pub const D2D1_TINT_PROP_COLOR: D2D1_TINT_PROP = D2D1_TINT_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_DISABLE_DPI_SCALE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(1u32); +pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_DISABLE_DPI_SCALE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(0u32); +pub const D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE: D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS = D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_BASE_FREQUENCY: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(2u32); +pub const D2D1_TURBULENCE_PROP_BASE_FREQUENCY: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_NOISE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(5u32); +pub const D2D1_TURBULENCE_PROP_NOISE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_NUM_OCTAVES: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(3u32); +pub const D2D1_TURBULENCE_PROP_NUM_OCTAVES: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_OFFSET: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(0u32); +pub const D2D1_TURBULENCE_PROP_OFFSET: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_SEED: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(4u32); +pub const D2D1_TURBULENCE_PROP_SEED: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_SIZE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(1u32); +pub const D2D1_TURBULENCE_PROP_SIZE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_TURBULENCE_PROP_STITCHABLE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(6u32); +pub const D2D1_TURBULENCE_PROP_STITCHABLE: D2D1_TURBULENCE_PROP = D2D1_TURBULENCE_PROP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_UNIT_MODE_DIPS: D2D1_UNIT_MODE = D2D1_UNIT_MODE(0u32); +pub const D2D1_UNIT_MODE_DIPS: D2D1_UNIT_MODE = D2D1_UNIT_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_UNIT_MODE_PIXELS: D2D1_UNIT_MODE = D2D1_UNIT_MODE(1u32); +pub const D2D1_UNIT_MODE_PIXELS: D2D1_UNIT_MODE = D2D1_UNIT_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_OPTIONS_ASSUME_NO_OVERLAP: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(4u32); +pub const D2D1_VERTEX_OPTIONS_ASSUME_NO_OVERLAP: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_OPTIONS_DO_NOT_CLEAR: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(1u32); +pub const D2D1_VERTEX_OPTIONS_DO_NOT_CLEAR: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_OPTIONS_NONE: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(0u32); +pub const D2D1_VERTEX_OPTIONS_NONE: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_OPTIONS_USE_DEPTH_BUFFER: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(2u32); +pub const D2D1_VERTEX_OPTIONS_USE_DEPTH_BUFFER: D2D1_VERTEX_OPTIONS = D2D1_VERTEX_OPTIONS(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_USAGE_DYNAMIC: D2D1_VERTEX_USAGE = D2D1_VERTEX_USAGE(1u32); +pub const D2D1_VERTEX_USAGE_DYNAMIC: D2D1_VERTEX_USAGE = D2D1_VERTEX_USAGE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VERTEX_USAGE_STATIC: D2D1_VERTEX_USAGE = D2D1_VERTEX_USAGE(0u32); +pub const D2D1_VERTEX_USAGE_STATIC: D2D1_VERTEX_USAGE = D2D1_VERTEX_USAGE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VIGNETTE_PROP_COLOR: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(0u32); +pub const D2D1_VIGNETTE_PROP_COLOR: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VIGNETTE_PROP_STRENGTH: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(2u32); +pub const D2D1_VIGNETTE_PROP_STRENGTH: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_VIGNETTE_PROP_TRANSITION_SIZE: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(1u32); +pub const D2D1_VIGNETTE_PROP_TRANSITION_SIZE: D2D1_VIGNETTE_PROP = D2D1_VIGNETTE_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_WHITELEVELADJUSTMENT_PROP_INPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = D2D1_WHITELEVELADJUSTMENT_PROP(0u32); +pub const D2D1_WHITELEVELADJUSTMENT_PROP_INPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = D2D1_WHITELEVELADJUSTMENT_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_WHITELEVELADJUSTMENT_PROP_OUTPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = D2D1_WHITELEVELADJUSTMENT_PROP(1u32); +pub const D2D1_WHITELEVELADJUSTMENT_PROP_OUTPUT_WHITE_LEVEL: D2D1_WHITELEVELADJUSTMENT_PROP = D2D1_WHITELEVELADJUSTMENT_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_WINDOW_STATE_NONE: D2D1_WINDOW_STATE = D2D1_WINDOW_STATE(0u32); +pub const D2D1_WINDOW_STATE_NONE: D2D1_WINDOW_STATE = D2D1_WINDOW_STATE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_WINDOW_STATE_OCCLUDED: D2D1_WINDOW_STATE = D2D1_WINDOW_STATE(1u32); +pub const D2D1_WINDOW_STATE_OCCLUDED: D2D1_WINDOW_STATE = D2D1_WINDOW_STATE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_420: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(1u32); +pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_420: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_422: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(2u32); +pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_422: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_440: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(4u32); +pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_440: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_444: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(3u32); +pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_444: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(0u32); +pub const D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO: D2D1_YCBCR_CHROMA_SUBSAMPLING = D2D1_YCBCR_CHROMA_SUBSAMPLING(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(4u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(2u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(5u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(1u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(3u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(0u32); +pub const D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR: D2D1_YCBCR_INTERPOLATION_MODE = D2D1_YCBCR_INTERPOLATION_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(0u32); +pub const D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_PROP_INTERPOLATION_MODE: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(2u32); +pub const D2D1_YCBCR_PROP_INTERPOLATION_MODE: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] -pub const D2D1_YCBCR_PROP_TRANSFORM_MATRIX: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(1u32); +pub const D2D1_YCBCR_PROP_TRANSFORM_MATRIX: D2D1_YCBCR_PROP = D2D1_YCBCR_PROP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] pub const FACILITY_D2D: u32 = 2201u32; #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_2DAFFINETRANSFORM_PROP(pub u32); +pub struct D2D1_2DAFFINETRANSFORM_PROP(pub i32); impl ::core::marker::Copy for D2D1_2DAFFINETRANSFORM_PROP {} impl ::core::clone::Clone for D2D1_2DAFFINETRANSFORM_PROP { fn clone(&self) -> Self { @@ -17002,7 +17002,7 @@ impl ::core::fmt::Debug for D2D1_2DAFFINETRANSFORM_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(pub u32); +pub struct D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -17025,7 +17025,7 @@ impl ::core::fmt::Debug for D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_3DPERSPECTIVETRANSFORM_PROP(pub u32); +pub struct D2D1_3DPERSPECTIVETRANSFORM_PROP(pub i32); impl ::core::marker::Copy for D2D1_3DPERSPECTIVETRANSFORM_PROP {} impl ::core::clone::Clone for D2D1_3DPERSPECTIVETRANSFORM_PROP { fn clone(&self) -> Self { @@ -17048,7 +17048,7 @@ impl ::core::fmt::Debug for D2D1_3DPERSPECTIVETRANSFORM_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_3DTRANSFORM_INTERPOLATION_MODE(pub u32); +pub struct D2D1_3DTRANSFORM_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_3DTRANSFORM_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_3DTRANSFORM_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -17071,7 +17071,7 @@ impl ::core::fmt::Debug for D2D1_3DTRANSFORM_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_3DTRANSFORM_PROP(pub u32); +pub struct D2D1_3DTRANSFORM_PROP(pub i32); impl ::core::marker::Copy for D2D1_3DTRANSFORM_PROP {} impl ::core::clone::Clone for D2D1_3DTRANSFORM_PROP { fn clone(&self) -> Self { @@ -17094,7 +17094,7 @@ impl ::core::fmt::Debug for D2D1_3DTRANSFORM_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ANTIALIAS_MODE(pub u32); +pub struct D2D1_ANTIALIAS_MODE(pub i32); impl ::core::marker::Copy for D2D1_ANTIALIAS_MODE {} impl ::core::clone::Clone for D2D1_ANTIALIAS_MODE { fn clone(&self) -> Self { @@ -17117,7 +17117,7 @@ impl ::core::fmt::Debug for D2D1_ANTIALIAS_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ARC_SIZE(pub u32); +pub struct D2D1_ARC_SIZE(pub i32); impl ::core::marker::Copy for D2D1_ARC_SIZE {} impl ::core::clone::Clone for D2D1_ARC_SIZE { fn clone(&self) -> Self { @@ -17140,7 +17140,7 @@ impl ::core::fmt::Debug for D2D1_ARC_SIZE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ARITHMETICCOMPOSITE_PROP(pub u32); +pub struct D2D1_ARITHMETICCOMPOSITE_PROP(pub i32); impl ::core::marker::Copy for D2D1_ARITHMETICCOMPOSITE_PROP {} impl ::core::clone::Clone for D2D1_ARITHMETICCOMPOSITE_PROP { fn clone(&self) -> Self { @@ -17163,7 +17163,7 @@ impl ::core::fmt::Debug for D2D1_ARITHMETICCOMPOSITE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ATLAS_PROP(pub u32); +pub struct D2D1_ATLAS_PROP(pub i32); impl ::core::marker::Copy for D2D1_ATLAS_PROP {} impl ::core::clone::Clone for D2D1_ATLAS_PROP { fn clone(&self) -> Self { @@ -17186,7 +17186,7 @@ impl ::core::fmt::Debug for D2D1_ATLAS_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAPSOURCE_ALPHA_MODE(pub u32); +pub struct D2D1_BITMAPSOURCE_ALPHA_MODE(pub i32); impl ::core::marker::Copy for D2D1_BITMAPSOURCE_ALPHA_MODE {} impl ::core::clone::Clone for D2D1_BITMAPSOURCE_ALPHA_MODE { fn clone(&self) -> Self { @@ -17209,7 +17209,7 @@ impl ::core::fmt::Debug for D2D1_BITMAPSOURCE_ALPHA_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAPSOURCE_INTERPOLATION_MODE(pub u32); +pub struct D2D1_BITMAPSOURCE_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_BITMAPSOURCE_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_BITMAPSOURCE_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -17232,7 +17232,7 @@ impl ::core::fmt::Debug for D2D1_BITMAPSOURCE_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAPSOURCE_ORIENTATION(pub u32); +pub struct D2D1_BITMAPSOURCE_ORIENTATION(pub i32); impl ::core::marker::Copy for D2D1_BITMAPSOURCE_ORIENTATION {} impl ::core::clone::Clone for D2D1_BITMAPSOURCE_ORIENTATION { fn clone(&self) -> Self { @@ -17255,7 +17255,7 @@ impl ::core::fmt::Debug for D2D1_BITMAPSOURCE_ORIENTATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAPSOURCE_PROP(pub u32); +pub struct D2D1_BITMAPSOURCE_PROP(pub i32); impl ::core::marker::Copy for D2D1_BITMAPSOURCE_PROP {} impl ::core::clone::Clone for D2D1_BITMAPSOURCE_PROP { fn clone(&self) -> Self { @@ -17278,7 +17278,7 @@ impl ::core::fmt::Debug for D2D1_BITMAPSOURCE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAP_INTERPOLATION_MODE(pub u32); +pub struct D2D1_BITMAP_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_BITMAP_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_BITMAP_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -17301,7 +17301,7 @@ impl ::core::fmt::Debug for D2D1_BITMAP_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BITMAP_OPTIONS(pub u32); +pub struct D2D1_BITMAP_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_BITMAP_OPTIONS {} impl ::core::clone::Clone for D2D1_BITMAP_OPTIONS { fn clone(&self) -> Self { @@ -17357,7 +17357,7 @@ impl ::core::ops::Not for D2D1_BITMAP_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BLEND(pub u32); +pub struct D2D1_BLEND(pub i32); impl ::core::marker::Copy for D2D1_BLEND {} impl ::core::clone::Clone for D2D1_BLEND { fn clone(&self) -> Self { @@ -17380,7 +17380,7 @@ impl ::core::fmt::Debug for D2D1_BLEND { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BLEND_OPERATION(pub u32); +pub struct D2D1_BLEND_OPERATION(pub i32); impl ::core::marker::Copy for D2D1_BLEND_OPERATION {} impl ::core::clone::Clone for D2D1_BLEND_OPERATION { fn clone(&self) -> Self { @@ -17403,7 +17403,7 @@ impl ::core::fmt::Debug for D2D1_BLEND_OPERATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BLEND_PROP(pub u32); +pub struct D2D1_BLEND_PROP(pub i32); impl ::core::marker::Copy for D2D1_BLEND_PROP {} impl ::core::clone::Clone for D2D1_BLEND_PROP { fn clone(&self) -> Self { @@ -17426,7 +17426,7 @@ impl ::core::fmt::Debug for D2D1_BLEND_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BORDER_EDGE_MODE(pub u32); +pub struct D2D1_BORDER_EDGE_MODE(pub i32); impl ::core::marker::Copy for D2D1_BORDER_EDGE_MODE {} impl ::core::clone::Clone for D2D1_BORDER_EDGE_MODE { fn clone(&self) -> Self { @@ -17449,7 +17449,7 @@ impl ::core::fmt::Debug for D2D1_BORDER_EDGE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BORDER_PROP(pub u32); +pub struct D2D1_BORDER_PROP(pub i32); impl ::core::marker::Copy for D2D1_BORDER_PROP {} impl ::core::clone::Clone for D2D1_BORDER_PROP { fn clone(&self) -> Self { @@ -17472,7 +17472,7 @@ impl ::core::fmt::Debug for D2D1_BORDER_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BRIGHTNESS_PROP(pub u32); +pub struct D2D1_BRIGHTNESS_PROP(pub i32); impl ::core::marker::Copy for D2D1_BRIGHTNESS_PROP {} impl ::core::clone::Clone for D2D1_BRIGHTNESS_PROP { fn clone(&self) -> Self { @@ -17495,7 +17495,7 @@ impl ::core::fmt::Debug for D2D1_BRIGHTNESS_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_BUFFER_PRECISION(pub u32); +pub struct D2D1_BUFFER_PRECISION(pub i32); impl ::core::marker::Copy for D2D1_BUFFER_PRECISION {} impl ::core::clone::Clone for D2D1_BUFFER_PRECISION { fn clone(&self) -> Self { @@ -17518,7 +17518,7 @@ impl ::core::fmt::Debug for D2D1_BUFFER_PRECISION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CAP_STYLE(pub u32); +pub struct D2D1_CAP_STYLE(pub i32); impl ::core::marker::Copy for D2D1_CAP_STYLE {} impl ::core::clone::Clone for D2D1_CAP_STYLE { fn clone(&self) -> Self { @@ -17541,7 +17541,7 @@ impl ::core::fmt::Debug for D2D1_CAP_STYLE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CHANGE_TYPE(pub u32); +pub struct D2D1_CHANGE_TYPE(pub i32); impl ::core::marker::Copy for D2D1_CHANGE_TYPE {} impl ::core::clone::Clone for D2D1_CHANGE_TYPE { fn clone(&self) -> Self { @@ -17597,7 +17597,7 @@ impl ::core::ops::Not for D2D1_CHANGE_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CHANNEL_DEPTH(pub u32); +pub struct D2D1_CHANNEL_DEPTH(pub i32); impl ::core::marker::Copy for D2D1_CHANNEL_DEPTH {} impl ::core::clone::Clone for D2D1_CHANNEL_DEPTH { fn clone(&self) -> Self { @@ -17620,7 +17620,7 @@ impl ::core::fmt::Debug for D2D1_CHANNEL_DEPTH { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CHANNEL_SELECTOR(pub u32); +pub struct D2D1_CHANNEL_SELECTOR(pub i32); impl ::core::marker::Copy for D2D1_CHANNEL_SELECTOR {} impl ::core::clone::Clone for D2D1_CHANNEL_SELECTOR { fn clone(&self) -> Self { @@ -17643,7 +17643,7 @@ impl ::core::fmt::Debug for D2D1_CHANNEL_SELECTOR { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CHROMAKEY_PROP(pub u32); +pub struct D2D1_CHROMAKEY_PROP(pub i32); impl ::core::marker::Copy for D2D1_CHROMAKEY_PROP {} impl ::core::clone::Clone for D2D1_CHROMAKEY_PROP { fn clone(&self) -> Self { @@ -17666,7 +17666,7 @@ impl ::core::fmt::Debug for D2D1_CHROMAKEY_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMANAGEMENT_ALPHA_MODE(pub u32); +pub struct D2D1_COLORMANAGEMENT_ALPHA_MODE(pub i32); impl ::core::marker::Copy for D2D1_COLORMANAGEMENT_ALPHA_MODE {} impl ::core::clone::Clone for D2D1_COLORMANAGEMENT_ALPHA_MODE { fn clone(&self) -> Self { @@ -17689,7 +17689,7 @@ impl ::core::fmt::Debug for D2D1_COLORMANAGEMENT_ALPHA_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMANAGEMENT_PROP(pub u32); +pub struct D2D1_COLORMANAGEMENT_PROP(pub i32); impl ::core::marker::Copy for D2D1_COLORMANAGEMENT_PROP {} impl ::core::clone::Clone for D2D1_COLORMANAGEMENT_PROP { fn clone(&self) -> Self { @@ -17712,7 +17712,7 @@ impl ::core::fmt::Debug for D2D1_COLORMANAGEMENT_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMANAGEMENT_QUALITY(pub u32); +pub struct D2D1_COLORMANAGEMENT_QUALITY(pub i32); impl ::core::marker::Copy for D2D1_COLORMANAGEMENT_QUALITY {} impl ::core::clone::Clone for D2D1_COLORMANAGEMENT_QUALITY { fn clone(&self) -> Self { @@ -17735,7 +17735,7 @@ impl ::core::fmt::Debug for D2D1_COLORMANAGEMENT_QUALITY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMANAGEMENT_RENDERING_INTENT(pub u32); +pub struct D2D1_COLORMANAGEMENT_RENDERING_INTENT(pub i32); impl ::core::marker::Copy for D2D1_COLORMANAGEMENT_RENDERING_INTENT {} impl ::core::clone::Clone for D2D1_COLORMANAGEMENT_RENDERING_INTENT { fn clone(&self) -> Self { @@ -17758,7 +17758,7 @@ impl ::core::fmt::Debug for D2D1_COLORMANAGEMENT_RENDERING_INTENT { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLORMATRIX_PROP(pub u32); +pub struct D2D1_COLORMATRIX_PROP(pub i32); impl ::core::marker::Copy for D2D1_COLORMATRIX_PROP {} impl ::core::clone::Clone for D2D1_COLORMATRIX_PROP { fn clone(&self) -> Self { @@ -17781,7 +17781,7 @@ impl ::core::fmt::Debug for D2D1_COLORMATRIX_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(pub u32); +pub struct D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION(pub i32); impl ::core::marker::Copy for D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION {} impl ::core::clone::Clone for D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION { fn clone(&self) -> Self { @@ -17804,7 +17804,7 @@ impl ::core::fmt::Debug for D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLOR_CONTEXT_TYPE(pub u32); +pub struct D2D1_COLOR_CONTEXT_TYPE(pub i32); impl ::core::marker::Copy for D2D1_COLOR_CONTEXT_TYPE {} impl ::core::clone::Clone for D2D1_COLOR_CONTEXT_TYPE { fn clone(&self) -> Self { @@ -17827,7 +17827,7 @@ impl ::core::fmt::Debug for D2D1_COLOR_CONTEXT_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLOR_INTERPOLATION_MODE(pub u32); +pub struct D2D1_COLOR_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_COLOR_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_COLOR_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -17850,7 +17850,7 @@ impl ::core::fmt::Debug for D2D1_COLOR_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COLOR_SPACE(pub u32); +pub struct D2D1_COLOR_SPACE(pub i32); impl ::core::marker::Copy for D2D1_COLOR_SPACE {} impl ::core::clone::Clone for D2D1_COLOR_SPACE { fn clone(&self) -> Self { @@ -17873,7 +17873,7 @@ impl ::core::fmt::Debug for D2D1_COLOR_SPACE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COMBINE_MODE(pub u32); +pub struct D2D1_COMBINE_MODE(pub i32); impl ::core::marker::Copy for D2D1_COMBINE_MODE {} impl ::core::clone::Clone for D2D1_COMBINE_MODE { fn clone(&self) -> Self { @@ -17896,7 +17896,7 @@ impl ::core::fmt::Debug for D2D1_COMBINE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(pub u32); +pub struct D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS {} impl ::core::clone::Clone for D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS { fn clone(&self) -> Self { @@ -17952,7 +17952,7 @@ impl ::core::ops::Not for D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_COMPOSITE_PROP(pub u32); +pub struct D2D1_COMPOSITE_PROP(pub i32); impl ::core::marker::Copy for D2D1_COMPOSITE_PROP {} impl ::core::clone::Clone for D2D1_COMPOSITE_PROP { fn clone(&self) -> Self { @@ -17975,7 +17975,7 @@ impl ::core::fmt::Debug for D2D1_COMPOSITE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CONTRAST_PROP(pub u32); +pub struct D2D1_CONTRAST_PROP(pub i32); impl ::core::marker::Copy for D2D1_CONTRAST_PROP {} impl ::core::clone::Clone for D2D1_CONTRAST_PROP { fn clone(&self) -> Self { @@ -17998,7 +17998,7 @@ impl ::core::fmt::Debug for D2D1_CONTRAST_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CONVOLVEMATRIX_PROP(pub u32); +pub struct D2D1_CONVOLVEMATRIX_PROP(pub i32); impl ::core::marker::Copy for D2D1_CONVOLVEMATRIX_PROP {} impl ::core::clone::Clone for D2D1_CONVOLVEMATRIX_PROP { fn clone(&self) -> Self { @@ -18021,7 +18021,7 @@ impl ::core::fmt::Debug for D2D1_CONVOLVEMATRIX_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CONVOLVEMATRIX_SCALE_MODE(pub u32); +pub struct D2D1_CONVOLVEMATRIX_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_CONVOLVEMATRIX_SCALE_MODE {} impl ::core::clone::Clone for D2D1_CONVOLVEMATRIX_SCALE_MODE { fn clone(&self) -> Self { @@ -18044,7 +18044,7 @@ impl ::core::fmt::Debug for D2D1_CONVOLVEMATRIX_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CROP_PROP(pub u32); +pub struct D2D1_CROP_PROP(pub i32); impl ::core::marker::Copy for D2D1_CROP_PROP {} impl ::core::clone::Clone for D2D1_CROP_PROP { fn clone(&self) -> Self { @@ -18067,7 +18067,7 @@ impl ::core::fmt::Debug for D2D1_CROP_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_CROSSFADE_PROP(pub u32); +pub struct D2D1_CROSSFADE_PROP(pub i32); impl ::core::marker::Copy for D2D1_CROSSFADE_PROP {} impl ::core::clone::Clone for D2D1_CROSSFADE_PROP { fn clone(&self) -> Self { @@ -18090,7 +18090,7 @@ impl ::core::fmt::Debug for D2D1_CROSSFADE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DASH_STYLE(pub u32); +pub struct D2D1_DASH_STYLE(pub i32); impl ::core::marker::Copy for D2D1_DASH_STYLE {} impl ::core::clone::Clone for D2D1_DASH_STYLE { fn clone(&self) -> Self { @@ -18113,7 +18113,7 @@ impl ::core::fmt::Debug for D2D1_DASH_STYLE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DC_INITIALIZE_MODE(pub u32); +pub struct D2D1_DC_INITIALIZE_MODE(pub i32); impl ::core::marker::Copy for D2D1_DC_INITIALIZE_MODE {} impl ::core::clone::Clone for D2D1_DC_INITIALIZE_MODE { fn clone(&self) -> Self { @@ -18136,7 +18136,7 @@ impl ::core::fmt::Debug for D2D1_DC_INITIALIZE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DEBUG_LEVEL(pub u32); +pub struct D2D1_DEBUG_LEVEL(pub i32); impl ::core::marker::Copy for D2D1_DEBUG_LEVEL {} impl ::core::clone::Clone for D2D1_DEBUG_LEVEL { fn clone(&self) -> Self { @@ -18159,7 +18159,7 @@ impl ::core::fmt::Debug for D2D1_DEBUG_LEVEL { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DEVICE_CONTEXT_OPTIONS(pub u32); +pub struct D2D1_DEVICE_CONTEXT_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_DEVICE_CONTEXT_OPTIONS {} impl ::core::clone::Clone for D2D1_DEVICE_CONTEXT_OPTIONS { fn clone(&self) -> Self { @@ -18215,7 +18215,7 @@ impl ::core::ops::Not for D2D1_DEVICE_CONTEXT_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DIRECTIONALBLUR_OPTIMIZATION(pub u32); +pub struct D2D1_DIRECTIONALBLUR_OPTIMIZATION(pub i32); impl ::core::marker::Copy for D2D1_DIRECTIONALBLUR_OPTIMIZATION {} impl ::core::clone::Clone for D2D1_DIRECTIONALBLUR_OPTIMIZATION { fn clone(&self) -> Self { @@ -18238,7 +18238,7 @@ impl ::core::fmt::Debug for D2D1_DIRECTIONALBLUR_OPTIMIZATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DIRECTIONALBLUR_PROP(pub u32); +pub struct D2D1_DIRECTIONALBLUR_PROP(pub i32); impl ::core::marker::Copy for D2D1_DIRECTIONALBLUR_PROP {} impl ::core::clone::Clone for D2D1_DIRECTIONALBLUR_PROP { fn clone(&self) -> Self { @@ -18261,7 +18261,7 @@ impl ::core::fmt::Debug for D2D1_DIRECTIONALBLUR_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISCRETETRANSFER_PROP(pub u32); +pub struct D2D1_DISCRETETRANSFER_PROP(pub i32); impl ::core::marker::Copy for D2D1_DISCRETETRANSFER_PROP {} impl ::core::clone::Clone for D2D1_DISCRETETRANSFER_PROP { fn clone(&self) -> Self { @@ -18284,7 +18284,7 @@ impl ::core::fmt::Debug for D2D1_DISCRETETRANSFER_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISPLACEMENTMAP_PROP(pub u32); +pub struct D2D1_DISPLACEMENTMAP_PROP(pub i32); impl ::core::marker::Copy for D2D1_DISPLACEMENTMAP_PROP {} impl ::core::clone::Clone for D2D1_DISPLACEMENTMAP_PROP { fn clone(&self) -> Self { @@ -18307,7 +18307,7 @@ impl ::core::fmt::Debug for D2D1_DISPLACEMENTMAP_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISTANTDIFFUSE_PROP(pub u32); +pub struct D2D1_DISTANTDIFFUSE_PROP(pub i32); impl ::core::marker::Copy for D2D1_DISTANTDIFFUSE_PROP {} impl ::core::clone::Clone for D2D1_DISTANTDIFFUSE_PROP { fn clone(&self) -> Self { @@ -18330,7 +18330,7 @@ impl ::core::fmt::Debug for D2D1_DISTANTDIFFUSE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISTANTDIFFUSE_SCALE_MODE(pub u32); +pub struct D2D1_DISTANTDIFFUSE_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_DISTANTDIFFUSE_SCALE_MODE {} impl ::core::clone::Clone for D2D1_DISTANTDIFFUSE_SCALE_MODE { fn clone(&self) -> Self { @@ -18353,7 +18353,7 @@ impl ::core::fmt::Debug for D2D1_DISTANTDIFFUSE_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISTANTSPECULAR_PROP(pub u32); +pub struct D2D1_DISTANTSPECULAR_PROP(pub i32); impl ::core::marker::Copy for D2D1_DISTANTSPECULAR_PROP {} impl ::core::clone::Clone for D2D1_DISTANTSPECULAR_PROP { fn clone(&self) -> Self { @@ -18376,7 +18376,7 @@ impl ::core::fmt::Debug for D2D1_DISTANTSPECULAR_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DISTANTSPECULAR_SCALE_MODE(pub u32); +pub struct D2D1_DISTANTSPECULAR_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_DISTANTSPECULAR_SCALE_MODE {} impl ::core::clone::Clone for D2D1_DISTANTSPECULAR_SCALE_MODE { fn clone(&self) -> Self { @@ -18399,7 +18399,7 @@ impl ::core::fmt::Debug for D2D1_DISTANTSPECULAR_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DPICOMPENSATION_INTERPOLATION_MODE(pub u32); +pub struct D2D1_DPICOMPENSATION_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_DPICOMPENSATION_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_DPICOMPENSATION_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -18422,7 +18422,7 @@ impl ::core::fmt::Debug for D2D1_DPICOMPENSATION_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DPICOMPENSATION_PROP(pub u32); +pub struct D2D1_DPICOMPENSATION_PROP(pub i32); impl ::core::marker::Copy for D2D1_DPICOMPENSATION_PROP {} impl ::core::clone::Clone for D2D1_DPICOMPENSATION_PROP { fn clone(&self) -> Self { @@ -18445,7 +18445,7 @@ impl ::core::fmt::Debug for D2D1_DPICOMPENSATION_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_DRAW_TEXT_OPTIONS(pub u32); +pub struct D2D1_DRAW_TEXT_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_DRAW_TEXT_OPTIONS {} impl ::core::clone::Clone for D2D1_DRAW_TEXT_OPTIONS { fn clone(&self) -> Self { @@ -18501,7 +18501,7 @@ impl ::core::ops::Not for D2D1_DRAW_TEXT_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_EDGEDETECTION_MODE(pub u32); +pub struct D2D1_EDGEDETECTION_MODE(pub i32); impl ::core::marker::Copy for D2D1_EDGEDETECTION_MODE {} impl ::core::clone::Clone for D2D1_EDGEDETECTION_MODE { fn clone(&self) -> Self { @@ -18524,7 +18524,7 @@ impl ::core::fmt::Debug for D2D1_EDGEDETECTION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_EDGEDETECTION_PROP(pub u32); +pub struct D2D1_EDGEDETECTION_PROP(pub i32); impl ::core::marker::Copy for D2D1_EDGEDETECTION_PROP {} impl ::core::clone::Clone for D2D1_EDGEDETECTION_PROP { fn clone(&self) -> Self { @@ -18547,7 +18547,7 @@ impl ::core::fmt::Debug for D2D1_EDGEDETECTION_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_EMBOSS_PROP(pub u32); +pub struct D2D1_EMBOSS_PROP(pub i32); impl ::core::marker::Copy for D2D1_EMBOSS_PROP {} impl ::core::clone::Clone for D2D1_EMBOSS_PROP { fn clone(&self) -> Self { @@ -18570,7 +18570,7 @@ impl ::core::fmt::Debug for D2D1_EMBOSS_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_EXPOSURE_PROP(pub u32); +pub struct D2D1_EXPOSURE_PROP(pub i32); impl ::core::marker::Copy for D2D1_EXPOSURE_PROP {} impl ::core::clone::Clone for D2D1_EXPOSURE_PROP { fn clone(&self) -> Self { @@ -18593,7 +18593,7 @@ impl ::core::fmt::Debug for D2D1_EXPOSURE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_EXTEND_MODE(pub u32); +pub struct D2D1_EXTEND_MODE(pub i32); impl ::core::marker::Copy for D2D1_EXTEND_MODE {} impl ::core::clone::Clone for D2D1_EXTEND_MODE { fn clone(&self) -> Self { @@ -18616,7 +18616,7 @@ impl ::core::fmt::Debug for D2D1_EXTEND_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FACTORY_TYPE(pub u32); +pub struct D2D1_FACTORY_TYPE(pub i32); impl ::core::marker::Copy for D2D1_FACTORY_TYPE {} impl ::core::clone::Clone for D2D1_FACTORY_TYPE { fn clone(&self) -> Self { @@ -18639,7 +18639,7 @@ impl ::core::fmt::Debug for D2D1_FACTORY_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FEATURE(pub u32); +pub struct D2D1_FEATURE(pub i32); impl ::core::marker::Copy for D2D1_FEATURE {} impl ::core::clone::Clone for D2D1_FEATURE { fn clone(&self) -> Self { @@ -18662,7 +18662,7 @@ impl ::core::fmt::Debug for D2D1_FEATURE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FEATURE_LEVEL(pub u32); +pub struct D2D1_FEATURE_LEVEL(pub i32); impl ::core::marker::Copy for D2D1_FEATURE_LEVEL {} impl ::core::clone::Clone for D2D1_FEATURE_LEVEL { fn clone(&self) -> Self { @@ -18685,7 +18685,7 @@ impl ::core::fmt::Debug for D2D1_FEATURE_LEVEL { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FILTER(pub u32); +pub struct D2D1_FILTER(pub i32); impl ::core::marker::Copy for D2D1_FILTER {} impl ::core::clone::Clone for D2D1_FILTER { fn clone(&self) -> Self { @@ -18708,7 +18708,7 @@ impl ::core::fmt::Debug for D2D1_FILTER { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_FLOOD_PROP(pub u32); +pub struct D2D1_FLOOD_PROP(pub i32); impl ::core::marker::Copy for D2D1_FLOOD_PROP {} impl ::core::clone::Clone for D2D1_FLOOD_PROP { fn clone(&self) -> Self { @@ -18731,7 +18731,7 @@ impl ::core::fmt::Debug for D2D1_FLOOD_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GAMMA(pub u32); +pub struct D2D1_GAMMA(pub i32); impl ::core::marker::Copy for D2D1_GAMMA {} impl ::core::clone::Clone for D2D1_GAMMA { fn clone(&self) -> Self { @@ -18754,7 +18754,7 @@ impl ::core::fmt::Debug for D2D1_GAMMA { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GAMMA1(pub u32); +pub struct D2D1_GAMMA1(pub i32); impl ::core::marker::Copy for D2D1_GAMMA1 {} impl ::core::clone::Clone for D2D1_GAMMA1 { fn clone(&self) -> Self { @@ -18777,7 +18777,7 @@ impl ::core::fmt::Debug for D2D1_GAMMA1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GAMMATRANSFER_PROP(pub u32); +pub struct D2D1_GAMMATRANSFER_PROP(pub i32); impl ::core::marker::Copy for D2D1_GAMMATRANSFER_PROP {} impl ::core::clone::Clone for D2D1_GAMMATRANSFER_PROP { fn clone(&self) -> Self { @@ -18800,7 +18800,7 @@ impl ::core::fmt::Debug for D2D1_GAMMATRANSFER_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GAUSSIANBLUR_OPTIMIZATION(pub u32); +pub struct D2D1_GAUSSIANBLUR_OPTIMIZATION(pub i32); impl ::core::marker::Copy for D2D1_GAUSSIANBLUR_OPTIMIZATION {} impl ::core::clone::Clone for D2D1_GAUSSIANBLUR_OPTIMIZATION { fn clone(&self) -> Self { @@ -18823,7 +18823,7 @@ impl ::core::fmt::Debug for D2D1_GAUSSIANBLUR_OPTIMIZATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GAUSSIANBLUR_PROP(pub u32); +pub struct D2D1_GAUSSIANBLUR_PROP(pub i32); impl ::core::marker::Copy for D2D1_GAUSSIANBLUR_PROP {} impl ::core::clone::Clone for D2D1_GAUSSIANBLUR_PROP { fn clone(&self) -> Self { @@ -18846,7 +18846,7 @@ impl ::core::fmt::Debug for D2D1_GAUSSIANBLUR_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GEOMETRY_RELATION(pub u32); +pub struct D2D1_GEOMETRY_RELATION(pub i32); impl ::core::marker::Copy for D2D1_GEOMETRY_RELATION {} impl ::core::clone::Clone for D2D1_GEOMETRY_RELATION { fn clone(&self) -> Self { @@ -18869,7 +18869,7 @@ impl ::core::fmt::Debug for D2D1_GEOMETRY_RELATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_GEOMETRY_SIMPLIFICATION_OPTION(pub u32); +pub struct D2D1_GEOMETRY_SIMPLIFICATION_OPTION(pub i32); impl ::core::marker::Copy for D2D1_GEOMETRY_SIMPLIFICATION_OPTION {} impl ::core::clone::Clone for D2D1_GEOMETRY_SIMPLIFICATION_OPTION { fn clone(&self) -> Self { @@ -18892,7 +18892,7 @@ impl ::core::fmt::Debug for D2D1_GEOMETRY_SIMPLIFICATION_OPTION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HDRTONEMAP_DISPLAY_MODE(pub u32); +pub struct D2D1_HDRTONEMAP_DISPLAY_MODE(pub i32); impl ::core::marker::Copy for D2D1_HDRTONEMAP_DISPLAY_MODE {} impl ::core::clone::Clone for D2D1_HDRTONEMAP_DISPLAY_MODE { fn clone(&self) -> Self { @@ -18915,7 +18915,7 @@ impl ::core::fmt::Debug for D2D1_HDRTONEMAP_DISPLAY_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HDRTONEMAP_PROP(pub u32); +pub struct D2D1_HDRTONEMAP_PROP(pub i32); impl ::core::marker::Copy for D2D1_HDRTONEMAP_PROP {} impl ::core::clone::Clone for D2D1_HDRTONEMAP_PROP { fn clone(&self) -> Self { @@ -18938,7 +18938,7 @@ impl ::core::fmt::Debug for D2D1_HDRTONEMAP_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(pub u32); +pub struct D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA(pub i32); impl ::core::marker::Copy for D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA {} impl ::core::clone::Clone for D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA { fn clone(&self) -> Self { @@ -18961,7 +18961,7 @@ impl ::core::fmt::Debug for D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HIGHLIGHTSANDSHADOWS_PROP(pub u32); +pub struct D2D1_HIGHLIGHTSANDSHADOWS_PROP(pub i32); impl ::core::marker::Copy for D2D1_HIGHLIGHTSANDSHADOWS_PROP {} impl ::core::clone::Clone for D2D1_HIGHLIGHTSANDSHADOWS_PROP { fn clone(&self) -> Self { @@ -18984,7 +18984,7 @@ impl ::core::fmt::Debug for D2D1_HIGHLIGHTSANDSHADOWS_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HISTOGRAM_PROP(pub u32); +pub struct D2D1_HISTOGRAM_PROP(pub i32); impl ::core::marker::Copy for D2D1_HISTOGRAM_PROP {} impl ::core::clone::Clone for D2D1_HISTOGRAM_PROP { fn clone(&self) -> Self { @@ -19007,7 +19007,7 @@ impl ::core::fmt::Debug for D2D1_HISTOGRAM_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HUEROTATION_PROP(pub u32); +pub struct D2D1_HUEROTATION_PROP(pub i32); impl ::core::marker::Copy for D2D1_HUEROTATION_PROP {} impl ::core::clone::Clone for D2D1_HUEROTATION_PROP { fn clone(&self) -> Self { @@ -19030,7 +19030,7 @@ impl ::core::fmt::Debug for D2D1_HUEROTATION_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HUETORGB_INPUT_COLOR_SPACE(pub u32); +pub struct D2D1_HUETORGB_INPUT_COLOR_SPACE(pub i32); impl ::core::marker::Copy for D2D1_HUETORGB_INPUT_COLOR_SPACE {} impl ::core::clone::Clone for D2D1_HUETORGB_INPUT_COLOR_SPACE { fn clone(&self) -> Self { @@ -19053,7 +19053,7 @@ impl ::core::fmt::Debug for D2D1_HUETORGB_INPUT_COLOR_SPACE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_HUETORGB_PROP(pub u32); +pub struct D2D1_HUETORGB_PROP(pub i32); impl ::core::marker::Copy for D2D1_HUETORGB_PROP {} impl ::core::clone::Clone for D2D1_HUETORGB_PROP { fn clone(&self) -> Self { @@ -19076,7 +19076,7 @@ impl ::core::fmt::Debug for D2D1_HUETORGB_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(pub u32); +pub struct D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS {} impl ::core::clone::Clone for D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS { fn clone(&self) -> Self { @@ -19132,7 +19132,7 @@ impl ::core::ops::Not for D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_IMAGE_SOURCE_LOADING_OPTIONS(pub u32); +pub struct D2D1_IMAGE_SOURCE_LOADING_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_IMAGE_SOURCE_LOADING_OPTIONS {} impl ::core::clone::Clone for D2D1_IMAGE_SOURCE_LOADING_OPTIONS { fn clone(&self) -> Self { @@ -19188,7 +19188,7 @@ impl ::core::ops::Not for D2D1_IMAGE_SOURCE_LOADING_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_INK_NIB_SHAPE(pub u32); +pub struct D2D1_INK_NIB_SHAPE(pub i32); impl ::core::marker::Copy for D2D1_INK_NIB_SHAPE {} impl ::core::clone::Clone for D2D1_INK_NIB_SHAPE { fn clone(&self) -> Self { @@ -19211,7 +19211,7 @@ impl ::core::fmt::Debug for D2D1_INK_NIB_SHAPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_INTERPOLATION_MODE(pub u32); +pub struct D2D1_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -19257,7 +19257,7 @@ impl ::core::fmt::Debug for D2D1_INTERPOLATION_MODE_DEFINITION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_LAYER_OPTIONS(pub u32); +pub struct D2D1_LAYER_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_LAYER_OPTIONS {} impl ::core::clone::Clone for D2D1_LAYER_OPTIONS { fn clone(&self) -> Self { @@ -19313,7 +19313,7 @@ impl ::core::ops::Not for D2D1_LAYER_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_LAYER_OPTIONS1(pub u32); +pub struct D2D1_LAYER_OPTIONS1(pub i32); impl ::core::marker::Copy for D2D1_LAYER_OPTIONS1 {} impl ::core::clone::Clone for D2D1_LAYER_OPTIONS1 { fn clone(&self) -> Self { @@ -19369,7 +19369,7 @@ impl ::core::ops::Not for D2D1_LAYER_OPTIONS1 { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_LINEARTRANSFER_PROP(pub u32); +pub struct D2D1_LINEARTRANSFER_PROP(pub i32); impl ::core::marker::Copy for D2D1_LINEARTRANSFER_PROP {} impl ::core::clone::Clone for D2D1_LINEARTRANSFER_PROP { fn clone(&self) -> Self { @@ -19392,7 +19392,7 @@ impl ::core::fmt::Debug for D2D1_LINEARTRANSFER_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_LINE_JOIN(pub u32); +pub struct D2D1_LINE_JOIN(pub i32); impl ::core::marker::Copy for D2D1_LINE_JOIN {} impl ::core::clone::Clone for D2D1_LINE_JOIN { fn clone(&self) -> Self { @@ -19415,7 +19415,7 @@ impl ::core::fmt::Debug for D2D1_LINE_JOIN { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_LOOKUPTABLE3D_PROP(pub u32); +pub struct D2D1_LOOKUPTABLE3D_PROP(pub i32); impl ::core::marker::Copy for D2D1_LOOKUPTABLE3D_PROP {} impl ::core::clone::Clone for D2D1_LOOKUPTABLE3D_PROP { fn clone(&self) -> Self { @@ -19438,7 +19438,7 @@ impl ::core::fmt::Debug for D2D1_LOOKUPTABLE3D_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_MAP_OPTIONS(pub u32); +pub struct D2D1_MAP_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_MAP_OPTIONS {} impl ::core::clone::Clone for D2D1_MAP_OPTIONS { fn clone(&self) -> Self { @@ -19494,7 +19494,7 @@ impl ::core::ops::Not for D2D1_MAP_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_MORPHOLOGY_MODE(pub u32); +pub struct D2D1_MORPHOLOGY_MODE(pub i32); impl ::core::marker::Copy for D2D1_MORPHOLOGY_MODE {} impl ::core::clone::Clone for D2D1_MORPHOLOGY_MODE { fn clone(&self) -> Self { @@ -19517,7 +19517,7 @@ impl ::core::fmt::Debug for D2D1_MORPHOLOGY_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_MORPHOLOGY_PROP(pub u32); +pub struct D2D1_MORPHOLOGY_PROP(pub i32); impl ::core::marker::Copy for D2D1_MORPHOLOGY_PROP {} impl ::core::clone::Clone for D2D1_MORPHOLOGY_PROP { fn clone(&self) -> Self { @@ -19540,7 +19540,7 @@ impl ::core::fmt::Debug for D2D1_MORPHOLOGY_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_OPACITYMETADATA_PROP(pub u32); +pub struct D2D1_OPACITYMETADATA_PROP(pub i32); impl ::core::marker::Copy for D2D1_OPACITYMETADATA_PROP {} impl ::core::clone::Clone for D2D1_OPACITYMETADATA_PROP { fn clone(&self) -> Self { @@ -19563,7 +19563,7 @@ impl ::core::fmt::Debug for D2D1_OPACITYMETADATA_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_OPACITY_MASK_CONTENT(pub u32); +pub struct D2D1_OPACITY_MASK_CONTENT(pub i32); impl ::core::marker::Copy for D2D1_OPACITY_MASK_CONTENT {} impl ::core::clone::Clone for D2D1_OPACITY_MASK_CONTENT { fn clone(&self) -> Self { @@ -19586,7 +19586,7 @@ impl ::core::fmt::Debug for D2D1_OPACITY_MASK_CONTENT { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_OPACITY_PROP(pub u32); +pub struct D2D1_OPACITY_PROP(pub i32); impl ::core::marker::Copy for D2D1_OPACITY_PROP {} impl ::core::clone::Clone for D2D1_OPACITY_PROP { fn clone(&self) -> Self { @@ -19609,7 +19609,7 @@ impl ::core::fmt::Debug for D2D1_OPACITY_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_ORIENTATION(pub u32); +pub struct D2D1_ORIENTATION(pub i32); impl ::core::marker::Copy for D2D1_ORIENTATION {} impl ::core::clone::Clone for D2D1_ORIENTATION { fn clone(&self) -> Self { @@ -19632,7 +19632,7 @@ impl ::core::fmt::Debug for D2D1_ORIENTATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PATCH_EDGE_MODE(pub u32); +pub struct D2D1_PATCH_EDGE_MODE(pub i32); impl ::core::marker::Copy for D2D1_PATCH_EDGE_MODE {} impl ::core::clone::Clone for D2D1_PATCH_EDGE_MODE { fn clone(&self) -> Self { @@ -19655,7 +19655,7 @@ impl ::core::fmt::Debug for D2D1_PATCH_EDGE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PIXEL_OPTIONS(pub u32); +pub struct D2D1_PIXEL_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_PIXEL_OPTIONS {} impl ::core::clone::Clone for D2D1_PIXEL_OPTIONS { fn clone(&self) -> Self { @@ -19711,7 +19711,7 @@ impl ::core::ops::Not for D2D1_PIXEL_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_POINTDIFFUSE_PROP(pub u32); +pub struct D2D1_POINTDIFFUSE_PROP(pub i32); impl ::core::marker::Copy for D2D1_POINTDIFFUSE_PROP {} impl ::core::clone::Clone for D2D1_POINTDIFFUSE_PROP { fn clone(&self) -> Self { @@ -19734,7 +19734,7 @@ impl ::core::fmt::Debug for D2D1_POINTDIFFUSE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_POINTDIFFUSE_SCALE_MODE(pub u32); +pub struct D2D1_POINTDIFFUSE_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_POINTDIFFUSE_SCALE_MODE {} impl ::core::clone::Clone for D2D1_POINTDIFFUSE_SCALE_MODE { fn clone(&self) -> Self { @@ -19757,7 +19757,7 @@ impl ::core::fmt::Debug for D2D1_POINTDIFFUSE_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_POINTSPECULAR_PROP(pub u32); +pub struct D2D1_POINTSPECULAR_PROP(pub i32); impl ::core::marker::Copy for D2D1_POINTSPECULAR_PROP {} impl ::core::clone::Clone for D2D1_POINTSPECULAR_PROP { fn clone(&self) -> Self { @@ -19780,7 +19780,7 @@ impl ::core::fmt::Debug for D2D1_POINTSPECULAR_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_POINTSPECULAR_SCALE_MODE(pub u32); +pub struct D2D1_POINTSPECULAR_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_POINTSPECULAR_SCALE_MODE {} impl ::core::clone::Clone for D2D1_POINTSPECULAR_SCALE_MODE { fn clone(&self) -> Self { @@ -19803,7 +19803,7 @@ impl ::core::fmt::Debug for D2D1_POINTSPECULAR_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_POSTERIZE_PROP(pub u32); +pub struct D2D1_POSTERIZE_PROP(pub i32); impl ::core::marker::Copy for D2D1_POSTERIZE_PROP {} impl ::core::clone::Clone for D2D1_POSTERIZE_PROP { fn clone(&self) -> Self { @@ -19826,7 +19826,7 @@ impl ::core::fmt::Debug for D2D1_POSTERIZE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PRESENT_OPTIONS(pub u32); +pub struct D2D1_PRESENT_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_PRESENT_OPTIONS {} impl ::core::clone::Clone for D2D1_PRESENT_OPTIONS { fn clone(&self) -> Self { @@ -19882,7 +19882,7 @@ impl ::core::ops::Not for D2D1_PRESENT_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PRIMITIVE_BLEND(pub u32); +pub struct D2D1_PRIMITIVE_BLEND(pub i32); impl ::core::marker::Copy for D2D1_PRIMITIVE_BLEND {} impl ::core::clone::Clone for D2D1_PRIMITIVE_BLEND { fn clone(&self) -> Self { @@ -19905,7 +19905,7 @@ impl ::core::fmt::Debug for D2D1_PRIMITIVE_BLEND { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PRINT_FONT_SUBSET_MODE(pub u32); +pub struct D2D1_PRINT_FONT_SUBSET_MODE(pub i32); impl ::core::marker::Copy for D2D1_PRINT_FONT_SUBSET_MODE {} impl ::core::clone::Clone for D2D1_PRINT_FONT_SUBSET_MODE { fn clone(&self) -> Self { @@ -19928,7 +19928,7 @@ impl ::core::fmt::Debug for D2D1_PRINT_FONT_SUBSET_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PROPERTY(pub u32); +pub struct D2D1_PROPERTY(pub i32); impl ::core::marker::Copy for D2D1_PROPERTY {} impl ::core::clone::Clone for D2D1_PROPERTY { fn clone(&self) -> Self { @@ -19951,7 +19951,7 @@ impl ::core::fmt::Debug for D2D1_PROPERTY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_PROPERTY_TYPE(pub u32); +pub struct D2D1_PROPERTY_TYPE(pub i32); impl ::core::marker::Copy for D2D1_PROPERTY_TYPE {} impl ::core::clone::Clone for D2D1_PROPERTY_TYPE { fn clone(&self) -> Self { @@ -19974,7 +19974,7 @@ impl ::core::fmt::Debug for D2D1_PROPERTY_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_RENDERING_PRIORITY(pub u32); +pub struct D2D1_RENDERING_PRIORITY(pub i32); impl ::core::marker::Copy for D2D1_RENDERING_PRIORITY {} impl ::core::clone::Clone for D2D1_RENDERING_PRIORITY { fn clone(&self) -> Self { @@ -19997,7 +19997,7 @@ impl ::core::fmt::Debug for D2D1_RENDERING_PRIORITY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_RENDER_TARGET_TYPE(pub u32); +pub struct D2D1_RENDER_TARGET_TYPE(pub i32); impl ::core::marker::Copy for D2D1_RENDER_TARGET_TYPE {} impl ::core::clone::Clone for D2D1_RENDER_TARGET_TYPE { fn clone(&self) -> Self { @@ -20020,7 +20020,7 @@ impl ::core::fmt::Debug for D2D1_RENDER_TARGET_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_RENDER_TARGET_USAGE(pub u32); +pub struct D2D1_RENDER_TARGET_USAGE(pub i32); impl ::core::marker::Copy for D2D1_RENDER_TARGET_USAGE {} impl ::core::clone::Clone for D2D1_RENDER_TARGET_USAGE { fn clone(&self) -> Self { @@ -20076,7 +20076,7 @@ impl ::core::ops::Not for D2D1_RENDER_TARGET_USAGE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(pub u32); +pub struct D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE(pub i32); impl ::core::marker::Copy for D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE {} impl ::core::clone::Clone for D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE { fn clone(&self) -> Self { @@ -20099,7 +20099,7 @@ impl ::core::fmt::Debug for D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_RGBTOHUE_PROP(pub u32); +pub struct D2D1_RGBTOHUE_PROP(pub i32); impl ::core::marker::Copy for D2D1_RGBTOHUE_PROP {} impl ::core::clone::Clone for D2D1_RGBTOHUE_PROP { fn clone(&self) -> Self { @@ -20122,7 +20122,7 @@ impl ::core::fmt::Debug for D2D1_RGBTOHUE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SATURATION_PROP(pub u32); +pub struct D2D1_SATURATION_PROP(pub i32); impl ::core::marker::Copy for D2D1_SATURATION_PROP {} impl ::core::clone::Clone for D2D1_SATURATION_PROP { fn clone(&self) -> Self { @@ -20145,7 +20145,7 @@ impl ::core::fmt::Debug for D2D1_SATURATION_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SCALE_INTERPOLATION_MODE(pub u32); +pub struct D2D1_SCALE_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_SCALE_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_SCALE_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -20168,7 +20168,7 @@ impl ::core::fmt::Debug for D2D1_SCALE_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SCALE_PROP(pub u32); +pub struct D2D1_SCALE_PROP(pub i32); impl ::core::marker::Copy for D2D1_SCALE_PROP {} impl ::core::clone::Clone for D2D1_SCALE_PROP { fn clone(&self) -> Self { @@ -20191,7 +20191,7 @@ impl ::core::fmt::Debug for D2D1_SCALE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SEPIA_PROP(pub u32); +pub struct D2D1_SEPIA_PROP(pub i32); impl ::core::marker::Copy for D2D1_SEPIA_PROP {} impl ::core::clone::Clone for D2D1_SEPIA_PROP { fn clone(&self) -> Self { @@ -20214,7 +20214,7 @@ impl ::core::fmt::Debug for D2D1_SEPIA_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SHADOW_OPTIMIZATION(pub u32); +pub struct D2D1_SHADOW_OPTIMIZATION(pub i32); impl ::core::marker::Copy for D2D1_SHADOW_OPTIMIZATION {} impl ::core::clone::Clone for D2D1_SHADOW_OPTIMIZATION { fn clone(&self) -> Self { @@ -20237,7 +20237,7 @@ impl ::core::fmt::Debug for D2D1_SHADOW_OPTIMIZATION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SHADOW_PROP(pub u32); +pub struct D2D1_SHADOW_PROP(pub i32); impl ::core::marker::Copy for D2D1_SHADOW_PROP {} impl ::core::clone::Clone for D2D1_SHADOW_PROP { fn clone(&self) -> Self { @@ -20260,7 +20260,7 @@ impl ::core::fmt::Debug for D2D1_SHADOW_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SHARPEN_PROP(pub u32); +pub struct D2D1_SHARPEN_PROP(pub i32); impl ::core::marker::Copy for D2D1_SHARPEN_PROP {} impl ::core::clone::Clone for D2D1_SHARPEN_PROP { fn clone(&self) -> Self { @@ -20283,7 +20283,7 @@ impl ::core::fmt::Debug for D2D1_SHARPEN_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SPOTDIFFUSE_PROP(pub u32); +pub struct D2D1_SPOTDIFFUSE_PROP(pub i32); impl ::core::marker::Copy for D2D1_SPOTDIFFUSE_PROP {} impl ::core::clone::Clone for D2D1_SPOTDIFFUSE_PROP { fn clone(&self) -> Self { @@ -20306,7 +20306,7 @@ impl ::core::fmt::Debug for D2D1_SPOTDIFFUSE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SPOTDIFFUSE_SCALE_MODE(pub u32); +pub struct D2D1_SPOTDIFFUSE_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_SPOTDIFFUSE_SCALE_MODE {} impl ::core::clone::Clone for D2D1_SPOTDIFFUSE_SCALE_MODE { fn clone(&self) -> Self { @@ -20329,7 +20329,7 @@ impl ::core::fmt::Debug for D2D1_SPOTDIFFUSE_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SPOTSPECULAR_PROP(pub u32); +pub struct D2D1_SPOTSPECULAR_PROP(pub i32); impl ::core::marker::Copy for D2D1_SPOTSPECULAR_PROP {} impl ::core::clone::Clone for D2D1_SPOTSPECULAR_PROP { fn clone(&self) -> Self { @@ -20352,7 +20352,7 @@ impl ::core::fmt::Debug for D2D1_SPOTSPECULAR_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SPOTSPECULAR_SCALE_MODE(pub u32); +pub struct D2D1_SPOTSPECULAR_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_SPOTSPECULAR_SCALE_MODE {} impl ::core::clone::Clone for D2D1_SPOTSPECULAR_SCALE_MODE { fn clone(&self) -> Self { @@ -20375,7 +20375,7 @@ impl ::core::fmt::Debug for D2D1_SPOTSPECULAR_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SPRITE_OPTIONS(pub u32); +pub struct D2D1_SPRITE_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_SPRITE_OPTIONS {} impl ::core::clone::Clone for D2D1_SPRITE_OPTIONS { fn clone(&self) -> Self { @@ -20431,7 +20431,7 @@ impl ::core::ops::Not for D2D1_SPRITE_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_STRAIGHTEN_PROP(pub u32); +pub struct D2D1_STRAIGHTEN_PROP(pub i32); impl ::core::marker::Copy for D2D1_STRAIGHTEN_PROP {} impl ::core::clone::Clone for D2D1_STRAIGHTEN_PROP { fn clone(&self) -> Self { @@ -20454,7 +20454,7 @@ impl ::core::fmt::Debug for D2D1_STRAIGHTEN_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_STRAIGHTEN_SCALE_MODE(pub u32); +pub struct D2D1_STRAIGHTEN_SCALE_MODE(pub i32); impl ::core::marker::Copy for D2D1_STRAIGHTEN_SCALE_MODE {} impl ::core::clone::Clone for D2D1_STRAIGHTEN_SCALE_MODE { fn clone(&self) -> Self { @@ -20477,7 +20477,7 @@ impl ::core::fmt::Debug for D2D1_STRAIGHTEN_SCALE_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_STROKE_TRANSFORM_TYPE(pub u32); +pub struct D2D1_STROKE_TRANSFORM_TYPE(pub i32); impl ::core::marker::Copy for D2D1_STROKE_TRANSFORM_TYPE {} impl ::core::clone::Clone for D2D1_STROKE_TRANSFORM_TYPE { fn clone(&self) -> Self { @@ -20500,7 +20500,7 @@ impl ::core::fmt::Debug for D2D1_STROKE_TRANSFORM_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SUBPROPERTY(pub u32); +pub struct D2D1_SUBPROPERTY(pub i32); impl ::core::marker::Copy for D2D1_SUBPROPERTY {} impl ::core::clone::Clone for D2D1_SUBPROPERTY { fn clone(&self) -> Self { @@ -20523,7 +20523,7 @@ impl ::core::fmt::Debug for D2D1_SUBPROPERTY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_ASPECT_ALIGN(pub u32); +pub struct D2D1_SVG_ASPECT_ALIGN(pub i32); impl ::core::marker::Copy for D2D1_SVG_ASPECT_ALIGN {} impl ::core::clone::Clone for D2D1_SVG_ASPECT_ALIGN { fn clone(&self) -> Self { @@ -20546,7 +20546,7 @@ impl ::core::fmt::Debug for D2D1_SVG_ASPECT_ALIGN { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_ASPECT_SCALING(pub u32); +pub struct D2D1_SVG_ASPECT_SCALING(pub i32); impl ::core::marker::Copy for D2D1_SVG_ASPECT_SCALING {} impl ::core::clone::Clone for D2D1_SVG_ASPECT_SCALING { fn clone(&self) -> Self { @@ -20569,7 +20569,7 @@ impl ::core::fmt::Debug for D2D1_SVG_ASPECT_SCALING { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_ATTRIBUTE_POD_TYPE(pub u32); +pub struct D2D1_SVG_ATTRIBUTE_POD_TYPE(pub i32); impl ::core::marker::Copy for D2D1_SVG_ATTRIBUTE_POD_TYPE {} impl ::core::clone::Clone for D2D1_SVG_ATTRIBUTE_POD_TYPE { fn clone(&self) -> Self { @@ -20592,7 +20592,7 @@ impl ::core::fmt::Debug for D2D1_SVG_ATTRIBUTE_POD_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_ATTRIBUTE_STRING_TYPE(pub u32); +pub struct D2D1_SVG_ATTRIBUTE_STRING_TYPE(pub i32); impl ::core::marker::Copy for D2D1_SVG_ATTRIBUTE_STRING_TYPE {} impl ::core::clone::Clone for D2D1_SVG_ATTRIBUTE_STRING_TYPE { fn clone(&self) -> Self { @@ -20615,7 +20615,7 @@ impl ::core::fmt::Debug for D2D1_SVG_ATTRIBUTE_STRING_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_DISPLAY(pub u32); +pub struct D2D1_SVG_DISPLAY(pub i32); impl ::core::marker::Copy for D2D1_SVG_DISPLAY {} impl ::core::clone::Clone for D2D1_SVG_DISPLAY { fn clone(&self) -> Self { @@ -20638,7 +20638,7 @@ impl ::core::fmt::Debug for D2D1_SVG_DISPLAY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_LENGTH_UNITS(pub u32); +pub struct D2D1_SVG_LENGTH_UNITS(pub i32); impl ::core::marker::Copy for D2D1_SVG_LENGTH_UNITS {} impl ::core::clone::Clone for D2D1_SVG_LENGTH_UNITS { fn clone(&self) -> Self { @@ -20661,7 +20661,7 @@ impl ::core::fmt::Debug for D2D1_SVG_LENGTH_UNITS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_LINE_CAP(pub u32); +pub struct D2D1_SVG_LINE_CAP(pub i32); impl ::core::marker::Copy for D2D1_SVG_LINE_CAP {} impl ::core::clone::Clone for D2D1_SVG_LINE_CAP { fn clone(&self) -> Self { @@ -20684,7 +20684,7 @@ impl ::core::fmt::Debug for D2D1_SVG_LINE_CAP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_LINE_JOIN(pub u32); +pub struct D2D1_SVG_LINE_JOIN(pub i32); impl ::core::marker::Copy for D2D1_SVG_LINE_JOIN {} impl ::core::clone::Clone for D2D1_SVG_LINE_JOIN { fn clone(&self) -> Self { @@ -20707,7 +20707,7 @@ impl ::core::fmt::Debug for D2D1_SVG_LINE_JOIN { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_OVERFLOW(pub u32); +pub struct D2D1_SVG_OVERFLOW(pub i32); impl ::core::marker::Copy for D2D1_SVG_OVERFLOW {} impl ::core::clone::Clone for D2D1_SVG_OVERFLOW { fn clone(&self) -> Self { @@ -20730,7 +20730,7 @@ impl ::core::fmt::Debug for D2D1_SVG_OVERFLOW { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_PAINT_TYPE(pub u32); +pub struct D2D1_SVG_PAINT_TYPE(pub i32); impl ::core::marker::Copy for D2D1_SVG_PAINT_TYPE {} impl ::core::clone::Clone for D2D1_SVG_PAINT_TYPE { fn clone(&self) -> Self { @@ -20753,7 +20753,7 @@ impl ::core::fmt::Debug for D2D1_SVG_PAINT_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_PATH_COMMAND(pub u32); +pub struct D2D1_SVG_PATH_COMMAND(pub i32); impl ::core::marker::Copy for D2D1_SVG_PATH_COMMAND {} impl ::core::clone::Clone for D2D1_SVG_PATH_COMMAND { fn clone(&self) -> Self { @@ -20776,7 +20776,7 @@ impl ::core::fmt::Debug for D2D1_SVG_PATH_COMMAND { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_UNIT_TYPE(pub u32); +pub struct D2D1_SVG_UNIT_TYPE(pub i32); impl ::core::marker::Copy for D2D1_SVG_UNIT_TYPE {} impl ::core::clone::Clone for D2D1_SVG_UNIT_TYPE { fn clone(&self) -> Self { @@ -20799,7 +20799,7 @@ impl ::core::fmt::Debug for D2D1_SVG_UNIT_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SVG_VISIBILITY(pub u32); +pub struct D2D1_SVG_VISIBILITY(pub i32); impl ::core::marker::Copy for D2D1_SVG_VISIBILITY {} impl ::core::clone::Clone for D2D1_SVG_VISIBILITY { fn clone(&self) -> Self { @@ -20822,7 +20822,7 @@ impl ::core::fmt::Debug for D2D1_SVG_VISIBILITY { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_SWEEP_DIRECTION(pub u32); +pub struct D2D1_SWEEP_DIRECTION(pub i32); impl ::core::marker::Copy for D2D1_SWEEP_DIRECTION {} impl ::core::clone::Clone for D2D1_SWEEP_DIRECTION { fn clone(&self) -> Self { @@ -20845,7 +20845,7 @@ impl ::core::fmt::Debug for D2D1_SWEEP_DIRECTION { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TABLETRANSFER_PROP(pub u32); +pub struct D2D1_TABLETRANSFER_PROP(pub i32); impl ::core::marker::Copy for D2D1_TABLETRANSFER_PROP {} impl ::core::clone::Clone for D2D1_TABLETRANSFER_PROP { fn clone(&self) -> Self { @@ -20868,7 +20868,7 @@ impl ::core::fmt::Debug for D2D1_TABLETRANSFER_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TEMPERATUREANDTINT_PROP(pub u32); +pub struct D2D1_TEMPERATUREANDTINT_PROP(pub i32); impl ::core::marker::Copy for D2D1_TEMPERATUREANDTINT_PROP {} impl ::core::clone::Clone for D2D1_TEMPERATUREANDTINT_PROP { fn clone(&self) -> Self { @@ -20891,7 +20891,7 @@ impl ::core::fmt::Debug for D2D1_TEMPERATUREANDTINT_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TEXT_ANTIALIAS_MODE(pub u32); +pub struct D2D1_TEXT_ANTIALIAS_MODE(pub i32); impl ::core::marker::Copy for D2D1_TEXT_ANTIALIAS_MODE {} impl ::core::clone::Clone for D2D1_TEXT_ANTIALIAS_MODE { fn clone(&self) -> Self { @@ -20914,7 +20914,7 @@ impl ::core::fmt::Debug for D2D1_TEXT_ANTIALIAS_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_THREADING_MODE(pub u32); +pub struct D2D1_THREADING_MODE(pub i32); impl ::core::marker::Copy for D2D1_THREADING_MODE {} impl ::core::clone::Clone for D2D1_THREADING_MODE { fn clone(&self) -> Self { @@ -20937,7 +20937,7 @@ impl ::core::fmt::Debug for D2D1_THREADING_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TILE_PROP(pub u32); +pub struct D2D1_TILE_PROP(pub i32); impl ::core::marker::Copy for D2D1_TILE_PROP {} impl ::core::clone::Clone for D2D1_TILE_PROP { fn clone(&self) -> Self { @@ -20960,7 +20960,7 @@ impl ::core::fmt::Debug for D2D1_TILE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TINT_PROP(pub u32); +pub struct D2D1_TINT_PROP(pub i32); impl ::core::marker::Copy for D2D1_TINT_PROP {} impl ::core::clone::Clone for D2D1_TINT_PROP { fn clone(&self) -> Self { @@ -20983,7 +20983,7 @@ impl ::core::fmt::Debug for D2D1_TINT_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(pub u32); +pub struct D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS {} impl ::core::clone::Clone for D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS { fn clone(&self) -> Self { @@ -21039,7 +21039,7 @@ impl ::core::ops::Not for D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_TURBULENCE_PROP(pub u32); +pub struct D2D1_TURBULENCE_PROP(pub i32); impl ::core::marker::Copy for D2D1_TURBULENCE_PROP {} impl ::core::clone::Clone for D2D1_TURBULENCE_PROP { fn clone(&self) -> Self { @@ -21062,7 +21062,7 @@ impl ::core::fmt::Debug for D2D1_TURBULENCE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_UNIT_MODE(pub u32); +pub struct D2D1_UNIT_MODE(pub i32); impl ::core::marker::Copy for D2D1_UNIT_MODE {} impl ::core::clone::Clone for D2D1_UNIT_MODE { fn clone(&self) -> Self { @@ -21085,7 +21085,7 @@ impl ::core::fmt::Debug for D2D1_UNIT_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_VERTEX_OPTIONS(pub u32); +pub struct D2D1_VERTEX_OPTIONS(pub i32); impl ::core::marker::Copy for D2D1_VERTEX_OPTIONS {} impl ::core::clone::Clone for D2D1_VERTEX_OPTIONS { fn clone(&self) -> Self { @@ -21141,7 +21141,7 @@ impl ::core::ops::Not for D2D1_VERTEX_OPTIONS { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_VERTEX_USAGE(pub u32); +pub struct D2D1_VERTEX_USAGE(pub i32); impl ::core::marker::Copy for D2D1_VERTEX_USAGE {} impl ::core::clone::Clone for D2D1_VERTEX_USAGE { fn clone(&self) -> Self { @@ -21164,7 +21164,7 @@ impl ::core::fmt::Debug for D2D1_VERTEX_USAGE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_VIGNETTE_PROP(pub u32); +pub struct D2D1_VIGNETTE_PROP(pub i32); impl ::core::marker::Copy for D2D1_VIGNETTE_PROP {} impl ::core::clone::Clone for D2D1_VIGNETTE_PROP { fn clone(&self) -> Self { @@ -21187,7 +21187,7 @@ impl ::core::fmt::Debug for D2D1_VIGNETTE_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_WHITELEVELADJUSTMENT_PROP(pub u32); +pub struct D2D1_WHITELEVELADJUSTMENT_PROP(pub i32); impl ::core::marker::Copy for D2D1_WHITELEVELADJUSTMENT_PROP {} impl ::core::clone::Clone for D2D1_WHITELEVELADJUSTMENT_PROP { fn clone(&self) -> Self { @@ -21210,7 +21210,7 @@ impl ::core::fmt::Debug for D2D1_WHITELEVELADJUSTMENT_PROP { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_WINDOW_STATE(pub u32); +pub struct D2D1_WINDOW_STATE(pub i32); impl ::core::marker::Copy for D2D1_WINDOW_STATE {} impl ::core::clone::Clone for D2D1_WINDOW_STATE { fn clone(&self) -> Self { @@ -21266,7 +21266,7 @@ impl ::core::ops::Not for D2D1_WINDOW_STATE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_YCBCR_CHROMA_SUBSAMPLING(pub u32); +pub struct D2D1_YCBCR_CHROMA_SUBSAMPLING(pub i32); impl ::core::marker::Copy for D2D1_YCBCR_CHROMA_SUBSAMPLING {} impl ::core::clone::Clone for D2D1_YCBCR_CHROMA_SUBSAMPLING { fn clone(&self) -> Self { @@ -21289,7 +21289,7 @@ impl ::core::fmt::Debug for D2D1_YCBCR_CHROMA_SUBSAMPLING { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_YCBCR_INTERPOLATION_MODE(pub u32); +pub struct D2D1_YCBCR_INTERPOLATION_MODE(pub i32); impl ::core::marker::Copy for D2D1_YCBCR_INTERPOLATION_MODE {} impl ::core::clone::Clone for D2D1_YCBCR_INTERPOLATION_MODE { fn clone(&self) -> Self { @@ -21312,7 +21312,7 @@ impl ::core::fmt::Debug for D2D1_YCBCR_INTERPOLATION_MODE { #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D2D1_YCBCR_PROP(pub u32); +pub struct D2D1_YCBCR_PROP(pub i32); impl ::core::marker::Copy for D2D1_YCBCR_PROP {} impl ::core::clone::Clone for D2D1_YCBCR_PROP { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs index 26e361e7de5..c0de9d7cfe6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -2635,11 +2635,11 @@ pub const D3DAUTHENTICATEDQUERY_RESTRICTEDSHAREDRESOURCEPROCESSCOUNT: ::windows_ #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DAUTHENTICATEDQUERY_UNRESTRICTEDPROTECTEDSHAREDRESOURCECOUNT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x012f0bd6_e662_4474_befd_aa53e5143c6d); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBACKBUFFER_TYPE_LEFT: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(1u32); +pub const D3DBACKBUFFER_TYPE_LEFT: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBACKBUFFER_TYPE_MONO: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(0u32); +pub const D3DBACKBUFFER_TYPE_MONO: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBACKBUFFER_TYPE_RIGHT: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(2u32); +pub const D3DBACKBUFFER_TYPE_RIGHT: D3DBACKBUFFER_TYPE = D3DBACKBUFFER_TYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DBASIS_BEZIER: D3DBASISTYPE = D3DBASISTYPE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -2647,49 +2647,49 @@ pub const D3DBASIS_BSPLINE: D3DBASISTYPE = D3DBASISTYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DBASIS_CATMULL_ROM: D3DBASISTYPE = D3DBASISTYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLENDOP_ADD: D3DBLENDOP = D3DBLENDOP(1u32); +pub const D3DBLENDOP_ADD: D3DBLENDOP = D3DBLENDOP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLENDOP_MAX: D3DBLENDOP = D3DBLENDOP(5u32); +pub const D3DBLENDOP_MAX: D3DBLENDOP = D3DBLENDOP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLENDOP_MIN: D3DBLENDOP = D3DBLENDOP(4u32); +pub const D3DBLENDOP_MIN: D3DBLENDOP = D3DBLENDOP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLENDOP_REVSUBTRACT: D3DBLENDOP = D3DBLENDOP(3u32); +pub const D3DBLENDOP_REVSUBTRACT: D3DBLENDOP = D3DBLENDOP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLENDOP_SUBTRACT: D3DBLENDOP = D3DBLENDOP(2u32); +pub const D3DBLENDOP_SUBTRACT: D3DBLENDOP = D3DBLENDOP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_BLENDFACTOR: D3DBLEND = D3DBLEND(14u32); +pub const D3DBLEND_BLENDFACTOR: D3DBLEND = D3DBLEND(14i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_BOTHINVSRCALPHA: D3DBLEND = D3DBLEND(13u32); +pub const D3DBLEND_BOTHINVSRCALPHA: D3DBLEND = D3DBLEND(13i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_BOTHSRCALPHA: D3DBLEND = D3DBLEND(12u32); +pub const D3DBLEND_BOTHSRCALPHA: D3DBLEND = D3DBLEND(12i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_DESTALPHA: D3DBLEND = D3DBLEND(7u32); +pub const D3DBLEND_DESTALPHA: D3DBLEND = D3DBLEND(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_DESTCOLOR: D3DBLEND = D3DBLEND(9u32); +pub const D3DBLEND_DESTCOLOR: D3DBLEND = D3DBLEND(9i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVBLENDFACTOR: D3DBLEND = D3DBLEND(15u32); +pub const D3DBLEND_INVBLENDFACTOR: D3DBLEND = D3DBLEND(15i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVDESTALPHA: D3DBLEND = D3DBLEND(8u32); +pub const D3DBLEND_INVDESTALPHA: D3DBLEND = D3DBLEND(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVDESTCOLOR: D3DBLEND = D3DBLEND(10u32); +pub const D3DBLEND_INVDESTCOLOR: D3DBLEND = D3DBLEND(10i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVSRCALPHA: D3DBLEND = D3DBLEND(6u32); +pub const D3DBLEND_INVSRCALPHA: D3DBLEND = D3DBLEND(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVSRCCOLOR: D3DBLEND = D3DBLEND(4u32); +pub const D3DBLEND_INVSRCCOLOR: D3DBLEND = D3DBLEND(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_INVSRCCOLOR2: D3DBLEND = D3DBLEND(17u32); +pub const D3DBLEND_INVSRCCOLOR2: D3DBLEND = D3DBLEND(17i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_ONE: D3DBLEND = D3DBLEND(2u32); +pub const D3DBLEND_ONE: D3DBLEND = D3DBLEND(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_SRCALPHA: D3DBLEND = D3DBLEND(5u32); +pub const D3DBLEND_SRCALPHA: D3DBLEND = D3DBLEND(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_SRCALPHASAT: D3DBLEND = D3DBLEND(11u32); +pub const D3DBLEND_SRCALPHASAT: D3DBLEND = D3DBLEND(11i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_SRCCOLOR: D3DBLEND = D3DBLEND(3u32); +pub const D3DBLEND_SRCCOLOR: D3DBLEND = D3DBLEND(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_SRCCOLOR2: D3DBLEND = D3DBLEND(16u32); +pub const D3DBLEND_SRCCOLOR2: D3DBLEND = D3DBLEND(16i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DBLEND_ZERO: D3DBLEND = D3DBLEND(1u32); +pub const D3DBLEND_ZERO: D3DBLEND = D3DBLEND(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DBUSIMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR: D3DBUSTYPE = D3DBUSTYPE(262144i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -2915,11 +2915,11 @@ pub const D3DCUBEMAP_FACE_POSITIVE_Y: D3DCUBEMAP_FACES = D3DCUBEMAP_FACES(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DCUBEMAP_FACE_POSITIVE_Z: D3DCUBEMAP_FACES = D3DCUBEMAP_FACES(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DCULL_CCW: D3DCULL = D3DCULL(3u32); +pub const D3DCULL_CCW: D3DCULL = D3DCULL(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DCULL_CW: D3DCULL = D3DCULL(2u32); +pub const D3DCULL_CW: D3DCULL = D3DCULL(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DCULL_NONE: D3DCULL = D3DCULL(1u32); +pub const D3DCULL_NONE: D3DCULL = D3DCULL(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DCURSORCAPS_COLOR: i32 = 1i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -3113,13 +3113,13 @@ pub const D3DDEVINFOID_TEXTUREMANAGER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DDEVINFOID_TEXTURING: u32 = 3u32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DDEVTYPE_HAL: D3DDEVTYPE = D3DDEVTYPE(1u32); +pub const D3DDEVTYPE_HAL: D3DDEVTYPE = D3DDEVTYPE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DDEVTYPE_NULLREF: D3DDEVTYPE = D3DDEVTYPE(4u32); +pub const D3DDEVTYPE_NULLREF: D3DDEVTYPE = D3DDEVTYPE(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DDEVTYPE_REF: D3DDEVTYPE = D3DDEVTYPE(2u32); +pub const D3DDEVTYPE_REF: D3DDEVTYPE = D3DDEVTYPE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DDEVTYPE_SW: D3DDEVTYPE = D3DDEVTYPE(3u32); +pub const D3DDEVTYPE_SW: D3DDEVTYPE = D3DDEVTYPE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DDISPLAYROTATION_180: D3DDISPLAYROTATION = D3DDISPLAYROTATION(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -3699,13 +3699,13 @@ pub const D3DPMISCCAPS_SEPARATEALPHABLEND: i32 = 131072i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DPMISCCAPS_TSSARGTEMP: i32 = 1024i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DPOOL_DEFAULT: D3DPOOL = D3DPOOL(0u32); +pub const D3DPOOL_DEFAULT: D3DPOOL = D3DPOOL(0i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DPOOL_MANAGED: D3DPOOL = D3DPOOL(1u32); +pub const D3DPOOL_MANAGED: D3DPOOL = D3DPOOL(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DPOOL_SCRATCH: D3DPOOL = D3DPOOL(3u32); +pub const D3DPOOL_SCRATCH: D3DPOOL = D3DPOOL(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DPOOL_SYSTEMMEM: D3DPOOL = D3DPOOL(2u32); +pub const D3DPOOL_SYSTEMMEM: D3DPOOL = D3DPOOL(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DPRASTERCAPS_ANISOTROPY: i32 = 131072i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -4743,21 +4743,21 @@ pub const D3DSTENCILCAPS_TWOSIDED: i32 = 256i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DSTENCILCAPS_ZERO: i32 = 2i32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_DECR: D3DSTENCILOP = D3DSTENCILOP(8u32); +pub const D3DSTENCILOP_DECR: D3DSTENCILOP = D3DSTENCILOP(8i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_DECRSAT: D3DSTENCILOP = D3DSTENCILOP(5u32); +pub const D3DSTENCILOP_DECRSAT: D3DSTENCILOP = D3DSTENCILOP(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_INCR: D3DSTENCILOP = D3DSTENCILOP(7u32); +pub const D3DSTENCILOP_INCR: D3DSTENCILOP = D3DSTENCILOP(7i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_INCRSAT: D3DSTENCILOP = D3DSTENCILOP(4u32); +pub const D3DSTENCILOP_INCRSAT: D3DSTENCILOP = D3DSTENCILOP(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_INVERT: D3DSTENCILOP = D3DSTENCILOP(6u32); +pub const D3DSTENCILOP_INVERT: D3DSTENCILOP = D3DSTENCILOP(6i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_KEEP: D3DSTENCILOP = D3DSTENCILOP(1u32); +pub const D3DSTENCILOP_KEEP: D3DSTENCILOP = D3DSTENCILOP(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_REPLACE: D3DSTENCILOP = D3DSTENCILOP(3u32); +pub const D3DSTENCILOP_REPLACE: D3DSTENCILOP = D3DSTENCILOP(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSTENCILOP_ZERO: D3DSTENCILOP = D3DSTENCILOP(2u32); +pub const D3DSTENCILOP_ZERO: D3DSTENCILOP = D3DSTENCILOP(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DSTREAMSOURCE_INDEXEDDATA: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -4771,15 +4771,15 @@ pub const D3DSTT_UNKNOWN: D3DSAMPLER_TEXTURE_TYPE = D3DSAMPLER_TEXTURE_TYPE(0i32 #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DSTT_VOLUME: D3DSAMPLER_TEXTURE_TYPE = D3DSAMPLER_TEXTURE_TYPE(536870912i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSWAPEFFECT_COPY: D3DSWAPEFFECT = D3DSWAPEFFECT(3u32); +pub const D3DSWAPEFFECT_COPY: D3DSWAPEFFECT = D3DSWAPEFFECT(3i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSWAPEFFECT_DISCARD: D3DSWAPEFFECT = D3DSWAPEFFECT(1u32); +pub const D3DSWAPEFFECT_DISCARD: D3DSWAPEFFECT = D3DSWAPEFFECT(1i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSWAPEFFECT_FLIP: D3DSWAPEFFECT = D3DSWAPEFFECT(2u32); +pub const D3DSWAPEFFECT_FLIP: D3DSWAPEFFECT = D3DSWAPEFFECT(2i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSWAPEFFECT_FLIPEX: D3DSWAPEFFECT = D3DSWAPEFFECT(5u32); +pub const D3DSWAPEFFECT_FLIPEX: D3DSWAPEFFECT = D3DSWAPEFFECT(5i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] -pub const D3DSWAPEFFECT_OVERLAY: D3DSWAPEFFECT = D3DSWAPEFFECT(4u32); +pub const D3DSWAPEFFECT_OVERLAY: D3DSWAPEFFECT = D3DSWAPEFFECT(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] pub const D3DTADDRESS_BORDER: D3DTEXTUREADDRESS = D3DTEXTUREADDRESS(4i32); #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] @@ -5362,7 +5362,7 @@ impl ::core::fmt::Debug for D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DBACKBUFFER_TYPE(pub u32); +pub struct D3DBACKBUFFER_TYPE(pub i32); impl ::core::marker::Copy for D3DBACKBUFFER_TYPE {} impl ::core::clone::Clone for D3DBACKBUFFER_TYPE { fn clone(&self) -> Self { @@ -5408,7 +5408,7 @@ impl ::core::fmt::Debug for D3DBASISTYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DBLEND(pub u32); +pub struct D3DBLEND(pub i32); impl ::core::marker::Copy for D3DBLEND {} impl ::core::clone::Clone for D3DBLEND { fn clone(&self) -> Self { @@ -5431,7 +5431,7 @@ impl ::core::fmt::Debug for D3DBLEND { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DBLENDOP(pub u32); +pub struct D3DBLENDOP(pub i32); impl ::core::marker::Copy for D3DBLENDOP {} impl ::core::clone::Clone for D3DBLENDOP { fn clone(&self) -> Self { @@ -5546,7 +5546,7 @@ impl ::core::fmt::Debug for D3DCUBEMAP_FACES { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DCULL(pub u32); +pub struct D3DCULL(pub i32); impl ::core::marker::Copy for D3DCULL {} impl ::core::clone::Clone for D3DCULL { fn clone(&self) -> Self { @@ -5684,7 +5684,7 @@ impl ::core::fmt::Debug for D3DDEGREETYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DDEVTYPE(pub u32); +pub struct D3DDEVTYPE(pub i32); impl ::core::marker::Copy for D3DDEVTYPE {} impl ::core::clone::Clone for D3DDEVTYPE { fn clone(&self) -> Self { @@ -5937,7 +5937,7 @@ impl ::core::fmt::Debug for D3DPATCHEDGESTYLE { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DPOOL(pub u32); +pub struct D3DPOOL(pub i32); impl ::core::marker::Copy for D3DPOOL {} impl ::core::clone::Clone for D3DPOOL { fn clone(&self) -> Self { @@ -6328,7 +6328,7 @@ impl ::core::fmt::Debug for D3DSTATEBLOCKTYPE { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DSTENCILOP(pub u32); +pub struct D3DSTENCILOP(pub i32); impl ::core::marker::Copy for D3DSTENCILOP {} impl ::core::clone::Clone for D3DSTENCILOP { fn clone(&self) -> Self { @@ -6351,7 +6351,7 @@ impl ::core::fmt::Debug for D3DSTENCILOP { #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct D3DSWAPEFFECT(pub u32); +pub struct D3DSWAPEFFECT(pub i32); impl ::core::marker::Copy for D3DSWAPEFFECT {} impl ::core::clone::Clone for D3DSWAPEFFECT { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs index bea71e438e3..801d509a1b7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs @@ -60,7 +60,7 @@ pub trait IDirectDraw_Impl: Sized { fn GetGDISurface(&self) -> ::windows_core::Result; fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()>; - fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()>; + fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()>; fn RestoreDisplayMode(&self) -> ::windows_core::Result<()>; fn SetCooperativeLevel(&self, param0: super::super::Foundation::HWND, param1: u32) -> ::windows_core::Result<()>; @@ -154,7 +154,7 @@ impl IDirectDraw_Vtbl { let this = (*this).get_impl(); this.GetScanLine(::core::mem::transmute_copy(¶m0)).into() } - unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetVerticalBlankStatus(::core::mem::transmute_copy(¶m0)).into() @@ -229,7 +229,7 @@ pub trait IDirectDraw2_Impl: Sized { fn GetGDISurface(&self) -> ::windows_core::Result; fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()>; - fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()>; + fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()>; fn RestoreDisplayMode(&self) -> ::windows_core::Result<()>; fn SetCooperativeLevel(&self, param0: super::super::Foundation::HWND, param1: u32) -> ::windows_core::Result<()>; @@ -324,7 +324,7 @@ impl IDirectDraw2_Vtbl { let this = (*this).get_impl(); this.GetScanLine(::core::mem::transmute_copy(¶m0)).into() } - unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetVerticalBlankStatus(::core::mem::transmute_copy(¶m0)).into() @@ -405,7 +405,7 @@ pub trait IDirectDraw4_Impl: Sized { fn GetGDISurface(&self) -> ::windows_core::Result; fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()>; - fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()>; + fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()>; fn RestoreDisplayMode(&self) -> ::windows_core::Result<()>; fn SetCooperativeLevel(&self, param0: super::super::Foundation::HWND, param1: u32) -> ::windows_core::Result<()>; @@ -504,7 +504,7 @@ impl IDirectDraw4_Vtbl { let this = (*this).get_impl(); this.GetScanLine(::core::mem::transmute_copy(¶m0)).into() } - unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw4_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetVerticalBlankStatus(::core::mem::transmute_copy(¶m0)).into() @@ -615,7 +615,7 @@ pub trait IDirectDraw7_Impl: Sized { fn GetGDISurface(&self) -> ::windows_core::Result; fn GetMonitorFrequency(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()>; - fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()>; + fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()>; fn RestoreDisplayMode(&self) -> ::windows_core::Result<()>; fn SetCooperativeLevel(&self, param0: super::super::Foundation::HWND, param1: u32) -> ::windows_core::Result<()>; @@ -716,7 +716,7 @@ impl IDirectDraw7_Vtbl { let this = (*this).get_impl(); this.GetScanLine(::core::mem::transmute_copy(¶m0)).into() } - unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetVerticalBlankStatus, Impl: IDirectDraw7_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetVerticalBlankStatus(::core::mem::transmute_copy(¶m0)).into() @@ -2556,7 +2556,7 @@ pub trait IDirectDrawVideoPort_Impl: Sized { fn GetColorControls(&self, param0: *mut DDCOLORCONTROL) -> ::windows_core::Result<()>; fn GetInputFormats(&self, lpnumformats: *mut u32, param1: *mut DDPIXELFORMAT, param2: u32) -> ::windows_core::Result<()>; fn GetOutputFormats(&self, param0: *mut DDPIXELFORMAT, lpnumformats: *mut u32, param2: *mut DDPIXELFORMAT, param3: u32) -> ::windows_core::Result<()>; - fn GetFieldPolarity(&self, param0: *mut i32) -> ::windows_core::Result<()>; + fn GetFieldPolarity(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn GetVideoLine(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn GetVideoSignalStatus(&self, param0: *mut u32) -> ::windows_core::Result<()>; fn SetColorControls(&self, param0: *mut DDCOLORCONTROL) -> ::windows_core::Result<()>; @@ -2596,7 +2596,7 @@ impl IDirectDrawVideoPort_Vtbl { let this = (*this).get_impl(); this.GetOutputFormats(::core::mem::transmute_copy(¶m0), ::core::mem::transmute_copy(&lpnumformats), ::core::mem::transmute_copy(¶m2), ::core::mem::transmute_copy(¶m3)).into() } - unsafe extern "system" fn GetFieldPolarity, Impl: IDirectDrawVideoPort_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetFieldPolarity, Impl: IDirectDrawVideoPort_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetFieldPolarity(::core::mem::transmute_copy(¶m0)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index aa2f7d9bbeb..aa7706c0002 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -158,7 +158,9 @@ impl IDirectDraw { pub unsafe fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetScanLine)(::windows_core::Interface::as_raw(self), param0).ok() } - pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetVerticalBlankStatus)(::windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -215,7 +217,10 @@ pub struct IDirectDraw_Vtbl { pub GetGDISurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub GetMonitorFrequency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub GetScanLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, - pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetVerticalBlankStatus: usize, pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut ::windows_core::GUID) -> ::windows_core::HRESULT, pub RestoreDisplayMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -291,7 +296,9 @@ impl IDirectDraw2 { pub unsafe fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetScanLine)(::windows_core::Interface::as_raw(self), param0).ok() } - pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetVerticalBlankStatus)(::windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -351,7 +358,10 @@ pub struct IDirectDraw2_Vtbl { pub GetGDISurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub GetMonitorFrequency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub GetScanLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, - pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetVerticalBlankStatus: usize, pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut ::windows_core::GUID) -> ::windows_core::HRESULT, pub RestoreDisplayMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -428,7 +438,9 @@ impl IDirectDraw4 { pub unsafe fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetScanLine)(::windows_core::Interface::as_raw(self), param0).ok() } - pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetVerticalBlankStatus)(::windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -506,7 +518,10 @@ pub struct IDirectDraw4_Vtbl { pub GetGDISurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub GetMonitorFrequency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub GetScanLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, - pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetVerticalBlankStatus: usize, pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut ::windows_core::GUID) -> ::windows_core::HRESULT, pub RestoreDisplayMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -590,7 +605,9 @@ impl IDirectDraw7 { pub unsafe fn GetScanLine(&self, param0: *mut u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetScanLine)(::windows_core::Interface::as_raw(self), param0).ok() } - pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetVerticalBlankStatus(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetVerticalBlankStatus)(::windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn Initialize(&self, param0: *mut ::windows_core::GUID) -> ::windows_core::Result<()> { @@ -676,7 +693,10 @@ pub struct IDirectDraw7_Vtbl { pub GetGDISurface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub GetMonitorFrequency: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub GetScanLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, - pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetVerticalBlankStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetVerticalBlankStatus: usize, pub Initialize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut ::windows_core::GUID) -> ::windows_core::HRESULT, pub RestoreDisplayMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] @@ -2224,7 +2244,9 @@ impl IDirectDrawVideoPort { pub unsafe fn GetOutputFormats(&self, param0: *mut DDPIXELFORMAT, lpnumformats: *mut u32, param2: ::core::option::Option<*mut DDPIXELFORMAT>, param3: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetOutputFormats)(::windows_core::Interface::as_raw(self), param0, lpnumformats, ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3).ok() } - pub unsafe fn GetFieldPolarity(&self, param0: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetFieldPolarity(&self, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetFieldPolarity)(::windows_core::Interface::as_raw(self), param0).ok() } pub unsafe fn GetVideoLine(&self, param0: *mut u32) -> ::windows_core::Result<()> { @@ -2275,7 +2297,10 @@ pub struct IDirectDrawVideoPort_Vtbl { pub GetColorControls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut DDCOLORCONTROL) -> ::windows_core::HRESULT, pub GetInputFormats: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpnumformats: *mut u32, param1: *mut DDPIXELFORMAT, param2: u32) -> ::windows_core::HRESULT, pub GetOutputFormats: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut DDPIXELFORMAT, lpnumformats: *mut u32, param2: *mut DDPIXELFORMAT, param3: u32) -> ::windows_core::HRESULT, - pub GetFieldPolarity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetFieldPolarity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetFieldPolarity: usize, pub GetVideoLine: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub GetVideoSignalStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut u32) -> ::windows_core::HRESULT, pub SetColorControls: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, param0: *mut DDCOLORCONTROL) -> ::windows_core::HRESULT, diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/Common/mod.rs index b17e610bc25..5622a5db5a7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/Common/mod.rs @@ -1,11 +1,11 @@ #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_ALPHA_MODE_IGNORE: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(3u32); +pub const DXGI_ALPHA_MODE_IGNORE: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(3i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_ALPHA_MODE_PREMULTIPLIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(1u32); +pub const DXGI_ALPHA_MODE_PREMULTIPLIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_ALPHA_MODE_STRAIGHT: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(2u32); +pub const DXGI_ALPHA_MODE_STRAIGHT: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(2i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_ALPHA_MODE_UNSPECIFIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(0u32); +pub const DXGI_ALPHA_MODE_UNSPECIFIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(0i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] pub const DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN: u32 = 4294967294u32; #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -71,251 +71,251 @@ pub const DXGI_CPU_ACCESS_READ_WRITE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] pub const DXGI_CPU_ACCESS_SCRATCH: u32 = 3u32; #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_420_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(106u32); +pub const DXGI_FORMAT_420_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(106i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_A4B4G4R4_UNORM: DXGI_FORMAT = DXGI_FORMAT(191u32); +pub const DXGI_FORMAT_A4B4G4R4_UNORM: DXGI_FORMAT = DXGI_FORMAT(191i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_A8P8: DXGI_FORMAT = DXGI_FORMAT(114u32); +pub const DXGI_FORMAT_A8P8: DXGI_FORMAT = DXGI_FORMAT(114i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(65u32); +pub const DXGI_FORMAT_A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(65i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_AI44: DXGI_FORMAT = DXGI_FORMAT(111u32); +pub const DXGI_FORMAT_AI44: DXGI_FORMAT = DXGI_FORMAT(111i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_AYUV: DXGI_FORMAT = DXGI_FORMAT(100u32); +pub const DXGI_FORMAT_AYUV: DXGI_FORMAT = DXGI_FORMAT(100i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B4G4R4A4_UNORM: DXGI_FORMAT = DXGI_FORMAT(115u32); +pub const DXGI_FORMAT_B4G4R4A4_UNORM: DXGI_FORMAT = DXGI_FORMAT(115i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B5G5R5A1_UNORM: DXGI_FORMAT = DXGI_FORMAT(86u32); +pub const DXGI_FORMAT_B5G5R5A1_UNORM: DXGI_FORMAT = DXGI_FORMAT(86i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B5G6R5_UNORM: DXGI_FORMAT = DXGI_FORMAT(85u32); +pub const DXGI_FORMAT_B5G6R5_UNORM: DXGI_FORMAT = DXGI_FORMAT(85i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(90u32); +pub const DXGI_FORMAT_B8G8R8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(90i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(87u32); +pub const DXGI_FORMAT_B8G8R8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(87i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(91u32); +pub const DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(91i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(92u32); +pub const DXGI_FORMAT_B8G8R8X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(92i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8X8_UNORM: DXGI_FORMAT = DXGI_FORMAT(88u32); +pub const DXGI_FORMAT_B8G8R8X8_UNORM: DXGI_FORMAT = DXGI_FORMAT(88i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(93u32); +pub const DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(93i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC1_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(70u32); +pub const DXGI_FORMAT_BC1_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(70i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC1_UNORM: DXGI_FORMAT = DXGI_FORMAT(71u32); +pub const DXGI_FORMAT_BC1_UNORM: DXGI_FORMAT = DXGI_FORMAT(71i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC1_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(72u32); +pub const DXGI_FORMAT_BC1_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(72i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(73u32); +pub const DXGI_FORMAT_BC2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(73i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC2_UNORM: DXGI_FORMAT = DXGI_FORMAT(74u32); +pub const DXGI_FORMAT_BC2_UNORM: DXGI_FORMAT = DXGI_FORMAT(74i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC2_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(75u32); +pub const DXGI_FORMAT_BC2_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(75i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC3_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(76u32); +pub const DXGI_FORMAT_BC3_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(76i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC3_UNORM: DXGI_FORMAT = DXGI_FORMAT(77u32); +pub const DXGI_FORMAT_BC3_UNORM: DXGI_FORMAT = DXGI_FORMAT(77i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC3_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(78u32); +pub const DXGI_FORMAT_BC3_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(78i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC4_SNORM: DXGI_FORMAT = DXGI_FORMAT(81u32); +pub const DXGI_FORMAT_BC4_SNORM: DXGI_FORMAT = DXGI_FORMAT(81i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC4_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(79u32); +pub const DXGI_FORMAT_BC4_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(79i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC4_UNORM: DXGI_FORMAT = DXGI_FORMAT(80u32); +pub const DXGI_FORMAT_BC4_UNORM: DXGI_FORMAT = DXGI_FORMAT(80i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC5_SNORM: DXGI_FORMAT = DXGI_FORMAT(84u32); +pub const DXGI_FORMAT_BC5_SNORM: DXGI_FORMAT = DXGI_FORMAT(84i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC5_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(82u32); +pub const DXGI_FORMAT_BC5_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(82i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC5_UNORM: DXGI_FORMAT = DXGI_FORMAT(83u32); +pub const DXGI_FORMAT_BC5_UNORM: DXGI_FORMAT = DXGI_FORMAT(83i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC6H_SF16: DXGI_FORMAT = DXGI_FORMAT(96u32); +pub const DXGI_FORMAT_BC6H_SF16: DXGI_FORMAT = DXGI_FORMAT(96i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC6H_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(94u32); +pub const DXGI_FORMAT_BC6H_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(94i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC6H_UF16: DXGI_FORMAT = DXGI_FORMAT(95u32); +pub const DXGI_FORMAT_BC6H_UF16: DXGI_FORMAT = DXGI_FORMAT(95i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC7_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(97u32); +pub const DXGI_FORMAT_BC7_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(97i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC7_UNORM: DXGI_FORMAT = DXGI_FORMAT(98u32); +pub const DXGI_FORMAT_BC7_UNORM: DXGI_FORMAT = DXGI_FORMAT(98i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_BC7_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(99u32); +pub const DXGI_FORMAT_BC7_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(99i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_D16_UNORM: DXGI_FORMAT = DXGI_FORMAT(55u32); +pub const DXGI_FORMAT_D16_UNORM: DXGI_FORMAT = DXGI_FORMAT(55i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_D24_UNORM_S8_UINT: DXGI_FORMAT = DXGI_FORMAT(45u32); +pub const DXGI_FORMAT_D24_UNORM_S8_UINT: DXGI_FORMAT = DXGI_FORMAT(45i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_D32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(40u32); +pub const DXGI_FORMAT_D32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(40i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_D32_FLOAT_S8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(20u32); +pub const DXGI_FORMAT_D32_FLOAT_S8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(20i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] pub const DXGI_FORMAT_DEFINED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_G8R8_G8B8_UNORM: DXGI_FORMAT = DXGI_FORMAT(69u32); +pub const DXGI_FORMAT_G8R8_G8B8_UNORM: DXGI_FORMAT = DXGI_FORMAT(69i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_IA44: DXGI_FORMAT = DXGI_FORMAT(112u32); +pub const DXGI_FORMAT_IA44: DXGI_FORMAT = DXGI_FORMAT(112i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_NV11: DXGI_FORMAT = DXGI_FORMAT(110u32); +pub const DXGI_FORMAT_NV11: DXGI_FORMAT = DXGI_FORMAT(110i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_NV12: DXGI_FORMAT = DXGI_FORMAT(103u32); +pub const DXGI_FORMAT_NV12: DXGI_FORMAT = DXGI_FORMAT(103i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_P010: DXGI_FORMAT = DXGI_FORMAT(104u32); +pub const DXGI_FORMAT_P010: DXGI_FORMAT = DXGI_FORMAT(104i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_P016: DXGI_FORMAT = DXGI_FORMAT(105u32); +pub const DXGI_FORMAT_P016: DXGI_FORMAT = DXGI_FORMAT(105i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_P208: DXGI_FORMAT = DXGI_FORMAT(130u32); +pub const DXGI_FORMAT_P208: DXGI_FORMAT = DXGI_FORMAT(130i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_P8: DXGI_FORMAT = DXGI_FORMAT(113u32); +pub const DXGI_FORMAT_P8: DXGI_FORMAT = DXGI_FORMAT(113i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R10G10B10A2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(23u32); +pub const DXGI_FORMAT_R10G10B10A2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(23i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R10G10B10A2_UINT: DXGI_FORMAT = DXGI_FORMAT(25u32); +pub const DXGI_FORMAT_R10G10B10A2_UINT: DXGI_FORMAT = DXGI_FORMAT(25i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R10G10B10A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(24u32); +pub const DXGI_FORMAT_R10G10B10A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(24i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(89u32); +pub const DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(89i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R11G11B10_FLOAT: DXGI_FORMAT = DXGI_FORMAT(26u32); +pub const DXGI_FORMAT_R11G11B10_FLOAT: DXGI_FORMAT = DXGI_FORMAT(26i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(10u32); +pub const DXGI_FORMAT_R16G16B16A16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(10i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_SINT: DXGI_FORMAT = DXGI_FORMAT(14u32); +pub const DXGI_FORMAT_R16G16B16A16_SINT: DXGI_FORMAT = DXGI_FORMAT(14i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_SNORM: DXGI_FORMAT = DXGI_FORMAT(13u32); +pub const DXGI_FORMAT_R16G16B16A16_SNORM: DXGI_FORMAT = DXGI_FORMAT(13i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(9u32); +pub const DXGI_FORMAT_R16G16B16A16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(9i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_UINT: DXGI_FORMAT = DXGI_FORMAT(12u32); +pub const DXGI_FORMAT_R16G16B16A16_UINT: DXGI_FORMAT = DXGI_FORMAT(12i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16B16A16_UNORM: DXGI_FORMAT = DXGI_FORMAT(11u32); +pub const DXGI_FORMAT_R16G16B16A16_UNORM: DXGI_FORMAT = DXGI_FORMAT(11i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(34u32); +pub const DXGI_FORMAT_R16G16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(34i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_SINT: DXGI_FORMAT = DXGI_FORMAT(38u32); +pub const DXGI_FORMAT_R16G16_SINT: DXGI_FORMAT = DXGI_FORMAT(38i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_SNORM: DXGI_FORMAT = DXGI_FORMAT(37u32); +pub const DXGI_FORMAT_R16G16_SNORM: DXGI_FORMAT = DXGI_FORMAT(37i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(33u32); +pub const DXGI_FORMAT_R16G16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(33i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_UINT: DXGI_FORMAT = DXGI_FORMAT(36u32); +pub const DXGI_FORMAT_R16G16_UINT: DXGI_FORMAT = DXGI_FORMAT(36i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16G16_UNORM: DXGI_FORMAT = DXGI_FORMAT(35u32); +pub const DXGI_FORMAT_R16G16_UNORM: DXGI_FORMAT = DXGI_FORMAT(35i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(54u32); +pub const DXGI_FORMAT_R16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(54i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_SINT: DXGI_FORMAT = DXGI_FORMAT(59u32); +pub const DXGI_FORMAT_R16_SINT: DXGI_FORMAT = DXGI_FORMAT(59i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_SNORM: DXGI_FORMAT = DXGI_FORMAT(58u32); +pub const DXGI_FORMAT_R16_SNORM: DXGI_FORMAT = DXGI_FORMAT(58i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(53u32); +pub const DXGI_FORMAT_R16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(53i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_UINT: DXGI_FORMAT = DXGI_FORMAT(57u32); +pub const DXGI_FORMAT_R16_UINT: DXGI_FORMAT = DXGI_FORMAT(57i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R16_UNORM: DXGI_FORMAT = DXGI_FORMAT(56u32); +pub const DXGI_FORMAT_R16_UNORM: DXGI_FORMAT = DXGI_FORMAT(56i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R1_UNORM: DXGI_FORMAT = DXGI_FORMAT(66u32); +pub const DXGI_FORMAT_R1_UNORM: DXGI_FORMAT = DXGI_FORMAT(66i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R24G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(44u32); +pub const DXGI_FORMAT_R24G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(44i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R24_UNORM_X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(46u32); +pub const DXGI_FORMAT_R24_UNORM_X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(46i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32A32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(2u32); +pub const DXGI_FORMAT_R32G32B32A32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(2i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32A32_SINT: DXGI_FORMAT = DXGI_FORMAT(4u32); +pub const DXGI_FORMAT_R32G32B32A32_SINT: DXGI_FORMAT = DXGI_FORMAT(4i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32A32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(1u32); +pub const DXGI_FORMAT_R32G32B32A32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32A32_UINT: DXGI_FORMAT = DXGI_FORMAT(3u32); +pub const DXGI_FORMAT_R32G32B32A32_UINT: DXGI_FORMAT = DXGI_FORMAT(3i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(6u32); +pub const DXGI_FORMAT_R32G32B32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(6i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32_SINT: DXGI_FORMAT = DXGI_FORMAT(8u32); +pub const DXGI_FORMAT_R32G32B32_SINT: DXGI_FORMAT = DXGI_FORMAT(8i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(5u32); +pub const DXGI_FORMAT_R32G32B32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(5i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32B32_UINT: DXGI_FORMAT = DXGI_FORMAT(7u32); +pub const DXGI_FORMAT_R32G32B32_UINT: DXGI_FORMAT = DXGI_FORMAT(7i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(16u32); +pub const DXGI_FORMAT_R32G32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(16i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32_SINT: DXGI_FORMAT = DXGI_FORMAT(18u32); +pub const DXGI_FORMAT_R32G32_SINT: DXGI_FORMAT = DXGI_FORMAT(18i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(15u32); +pub const DXGI_FORMAT_R32G32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(15i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G32_UINT: DXGI_FORMAT = DXGI_FORMAT(17u32); +pub const DXGI_FORMAT_R32G32_UINT: DXGI_FORMAT = DXGI_FORMAT(17i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32G8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(19u32); +pub const DXGI_FORMAT_R32G8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(19i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(41u32); +pub const DXGI_FORMAT_R32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(41i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(21u32); +pub const DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(21i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32_SINT: DXGI_FORMAT = DXGI_FORMAT(43u32); +pub const DXGI_FORMAT_R32_SINT: DXGI_FORMAT = DXGI_FORMAT(43i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(39u32); +pub const DXGI_FORMAT_R32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(39i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R32_UINT: DXGI_FORMAT = DXGI_FORMAT(42u32); +pub const DXGI_FORMAT_R32_UINT: DXGI_FORMAT = DXGI_FORMAT(42i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_SINT: DXGI_FORMAT = DXGI_FORMAT(32u32); +pub const DXGI_FORMAT_R8G8B8A8_SINT: DXGI_FORMAT = DXGI_FORMAT(32i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_SNORM: DXGI_FORMAT = DXGI_FORMAT(31u32); +pub const DXGI_FORMAT_R8G8B8A8_SNORM: DXGI_FORMAT = DXGI_FORMAT(31i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(27u32); +pub const DXGI_FORMAT_R8G8B8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(27i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_UINT: DXGI_FORMAT = DXGI_FORMAT(30u32); +pub const DXGI_FORMAT_R8G8B8A8_UINT: DXGI_FORMAT = DXGI_FORMAT(30i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(28u32); +pub const DXGI_FORMAT_R8G8B8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(28i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(29u32); +pub const DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(29i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_B8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(68u32); +pub const DXGI_FORMAT_R8G8_B8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(68i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_SINT: DXGI_FORMAT = DXGI_FORMAT(52u32); +pub const DXGI_FORMAT_R8G8_SINT: DXGI_FORMAT = DXGI_FORMAT(52i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_SNORM: DXGI_FORMAT = DXGI_FORMAT(51u32); +pub const DXGI_FORMAT_R8G8_SNORM: DXGI_FORMAT = DXGI_FORMAT(51i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(48u32); +pub const DXGI_FORMAT_R8G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(48i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_UINT: DXGI_FORMAT = DXGI_FORMAT(50u32); +pub const DXGI_FORMAT_R8G8_UINT: DXGI_FORMAT = DXGI_FORMAT(50i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(49u32); +pub const DXGI_FORMAT_R8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(49i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8_SINT: DXGI_FORMAT = DXGI_FORMAT(64u32); +pub const DXGI_FORMAT_R8_SINT: DXGI_FORMAT = DXGI_FORMAT(64i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8_SNORM: DXGI_FORMAT = DXGI_FORMAT(63u32); +pub const DXGI_FORMAT_R8_SNORM: DXGI_FORMAT = DXGI_FORMAT(63i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(60u32); +pub const DXGI_FORMAT_R8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(60i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8_UINT: DXGI_FORMAT = DXGI_FORMAT(62u32); +pub const DXGI_FORMAT_R8_UINT: DXGI_FORMAT = DXGI_FORMAT(62i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R8_UNORM: DXGI_FORMAT = DXGI_FORMAT(61u32); +pub const DXGI_FORMAT_R8_UNORM: DXGI_FORMAT = DXGI_FORMAT(61i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_R9G9B9E5_SHAREDEXP: DXGI_FORMAT = DXGI_FORMAT(67u32); +pub const DXGI_FORMAT_R9G9B9E5_SHAREDEXP: DXGI_FORMAT = DXGI_FORMAT(67i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(189u32); +pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(189i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(190u32); +pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(190i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_UNKNOWN: DXGI_FORMAT = DXGI_FORMAT(0u32); +pub const DXGI_FORMAT_UNKNOWN: DXGI_FORMAT = DXGI_FORMAT(0i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_V208: DXGI_FORMAT = DXGI_FORMAT(131u32); +pub const DXGI_FORMAT_V208: DXGI_FORMAT = DXGI_FORMAT(131i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_V408: DXGI_FORMAT = DXGI_FORMAT(132u32); +pub const DXGI_FORMAT_V408: DXGI_FORMAT = DXGI_FORMAT(132i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_X24_TYPELESS_G8_UINT: DXGI_FORMAT = DXGI_FORMAT(47u32); +pub const DXGI_FORMAT_X24_TYPELESS_G8_UINT: DXGI_FORMAT = DXGI_FORMAT(47i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(22u32); +pub const DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(22i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_Y210: DXGI_FORMAT = DXGI_FORMAT(108u32); +pub const DXGI_FORMAT_Y210: DXGI_FORMAT = DXGI_FORMAT(108i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_Y216: DXGI_FORMAT = DXGI_FORMAT(109u32); +pub const DXGI_FORMAT_Y216: DXGI_FORMAT = DXGI_FORMAT(109i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_Y410: DXGI_FORMAT = DXGI_FORMAT(101u32); +pub const DXGI_FORMAT_Y410: DXGI_FORMAT = DXGI_FORMAT(101i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_Y416: DXGI_FORMAT = DXGI_FORMAT(102u32); +pub const DXGI_FORMAT_Y416: DXGI_FORMAT = DXGI_FORMAT(102i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] -pub const DXGI_FORMAT_YUY2: DXGI_FORMAT = DXGI_FORMAT(107u32); +pub const DXGI_FORMAT_YUY2: DXGI_FORMAT = DXGI_FORMAT(107i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] pub const DXGI_MODE_ROTATION_IDENTITY: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] @@ -347,7 +347,7 @@ pub const _FACDXGI: u32 = 2170u32; #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXGI_ALPHA_MODE(pub u32); +pub struct DXGI_ALPHA_MODE(pub i32); impl ::core::marker::Copy for DXGI_ALPHA_MODE {} impl ::core::clone::Clone for DXGI_ALPHA_MODE { fn clone(&self) -> Self { @@ -393,7 +393,7 @@ impl ::core::fmt::Debug for DXGI_COLOR_SPACE_TYPE { #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXGI_FORMAT(pub u32); +pub struct DXGI_FORMAT(pub i32); impl ::core::marker::Copy for DXGI_FORMAT {} impl ::core::clone::Clone for DXGI_FORMAT { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs index 7e409d1db4d..c376f507d3b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -5287,25 +5287,25 @@ pub struct IDXGraphicsAnalysis_Vtbl { pub EndCapture: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(4u32); +pub const DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(4i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_KEYED_MUTEX_CONFORMANCE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(32u32); +pub const DXGI_ADAPTER_FLAG3_KEYED_MUTEX_CONFORMANCE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(32i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_NONE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(0u32); +pub const DXGI_ADAPTER_FLAG3_NONE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(0i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_REMOTE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(1u32); +pub const DXGI_ADAPTER_FLAG3_REMOTE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_SOFTWARE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(2u32); +pub const DXGI_ADAPTER_FLAG3_SOFTWARE: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(2i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_SUPPORT_MONITORED_FENCES: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(8u32); +pub const DXGI_ADAPTER_FLAG3_SUPPORT_MONITORED_FENCES: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(8i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG3_SUPPORT_NON_MONITORED_FENCES: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(16u32); +pub const DXGI_ADAPTER_FLAG3_SUPPORT_NON_MONITORED_FENCES: DXGI_ADAPTER_FLAG3 = DXGI_ADAPTER_FLAG3(16i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG_NONE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(0u32); +pub const DXGI_ADAPTER_FLAG_NONE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(0i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG_REMOTE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(1u32); +pub const DXGI_ADAPTER_FLAG_REMOTE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] -pub const DXGI_ADAPTER_FLAG_SOFTWARE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(2u32); +pub const DXGI_ADAPTER_FLAG_SOFTWARE: DXGI_ADAPTER_FLAG = DXGI_ADAPTER_FLAG(2i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] pub const DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY: DXGI_COMPUTE_PREEMPTION_GRANULARITY = DXGI_COMPUTE_PREEMPTION_GRANULARITY(1i32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] @@ -6299,7 +6299,7 @@ pub const DXGI_USAGE_UNORDERED_ACCESS: DXGI_USAGE = DXGI_USAGE(1024u32); #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXGI_ADAPTER_FLAG(pub u32); +pub struct DXGI_ADAPTER_FLAG(pub i32); impl ::core::marker::Copy for DXGI_ADAPTER_FLAG {} impl ::core::clone::Clone for DXGI_ADAPTER_FLAG { fn clone(&self) -> Self { @@ -6355,7 +6355,7 @@ impl ::core::ops::Not for DXGI_ADAPTER_FLAG { #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct DXGI_ADAPTER_FLAG3(pub u32); +pub struct DXGI_ADAPTER_FLAG3(pub i32); impl ::core::marker::Copy for DXGI_ADAPTER_FLAG3 {} impl ::core::clone::Clone for DXGI_ADAPTER_FLAG3 { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs new file mode 100644 index 00000000000..d6e227ead61 --- /dev/null +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs @@ -0,0 +1,61 @@ +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"implement\"`*"] +pub trait GdiplusAbort_Impl: Sized { + fn Abort(&self) -> ::windows_core::Result<()>; +} +impl GdiplusAbort_Vtbl { + pub const fn new() -> GdiplusAbort_Vtbl { + unsafe extern "system" fn Abort(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + let this = (this as *mut *mut ::core::ffi::c_void) as *const ::windows_core::ScopedHeap; + let this = &*((*this).this as *const Impl); + this.Abort().into() + } + Self { Abort: Abort:: } + } +} +#[doc(hidden)] +struct GdiplusAbort_ImplVtbl(::std::marker::PhantomData); +impl GdiplusAbort_ImplVtbl { + const VTABLE: GdiplusAbort_Vtbl = GdiplusAbort_Vtbl::new::(); +} +impl GdiplusAbort { + pub fn new<'a, T: GdiplusAbort_Impl>(this: &'a T) -> ::windows_core::ScopedInterface<'a, Self> { + let this = ::windows_core::ScopedHeap { vtable: &GdiplusAbort_ImplVtbl::::VTABLE as *const _ as *const _, this: this as *const _ as *const _ }; + let this = ::std::mem::ManuallyDrop::new(::std::boxed::Box::new(this)); + unsafe { ::windows_core::ScopedInterface::new(::std::mem::transmute(&this.vtable)) } + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"implement\"`*"] +pub trait IImageBytes_Impl: Sized { + fn CountBytes(&self, pcb: *mut u32) -> ::windows_core::Result<()>; + fn LockBytes(&self, cb: u32, uloffset: u32, ppvbytes: *const *const ::core::ffi::c_void) -> ::windows_core::Result<()>; + fn UnlockBytes(&self, pvbytes: *const ::core::ffi::c_void, cb: u32, uloffset: u32) -> ::windows_core::Result<()>; +} +impl ::windows_core::RuntimeName for IImageBytes {} +impl IImageBytes_Vtbl { + pub const fn new, Impl: IImageBytes_Impl, const OFFSET: isize>() -> IImageBytes_Vtbl { + unsafe extern "system" fn CountBytes, Impl: IImageBytes_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pcb: *mut u32) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.CountBytes(::core::mem::transmute_copy(&pcb)).into() + } + unsafe extern "system" fn LockBytes, Impl: IImageBytes_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cb: u32, uloffset: u32, ppvbytes: *const *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.LockBytes(::core::mem::transmute_copy(&cb), ::core::mem::transmute_copy(&uloffset), ::core::mem::transmute_copy(&ppvbytes)).into() + } + unsafe extern "system" fn UnlockBytes, Impl: IImageBytes_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pvbytes: *const ::core::ffi::c_void, cb: u32, uloffset: u32) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.UnlockBytes(::core::mem::transmute_copy(&pvbytes), ::core::mem::transmute_copy(&cb), ::core::mem::transmute_copy(&uloffset)).into() + } + Self { + base__: ::windows_core::IUnknown_Vtbl::new::(), + CountBytes: CountBytes::, + LockBytes: LockBytes::, + UnlockBytes: UnlockBytes::, + } + } + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + } +} diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs new file mode 100644 index 00000000000..c0319989e68 --- /dev/null +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -0,0 +1,10258 @@ +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathArc(path: *mut GpPath, x: f32, y: f32, width: f32, height: f32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathArc(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); + GdipAddPathArc(path, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathArcI(path: *mut GpPath, x: i32, y: i32, width: i32, height: i32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathArcI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); + GdipAddPathArcI(path, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathBezier(path: *mut GpPath, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32, x4: f32, y4: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathBezier(path : *mut GpPath, x1 : f32, y1 : f32, x2 : f32, y2 : f32, x3 : f32, y3 : f32, x4 : f32, y4 : f32) -> Status); + GdipAddPathBezier(path, x1, y1, x2, y2, x3, y3, x4, y4) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathBezierI(path: *mut GpPath, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathBezierI(path : *mut GpPath, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> Status); + GdipAddPathBezierI(path, x1, y1, x2, y2, x3, y3, x4, y4) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathBeziers(path: *mut GpPath, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathBeziers(path : *mut GpPath, points : *const PointF, count : i32) -> Status); + GdipAddPathBeziers(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathBeziersI(path: *mut GpPath, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathBeziersI(path : *mut GpPath, points : *const Point, count : i32) -> Status); + GdipAddPathBeziersI(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathClosedCurve(path: *mut GpPath, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathClosedCurve(path : *mut GpPath, points : *const PointF, count : i32) -> Status); + GdipAddPathClosedCurve(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathClosedCurve2(path: *mut GpPath, points: *const PointF, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathClosedCurve2(path : *mut GpPath, points : *const PointF, count : i32, tension : f32) -> Status); + GdipAddPathClosedCurve2(path, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathClosedCurve2I(path: *mut GpPath, points: *const Point, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathClosedCurve2I(path : *mut GpPath, points : *const Point, count : i32, tension : f32) -> Status); + GdipAddPathClosedCurve2I(path, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathClosedCurveI(path: *mut GpPath, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathClosedCurveI(path : *mut GpPath, points : *const Point, count : i32) -> Status); + GdipAddPathClosedCurveI(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurve(path: *mut GpPath, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurve(path : *mut GpPath, points : *const PointF, count : i32) -> Status); + GdipAddPathCurve(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurve2(path: *mut GpPath, points: *const PointF, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurve2(path : *mut GpPath, points : *const PointF, count : i32, tension : f32) -> Status); + GdipAddPathCurve2(path, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurve2I(path: *mut GpPath, points: *const Point, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurve2I(path : *mut GpPath, points : *const Point, count : i32, tension : f32) -> Status); + GdipAddPathCurve2I(path, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurve3(path: *mut GpPath, points: *const PointF, count: i32, offset: i32, numberofsegments: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurve3(path : *mut GpPath, points : *const PointF, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); + GdipAddPathCurve3(path, points, count, offset, numberofsegments, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurve3I(path: *mut GpPath, points: *const Point, count: i32, offset: i32, numberofsegments: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurve3I(path : *mut GpPath, points : *const Point, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); + GdipAddPathCurve3I(path, points, count, offset, numberofsegments, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathCurveI(path: *mut GpPath, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathCurveI(path : *mut GpPath, points : *const Point, count : i32) -> Status); + GdipAddPathCurveI(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathEllipse(path: *mut GpPath, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathEllipse(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipAddPathEllipse(path, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathEllipseI(path: *mut GpPath, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathEllipseI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipAddPathEllipseI(path, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathLine(path: *mut GpPath, x1: f32, y1: f32, x2: f32, y2: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathLine(path : *mut GpPath, x1 : f32, y1 : f32, x2 : f32, y2 : f32) -> Status); + GdipAddPathLine(path, x1, y1, x2, y2) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathLine2(path: *mut GpPath, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathLine2(path : *mut GpPath, points : *const PointF, count : i32) -> Status); + GdipAddPathLine2(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathLine2I(path: *mut GpPath, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathLine2I(path : *mut GpPath, points : *const Point, count : i32) -> Status); + GdipAddPathLine2I(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathLineI(path: *mut GpPath, x1: i32, y1: i32, x2: i32, y2: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathLineI(path : *mut GpPath, x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> Status); + GdipAddPathLineI(path, x1, y1, x2, y2) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipAddPathPath(path: *mut GpPath, addingpath: *const GpPath, connect: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathPath(path : *mut GpPath, addingpath : *const GpPath, connect : super::super::Foundation:: BOOL) -> Status); + GdipAddPathPath(path, addingpath, connect.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathPie(path: *mut GpPath, x: f32, y: f32, width: f32, height: f32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathPie(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); + GdipAddPathPie(path, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathPieI(path: *mut GpPath, x: i32, y: i32, width: i32, height: i32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathPieI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); + GdipAddPathPieI(path, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathPolygon(path: *mut GpPath, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathPolygon(path : *mut GpPath, points : *const PointF, count : i32) -> Status); + GdipAddPathPolygon(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathPolygonI(path: *mut GpPath, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathPolygonI(path : *mut GpPath, points : *const Point, count : i32) -> Status); + GdipAddPathPolygonI(path, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathRectangle(path: *mut GpPath, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathRectangle(path : *mut GpPath, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipAddPathRectangle(path, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathRectangleI(path: *mut GpPath, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathRectangleI(path : *mut GpPath, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipAddPathRectangleI(path, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathRectangles(path: *mut GpPath, rects: *const RectF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathRectangles(path : *mut GpPath, rects : *const RectF, count : i32) -> Status); + GdipAddPathRectangles(path, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathRectanglesI(path: *mut GpPath, rects: *const Rect, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathRectanglesI(path : *mut GpPath, rects : *const Rect, count : i32) -> Status); + GdipAddPathRectanglesI(path, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathString(path: *mut GpPath, string: P0, length: i32, family: *const GpFontFamily, style: i32, emsize: f32, layoutrect: *const RectF, format: *const GpStringFormat) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathString(path : *mut GpPath, string : ::windows_core::PCWSTR, length : i32, family : *const GpFontFamily, style : i32, emsize : f32, layoutrect : *const RectF, format : *const GpStringFormat) -> Status); + GdipAddPathString(path, string.into_param().abi(), length, family, style, emsize, layoutrect, format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAddPathStringI(path: *mut GpPath, string: P0, length: i32, family: *const GpFontFamily, style: i32, emsize: f32, layoutrect: *const Rect, format: *const GpStringFormat) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAddPathStringI(path : *mut GpPath, string : ::windows_core::PCWSTR, length : i32, family : *const GpFontFamily, style : i32, emsize : f32, layoutrect : *const Rect, format : *const GpStringFormat) -> Status); + GdipAddPathStringI(path, string.into_param().abi(), length, family, style, emsize, layoutrect, format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipAlloc(size: usize) -> *mut ::core::ffi::c_void { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipAlloc(size : usize) -> *mut ::core::ffi::c_void); + GdipAlloc(size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBeginContainer(graphics: *mut GpGraphics, dstrect: *const RectF, srcrect: *const RectF, unit: Unit, state: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBeginContainer(graphics : *mut GpGraphics, dstrect : *const RectF, srcrect : *const RectF, unit : Unit, state : *mut u32) -> Status); + GdipBeginContainer(graphics, dstrect, srcrect, unit, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBeginContainer2(graphics: *mut GpGraphics, state: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBeginContainer2(graphics : *mut GpGraphics, state : *mut u32) -> Status); + GdipBeginContainer2(graphics, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBeginContainerI(graphics: *mut GpGraphics, dstrect: *const Rect, srcrect: *const Rect, unit: Unit, state: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBeginContainerI(graphics : *mut GpGraphics, dstrect : *const Rect, srcrect : *const Rect, unit : Unit, state : *mut u32) -> Status); + GdipBeginContainerI(graphics, dstrect, srcrect, unit, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipBitmapApplyEffect(bitmap: *mut GpBitmap, effect: *mut CGpEffect, roi: *mut super::super::Foundation::RECT, useauxdata: P0, auxdata: *mut *mut ::core::ffi::c_void, auxdatasize: *mut i32) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapApplyEffect(bitmap : *mut GpBitmap, effect : *mut CGpEffect, roi : *mut super::super::Foundation:: RECT, useauxdata : super::super::Foundation:: BOOL, auxdata : *mut *mut ::core::ffi::c_void, auxdatasize : *mut i32) -> Status); + GdipBitmapApplyEffect(bitmap, effect, roi, useauxdata.into_param().abi(), auxdata, auxdatasize) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapConvertFormat(pinputbitmap: *mut GpBitmap, format: i32, dithertype: DitherType, palettetype: PaletteType, palette: *mut ColorPalette, alphathresholdpercent: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapConvertFormat(pinputbitmap : *mut GpBitmap, format : i32, dithertype : DitherType, palettetype : PaletteType, palette : *mut ColorPalette, alphathresholdpercent : f32) -> Status); + GdipBitmapConvertFormat(pinputbitmap, format, dithertype, palettetype, palette, alphathresholdpercent) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipBitmapCreateApplyEffect(inputbitmaps: *mut *mut GpBitmap, numinputs: i32, effect: *mut CGpEffect, roi: *mut super::super::Foundation::RECT, outputrect: *mut super::super::Foundation::RECT, outputbitmap: *mut *mut GpBitmap, useauxdata: P0, auxdata: *mut *mut ::core::ffi::c_void, auxdatasize: *mut i32) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapCreateApplyEffect(inputbitmaps : *mut *mut GpBitmap, numinputs : i32, effect : *mut CGpEffect, roi : *mut super::super::Foundation:: RECT, outputrect : *mut super::super::Foundation:: RECT, outputbitmap : *mut *mut GpBitmap, useauxdata : super::super::Foundation:: BOOL, auxdata : *mut *mut ::core::ffi::c_void, auxdatasize : *mut i32) -> Status); + GdipBitmapCreateApplyEffect(inputbitmaps, numinputs, effect, roi, outputrect, outputbitmap, useauxdata.into_param().abi(), auxdata, auxdatasize) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapGetHistogram(bitmap: *mut GpBitmap, format: HistogramFormat, numberofentries: u32, channel0: *mut u32, channel1: *mut u32, channel2: *mut u32, channel3: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapGetHistogram(bitmap : *mut GpBitmap, format : HistogramFormat, numberofentries : u32, channel0 : *mut u32, channel1 : *mut u32, channel2 : *mut u32, channel3 : *mut u32) -> Status); + GdipBitmapGetHistogram(bitmap, format, numberofentries, channel0, channel1, channel2, channel3) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapGetHistogramSize(format: HistogramFormat, numberofentries: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapGetHistogramSize(format : HistogramFormat, numberofentries : *mut u32) -> Status); + GdipBitmapGetHistogramSize(format, numberofentries) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapGetPixel(bitmap: *mut GpBitmap, x: i32, y: i32, color: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapGetPixel(bitmap : *mut GpBitmap, x : i32, y : i32, color : *mut u32) -> Status); + GdipBitmapGetPixel(bitmap, x, y, color) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapLockBits(bitmap: *mut GpBitmap, rect: *const Rect, flags: u32, format: i32, lockedbitmapdata: *mut BitmapData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapLockBits(bitmap : *mut GpBitmap, rect : *const Rect, flags : u32, format : i32, lockedbitmapdata : *mut BitmapData) -> Status); + GdipBitmapLockBits(bitmap, rect, flags, format, lockedbitmapdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapSetPixel(bitmap: *mut GpBitmap, x: i32, y: i32, color: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapSetPixel(bitmap : *mut GpBitmap, x : i32, y : i32, color : u32) -> Status); + GdipBitmapSetPixel(bitmap, x, y, color) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapSetResolution(bitmap: *mut GpBitmap, xdpi: f32, ydpi: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapSetResolution(bitmap : *mut GpBitmap, xdpi : f32, ydpi : f32) -> Status); + GdipBitmapSetResolution(bitmap, xdpi, ydpi) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipBitmapUnlockBits(bitmap: *mut GpBitmap, lockedbitmapdata: *mut BitmapData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipBitmapUnlockBits(bitmap : *mut GpBitmap, lockedbitmapdata : *mut BitmapData) -> Status); + GdipBitmapUnlockBits(bitmap, lockedbitmapdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipClearPathMarkers(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipClearPathMarkers(path : *mut GpPath) -> Status); + GdipClearPathMarkers(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneBitmapArea(x: f32, y: f32, width: f32, height: f32, format: i32, srcbitmap: *mut GpBitmap, dstbitmap: *mut *mut GpBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneBitmapArea(x : f32, y : f32, width : f32, height : f32, format : i32, srcbitmap : *mut GpBitmap, dstbitmap : *mut *mut GpBitmap) -> Status); + GdipCloneBitmapArea(x, y, width, height, format, srcbitmap, dstbitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneBitmapAreaI(x: i32, y: i32, width: i32, height: i32, format: i32, srcbitmap: *mut GpBitmap, dstbitmap: *mut *mut GpBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneBitmapAreaI(x : i32, y : i32, width : i32, height : i32, format : i32, srcbitmap : *mut GpBitmap, dstbitmap : *mut *mut GpBitmap) -> Status); + GdipCloneBitmapAreaI(x, y, width, height, format, srcbitmap, dstbitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneBrush(brush: *mut GpBrush, clonebrush: *mut *mut GpBrush) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneBrush(brush : *mut GpBrush, clonebrush : *mut *mut GpBrush) -> Status); + GdipCloneBrush(brush, clonebrush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneCustomLineCap(customcap: *mut GpCustomLineCap, clonedcap: *mut *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneCustomLineCap(customcap : *mut GpCustomLineCap, clonedcap : *mut *mut GpCustomLineCap) -> Status); + GdipCloneCustomLineCap(customcap, clonedcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneFont(font: *mut GpFont, clonefont: *mut *mut GpFont) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneFont(font : *mut GpFont, clonefont : *mut *mut GpFont) -> Status); + GdipCloneFont(font, clonefont) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneFontFamily(fontfamily: *mut GpFontFamily, clonedfontfamily: *mut *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneFontFamily(fontfamily : *mut GpFontFamily, clonedfontfamily : *mut *mut GpFontFamily) -> Status); + GdipCloneFontFamily(fontfamily, clonedfontfamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneImage(image: *mut GpImage, cloneimage: *mut *mut GpImage) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneImage(image : *mut GpImage, cloneimage : *mut *mut GpImage) -> Status); + GdipCloneImage(image, cloneimage) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneImageAttributes(imageattr: *const GpImageAttributes, cloneimageattr: *mut *mut GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneImageAttributes(imageattr : *const GpImageAttributes, cloneimageattr : *mut *mut GpImageAttributes) -> Status); + GdipCloneImageAttributes(imageattr, cloneimageattr) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneMatrix(matrix: *mut Matrix, clonematrix: *mut *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneMatrix(matrix : *mut Matrix, clonematrix : *mut *mut Matrix) -> Status); + GdipCloneMatrix(matrix, clonematrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipClonePath(path: *mut GpPath, clonepath: *mut *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipClonePath(path : *mut GpPath, clonepath : *mut *mut GpPath) -> Status); + GdipClonePath(path, clonepath) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipClonePen(pen: *mut GpPen, clonepen: *mut *mut GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipClonePen(pen : *mut GpPen, clonepen : *mut *mut GpPen) -> Status); + GdipClonePen(pen, clonepen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneRegion(region: *mut GpRegion, cloneregion: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneRegion(region : *mut GpRegion, cloneregion : *mut *mut GpRegion) -> Status); + GdipCloneRegion(region, cloneregion) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCloneStringFormat(format: *const GpStringFormat, newformat: *mut *mut GpStringFormat) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCloneStringFormat(format : *const GpStringFormat, newformat : *mut *mut GpStringFormat) -> Status); + GdipCloneStringFormat(format, newformat) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipClosePathFigure(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipClosePathFigure(path : *mut GpPath) -> Status); + GdipClosePathFigure(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipClosePathFigures(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipClosePathFigures(path : *mut GpPath) -> Status); + GdipClosePathFigures(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCombineRegionPath(region: *mut GpRegion, path: *mut GpPath, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCombineRegionPath(region : *mut GpRegion, path : *mut GpPath, combinemode : CombineMode) -> Status); + GdipCombineRegionPath(region, path, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCombineRegionRect(region: *mut GpRegion, rect: *const RectF, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCombineRegionRect(region : *mut GpRegion, rect : *const RectF, combinemode : CombineMode) -> Status); + GdipCombineRegionRect(region, rect, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCombineRegionRectI(region: *mut GpRegion, rect: *const Rect, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCombineRegionRectI(region : *mut GpRegion, rect : *const Rect, combinemode : CombineMode) -> Status); + GdipCombineRegionRectI(region, rect, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCombineRegionRegion(region: *mut GpRegion, region2: *mut GpRegion, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCombineRegionRegion(region : *mut GpRegion, region2 : *mut GpRegion, combinemode : CombineMode) -> Status); + GdipCombineRegionRegion(region, region2, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipComment(graphics: *mut GpGraphics, sizedata: u32, data: *const u8) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipComment(graphics : *mut GpGraphics, sizedata : u32, data : *const u8) -> Status); + GdipComment(graphics, sizedata, data) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipConvertToEmfPlus(refgraphics: *const GpGraphics, metafile: *mut GpMetafile, conversionfailureflag: *mut i32, emftype: EmfType, description: P0, out_metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlus(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, emftype : EmfType, description : ::windows_core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); + GdipConvertToEmfPlus(refgraphics, metafile, conversionfailureflag, emftype, description.into_param().abi(), out_metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipConvertToEmfPlusToFile(refgraphics: *const GpGraphics, metafile: *mut GpMetafile, conversionfailureflag: *mut i32, filename: P0, emftype: EmfType, description: P1, out_metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlusToFile(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, filename : ::windows_core::PCWSTR, emftype : EmfType, description : ::windows_core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); + GdipConvertToEmfPlusToFile(refgraphics, metafile, conversionfailureflag, filename.into_param().abi(), emftype, description.into_param().abi(), out_metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipConvertToEmfPlusToStream(refgraphics: *const GpGraphics, metafile: *mut GpMetafile, conversionfailureflag: *mut i32, stream: P0, emftype: EmfType, description: P1, out_metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipConvertToEmfPlusToStream(refgraphics : *const GpGraphics, metafile : *mut GpMetafile, conversionfailureflag : *mut i32, stream : * mut::core::ffi::c_void, emftype : EmfType, description : ::windows_core::PCWSTR, out_metafile : *mut *mut GpMetafile) -> Status); + GdipConvertToEmfPlusToStream(refgraphics, metafile, conversionfailureflag, stream.into_param().abi(), emftype, description.into_param().abi(), out_metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateAdjustableArrowCap(height: f32, width: f32, isfilled: P0, cap: *mut *mut GpAdjustableArrowCap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateAdjustableArrowCap(height : f32, width : f32, isfilled : super::super::Foundation:: BOOL, cap : *mut *mut GpAdjustableArrowCap) -> Status); + GdipCreateAdjustableArrowCap(height, width, isfilled.into_param().abi(), cap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_DirectDraw\"`*"] +#[cfg(feature = "Win32_Graphics_DirectDraw")] +#[inline] +pub unsafe fn GdipCreateBitmapFromDirectDrawSurface(surface: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromDirectDrawSurface(surface : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromDirectDrawSurface(surface.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateBitmapFromFile(filename: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromFile(filename : ::windows_core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromFile(filename.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateBitmapFromFileICM(filename: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromFileICM(filename : ::windows_core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromFileICM(filename.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateBitmapFromGdiDib(gdibitmapinfo: *const super::Gdi::BITMAPINFO, gdibitmapdata: *mut ::core::ffi::c_void, bitmap: *mut *mut GpBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromGdiDib(gdibitmapinfo : *const super::Gdi:: BITMAPINFO, gdibitmapdata : *mut ::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromGdiDib(gdibitmapinfo, gdibitmapdata, bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateBitmapFromGraphics(width: i32, height: i32, target: *mut GpGraphics, bitmap: *mut *mut GpBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromGraphics(width : i32, height : i32, target : *mut GpGraphics, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromGraphics(width, height, target, bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateBitmapFromHBITMAP(hbm: P0, hpal: P1, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromHBITMAP(hbm : super::Gdi:: HBITMAP, hpal : super::Gdi:: HPALETTE, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromHBITMAP(hbm.into_param().abi(), hpal.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] +#[cfg(feature = "Win32_UI_WindowsAndMessaging")] +#[inline] +pub unsafe fn GdipCreateBitmapFromHICON(hicon: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromHICON(hicon : super::super::UI::WindowsAndMessaging:: HICON, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromHICON(hicon.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateBitmapFromResource(hinstance: P0, lpbitmapname: P1, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromResource(hinstance : super::super::Foundation:: HINSTANCE, lpbitmapname : ::windows_core::PCWSTR, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromResource(hinstance.into_param().abi(), lpbitmapname.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateBitmapFromScan0(width: i32, height: i32, stride: i32, format: i32, scan0: ::core::option::Option<*const u8>, bitmap: *mut *mut GpBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromScan0(width : i32, height : i32, stride : i32, format : i32, scan0 : *const u8, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromScan0(width, height, stride, format, ::core::mem::transmute(scan0.unwrap_or(::std::ptr::null())), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipCreateBitmapFromStream(stream: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromStream(stream : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromStream(stream.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipCreateBitmapFromStreamICM(stream: P0, bitmap: *mut *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateBitmapFromStreamICM(stream : * mut::core::ffi::c_void, bitmap : *mut *mut GpBitmap) -> Status); + GdipCreateBitmapFromStreamICM(stream.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateCachedBitmap(bitmap: *mut GpBitmap, graphics: *mut GpGraphics, cachedbitmap: *mut *mut GpCachedBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateCachedBitmap(bitmap : *mut GpBitmap, graphics : *mut GpGraphics, cachedbitmap : *mut *mut GpCachedBitmap) -> Status); + GdipCreateCachedBitmap(bitmap, graphics, cachedbitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateCustomLineCap(fillpath: *mut GpPath, strokepath: *mut GpPath, basecap: LineCap, baseinset: f32, customcap: *mut *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateCustomLineCap(fillpath : *mut GpPath, strokepath : *mut GpPath, basecap : LineCap, baseinset : f32, customcap : *mut *mut GpCustomLineCap) -> Status); + GdipCreateCustomLineCap(fillpath, strokepath, basecap, baseinset, customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateEffect(guid: ::windows_core::GUID, effect: *mut *mut CGpEffect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateEffect(guid : ::windows_core::GUID, effect : *mut *mut CGpEffect) -> Status); + GdipCreateEffect(::core::mem::transmute(guid), effect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateFont(fontfamily: *const GpFontFamily, emsize: f32, style: i32, unit: Unit, font: *mut *mut GpFont) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFont(fontfamily : *const GpFontFamily, emsize : f32, style : i32, unit : Unit, font : *mut *mut GpFont) -> Status); + GdipCreateFont(fontfamily, emsize, style, unit, font) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateFontFamilyFromName(name: P0, fontcollection: *mut GpFontCollection, fontfamily: *mut *mut GpFontFamily) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFontFamilyFromName(name : ::windows_core::PCWSTR, fontcollection : *mut GpFontCollection, fontfamily : *mut *mut GpFontFamily) -> Status); + GdipCreateFontFamilyFromName(name.into_param().abi(), fontcollection, fontfamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateFontFromDC(hdc: P0, font: *mut *mut GpFont) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFontFromDC(hdc : super::Gdi:: HDC, font : *mut *mut GpFont) -> Status); + GdipCreateFontFromDC(hdc.into_param().abi(), font) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateFontFromLogfontA(hdc: P0, logfont: *const super::Gdi::LOGFONTA, font: *mut *mut GpFont) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFontFromLogfontA(hdc : super::Gdi:: HDC, logfont : *const super::Gdi:: LOGFONTA, font : *mut *mut GpFont) -> Status); + GdipCreateFontFromLogfontA(hdc.into_param().abi(), logfont, font) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateFontFromLogfontW(hdc: P0, logfont: *const super::Gdi::LOGFONTW, font: *mut *mut GpFont) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFontFromLogfontW(hdc : super::Gdi:: HDC, logfont : *const super::Gdi:: LOGFONTW, font : *mut *mut GpFont) -> Status); + GdipCreateFontFromLogfontW(hdc.into_param().abi(), logfont, font) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateFromHDC(hdc: P0, graphics: *mut *mut GpGraphics) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFromHDC(hdc : super::Gdi:: HDC, graphics : *mut *mut GpGraphics) -> Status); + GdipCreateFromHDC(hdc.into_param().abi(), graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipCreateFromHDC2(hdc: P0, hdevice: P1, graphics: *mut *mut GpGraphics) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFromHDC2(hdc : super::Gdi:: HDC, hdevice : super::super::Foundation:: HANDLE, graphics : *mut *mut GpGraphics) -> Status); + GdipCreateFromHDC2(hdc.into_param().abi(), hdevice.into_param().abi(), graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateFromHWND(hwnd: P0, graphics: *mut *mut GpGraphics) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFromHWND(hwnd : super::super::Foundation:: HWND, graphics : *mut *mut GpGraphics) -> Status); + GdipCreateFromHWND(hwnd.into_param().abi(), graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateFromHWNDICM(hwnd: P0, graphics: *mut *mut GpGraphics) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateFromHWNDICM(hwnd : super::super::Foundation:: HWND, graphics : *mut *mut GpGraphics) -> Status); + GdipCreateFromHWNDICM(hwnd.into_param().abi(), graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateHBITMAPFromBitmap(bitmap: *mut GpBitmap, hbmreturn: *mut super::Gdi::HBITMAP, background: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateHBITMAPFromBitmap(bitmap : *mut GpBitmap, hbmreturn : *mut super::Gdi:: HBITMAP, background : u32) -> Status); + GdipCreateHBITMAPFromBitmap(bitmap, hbmreturn, background) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] +#[cfg(feature = "Win32_UI_WindowsAndMessaging")] +#[inline] +pub unsafe fn GdipCreateHICONFromBitmap(bitmap: *mut GpBitmap, hbmreturn: *mut super::super::UI::WindowsAndMessaging::HICON) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateHICONFromBitmap(bitmap : *mut GpBitmap, hbmreturn : *mut super::super::UI::WindowsAndMessaging:: HICON) -> Status); + GdipCreateHICONFromBitmap(bitmap, hbmreturn) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateHalftonePalette() -> super::Gdi::HPALETTE { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateHalftonePalette() -> super::Gdi:: HPALETTE); + GdipCreateHalftonePalette() +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateHatchBrush(hatchstyle: HatchStyle, forecol: u32, backcol: u32, brush: *mut *mut GpHatch) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateHatchBrush(hatchstyle : HatchStyle, forecol : u32, backcol : u32, brush : *mut *mut GpHatch) -> Status); + GdipCreateHatchBrush(hatchstyle, forecol, backcol, brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateImageAttributes(imageattr: *mut *mut GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateImageAttributes(imageattr : *mut *mut GpImageAttributes) -> Status); + GdipCreateImageAttributes(imageattr) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateLineBrush(point1: *const PointF, point2: *const PointF, color1: u32, color2: u32, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrush(point1 : *const PointF, point2 : *const PointF, color1 : u32, color2 : u32, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrush(point1, point2, color1, color2, wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateLineBrushFromRect(rect: *const RectF, color1: u32, color2: u32, mode: LinearGradientMode, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrushFromRect(rect : *const RectF, color1 : u32, color2 : u32, mode : LinearGradientMode, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrushFromRect(rect, color1, color2, mode, wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateLineBrushFromRectI(rect: *const Rect, color1: u32, color2: u32, mode: LinearGradientMode, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrushFromRectI(rect : *const Rect, color1 : u32, color2 : u32, mode : LinearGradientMode, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrushFromRectI(rect, color1, color2, mode, wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateLineBrushFromRectWithAngle(rect: *const RectF, color1: u32, color2: u32, angle: f32, isanglescalable: P0, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrushFromRectWithAngle(rect : *const RectF, color1 : u32, color2 : u32, angle : f32, isanglescalable : super::super::Foundation:: BOOL, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrushFromRectWithAngle(rect, color1, color2, angle, isanglescalable.into_param().abi(), wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipCreateLineBrushFromRectWithAngleI(rect: *const Rect, color1: u32, color2: u32, angle: f32, isanglescalable: P0, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrushFromRectWithAngleI(rect : *const Rect, color1 : u32, color2 : u32, angle : f32, isanglescalable : super::super::Foundation:: BOOL, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrushFromRectWithAngleI(rect, color1, color2, angle, isanglescalable.into_param().abi(), wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateLineBrushI(point1: *const Point, point2: *const Point, color1: u32, color2: u32, wrapmode: WrapMode, linegradient: *mut *mut GpLineGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateLineBrushI(point1 : *const Point, point2 : *const Point, color1 : u32, color2 : u32, wrapmode : WrapMode, linegradient : *mut *mut GpLineGradient) -> Status); + GdipCreateLineBrushI(point1, point2, color1, color2, wrapmode, linegradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMatrix(matrix: *mut *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMatrix(matrix : *mut *mut Matrix) -> Status); + GdipCreateMatrix(matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMatrix2(m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32, matrix: *mut *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMatrix2(m11 : f32, m12 : f32, m21 : f32, m22 : f32, dx : f32, dy : f32, matrix : *mut *mut Matrix) -> Status); + GdipCreateMatrix2(m11, m12, m21, m22, dx, dy, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMatrix3(rect: *const RectF, dstplg: *const PointF, matrix: *mut *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMatrix3(rect : *const RectF, dstplg : *const PointF, matrix : *mut *mut Matrix) -> Status); + GdipCreateMatrix3(rect, dstplg, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMatrix3I(rect: *const Rect, dstplg: *const Point, matrix: *mut *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMatrix3I(rect : *const Rect, dstplg : *const Point, matrix : *mut *mut Matrix) -> Status); + GdipCreateMatrix3I(rect, dstplg, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipCreateMetafileFromEmf(hemf: P0, deleteemf: P1, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromEmf(hemf : super::Gdi:: HENHMETAFILE, deleteemf : super::super::Foundation:: BOOL, metafile : *mut *mut GpMetafile) -> Status); + GdipCreateMetafileFromEmf(hemf.into_param().abi(), deleteemf.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMetafileFromFile(file: P0, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromFile(file : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipCreateMetafileFromFile(file.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipCreateMetafileFromStream(stream: P0, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromStream(stream : * mut::core::ffi::c_void, metafile : *mut *mut GpMetafile) -> Status); + GdipCreateMetafileFromStream(stream.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipCreateMetafileFromWmf(hwmf: P0, deletewmf: P1, wmfplaceablefileheader: *const WmfPlaceableFileHeader, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromWmf(hwmf : super::Gdi:: HMETAFILE, deletewmf : super::super::Foundation:: BOOL, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); + GdipCreateMetafileFromWmf(hwmf.into_param().abi(), deletewmf.into_param().abi(), wmfplaceablefileheader, metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateMetafileFromWmfFile(file: P0, wmfplaceablefileheader: *const WmfPlaceableFileHeader, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateMetafileFromWmfFile(file : ::windows_core::PCWSTR, wmfplaceablefileheader : *const WmfPlaceableFileHeader, metafile : *mut *mut GpMetafile) -> Status); + GdipCreateMetafileFromWmfFile(file.into_param().abi(), wmfplaceablefileheader, metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePath(brushmode: FillMode, path: *mut *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePath(brushmode : FillMode, path : *mut *mut GpPath) -> Status); + GdipCreatePath(brushmode, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePath2(param0: *const PointF, param1: *const u8, param2: i32, param3: FillMode, path: *mut *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePath2(param0 : *const PointF, param1 : *const u8, param2 : i32, param3 : FillMode, path : *mut *mut GpPath) -> Status); + GdipCreatePath2(param0, param1, param2, param3, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePath2I(param0: *const Point, param1: *const u8, param2: i32, param3: FillMode, path: *mut *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePath2I(param0 : *const Point, param1 : *const u8, param2 : i32, param3 : FillMode, path : *mut *mut GpPath) -> Status); + GdipCreatePath2I(param0, param1, param2, param3, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePathGradient(points: *const PointF, count: i32, wrapmode: WrapMode, polygradient: *mut *mut GpPathGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePathGradient(points : *const PointF, count : i32, wrapmode : WrapMode, polygradient : *mut *mut GpPathGradient) -> Status); + GdipCreatePathGradient(points, count, wrapmode, polygradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePathGradientFromPath(path: *const GpPath, polygradient: *mut *mut GpPathGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePathGradientFromPath(path : *const GpPath, polygradient : *mut *mut GpPathGradient) -> Status); + GdipCreatePathGradientFromPath(path, polygradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePathGradientI(points: *const Point, count: i32, wrapmode: WrapMode, polygradient: *mut *mut GpPathGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePathGradientI(points : *const Point, count : i32, wrapmode : WrapMode, polygradient : *mut *mut GpPathGradient) -> Status); + GdipCreatePathGradientI(points, count, wrapmode, polygradient) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePathIter(iterator: *mut *mut GpPathIterator, path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePathIter(iterator : *mut *mut GpPathIterator, path : *mut GpPath) -> Status); + GdipCreatePathIter(iterator, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePen1(color: u32, width: f32, unit: Unit, pen: *mut *mut GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePen1(color : u32, width : f32, unit : Unit, pen : *mut *mut GpPen) -> Status); + GdipCreatePen1(color, width, unit, pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreatePen2(brush: *mut GpBrush, width: f32, unit: Unit, pen: *mut *mut GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreatePen2(brush : *mut GpBrush, width : f32, unit : Unit, pen : *mut *mut GpPen) -> Status); + GdipCreatePen2(brush, width, unit, pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateRegion(region: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegion(region : *mut *mut GpRegion) -> Status); + GdipCreateRegion(region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipCreateRegionHrgn(hrgn: P0, region: *mut *mut GpRegion) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionHrgn(hrgn : super::Gdi:: HRGN, region : *mut *mut GpRegion) -> Status); + GdipCreateRegionHrgn(hrgn.into_param().abi(), region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateRegionPath(path: *mut GpPath, region: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionPath(path : *mut GpPath, region : *mut *mut GpRegion) -> Status); + GdipCreateRegionPath(path, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateRegionRect(rect: *const RectF, region: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionRect(rect : *const RectF, region : *mut *mut GpRegion) -> Status); + GdipCreateRegionRect(rect, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateRegionRectI(rect: *const Rect, region: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionRectI(rect : *const Rect, region : *mut *mut GpRegion) -> Status); + GdipCreateRegionRectI(rect, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateRegionRgnData(regiondata: *const u8, size: i32, region: *mut *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateRegionRgnData(regiondata : *const u8, size : i32, region : *mut *mut GpRegion) -> Status); + GdipCreateRegionRgnData(regiondata, size, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateSolidFill(color: u32, brush: *mut *mut GpSolidFill) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateSolidFill(color : u32, brush : *mut *mut GpSolidFill) -> Status); + GdipCreateSolidFill(color, brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipCreateStreamOnFile(filename: P0, access: u32, stream: *mut ::core::option::Option) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateStreamOnFile(filename : ::windows_core::PCWSTR, access : u32, stream : *mut * mut::core::ffi::c_void) -> Status); + GdipCreateStreamOnFile(filename.into_param().abi(), access, ::core::mem::transmute(stream)) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateStringFormat(formatattributes: i32, language: u16, format: *mut *mut GpStringFormat) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateStringFormat(formatattributes : i32, language : u16, format : *mut *mut GpStringFormat) -> Status); + GdipCreateStringFormat(formatattributes, language, format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateTexture(image: *mut GpImage, wrapmode: WrapMode, texture: *mut *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTexture(image : *mut GpImage, wrapmode : WrapMode, texture : *mut *mut GpTexture) -> Status); + GdipCreateTexture(image, wrapmode, texture) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateTexture2(image: *mut GpImage, wrapmode: WrapMode, x: f32, y: f32, width: f32, height: f32, texture: *mut *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTexture2(image : *mut GpImage, wrapmode : WrapMode, x : f32, y : f32, width : f32, height : f32, texture : *mut *mut GpTexture) -> Status); + GdipCreateTexture2(image, wrapmode, x, y, width, height, texture) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateTexture2I(image: *mut GpImage, wrapmode: WrapMode, x: i32, y: i32, width: i32, height: i32, texture: *mut *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTexture2I(image : *mut GpImage, wrapmode : WrapMode, x : i32, y : i32, width : i32, height : i32, texture : *mut *mut GpTexture) -> Status); + GdipCreateTexture2I(image, wrapmode, x, y, width, height, texture) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateTextureIA(image: *mut GpImage, imageattributes: *const GpImageAttributes, x: f32, y: f32, width: f32, height: f32, texture: *mut *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTextureIA(image : *mut GpImage, imageattributes : *const GpImageAttributes, x : f32, y : f32, width : f32, height : f32, texture : *mut *mut GpTexture) -> Status); + GdipCreateTextureIA(image, imageattributes, x, y, width, height, texture) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipCreateTextureIAI(image: *mut GpImage, imageattributes: *const GpImageAttributes, x: i32, y: i32, width: i32, height: i32, texture: *mut *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipCreateTextureIAI(image : *mut GpImage, imageattributes : *const GpImageAttributes, x : i32, y : i32, width : i32, height : i32, texture : *mut *mut GpTexture) -> Status); + GdipCreateTextureIAI(image, imageattributes, x, y, width, height, texture) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteBrush(brush: *mut GpBrush) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteBrush(brush : *mut GpBrush) -> Status); + GdipDeleteBrush(brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteCachedBitmap(cachedbitmap: *mut GpCachedBitmap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteCachedBitmap(cachedbitmap : *mut GpCachedBitmap) -> Status); + GdipDeleteCachedBitmap(cachedbitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteCustomLineCap(customcap: *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteCustomLineCap(customcap : *mut GpCustomLineCap) -> Status); + GdipDeleteCustomLineCap(customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteEffect(effect: *mut CGpEffect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteEffect(effect : *mut CGpEffect) -> Status); + GdipDeleteEffect(effect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteFont(font: *mut GpFont) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteFont(font : *mut GpFont) -> Status); + GdipDeleteFont(font) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteFontFamily(fontfamily: *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteFontFamily(fontfamily : *mut GpFontFamily) -> Status); + GdipDeleteFontFamily(fontfamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteGraphics(graphics: *mut GpGraphics) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteGraphics(graphics : *mut GpGraphics) -> Status); + GdipDeleteGraphics(graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteMatrix(matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteMatrix(matrix : *mut Matrix) -> Status); + GdipDeleteMatrix(matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeletePath(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeletePath(path : *mut GpPath) -> Status); + GdipDeletePath(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeletePathIter(iterator: *mut GpPathIterator) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeletePathIter(iterator : *mut GpPathIterator) -> Status); + GdipDeletePathIter(iterator) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeletePen(pen: *mut GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeletePen(pen : *mut GpPen) -> Status); + GdipDeletePen(pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeletePrivateFontCollection(fontcollection: *mut *mut GpFontCollection) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeletePrivateFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); + GdipDeletePrivateFontCollection(fontcollection) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteRegion(region: *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteRegion(region : *mut GpRegion) -> Status); + GdipDeleteRegion(region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDeleteStringFormat(format: *mut GpStringFormat) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDeleteStringFormat(format : *mut GpStringFormat) -> Status); + GdipDeleteStringFormat(format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDisposeImage(image: *mut GpImage) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDisposeImage(image : *mut GpImage) -> Status); + GdipDisposeImage(image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDisposeImageAttributes(imageattr: *mut GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDisposeImageAttributes(imageattr : *mut GpImageAttributes) -> Status); + GdipDisposeImageAttributes(imageattr) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawArc(graphics: *mut GpGraphics, pen: *mut GpPen, x: f32, y: f32, width: f32, height: f32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawArc(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); + GdipDrawArc(graphics, pen, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawArcI(graphics: *mut GpGraphics, pen: *mut GpPen, x: i32, y: i32, width: i32, height: i32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawArcI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); + GdipDrawArcI(graphics, pen, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawBezier(graphics: *mut GpGraphics, pen: *mut GpPen, x1: f32, y1: f32, x2: f32, y2: f32, x3: f32, y3: f32, x4: f32, y4: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawBezier(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : f32, y1 : f32, x2 : f32, y2 : f32, x3 : f32, y3 : f32, x4 : f32, y4 : f32) -> Status); + GdipDrawBezier(graphics, pen, x1, y1, x2, y2, x3, y3, x4, y4) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawBezierI(graphics: *mut GpGraphics, pen: *mut GpPen, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawBezierI(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> Status); + GdipDrawBezierI(graphics, pen, x1, y1, x2, y2, x3, y3, x4, y4) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawBeziers(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawBeziers(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); + GdipDrawBeziers(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawBeziersI(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawBeziersI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); + GdipDrawBeziersI(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCachedBitmap(graphics: *mut GpGraphics, cachedbitmap: *mut GpCachedBitmap, x: i32, y: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCachedBitmap(graphics : *mut GpGraphics, cachedbitmap : *mut GpCachedBitmap, x : i32, y : i32) -> Status); + GdipDrawCachedBitmap(graphics, cachedbitmap, x, y) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawClosedCurve(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawClosedCurve(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); + GdipDrawClosedCurve(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawClosedCurve2(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawClosedCurve2(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, tension : f32) -> Status); + GdipDrawClosedCurve2(graphics, pen, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawClosedCurve2I(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawClosedCurve2I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, tension : f32) -> Status); + GdipDrawClosedCurve2I(graphics, pen, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawClosedCurveI(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawClosedCurveI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); + GdipDrawClosedCurveI(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurve(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurve(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); + GdipDrawCurve(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurve2(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurve2(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, tension : f32) -> Status); + GdipDrawCurve2(graphics, pen, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurve2I(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurve2I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, tension : f32) -> Status); + GdipDrawCurve2I(graphics, pen, points, count, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurve3(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32, offset: i32, numberofsegments: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurve3(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); + GdipDrawCurve3(graphics, pen, points, count, offset, numberofsegments, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurve3I(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32, offset: i32, numberofsegments: i32, tension: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurve3I(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32, offset : i32, numberofsegments : i32, tension : f32) -> Status); + GdipDrawCurve3I(graphics, pen, points, count, offset, numberofsegments, tension) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawCurveI(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawCurveI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); + GdipDrawCurveI(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawDriverString(graphics: *mut GpGraphics, text: *const u16, length: i32, font: *const GpFont, brush: *const GpBrush, positions: *const PointF, flags: i32, matrix: *const Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawDriverString(graphics : *mut GpGraphics, text : *const u16, length : i32, font : *const GpFont, brush : *const GpBrush, positions : *const PointF, flags : i32, matrix : *const Matrix) -> Status); + GdipDrawDriverString(graphics, text, length, font, brush, positions, flags, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawEllipse(graphics: *mut GpGraphics, pen: *mut GpPen, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawEllipse(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipDrawEllipse(graphics, pen, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawEllipseI(graphics: *mut GpGraphics, pen: *mut GpPen, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawEllipseI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipDrawEllipseI(graphics, pen, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImage(graphics: *mut GpGraphics, image: *mut GpImage, x: f32, y: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImage(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32) -> Status); + GdipDrawImage(graphics, image, x, y) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageFX(graphics: *mut GpGraphics, image: *mut GpImage, source: *mut RectF, xform: *mut Matrix, effect: *mut CGpEffect, imageattributes: *mut GpImageAttributes, srcunit: Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageFX(graphics : *mut GpGraphics, image : *mut GpImage, source : *mut RectF, xform : *mut Matrix, effect : *mut CGpEffect, imageattributes : *mut GpImageAttributes, srcunit : Unit) -> Status); + GdipDrawImageFX(graphics, image, source, xform, effect, imageattributes, srcunit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageI(graphics: *mut GpGraphics, image: *mut GpImage, x: i32, y: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32) -> Status); + GdipDrawImageI(graphics, image, x, y) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePointRect(graphics: *mut GpGraphics, image: *mut GpImage, x: f32, y: f32, srcx: f32, srcy: f32, srcwidth: f32, srcheight: f32, srcunit: Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePointRect(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit) -> Status); + GdipDrawImagePointRect(graphics, image, x, y, srcx, srcy, srcwidth, srcheight, srcunit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePointRectI(graphics: *mut GpGraphics, image: *mut GpImage, x: i32, y: i32, srcx: i32, srcy: i32, srcwidth: i32, srcheight: i32, srcunit: Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePointRectI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit) -> Status); + GdipDrawImagePointRectI(graphics, image, x, y, srcx, srcy, srcwidth, srcheight, srcunit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePoints(graphics: *mut GpGraphics, image: *mut GpImage, dstpoints: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePoints(graphics : *mut GpGraphics, image : *mut GpImage, dstpoints : *const PointF, count : i32) -> Status); + GdipDrawImagePoints(graphics, image, dstpoints, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePointsI(graphics: *mut GpGraphics, image: *mut GpImage, dstpoints: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePointsI(graphics : *mut GpGraphics, image : *mut GpImage, dstpoints : *const Point, count : i32) -> Status); + GdipDrawImagePointsI(graphics, image, dstpoints, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePointsRect(graphics: *mut GpGraphics, image: *mut GpImage, points: *const PointF, count: i32, srcx: f32, srcy: f32, srcwidth: f32, srcheight: f32, srcunit: Unit, imageattributes: *const GpImageAttributes, callback: isize, callbackdata: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePointsRect(graphics : *mut GpGraphics, image : *mut GpImage, points : *const PointF, count : i32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); + GdipDrawImagePointsRect(graphics, image, points, count, srcx, srcy, srcwidth, srcheight, srcunit, imageattributes, callback, callbackdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImagePointsRectI(graphics: *mut GpGraphics, image: *mut GpImage, points: *const Point, count: i32, srcx: i32, srcy: i32, srcwidth: i32, srcheight: i32, srcunit: Unit, imageattributes: *const GpImageAttributes, callback: isize, callbackdata: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImagePointsRectI(graphics : *mut GpGraphics, image : *mut GpImage, points : *const Point, count : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); + GdipDrawImagePointsRectI(graphics, image, points, count, srcx, srcy, srcwidth, srcheight, srcunit, imageattributes, callback, callbackdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageRect(graphics: *mut GpGraphics, image: *mut GpImage, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageRect(graphics : *mut GpGraphics, image : *mut GpImage, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipDrawImageRect(graphics, image, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageRectI(graphics: *mut GpGraphics, image: *mut GpImage, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageRectI(graphics : *mut GpGraphics, image : *mut GpImage, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipDrawImageRectI(graphics, image, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageRectRect(graphics: *mut GpGraphics, image: *mut GpImage, dstx: f32, dsty: f32, dstwidth: f32, dstheight: f32, srcx: f32, srcy: f32, srcwidth: f32, srcheight: f32, srcunit: Unit, imageattributes: *const GpImageAttributes, callback: isize, callbackdata: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageRectRect(graphics : *mut GpGraphics, image : *mut GpImage, dstx : f32, dsty : f32, dstwidth : f32, dstheight : f32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); + GdipDrawImageRectRect(graphics, image, dstx, dsty, dstwidth, dstheight, srcx, srcy, srcwidth, srcheight, srcunit, imageattributes, callback, callbackdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawImageRectRectI(graphics: *mut GpGraphics, image: *mut GpImage, dstx: i32, dsty: i32, dstwidth: i32, dstheight: i32, srcx: i32, srcy: i32, srcwidth: i32, srcheight: i32, srcunit: Unit, imageattributes: *const GpImageAttributes, callback: isize, callbackdata: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawImageRectRectI(graphics : *mut GpGraphics, image : *mut GpImage, dstx : i32, dsty : i32, dstwidth : i32, dstheight : i32, srcx : i32, srcy : i32, srcwidth : i32, srcheight : i32, srcunit : Unit, imageattributes : *const GpImageAttributes, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); + GdipDrawImageRectRectI(graphics, image, dstx, dsty, dstwidth, dstheight, srcx, srcy, srcwidth, srcheight, srcunit, imageattributes, callback, callbackdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawLine(graphics: *mut GpGraphics, pen: *mut GpPen, x1: f32, y1: f32, x2: f32, y2: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawLine(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : f32, y1 : f32, x2 : f32, y2 : f32) -> Status); + GdipDrawLine(graphics, pen, x1, y1, x2, y2) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawLineI(graphics: *mut GpGraphics, pen: *mut GpPen, x1: i32, y1: i32, x2: i32, y2: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawLineI(graphics : *mut GpGraphics, pen : *mut GpPen, x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> Status); + GdipDrawLineI(graphics, pen, x1, y1, x2, y2) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawLines(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawLines(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); + GdipDrawLines(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawLinesI(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawLinesI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); + GdipDrawLinesI(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawPath(graphics: *mut GpGraphics, pen: *mut GpPen, path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawPath(graphics : *mut GpGraphics, pen : *mut GpPen, path : *mut GpPath) -> Status); + GdipDrawPath(graphics, pen, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawPie(graphics: *mut GpGraphics, pen: *mut GpPen, x: f32, y: f32, width: f32, height: f32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawPie(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); + GdipDrawPie(graphics, pen, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawPieI(graphics: *mut GpGraphics, pen: *mut GpPen, x: i32, y: i32, width: i32, height: i32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawPieI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); + GdipDrawPieI(graphics, pen, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawPolygon(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawPolygon(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const PointF, count : i32) -> Status); + GdipDrawPolygon(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawPolygonI(graphics: *mut GpGraphics, pen: *mut GpPen, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawPolygonI(graphics : *mut GpGraphics, pen : *mut GpPen, points : *const Point, count : i32) -> Status); + GdipDrawPolygonI(graphics, pen, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawRectangle(graphics: *mut GpGraphics, pen: *mut GpPen, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawRectangle(graphics : *mut GpGraphics, pen : *mut GpPen, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipDrawRectangle(graphics, pen, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawRectangleI(graphics: *mut GpGraphics, pen: *mut GpPen, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawRectangleI(graphics : *mut GpGraphics, pen : *mut GpPen, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipDrawRectangleI(graphics, pen, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawRectangles(graphics: *mut GpGraphics, pen: *mut GpPen, rects: *const RectF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawRectangles(graphics : *mut GpGraphics, pen : *mut GpPen, rects : *const RectF, count : i32) -> Status); + GdipDrawRectangles(graphics, pen, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawRectanglesI(graphics: *mut GpGraphics, pen: *mut GpPen, rects: *const Rect, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawRectanglesI(graphics : *mut GpGraphics, pen : *mut GpPen, rects : *const Rect, count : i32) -> Status); + GdipDrawRectanglesI(graphics, pen, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipDrawString(graphics: *mut GpGraphics, string: P0, length: i32, font: *const GpFont, layoutrect: *const RectF, stringformat: *const GpStringFormat, brush: *const GpBrush) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipDrawString(graphics : *mut GpGraphics, string : ::windows_core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, brush : *const GpBrush) -> Status); + GdipDrawString(graphics, string.into_param().abi(), length, font, layoutrect, stringformat, brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipEmfToWmfBits(hemf: P0, pdata16: ::core::option::Option<&mut [u8]>, imapmode: i32, eflags: i32) -> u32 +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEmfToWmfBits(hemf : super::Gdi:: HENHMETAFILE, cbdata16 : u32, pdata16 : *mut u8, imapmode : i32, eflags : i32) -> u32); + GdipEmfToWmfBits(hemf.into_param().abi(), pdata16.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pdata16.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), imapmode, eflags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEndContainer(graphics: *mut GpGraphics, state: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEndContainer(graphics : *mut GpGraphics, state : u32) -> Status); + GdipEndContainer(graphics, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestPoint(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoint: *const PointF, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestPoint(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const PointF, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestPoint(graphics, metafile, destpoint, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestPointI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoint: *const Point, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestPointI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const Point, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestPointI(graphics, metafile, destpoint, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestPoints(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoints: *const PointF, count: i32, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestPoints(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const PointF, count : i32, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestPoints(graphics, metafile, destpoints, count, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestPointsI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoints: *const Point, count: i32, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestPointsI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const Point, count : i32, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestPointsI(graphics, metafile, destpoints, count, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestRect(graphics: *mut GpGraphics, metafile: *const GpMetafile, destrect: *const RectF, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestRect(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const RectF, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestRect(graphics, metafile, destrect, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileDestRectI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destrect: *const Rect, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileDestRectI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const Rect, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileDestRectI(graphics, metafile, destrect, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestPoint(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoint: *const PointF, srcrect: *const RectF, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestPoint(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const PointF, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestPoint(graphics, metafile, destpoint, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestPointI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoint: *const Point, srcrect: *const Rect, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestPointI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoint : *const Point, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestPointI(graphics, metafile, destpoint, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestPoints(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoints: *const PointF, count: i32, srcrect: *const RectF, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestPoints(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const PointF, count : i32, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestPoints(graphics, metafile, destpoints, count, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestPointsI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destpoints: *const Point, count: i32, srcrect: *const Rect, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestPointsI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destpoints : *const Point, count : i32, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestPointsI(graphics, metafile, destpoints, count, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestRect(graphics: *mut GpGraphics, metafile: *const GpMetafile, destrect: *const RectF, srcrect: *const RectF, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestRect(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const RectF, srcrect : *const RectF, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestRect(graphics, metafile, destrect, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipEnumerateMetafileSrcRectDestRectI(graphics: *mut GpGraphics, metafile: *const GpMetafile, destrect: *const Rect, srcrect: *const Rect, srcunit: Unit, callback: isize, callbackdata: *mut ::core::ffi::c_void, imageattributes: *const GpImageAttributes) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipEnumerateMetafileSrcRectDestRectI(graphics : *mut GpGraphics, metafile : *const GpMetafile, destrect : *const Rect, srcrect : *const Rect, srcunit : Unit, callback : isize, callbackdata : *mut ::core::ffi::c_void, imageattributes : *const GpImageAttributes) -> Status); + GdipEnumerateMetafileSrcRectDestRectI(graphics, metafile, destrect, srcrect, srcunit, callback, callbackdata, imageattributes) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillClosedCurve(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillClosedCurve(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32) -> Status); + GdipFillClosedCurve(graphics, brush, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillClosedCurve2(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const PointF, count: i32, tension: f32, fillmode: FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillClosedCurve2(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32, tension : f32, fillmode : FillMode) -> Status); + GdipFillClosedCurve2(graphics, brush, points, count, tension, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillClosedCurve2I(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const Point, count: i32, tension: f32, fillmode: FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillClosedCurve2I(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32, tension : f32, fillmode : FillMode) -> Status); + GdipFillClosedCurve2I(graphics, brush, points, count, tension, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillClosedCurveI(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillClosedCurveI(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32) -> Status); + GdipFillClosedCurveI(graphics, brush, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillEllipse(graphics: *mut GpGraphics, brush: *mut GpBrush, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillEllipse(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipFillEllipse(graphics, brush, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillEllipseI(graphics: *mut GpGraphics, brush: *mut GpBrush, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillEllipseI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipFillEllipseI(graphics, brush, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPath(graphics: *mut GpGraphics, brush: *mut GpBrush, path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPath(graphics : *mut GpGraphics, brush : *mut GpBrush, path : *mut GpPath) -> Status); + GdipFillPath(graphics, brush, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPie(graphics: *mut GpGraphics, brush: *mut GpBrush, x: f32, y: f32, width: f32, height: f32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPie(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32, startangle : f32, sweepangle : f32) -> Status); + GdipFillPie(graphics, brush, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPieI(graphics: *mut GpGraphics, brush: *mut GpBrush, x: i32, y: i32, width: i32, height: i32, startangle: f32, sweepangle: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPieI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32, startangle : f32, sweepangle : f32) -> Status); + GdipFillPieI(graphics, brush, x, y, width, height, startangle, sweepangle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPolygon(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const PointF, count: i32, fillmode: FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPolygon(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32, fillmode : FillMode) -> Status); + GdipFillPolygon(graphics, brush, points, count, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPolygon2(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPolygon2(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const PointF, count : i32) -> Status); + GdipFillPolygon2(graphics, brush, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPolygon2I(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPolygon2I(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32) -> Status); + GdipFillPolygon2I(graphics, brush, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillPolygonI(graphics: *mut GpGraphics, brush: *mut GpBrush, points: *const Point, count: i32, fillmode: FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillPolygonI(graphics : *mut GpGraphics, brush : *mut GpBrush, points : *const Point, count : i32, fillmode : FillMode) -> Status); + GdipFillPolygonI(graphics, brush, points, count, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillRectangle(graphics: *mut GpGraphics, brush: *mut GpBrush, x: f32, y: f32, width: f32, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillRectangle(graphics : *mut GpGraphics, brush : *mut GpBrush, x : f32, y : f32, width : f32, height : f32) -> Status); + GdipFillRectangle(graphics, brush, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillRectangleI(graphics: *mut GpGraphics, brush: *mut GpBrush, x: i32, y: i32, width: i32, height: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillRectangleI(graphics : *mut GpGraphics, brush : *mut GpBrush, x : i32, y : i32, width : i32, height : i32) -> Status); + GdipFillRectangleI(graphics, brush, x, y, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillRectangles(graphics: *mut GpGraphics, brush: *mut GpBrush, rects: *const RectF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillRectangles(graphics : *mut GpGraphics, brush : *mut GpBrush, rects : *const RectF, count : i32) -> Status); + GdipFillRectangles(graphics, brush, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillRectanglesI(graphics: *mut GpGraphics, brush: *mut GpBrush, rects: *const Rect, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillRectanglesI(graphics : *mut GpGraphics, brush : *mut GpBrush, rects : *const Rect, count : i32) -> Status); + GdipFillRectanglesI(graphics, brush, rects, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFillRegion(graphics: *mut GpGraphics, brush: *mut GpBrush, region: *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFillRegion(graphics : *mut GpGraphics, brush : *mut GpBrush, region : *mut GpRegion) -> Status); + GdipFillRegion(graphics, brush, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFindFirstImageItem(image: *mut GpImage, item: *mut ImageItemData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFindFirstImageItem(image : *mut GpImage, item : *mut ImageItemData) -> Status); + GdipFindFirstImageItem(image, item) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFindNextImageItem(image: *mut GpImage, item: *mut ImageItemData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFindNextImageItem(image : *mut GpImage, item : *mut ImageItemData) -> Status); + GdipFindNextImageItem(image, item) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFlattenPath(path: *mut GpPath, matrix: *mut Matrix, flatness: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFlattenPath(path : *mut GpPath, matrix : *mut Matrix, flatness : f32) -> Status); + GdipFlattenPath(path, matrix, flatness) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFlush(graphics: *mut GpGraphics, intention: FlushIntention) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFlush(graphics : *mut GpGraphics, intention : FlushIntention) -> Status); + GdipFlush(graphics, intention) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipFree(ptr: *mut ::core::ffi::c_void) { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipFree(ptr : *mut ::core::ffi::c_void) -> ()); + GdipFree(ptr) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipGetAdjustableArrowCapFillState(cap: *mut GpAdjustableArrowCap, fillstate: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetAdjustableArrowCapFillState(cap : *mut GpAdjustableArrowCap, fillstate : *mut super::super::Foundation:: BOOL) -> Status); + GdipGetAdjustableArrowCapFillState(cap, fillstate) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetAdjustableArrowCapHeight(cap: *mut GpAdjustableArrowCap, height: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetAdjustableArrowCapHeight(cap : *mut GpAdjustableArrowCap, height : *mut f32) -> Status); + GdipGetAdjustableArrowCapHeight(cap, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetAdjustableArrowCapMiddleInset(cap: *mut GpAdjustableArrowCap, middleinset: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetAdjustableArrowCapMiddleInset(cap : *mut GpAdjustableArrowCap, middleinset : *mut f32) -> Status); + GdipGetAdjustableArrowCapMiddleInset(cap, middleinset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetAdjustableArrowCapWidth(cap: *mut GpAdjustableArrowCap, width: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetAdjustableArrowCapWidth(cap : *mut GpAdjustableArrowCap, width : *mut f32) -> Status); + GdipGetAdjustableArrowCapWidth(cap, width) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetAllPropertyItems(image: *mut GpImage, totalbuffersize: u32, numproperties: u32, allitems: *mut PropertyItem) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetAllPropertyItems(image : *mut GpImage, totalbuffersize : u32, numproperties : u32, allitems : *mut PropertyItem) -> Status); + GdipGetAllPropertyItems(image, totalbuffersize, numproperties, allitems) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetBrushType(brush: *mut GpBrush, r#type: *mut BrushType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetBrushType(brush : *mut GpBrush, r#type : *mut BrushType) -> Status); + GdipGetBrushType(brush, r#type) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCellAscent(family: *const GpFontFamily, style: i32, cellascent: *mut u16) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCellAscent(family : *const GpFontFamily, style : i32, cellascent : *mut u16) -> Status); + GdipGetCellAscent(family, style, cellascent) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCellDescent(family: *const GpFontFamily, style: i32, celldescent: *mut u16) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCellDescent(family : *const GpFontFamily, style : i32, celldescent : *mut u16) -> Status); + GdipGetCellDescent(family, style, celldescent) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetClip(graphics: *mut GpGraphics, region: *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetClip(graphics : *mut GpGraphics, region : *mut GpRegion) -> Status); + GdipGetClip(graphics, region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetClipBounds(graphics: *mut GpGraphics, rect: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetClipBounds(graphics : *mut GpGraphics, rect : *mut RectF) -> Status); + GdipGetClipBounds(graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetClipBoundsI(graphics: *mut GpGraphics, rect: *mut Rect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetClipBoundsI(graphics : *mut GpGraphics, rect : *mut Rect) -> Status); + GdipGetClipBoundsI(graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCompositingMode(graphics: *mut GpGraphics, compositingmode: *mut CompositingMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCompositingMode(graphics : *mut GpGraphics, compositingmode : *mut CompositingMode) -> Status); + GdipGetCompositingMode(graphics, compositingmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCompositingQuality(graphics: *mut GpGraphics, compositingquality: *mut CompositingQuality) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCompositingQuality(graphics : *mut GpGraphics, compositingquality : *mut CompositingQuality) -> Status); + GdipGetCompositingQuality(graphics, compositingquality) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapBaseCap(customcap: *mut GpCustomLineCap, basecap: *mut LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapBaseCap(customcap : *mut GpCustomLineCap, basecap : *mut LineCap) -> Status); + GdipGetCustomLineCapBaseCap(customcap, basecap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapBaseInset(customcap: *mut GpCustomLineCap, inset: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapBaseInset(customcap : *mut GpCustomLineCap, inset : *mut f32) -> Status); + GdipGetCustomLineCapBaseInset(customcap, inset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapStrokeCaps(customcap: *mut GpCustomLineCap, startcap: *mut LineCap, endcap: *mut LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapStrokeCaps(customcap : *mut GpCustomLineCap, startcap : *mut LineCap, endcap : *mut LineCap) -> Status); + GdipGetCustomLineCapStrokeCaps(customcap, startcap, endcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapStrokeJoin(customcap: *mut GpCustomLineCap, linejoin: *mut LineJoin) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapStrokeJoin(customcap : *mut GpCustomLineCap, linejoin : *mut LineJoin) -> Status); + GdipGetCustomLineCapStrokeJoin(customcap, linejoin) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapType(customcap: *mut GpCustomLineCap, captype: *mut CustomLineCapType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapType(customcap : *mut GpCustomLineCap, captype : *mut CustomLineCapType) -> Status); + GdipGetCustomLineCapType(customcap, captype) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetCustomLineCapWidthScale(customcap: *mut GpCustomLineCap, widthscale: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetCustomLineCapWidthScale(customcap : *mut GpCustomLineCap, widthscale : *mut f32) -> Status); + GdipGetCustomLineCapWidthScale(customcap, widthscale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipGetDC(graphics: *mut GpGraphics, hdc: *mut super::Gdi::HDC) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetDC(graphics : *mut GpGraphics, hdc : *mut super::Gdi:: HDC) -> Status); + GdipGetDC(graphics, hdc) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetDpiX(graphics: *mut GpGraphics, dpi: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetDpiX(graphics : *mut GpGraphics, dpi : *mut f32) -> Status); + GdipGetDpiX(graphics, dpi) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetDpiY(graphics: *mut GpGraphics, dpi: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetDpiY(graphics : *mut GpGraphics, dpi : *mut f32) -> Status); + GdipGetDpiY(graphics, dpi) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetEffectParameterSize(effect: *mut CGpEffect, size: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetEffectParameterSize(effect : *mut CGpEffect, size : *mut u32) -> Status); + GdipGetEffectParameterSize(effect, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetEffectParameters(effect: *mut CGpEffect, size: *mut u32, params: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetEffectParameters(effect : *mut CGpEffect, size : *mut u32, params : *mut ::core::ffi::c_void) -> Status); + GdipGetEffectParameters(effect, size, params) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetEmHeight(family: *const GpFontFamily, style: i32, emheight: *mut u16) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetEmHeight(family : *const GpFontFamily, style : i32, emheight : *mut u16) -> Status); + GdipGetEmHeight(family, style, emheight) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetEncoderParameterList(image: *mut GpImage, clsidencoder: *const ::windows_core::GUID, size: u32, buffer: *mut EncoderParameters) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetEncoderParameterList(image : *mut GpImage, clsidencoder : *const ::windows_core::GUID, size : u32, buffer : *mut EncoderParameters) -> Status); + GdipGetEncoderParameterList(image, clsidencoder, size, buffer) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetEncoderParameterListSize(image: *mut GpImage, clsidencoder: *const ::windows_core::GUID, size: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetEncoderParameterListSize(image : *mut GpImage, clsidencoder : *const ::windows_core::GUID, size : *mut u32) -> Status); + GdipGetEncoderParameterListSize(image, clsidencoder, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFamily(font: *mut GpFont, family: *mut *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFamily(font : *mut GpFont, family : *mut *mut GpFontFamily) -> Status); + GdipGetFamily(font, family) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFamilyName(family: *const GpFontFamily, name: &mut [u16; 32], language: u16) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFamilyName(family : *const GpFontFamily, name : ::windows_core::PWSTR, language : u16) -> Status); + GdipGetFamilyName(family, ::core::mem::transmute(name.as_ptr()), language) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontCollectionFamilyCount(fontcollection: *mut GpFontCollection, numfound: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontCollectionFamilyCount(fontcollection : *mut GpFontCollection, numfound : *mut i32) -> Status); + GdipGetFontCollectionFamilyCount(fontcollection, numfound) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontCollectionFamilyList(fontcollection: *const GpFontCollection, gpfamilies: &mut [*mut GpFontFamily], numfound: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontCollectionFamilyList(fontcollection : *const GpFontCollection, numsought : i32, gpfamilies : *mut *mut GpFontFamily, numfound : *mut i32) -> Status); + GdipGetFontCollectionFamilyList(fontcollection, gpfamilies.len() as _, ::core::mem::transmute(gpfamilies.as_ptr()), numfound) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontHeight(font: *const GpFont, graphics: *const GpGraphics, height: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontHeight(font : *const GpFont, graphics : *const GpGraphics, height : *mut f32) -> Status); + GdipGetFontHeight(font, graphics, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontHeightGivenDPI(font: *const GpFont, dpi: f32, height: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontHeightGivenDPI(font : *const GpFont, dpi : f32, height : *mut f32) -> Status); + GdipGetFontHeightGivenDPI(font, dpi, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontSize(font: *mut GpFont, size: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontSize(font : *mut GpFont, size : *mut f32) -> Status); + GdipGetFontSize(font, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontStyle(font: *mut GpFont, style: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontStyle(font : *mut GpFont, style : *mut i32) -> Status); + GdipGetFontStyle(font, style) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetFontUnit(font: *mut GpFont, unit: *mut Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetFontUnit(font : *mut GpFont, unit : *mut Unit) -> Status); + GdipGetFontUnit(font, unit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetGenericFontFamilyMonospace(nativefamily: *mut *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetGenericFontFamilyMonospace(nativefamily : *mut *mut GpFontFamily) -> Status); + GdipGetGenericFontFamilyMonospace(nativefamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetGenericFontFamilySansSerif(nativefamily: *mut *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetGenericFontFamilySansSerif(nativefamily : *mut *mut GpFontFamily) -> Status); + GdipGetGenericFontFamilySansSerif(nativefamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetGenericFontFamilySerif(nativefamily: *mut *mut GpFontFamily) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetGenericFontFamilySerif(nativefamily : *mut *mut GpFontFamily) -> Status); + GdipGetGenericFontFamilySerif(nativefamily) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetHatchBackgroundColor(brush: *mut GpHatch, backcol: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetHatchBackgroundColor(brush : *mut GpHatch, backcol : *mut u32) -> Status); + GdipGetHatchBackgroundColor(brush, backcol) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetHatchForegroundColor(brush: *mut GpHatch, forecol: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetHatchForegroundColor(brush : *mut GpHatch, forecol : *mut u32) -> Status); + GdipGetHatchForegroundColor(brush, forecol) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetHatchStyle(brush: *mut GpHatch, hatchstyle: *mut HatchStyle) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetHatchStyle(brush : *mut GpHatch, hatchstyle : *mut HatchStyle) -> Status); + GdipGetHatchStyle(brush, hatchstyle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipGetHemfFromMetafile(metafile: *mut GpMetafile, hemf: *mut super::Gdi::HENHMETAFILE) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetHemfFromMetafile(metafile : *mut GpMetafile, hemf : *mut super::Gdi:: HENHMETAFILE) -> Status); + GdipGetHemfFromMetafile(metafile, hemf) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageAttributesAdjustedPalette(imageattr: *mut GpImageAttributes, colorpalette: *mut ColorPalette, coloradjusttype: ColorAdjustType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageAttributesAdjustedPalette(imageattr : *mut GpImageAttributes, colorpalette : *mut ColorPalette, coloradjusttype : ColorAdjustType) -> Status); + GdipGetImageAttributesAdjustedPalette(imageattr, colorpalette, coloradjusttype) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageBounds(image: *mut GpImage, srcrect: *mut RectF, srcunit: *mut Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageBounds(image : *mut GpImage, srcrect : *mut RectF, srcunit : *mut Unit) -> Status); + GdipGetImageBounds(image, srcrect, srcunit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageDecoders(numdecoders: u32, size: u32, decoders: *mut ImageCodecInfo) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageDecoders(numdecoders : u32, size : u32, decoders : *mut ImageCodecInfo) -> Status); + GdipGetImageDecoders(numdecoders, size, decoders) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageDecodersSize(numdecoders: *mut u32, size: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageDecodersSize(numdecoders : *mut u32, size : *mut u32) -> Status); + GdipGetImageDecodersSize(numdecoders, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageDimension(image: *mut GpImage, width: *mut f32, height: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageDimension(image : *mut GpImage, width : *mut f32, height : *mut f32) -> Status); + GdipGetImageDimension(image, width, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageEncoders(numencoders: u32, size: u32, encoders: *mut ImageCodecInfo) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageEncoders(numencoders : u32, size : u32, encoders : *mut ImageCodecInfo) -> Status); + GdipGetImageEncoders(numencoders, size, encoders) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageEncodersSize(numencoders: *mut u32, size: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageEncodersSize(numencoders : *mut u32, size : *mut u32) -> Status); + GdipGetImageEncodersSize(numencoders, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageFlags(image: *mut GpImage, flags: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageFlags(image : *mut GpImage, flags : *mut u32) -> Status); + GdipGetImageFlags(image, flags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageGraphicsContext(image: *mut GpImage, graphics: *mut *mut GpGraphics) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageGraphicsContext(image : *mut GpImage, graphics : *mut *mut GpGraphics) -> Status); + GdipGetImageGraphicsContext(image, graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageHeight(image: *mut GpImage, height: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageHeight(image : *mut GpImage, height : *mut u32) -> Status); + GdipGetImageHeight(image, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageHorizontalResolution(image: *mut GpImage, resolution: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageHorizontalResolution(image : *mut GpImage, resolution : *mut f32) -> Status); + GdipGetImageHorizontalResolution(image, resolution) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageItemData(image: *mut GpImage, item: *mut ImageItemData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageItemData(image : *mut GpImage, item : *mut ImageItemData) -> Status); + GdipGetImageItemData(image, item) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImagePalette(image: *mut GpImage, palette: *mut ColorPalette, size: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImagePalette(image : *mut GpImage, palette : *mut ColorPalette, size : i32) -> Status); + GdipGetImagePalette(image, palette, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImagePaletteSize(image: *mut GpImage, size: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImagePaletteSize(image : *mut GpImage, size : *mut i32) -> Status); + GdipGetImagePaletteSize(image, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImagePixelFormat(image: *mut GpImage, format: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImagePixelFormat(image : *mut GpImage, format : *mut i32) -> Status); + GdipGetImagePixelFormat(image, format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageRawFormat(image: *mut GpImage, format: *mut ::windows_core::GUID) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageRawFormat(image : *mut GpImage, format : *mut ::windows_core::GUID) -> Status); + GdipGetImageRawFormat(image, format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageThumbnail(image: *mut GpImage, thumbwidth: u32, thumbheight: u32, thumbimage: *mut *mut GpImage, callback: isize, callbackdata: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageThumbnail(image : *mut GpImage, thumbwidth : u32, thumbheight : u32, thumbimage : *mut *mut GpImage, callback : isize, callbackdata : *mut ::core::ffi::c_void) -> Status); + GdipGetImageThumbnail(image, thumbwidth, thumbheight, thumbimage, callback, callbackdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageType(image: *mut GpImage, r#type: *mut ImageType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageType(image : *mut GpImage, r#type : *mut ImageType) -> Status); + GdipGetImageType(image, r#type) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageVerticalResolution(image: *mut GpImage, resolution: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageVerticalResolution(image : *mut GpImage, resolution : *mut f32) -> Status); + GdipGetImageVerticalResolution(image, resolution) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetImageWidth(image: *mut GpImage, width: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetImageWidth(image : *mut GpImage, width : *mut u32) -> Status); + GdipGetImageWidth(image, width) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetInterpolationMode(graphics: *mut GpGraphics, interpolationmode: *mut InterpolationMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetInterpolationMode(graphics : *mut GpGraphics, interpolationmode : *mut InterpolationMode) -> Status); + GdipGetInterpolationMode(graphics, interpolationmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineBlend(brush: *mut GpLineGradient, blend: *mut f32, positions: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineBlend(brush : *mut GpLineGradient, blend : *mut f32, positions : *mut f32, count : i32) -> Status); + GdipGetLineBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineBlendCount(brush: *mut GpLineGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineBlendCount(brush : *mut GpLineGradient, count : *mut i32) -> Status); + GdipGetLineBlendCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineColors(brush: *mut GpLineGradient, colors: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineColors(brush : *mut GpLineGradient, colors : *mut u32) -> Status); + GdipGetLineColors(brush, colors) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipGetLineGammaCorrection(brush: *mut GpLineGradient, usegammacorrection: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineGammaCorrection(brush : *mut GpLineGradient, usegammacorrection : *mut super::super::Foundation:: BOOL) -> Status); + GdipGetLineGammaCorrection(brush, usegammacorrection) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLinePresetBlend(brush: *mut GpLineGradient, blend: *mut u32, positions: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLinePresetBlend(brush : *mut GpLineGradient, blend : *mut u32, positions : *mut f32, count : i32) -> Status); + GdipGetLinePresetBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLinePresetBlendCount(brush: *mut GpLineGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLinePresetBlendCount(brush : *mut GpLineGradient, count : *mut i32) -> Status); + GdipGetLinePresetBlendCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineRect(brush: *mut GpLineGradient, rect: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineRect(brush : *mut GpLineGradient, rect : *mut RectF) -> Status); + GdipGetLineRect(brush, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineRectI(brush: *mut GpLineGradient, rect: *mut Rect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineRectI(brush : *mut GpLineGradient, rect : *mut Rect) -> Status); + GdipGetLineRectI(brush, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineSpacing(family: *const GpFontFamily, style: i32, linespacing: *mut u16) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineSpacing(family : *const GpFontFamily, style : i32, linespacing : *mut u16) -> Status); + GdipGetLineSpacing(family, style, linespacing) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineTransform(brush: *mut GpLineGradient, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineTransform(brush : *mut GpLineGradient, matrix : *mut Matrix) -> Status); + GdipGetLineTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetLineWrapMode(brush: *mut GpLineGradient, wrapmode: *mut WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLineWrapMode(brush : *mut GpLineGradient, wrapmode : *mut WrapMode) -> Status); + GdipGetLineWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipGetLogFontA(font: *mut GpFont, graphics: *mut GpGraphics, logfonta: *mut super::Gdi::LOGFONTA) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLogFontA(font : *mut GpFont, graphics : *mut GpGraphics, logfonta : *mut super::Gdi:: LOGFONTA) -> Status); + GdipGetLogFontA(font, graphics, logfonta) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipGetLogFontW(font: *mut GpFont, graphics: *mut GpGraphics, logfontw: *mut super::Gdi::LOGFONTW) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetLogFontW(font : *mut GpFont, graphics : *mut GpGraphics, logfontw : *mut super::Gdi:: LOGFONTW) -> Status); + GdipGetLogFontW(font, graphics, logfontw) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetMatrixElements(matrix: *const Matrix, matrixout: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMatrixElements(matrix : *const Matrix, matrixout : *mut f32) -> Status); + GdipGetMatrixElements(matrix, matrixout) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetMetafileDownLevelRasterizationLimit(metafile: *const GpMetafile, metafilerasterizationlimitdpi: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileDownLevelRasterizationLimit(metafile : *const GpMetafile, metafilerasterizationlimitdpi : *mut u32) -> Status); + GdipGetMetafileDownLevelRasterizationLimit(metafile, metafilerasterizationlimitdpi) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipGetMetafileHeaderFromEmf(hemf: P0, header: *mut MetafileHeader) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileHeaderFromEmf(hemf : super::Gdi:: HENHMETAFILE, header : *mut MetafileHeader) -> Status); + GdipGetMetafileHeaderFromEmf(hemf.into_param().abi(), header) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipGetMetafileHeaderFromFile(filename: P0, header: *mut MetafileHeader) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileHeaderFromFile(filename : ::windows_core::PCWSTR, header : *mut MetafileHeader) -> Status); + GdipGetMetafileHeaderFromFile(filename.into_param().abi(), header) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipGetMetafileHeaderFromMetafile(metafile: *mut GpMetafile, header: *mut MetafileHeader) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileHeaderFromMetafile(metafile : *mut GpMetafile, header : *mut MetafileHeader) -> Status); + GdipGetMetafileHeaderFromMetafile(metafile, header) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[inline] +pub unsafe fn GdipGetMetafileHeaderFromStream(stream: P0, header: *mut MetafileHeader) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileHeaderFromStream(stream : * mut::core::ffi::c_void, header : *mut MetafileHeader) -> Status); + GdipGetMetafileHeaderFromStream(stream.into_param().abi(), header) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +#[inline] +pub unsafe fn GdipGetMetafileHeaderFromWmf(hwmf: P0, wmfplaceablefileheader: *const WmfPlaceableFileHeader, header: *mut MetafileHeader) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetMetafileHeaderFromWmf(hwmf : super::Gdi:: HMETAFILE, wmfplaceablefileheader : *const WmfPlaceableFileHeader, header : *mut MetafileHeader) -> Status); + GdipGetMetafileHeaderFromWmf(hwmf.into_param().abi(), wmfplaceablefileheader, header) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetNearestColor(graphics: *mut GpGraphics, argb: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetNearestColor(graphics : *mut GpGraphics, argb : *mut u32) -> Status); + GdipGetNearestColor(graphics, argb) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPageScale(graphics: *mut GpGraphics, scale: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPageScale(graphics : *mut GpGraphics, scale : *mut f32) -> Status); + GdipGetPageScale(graphics, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPageUnit(graphics: *mut GpGraphics, unit: *mut Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPageUnit(graphics : *mut GpGraphics, unit : *mut Unit) -> Status); + GdipGetPageUnit(graphics, unit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathData(path: *mut GpPath, pathdata: *mut PathData) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathData(path : *mut GpPath, pathdata : *mut PathData) -> Status); + GdipGetPathData(path, pathdata) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathFillMode(path: *mut GpPath, fillmode: *mut FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathFillMode(path : *mut GpPath, fillmode : *mut FillMode) -> Status); + GdipGetPathFillMode(path, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientBlend(brush: *mut GpPathGradient, blend: *mut f32, positions: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientBlend(brush : *mut GpPathGradient, blend : *mut f32, positions : *mut f32, count : i32) -> Status); + GdipGetPathGradientBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientBlendCount(brush: *mut GpPathGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientBlendCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); + GdipGetPathGradientBlendCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientCenterColor(brush: *mut GpPathGradient, colors: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientCenterColor(brush : *mut GpPathGradient, colors : *mut u32) -> Status); + GdipGetPathGradientCenterColor(brush, colors) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientCenterPoint(brush: *mut GpPathGradient, points: *mut PointF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientCenterPoint(brush : *mut GpPathGradient, points : *mut PointF) -> Status); + GdipGetPathGradientCenterPoint(brush, points) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientCenterPointI(brush: *mut GpPathGradient, points: *mut Point) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientCenterPointI(brush : *mut GpPathGradient, points : *mut Point) -> Status); + GdipGetPathGradientCenterPointI(brush, points) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientFocusScales(brush: *mut GpPathGradient, xscale: *mut f32, yscale: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientFocusScales(brush : *mut GpPathGradient, xscale : *mut f32, yscale : *mut f32) -> Status); + GdipGetPathGradientFocusScales(brush, xscale, yscale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipGetPathGradientGammaCorrection(brush: *mut GpPathGradient, usegammacorrection: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientGammaCorrection(brush : *mut GpPathGradient, usegammacorrection : *mut super::super::Foundation:: BOOL) -> Status); + GdipGetPathGradientGammaCorrection(brush, usegammacorrection) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientPath(brush: *mut GpPathGradient, path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientPath(brush : *mut GpPathGradient, path : *mut GpPath) -> Status); + GdipGetPathGradientPath(brush, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientPointCount(brush: *mut GpPathGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientPointCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); + GdipGetPathGradientPointCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientPresetBlend(brush: *mut GpPathGradient, blend: *mut u32, positions: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientPresetBlend(brush : *mut GpPathGradient, blend : *mut u32, positions : *mut f32, count : i32) -> Status); + GdipGetPathGradientPresetBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientPresetBlendCount(brush: *mut GpPathGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientPresetBlendCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); + GdipGetPathGradientPresetBlendCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientRect(brush: *mut GpPathGradient, rect: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientRect(brush : *mut GpPathGradient, rect : *mut RectF) -> Status); + GdipGetPathGradientRect(brush, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientRectI(brush: *mut GpPathGradient, rect: *mut Rect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientRectI(brush : *mut GpPathGradient, rect : *mut Rect) -> Status); + GdipGetPathGradientRectI(brush, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientSurroundColorCount(brush: *mut GpPathGradient, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientSurroundColorCount(brush : *mut GpPathGradient, count : *mut i32) -> Status); + GdipGetPathGradientSurroundColorCount(brush, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientSurroundColorsWithCount(brush: *const GpPathGradient, color: *mut u32, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientSurroundColorsWithCount(brush : *const GpPathGradient, color : *mut u32, count : *mut i32) -> Status); + GdipGetPathGradientSurroundColorsWithCount(brush, color, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientTransform(brush: *mut GpPathGradient, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientTransform(brush : *mut GpPathGradient, matrix : *mut Matrix) -> Status); + GdipGetPathGradientTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathGradientWrapMode(brush: *mut GpPathGradient, wrapmode: *mut WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathGradientWrapMode(brush : *mut GpPathGradient, wrapmode : *mut WrapMode) -> Status); + GdipGetPathGradientWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathLastPoint(path: *mut GpPath, lastpoint: *mut PointF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathLastPoint(path : *mut GpPath, lastpoint : *mut PointF) -> Status); + GdipGetPathLastPoint(path, lastpoint) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathPoints(param0: *mut GpPath, points: *mut PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathPoints(param0 : *mut GpPath, points : *mut PointF, count : i32) -> Status); + GdipGetPathPoints(param0, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathPointsI(param0: *mut GpPath, points: *mut Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathPointsI(param0 : *mut GpPath, points : *mut Point, count : i32) -> Status); + GdipGetPathPointsI(param0, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathTypes(path: *const GpPath, types: &mut [u8]) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathTypes(path : *const GpPath, types : *mut u8, count : i32) -> Status); + GdipGetPathTypes(path, ::core::mem::transmute(types.as_ptr()), types.len() as _) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathWorldBounds(path: *mut GpPath, bounds: *mut RectF, matrix: *const Matrix, pen: *const GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathWorldBounds(path : *mut GpPath, bounds : *mut RectF, matrix : *const Matrix, pen : *const GpPen) -> Status); + GdipGetPathWorldBounds(path, bounds, matrix, pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPathWorldBoundsI(path: *mut GpPath, bounds: *mut Rect, matrix: *const Matrix, pen: *const GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPathWorldBoundsI(path : *mut GpPath, bounds : *mut Rect, matrix : *const Matrix, pen : *const GpPen) -> Status); + GdipGetPathWorldBoundsI(path, bounds, matrix, pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenBrushFill(pen: *mut GpPen, brush: *mut *mut GpBrush) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenBrushFill(pen : *mut GpPen, brush : *mut *mut GpBrush) -> Status); + GdipGetPenBrushFill(pen, brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenColor(pen: *mut GpPen, argb: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenColor(pen : *mut GpPen, argb : *mut u32) -> Status); + GdipGetPenColor(pen, argb) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenCompoundArray(pen: *mut GpPen, dash: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenCompoundArray(pen : *mut GpPen, dash : *mut f32, count : i32) -> Status); + GdipGetPenCompoundArray(pen, dash, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenCompoundCount(pen: *mut GpPen, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenCompoundCount(pen : *mut GpPen, count : *mut i32) -> Status); + GdipGetPenCompoundCount(pen, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenCustomEndCap(pen: *mut GpPen, customcap: *mut *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenCustomEndCap(pen : *mut GpPen, customcap : *mut *mut GpCustomLineCap) -> Status); + GdipGetPenCustomEndCap(pen, customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenCustomStartCap(pen: *mut GpPen, customcap: *mut *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenCustomStartCap(pen : *mut GpPen, customcap : *mut *mut GpCustomLineCap) -> Status); + GdipGetPenCustomStartCap(pen, customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenDashArray(pen: *mut GpPen, dash: *mut f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenDashArray(pen : *mut GpPen, dash : *mut f32, count : i32) -> Status); + GdipGetPenDashArray(pen, dash, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenDashCap197819(pen: *mut GpPen, dashcap: *mut DashCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenDashCap197819(pen : *mut GpPen, dashcap : *mut DashCap) -> Status); + GdipGetPenDashCap197819(pen, dashcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenDashCount(pen: *mut GpPen, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenDashCount(pen : *mut GpPen, count : *mut i32) -> Status); + GdipGetPenDashCount(pen, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenDashOffset(pen: *mut GpPen, offset: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenDashOffset(pen : *mut GpPen, offset : *mut f32) -> Status); + GdipGetPenDashOffset(pen, offset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenDashStyle(pen: *mut GpPen, dashstyle: *mut DashStyle) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenDashStyle(pen : *mut GpPen, dashstyle : *mut DashStyle) -> Status); + GdipGetPenDashStyle(pen, dashstyle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenEndCap(pen: *mut GpPen, endcap: *mut LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenEndCap(pen : *mut GpPen, endcap : *mut LineCap) -> Status); + GdipGetPenEndCap(pen, endcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenFillType(pen: *mut GpPen, r#type: *mut PenType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenFillType(pen : *mut GpPen, r#type : *mut PenType) -> Status); + GdipGetPenFillType(pen, r#type) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenLineJoin(pen: *mut GpPen, linejoin: *mut LineJoin) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenLineJoin(pen : *mut GpPen, linejoin : *mut LineJoin) -> Status); + GdipGetPenLineJoin(pen, linejoin) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenMiterLimit(pen: *mut GpPen, miterlimit: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenMiterLimit(pen : *mut GpPen, miterlimit : *mut f32) -> Status); + GdipGetPenMiterLimit(pen, miterlimit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenMode(pen: *mut GpPen, penmode: *mut PenAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenMode(pen : *mut GpPen, penmode : *mut PenAlignment) -> Status); + GdipGetPenMode(pen, penmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenStartCap(pen: *mut GpPen, startcap: *mut LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenStartCap(pen : *mut GpPen, startcap : *mut LineCap) -> Status); + GdipGetPenStartCap(pen, startcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenTransform(pen: *mut GpPen, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenTransform(pen : *mut GpPen, matrix : *mut Matrix) -> Status); + GdipGetPenTransform(pen, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenUnit(pen: *mut GpPen, unit: *mut Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenUnit(pen : *mut GpPen, unit : *mut Unit) -> Status); + GdipGetPenUnit(pen, unit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPenWidth(pen: *mut GpPen, width: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPenWidth(pen : *mut GpPen, width : *mut f32) -> Status); + GdipGetPenWidth(pen, width) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPixelOffsetMode(graphics: *mut GpGraphics, pixeloffsetmode: *mut PixelOffsetMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPixelOffsetMode(graphics : *mut GpGraphics, pixeloffsetmode : *mut PixelOffsetMode) -> Status); + GdipGetPixelOffsetMode(graphics, pixeloffsetmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPointCount(path: *mut GpPath, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPointCount(path : *mut GpPath, count : *mut i32) -> Status); + GdipGetPointCount(path, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPropertyCount(image: *mut GpImage, numofproperty: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPropertyCount(image : *mut GpImage, numofproperty : *mut u32) -> Status); + GdipGetPropertyCount(image, numofproperty) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPropertyIdList(image: *mut GpImage, numofproperty: u32, list: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPropertyIdList(image : *mut GpImage, numofproperty : u32, list : *mut u32) -> Status); + GdipGetPropertyIdList(image, numofproperty, list) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPropertyItem(image: *mut GpImage, propid: u32, propsize: u32, buffer: *mut PropertyItem) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPropertyItem(image : *mut GpImage, propid : u32, propsize : u32, buffer : *mut PropertyItem) -> Status); + GdipGetPropertyItem(image, propid, propsize, buffer) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPropertyItemSize(image: *mut GpImage, propid: u32, size: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPropertyItemSize(image : *mut GpImage, propid : u32, size : *mut u32) -> Status); + GdipGetPropertyItemSize(image, propid, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetPropertySize(image: *mut GpImage, totalbuffersize: *mut u32, numproperties: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetPropertySize(image : *mut GpImage, totalbuffersize : *mut u32, numproperties : *mut u32) -> Status); + GdipGetPropertySize(image, totalbuffersize, numproperties) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionBounds(region: *mut GpRegion, graphics: *mut GpGraphics, rect: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionBounds(region : *mut GpRegion, graphics : *mut GpGraphics, rect : *mut RectF) -> Status); + GdipGetRegionBounds(region, graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionBoundsI(region: *mut GpRegion, graphics: *mut GpGraphics, rect: *mut Rect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionBoundsI(region : *mut GpRegion, graphics : *mut GpGraphics, rect : *mut Rect) -> Status); + GdipGetRegionBoundsI(region, graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionData(region: *mut GpRegion, buffer: &mut [u8], sizefilled: ::core::option::Option<*mut u32>) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionData(region : *mut GpRegion, buffer : *mut u8, buffersize : u32, sizefilled : *mut u32) -> Status); + GdipGetRegionData(region, ::core::mem::transmute(buffer.as_ptr()), buffer.len() as _, ::core::mem::transmute(sizefilled.unwrap_or(::std::ptr::null_mut()))) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionDataSize(region: *mut GpRegion, buffersize: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionDataSize(region : *mut GpRegion, buffersize : *mut u32) -> Status); + GdipGetRegionDataSize(region, buffersize) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipGetRegionHRgn(region: *mut GpRegion, graphics: *mut GpGraphics, hrgn: *mut super::Gdi::HRGN) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionHRgn(region : *mut GpRegion, graphics : *mut GpGraphics, hrgn : *mut super::Gdi:: HRGN) -> Status); + GdipGetRegionHRgn(region, graphics, hrgn) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionScans(region: *mut GpRegion, rects: *mut RectF, count: *mut i32, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionScans(region : *mut GpRegion, rects : *mut RectF, count : *mut i32, matrix : *mut Matrix) -> Status); + GdipGetRegionScans(region, rects, count, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionScansCount(region: *mut GpRegion, count: *mut u32, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionScansCount(region : *mut GpRegion, count : *mut u32, matrix : *mut Matrix) -> Status); + GdipGetRegionScansCount(region, count, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRegionScansI(region: *mut GpRegion, rects: *mut Rect, count: *mut i32, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRegionScansI(region : *mut GpRegion, rects : *mut Rect, count : *mut i32, matrix : *mut Matrix) -> Status); + GdipGetRegionScansI(region, rects, count, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetRenderingOrigin(graphics: *mut GpGraphics, x: *mut i32, y: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetRenderingOrigin(graphics : *mut GpGraphics, x : *mut i32, y : *mut i32) -> Status); + GdipGetRenderingOrigin(graphics, x, y) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetSmoothingMode(graphics: *mut GpGraphics, smoothingmode: *mut SmoothingMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetSmoothingMode(graphics : *mut GpGraphics, smoothingmode : *mut SmoothingMode) -> Status); + GdipGetSmoothingMode(graphics, smoothingmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetSolidFillColor(brush: *mut GpSolidFill, color: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetSolidFillColor(brush : *mut GpSolidFill, color : *mut u32) -> Status); + GdipGetSolidFillColor(brush, color) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatAlign(format: *const GpStringFormat, align: *mut StringAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatAlign(format : *const GpStringFormat, align : *mut StringAlignment) -> Status); + GdipGetStringFormatAlign(format, align) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatDigitSubstitution(format: *const GpStringFormat, language: *mut u16, substitute: *mut StringDigitSubstitute) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatDigitSubstitution(format : *const GpStringFormat, language : *mut u16, substitute : *mut StringDigitSubstitute) -> Status); + GdipGetStringFormatDigitSubstitution(format, language, substitute) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatFlags(format: *const GpStringFormat, flags: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatFlags(format : *const GpStringFormat, flags : *mut i32) -> Status); + GdipGetStringFormatFlags(format, flags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatHotkeyPrefix(format: *const GpStringFormat, hotkeyprefix: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatHotkeyPrefix(format : *const GpStringFormat, hotkeyprefix : *mut i32) -> Status); + GdipGetStringFormatHotkeyPrefix(format, hotkeyprefix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatLineAlign(format: *const GpStringFormat, align: *mut StringAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatLineAlign(format : *const GpStringFormat, align : *mut StringAlignment) -> Status); + GdipGetStringFormatLineAlign(format, align) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatMeasurableCharacterRangeCount(format: *const GpStringFormat, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatMeasurableCharacterRangeCount(format : *const GpStringFormat, count : *mut i32) -> Status); + GdipGetStringFormatMeasurableCharacterRangeCount(format, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatTabStopCount(format: *const GpStringFormat, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatTabStopCount(format : *const GpStringFormat, count : *mut i32) -> Status); + GdipGetStringFormatTabStopCount(format, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatTabStops(format: *const GpStringFormat, count: i32, firsttaboffset: *mut f32, tabstops: *mut f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatTabStops(format : *const GpStringFormat, count : i32, firsttaboffset : *mut f32, tabstops : *mut f32) -> Status); + GdipGetStringFormatTabStops(format, count, firsttaboffset, tabstops) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetStringFormatTrimming(format: *const GpStringFormat, trimming: *mut StringTrimming) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetStringFormatTrimming(format : *const GpStringFormat, trimming : *mut StringTrimming) -> Status); + GdipGetStringFormatTrimming(format, trimming) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetTextContrast(graphics: *mut GpGraphics, contrast: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetTextContrast(graphics : *mut GpGraphics, contrast : *mut u32) -> Status); + GdipGetTextContrast(graphics, contrast) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetTextRenderingHint(graphics: *mut GpGraphics, mode: *mut TextRenderingHint) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetTextRenderingHint(graphics : *mut GpGraphics, mode : *mut TextRenderingHint) -> Status); + GdipGetTextRenderingHint(graphics, mode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetTextureImage(brush: *mut GpTexture, image: *mut *mut GpImage) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetTextureImage(brush : *mut GpTexture, image : *mut *mut GpImage) -> Status); + GdipGetTextureImage(brush, image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetTextureTransform(brush: *mut GpTexture, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetTextureTransform(brush : *mut GpTexture, matrix : *mut Matrix) -> Status); + GdipGetTextureTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetTextureWrapMode(brush: *mut GpTexture, wrapmode: *mut WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetTextureWrapMode(brush : *mut GpTexture, wrapmode : *mut WrapMode) -> Status); + GdipGetTextureWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetVisibleClipBounds(graphics: *mut GpGraphics, rect: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetVisibleClipBounds(graphics : *mut GpGraphics, rect : *mut RectF) -> Status); + GdipGetVisibleClipBounds(graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetVisibleClipBoundsI(graphics: *mut GpGraphics, rect: *mut Rect) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetVisibleClipBoundsI(graphics : *mut GpGraphics, rect : *mut Rect) -> Status); + GdipGetVisibleClipBoundsI(graphics, rect) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGetWorldTransform(graphics: *mut GpGraphics, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGetWorldTransform(graphics : *mut GpGraphics, matrix : *mut Matrix) -> Status); + GdipGetWorldTransform(graphics, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGraphicsClear(graphics: *mut GpGraphics, color: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGraphicsClear(graphics : *mut GpGraphics, color : u32) -> Status); + GdipGraphicsClear(graphics, color) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipGraphicsSetAbort(pgraphics: *mut GpGraphics, piabort: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipGraphicsSetAbort(pgraphics : *mut GpGraphics, piabort : * mut::core::ffi::c_void) -> Status); + GdipGraphicsSetAbort(pgraphics, piabort.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageForceValidation(image: *mut GpImage) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageForceValidation(image : *mut GpImage) -> Status); + GdipImageForceValidation(image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageGetFrameCount(image: *mut GpImage, dimensionid: *const ::windows_core::GUID, count: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameCount(image : *mut GpImage, dimensionid : *const ::windows_core::GUID, count : *mut u32) -> Status); + GdipImageGetFrameCount(image, dimensionid, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageGetFrameDimensionsCount(image: *mut GpImage, count: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameDimensionsCount(image : *mut GpImage, count : *mut u32) -> Status); + GdipImageGetFrameDimensionsCount(image, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageGetFrameDimensionsList(image: *mut GpImage, dimensionids: *mut ::windows_core::GUID, count: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageGetFrameDimensionsList(image : *mut GpImage, dimensionids : *mut ::windows_core::GUID, count : u32) -> Status); + GdipImageGetFrameDimensionsList(image, dimensionids, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageRotateFlip(image: *mut GpImage, rftype: RotateFlipType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageRotateFlip(image : *mut GpImage, rftype : RotateFlipType) -> Status); + GdipImageRotateFlip(image, rftype) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageSelectActiveFrame(image: *mut GpImage, dimensionid: *const ::windows_core::GUID, frameindex: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageSelectActiveFrame(image : *mut GpImage, dimensionid : *const ::windows_core::GUID, frameindex : u32) -> Status); + GdipImageSelectActiveFrame(image, dimensionid, frameindex) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipImageSetAbort(pimage: *mut GpImage, piabort: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipImageSetAbort(pimage : *mut GpImage, piabort : * mut::core::ffi::c_void) -> Status); + GdipImageSetAbort(pimage, piabort.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipInitializePalette(palette: *mut ColorPalette, palettetype: PaletteType, optimalcolors: i32, usetransparentcolor: P0, bitmap: *mut GpBitmap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipInitializePalette(palette : *mut ColorPalette, palettetype : PaletteType, optimalcolors : i32, usetransparentcolor : super::super::Foundation:: BOOL, bitmap : *mut GpBitmap) -> Status); + GdipInitializePalette(palette, palettetype, optimalcolors, usetransparentcolor.into_param().abi(), bitmap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipInvertMatrix(matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipInvertMatrix(matrix : *mut Matrix) -> Status); + GdipInvertMatrix(matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsClipEmpty(graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsClipEmpty(graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsClipEmpty(graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsEmptyRegion(region: *mut GpRegion, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsEmptyRegion(region : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsEmptyRegion(region, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsEqualRegion(region: *mut GpRegion, region2: *mut GpRegion, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsEqualRegion(region : *mut GpRegion, region2 : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsEqualRegion(region, region2, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsInfiniteRegion(region: *mut GpRegion, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsInfiniteRegion(region : *mut GpRegion, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsInfiniteRegion(region, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsMatrixEqual(matrix: *const Matrix, matrix2: *const Matrix, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsMatrixEqual(matrix : *const Matrix, matrix2 : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsMatrixEqual(matrix, matrix2, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsMatrixIdentity(matrix: *const Matrix, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsMatrixIdentity(matrix : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsMatrixIdentity(matrix, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsMatrixInvertible(matrix: *const Matrix, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsMatrixInvertible(matrix : *const Matrix, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsMatrixInvertible(matrix, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsOutlineVisiblePathPoint(path: *mut GpPath, x: f32, y: f32, pen: *mut GpPen, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsOutlineVisiblePathPoint(path : *mut GpPath, x : f32, y : f32, pen : *mut GpPen, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsOutlineVisiblePathPoint(path, x, y, pen, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsOutlineVisiblePathPointI(path: *mut GpPath, x: i32, y: i32, pen: *mut GpPen, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsOutlineVisiblePathPointI(path : *mut GpPath, x : i32, y : i32, pen : *mut GpPen, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsOutlineVisiblePathPointI(path, x, y, pen, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsStyleAvailable(family: *const GpFontFamily, style: i32, isstyleavailable: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsStyleAvailable(family : *const GpFontFamily, style : i32, isstyleavailable : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsStyleAvailable(family, style, isstyleavailable) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleClipEmpty(graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleClipEmpty(graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleClipEmpty(graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisiblePathPoint(path: *mut GpPath, x: f32, y: f32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisiblePathPoint(path : *mut GpPath, x : f32, y : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisiblePathPoint(path, x, y, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisiblePathPointI(path: *mut GpPath, x: i32, y: i32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisiblePathPointI(path : *mut GpPath, x : i32, y : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisiblePathPointI(path, x, y, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisiblePoint(graphics: *mut GpGraphics, x: f32, y: f32, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisiblePoint(graphics : *mut GpGraphics, x : f32, y : f32, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisiblePoint(graphics, x, y, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisiblePointI(graphics: *mut GpGraphics, x: i32, y: i32, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisiblePointI(graphics : *mut GpGraphics, x : i32, y : i32, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisiblePointI(graphics, x, y, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRect(graphics: *mut GpGraphics, x: f32, y: f32, width: f32, height: f32, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRect(graphics : *mut GpGraphics, x : f32, y : f32, width : f32, height : f32, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRect(graphics, x, y, width, height, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRectI(graphics: *mut GpGraphics, x: i32, y: i32, width: i32, height: i32, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRectI(graphics : *mut GpGraphics, x : i32, y : i32, width : i32, height : i32, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRectI(graphics, x, y, width, height, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRegionPoint(region: *mut GpRegion, x: f32, y: f32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRegionPoint(region : *mut GpRegion, x : f32, y : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRegionPoint(region, x, y, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRegionPointI(region: *mut GpRegion, x: i32, y: i32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRegionPointI(region : *mut GpRegion, x : i32, y : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRegionPointI(region, x, y, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRegionRect(region: *mut GpRegion, x: f32, y: f32, width: f32, height: f32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRegionRect(region : *mut GpRegion, x : f32, y : f32, width : f32, height : f32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRegionRect(region, x, y, width, height, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipIsVisibleRegionRectI(region: *mut GpRegion, x: i32, y: i32, width: i32, height: i32, graphics: *mut GpGraphics, result: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipIsVisibleRegionRectI(region : *mut GpRegion, x : i32, y : i32, width : i32, height : i32, graphics : *mut GpGraphics, result : *mut super::super::Foundation:: BOOL) -> Status); + GdipIsVisibleRegionRectI(region, x, y, width, height, graphics, result) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipLoadImageFromFile(filename: P0, image: *mut *mut GpImage) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromFile(filename : ::windows_core::PCWSTR, image : *mut *mut GpImage) -> Status); + GdipLoadImageFromFile(filename.into_param().abi(), image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipLoadImageFromFileICM(filename: P0, image: *mut *mut GpImage) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromFileICM(filename : ::windows_core::PCWSTR, image : *mut *mut GpImage) -> Status); + GdipLoadImageFromFileICM(filename.into_param().abi(), image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipLoadImageFromStream(stream: P0, image: *mut *mut GpImage) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromStream(stream : * mut::core::ffi::c_void, image : *mut *mut GpImage) -> Status); + GdipLoadImageFromStream(stream.into_param().abi(), image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipLoadImageFromStreamICM(stream: P0, image: *mut *mut GpImage) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipLoadImageFromStreamICM(stream : * mut::core::ffi::c_void, image : *mut *mut GpImage) -> Status); + GdipLoadImageFromStreamICM(stream.into_param().abi(), image) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMeasureCharacterRanges(graphics: *mut GpGraphics, string: P0, length: i32, font: *const GpFont, layoutrect: *const RectF, stringformat: *const GpStringFormat, regioncount: i32, regions: *mut *mut GpRegion) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureCharacterRanges(graphics : *mut GpGraphics, string : ::windows_core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, regioncount : i32, regions : *mut *mut GpRegion) -> Status); + GdipMeasureCharacterRanges(graphics, string.into_param().abi(), length, font, layoutrect, stringformat, regioncount, regions) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMeasureDriverString(graphics: *mut GpGraphics, text: *const u16, length: i32, font: *const GpFont, positions: *const PointF, flags: i32, matrix: *const Matrix, boundingbox: *mut RectF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureDriverString(graphics : *mut GpGraphics, text : *const u16, length : i32, font : *const GpFont, positions : *const PointF, flags : i32, matrix : *const Matrix, boundingbox : *mut RectF) -> Status); + GdipMeasureDriverString(graphics, text, length, font, positions, flags, matrix, boundingbox) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMeasureString(graphics: *mut GpGraphics, string: P0, length: i32, font: *const GpFont, layoutrect: *const RectF, stringformat: *const GpStringFormat, boundingbox: *mut RectF, codepointsfitted: *mut i32, linesfilled: *mut i32) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMeasureString(graphics : *mut GpGraphics, string : ::windows_core::PCWSTR, length : i32, font : *const GpFont, layoutrect : *const RectF, stringformat : *const GpStringFormat, boundingbox : *mut RectF, codepointsfitted : *mut i32, linesfilled : *mut i32) -> Status); + GdipMeasureString(graphics, string.into_param().abi(), length, font, layoutrect, stringformat, boundingbox, codepointsfitted, linesfilled) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyLineTransform(brush: *mut GpLineGradient, matrix: *const Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyLineTransform(brush : *mut GpLineGradient, matrix : *const Matrix, order : MatrixOrder) -> Status); + GdipMultiplyLineTransform(brush, matrix, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyMatrix(matrix: *mut Matrix, matrix2: *mut Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyMatrix(matrix : *mut Matrix, matrix2 : *mut Matrix, order : MatrixOrder) -> Status); + GdipMultiplyMatrix(matrix, matrix2, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyPathGradientTransform(brush: *mut GpPathGradient, matrix: *const Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyPathGradientTransform(brush : *mut GpPathGradient, matrix : *const Matrix, order : MatrixOrder) -> Status); + GdipMultiplyPathGradientTransform(brush, matrix, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyPenTransform(pen: *mut GpPen, matrix: *const Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyPenTransform(pen : *mut GpPen, matrix : *const Matrix, order : MatrixOrder) -> Status); + GdipMultiplyPenTransform(pen, matrix, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyTextureTransform(brush: *mut GpTexture, matrix: *const Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyTextureTransform(brush : *mut GpTexture, matrix : *const Matrix, order : MatrixOrder) -> Status); + GdipMultiplyTextureTransform(brush, matrix, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipMultiplyWorldTransform(graphics: *mut GpGraphics, matrix: *const Matrix, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipMultiplyWorldTransform(graphics : *mut GpGraphics, matrix : *const Matrix, order : MatrixOrder) -> Status); + GdipMultiplyWorldTransform(graphics, matrix, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipNewInstalledFontCollection(fontcollection: *mut *mut GpFontCollection) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipNewInstalledFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); + GdipNewInstalledFontCollection(fontcollection) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipNewPrivateFontCollection(fontcollection: *mut *mut GpFontCollection) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipNewPrivateFontCollection(fontcollection : *mut *mut GpFontCollection) -> Status); + GdipNewPrivateFontCollection(fontcollection) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterCopyData(iterator: *mut GpPathIterator, resultcount: *mut i32, points: *mut PointF, types: *mut u8, startindex: i32, endindex: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterCopyData(iterator : *mut GpPathIterator, resultcount : *mut i32, points : *mut PointF, types : *mut u8, startindex : i32, endindex : i32) -> Status); + GdipPathIterCopyData(iterator, resultcount, points, types, startindex, endindex) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterEnumerate(iterator: *mut GpPathIterator, resultcount: *mut i32, points: *mut PointF, types: *mut u8, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterEnumerate(iterator : *mut GpPathIterator, resultcount : *mut i32, points : *mut PointF, types : *mut u8, count : i32) -> Status); + GdipPathIterEnumerate(iterator, resultcount, points, types, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterGetCount(iterator: *mut GpPathIterator, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterGetCount(iterator : *mut GpPathIterator, count : *mut i32) -> Status); + GdipPathIterGetCount(iterator, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterGetSubpathCount(iterator: *mut GpPathIterator, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterGetSubpathCount(iterator : *mut GpPathIterator, count : *mut i32) -> Status); + GdipPathIterGetSubpathCount(iterator, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipPathIterHasCurve(iterator: *mut GpPathIterator, hascurve: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterHasCurve(iterator : *mut GpPathIterator, hascurve : *mut super::super::Foundation:: BOOL) -> Status); + GdipPathIterHasCurve(iterator, hascurve) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipPathIterIsValid(iterator: *mut GpPathIterator, valid: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterIsValid(iterator : *mut GpPathIterator, valid : *mut super::super::Foundation:: BOOL) -> Status); + GdipPathIterIsValid(iterator, valid) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterNextMarker(iterator: *mut GpPathIterator, resultcount: *mut i32, startindex: *mut i32, endindex: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterNextMarker(iterator : *mut GpPathIterator, resultcount : *mut i32, startindex : *mut i32, endindex : *mut i32) -> Status); + GdipPathIterNextMarker(iterator, resultcount, startindex, endindex) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterNextMarkerPath(iterator: *mut GpPathIterator, resultcount: *mut i32, path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterNextMarkerPath(iterator : *mut GpPathIterator, resultcount : *mut i32, path : *mut GpPath) -> Status); + GdipPathIterNextMarkerPath(iterator, resultcount, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterNextPathType(iterator: *mut GpPathIterator, resultcount: *mut i32, pathtype: *mut u8, startindex: *mut i32, endindex: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterNextPathType(iterator : *mut GpPathIterator, resultcount : *mut i32, pathtype : *mut u8, startindex : *mut i32, endindex : *mut i32) -> Status); + GdipPathIterNextPathType(iterator, resultcount, pathtype, startindex, endindex) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipPathIterNextSubpath(iterator: *mut GpPathIterator, resultcount: *mut i32, startindex: *mut i32, endindex: *mut i32, isclosed: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterNextSubpath(iterator : *mut GpPathIterator, resultcount : *mut i32, startindex : *mut i32, endindex : *mut i32, isclosed : *mut super::super::Foundation:: BOOL) -> Status); + GdipPathIterNextSubpath(iterator, resultcount, startindex, endindex, isclosed) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipPathIterNextSubpathPath(iterator: *mut GpPathIterator, resultcount: *mut i32, path: *mut GpPath, isclosed: *mut super::super::Foundation::BOOL) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterNextSubpathPath(iterator : *mut GpPathIterator, resultcount : *mut i32, path : *mut GpPath, isclosed : *mut super::super::Foundation:: BOOL) -> Status); + GdipPathIterNextSubpathPath(iterator, resultcount, path, isclosed) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPathIterRewind(iterator: *mut GpPathIterator) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPathIterRewind(iterator : *mut GpPathIterator) -> Status); + GdipPathIterRewind(iterator) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPlayMetafileRecord(metafile: *const GpMetafile, recordtype: EmfPlusRecordType, flags: u32, datasize: u32, data: *const u8) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPlayMetafileRecord(metafile : *const GpMetafile, recordtype : EmfPlusRecordType, flags : u32, datasize : u32, data : *const u8) -> Status); + GdipPlayMetafileRecord(metafile, recordtype, flags, datasize, data) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPrivateAddFontFile(fontcollection: *mut GpFontCollection, filename: P0) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPrivateAddFontFile(fontcollection : *mut GpFontCollection, filename : ::windows_core::PCWSTR) -> Status); + GdipPrivateAddFontFile(fontcollection, filename.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipPrivateAddMemoryFont(fontcollection: *mut GpFontCollection, memory: *const ::core::ffi::c_void, length: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipPrivateAddMemoryFont(fontcollection : *mut GpFontCollection, memory : *const ::core::ffi::c_void, length : i32) -> Status); + GdipPrivateAddMemoryFont(fontcollection, memory, length) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipRecordMetafile(referencehdc: P0, r#type: EmfType, framerect: *const RectF, frameunit: MetafileFrameUnit, description: P1, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafile(referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafile(referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipRecordMetafileFileName(filename: P0, referencehdc: P1, r#type: EmfType, framerect: *const RectF, frameunit: MetafileFrameUnit, description: P2, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P1: ::windows_core::IntoParam, + P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafileFileName(filename : ::windows_core::PCWSTR, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafileFileName(filename.into_param().abi(), referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipRecordMetafileFileNameI(filename: P0, referencehdc: P1, r#type: EmfType, framerect: *const Rect, frameunit: MetafileFrameUnit, description: P2, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P1: ::windows_core::IntoParam, + P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafileFileNameI(filename : ::windows_core::PCWSTR, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafileFileNameI(filename.into_param().abi(), referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipRecordMetafileI(referencehdc: P0, r#type: EmfType, framerect: *const Rect, frameunit: MetafileFrameUnit, description: P1, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafileI(referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafileI(referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[inline] +pub unsafe fn GdipRecordMetafileStream(stream: P0, referencehdc: P1, r#type: EmfType, framerect: *const RectF, frameunit: MetafileFrameUnit, description: P2, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, + P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafileStream(stream : * mut::core::ffi::c_void, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const RectF, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafileStream(stream.into_param().abi(), referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`*"] +#[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] +#[inline] +pub unsafe fn GdipRecordMetafileStreamI(stream: P0, referencehdc: P1, r#type: EmfType, framerect: *const Rect, frameunit: MetafileFrameUnit, description: P2, metafile: *mut *mut GpMetafile) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, + P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRecordMetafileStreamI(stream : * mut::core::ffi::c_void, referencehdc : super::Gdi:: HDC, r#type : EmfType, framerect : *const Rect, frameunit : MetafileFrameUnit, description : ::windows_core::PCWSTR, metafile : *mut *mut GpMetafile) -> Status); + GdipRecordMetafileStreamI(stream.into_param().abi(), referencehdc.into_param().abi(), r#type, framerect, frameunit, description.into_param().abi(), metafile) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipReleaseDC(graphics: *mut GpGraphics, hdc: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipReleaseDC(graphics : *mut GpGraphics, hdc : super::Gdi:: HDC) -> Status); + GdipReleaseDC(graphics, hdc.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRemovePropertyItem(image: *mut GpImage, propid: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRemovePropertyItem(image : *mut GpImage, propid : u32) -> Status); + GdipRemovePropertyItem(image, propid) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetClip(graphics: *mut GpGraphics) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetClip(graphics : *mut GpGraphics) -> Status); + GdipResetClip(graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetImageAttributes(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetImageAttributes(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType) -> Status); + GdipResetImageAttributes(imageattr, r#type) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetLineTransform(brush: *mut GpLineGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetLineTransform(brush : *mut GpLineGradient) -> Status); + GdipResetLineTransform(brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetPageTransform(graphics: *mut GpGraphics) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetPageTransform(graphics : *mut GpGraphics) -> Status); + GdipResetPageTransform(graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetPath(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetPath(path : *mut GpPath) -> Status); + GdipResetPath(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetPathGradientTransform(brush: *mut GpPathGradient) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetPathGradientTransform(brush : *mut GpPathGradient) -> Status); + GdipResetPathGradientTransform(brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetPenTransform(pen: *mut GpPen) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetPenTransform(pen : *mut GpPen) -> Status); + GdipResetPenTransform(pen) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetTextureTransform(brush: *mut GpTexture) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetTextureTransform(brush : *mut GpTexture) -> Status); + GdipResetTextureTransform(brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipResetWorldTransform(graphics: *mut GpGraphics) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipResetWorldTransform(graphics : *mut GpGraphics) -> Status); + GdipResetWorldTransform(graphics) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRestoreGraphics(graphics: *mut GpGraphics, state: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRestoreGraphics(graphics : *mut GpGraphics, state : u32) -> Status); + GdipRestoreGraphics(graphics, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipReversePath(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipReversePath(path : *mut GpPath) -> Status); + GdipReversePath(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotateLineTransform(brush: *mut GpLineGradient, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotateLineTransform(brush : *mut GpLineGradient, angle : f32, order : MatrixOrder) -> Status); + GdipRotateLineTransform(brush, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotateMatrix(matrix: *mut Matrix, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotateMatrix(matrix : *mut Matrix, angle : f32, order : MatrixOrder) -> Status); + GdipRotateMatrix(matrix, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotatePathGradientTransform(brush: *mut GpPathGradient, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotatePathGradientTransform(brush : *mut GpPathGradient, angle : f32, order : MatrixOrder) -> Status); + GdipRotatePathGradientTransform(brush, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotatePenTransform(pen: *mut GpPen, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotatePenTransform(pen : *mut GpPen, angle : f32, order : MatrixOrder) -> Status); + GdipRotatePenTransform(pen, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotateTextureTransform(brush: *mut GpTexture, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotateTextureTransform(brush : *mut GpTexture, angle : f32, order : MatrixOrder) -> Status); + GdipRotateTextureTransform(brush, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipRotateWorldTransform(graphics: *mut GpGraphics, angle: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipRotateWorldTransform(graphics : *mut GpGraphics, angle : f32, order : MatrixOrder) -> Status); + GdipRotateWorldTransform(graphics, angle, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSaveAdd(image: *mut GpImage, encoderparams: *const EncoderParameters) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveAdd(image : *mut GpImage, encoderparams : *const EncoderParameters) -> Status); + GdipSaveAdd(image, encoderparams) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSaveAddImage(image: *mut GpImage, newimage: *mut GpImage, encoderparams: *const EncoderParameters) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveAddImage(image : *mut GpImage, newimage : *mut GpImage, encoderparams : *const EncoderParameters) -> Status); + GdipSaveAddImage(image, newimage, encoderparams) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSaveGraphics(graphics: *mut GpGraphics, state: *mut u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveGraphics(graphics : *mut GpGraphics, state : *mut u32) -> Status); + GdipSaveGraphics(graphics, state) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSaveImageToFile(image: *mut GpImage, filename: P0, clsidencoder: *const ::windows_core::GUID, encoderparams: *const EncoderParameters) -> Status +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveImageToFile(image : *mut GpImage, filename : ::windows_core::PCWSTR, clsidencoder : *const ::windows_core::GUID, encoderparams : *const EncoderParameters) -> Status); + GdipSaveImageToFile(image, filename.into_param().abi(), clsidencoder, encoderparams) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[inline] +pub unsafe fn GdipSaveImageToStream(image: *mut GpImage, stream: P0, clsidencoder: *const ::windows_core::GUID, encoderparams: *const EncoderParameters) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSaveImageToStream(image : *mut GpImage, stream : * mut::core::ffi::c_void, clsidencoder : *const ::windows_core::GUID, encoderparams : *const EncoderParameters) -> Status); + GdipSaveImageToStream(image, stream.into_param().abi(), clsidencoder, encoderparams) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScaleLineTransform(brush: *mut GpLineGradient, sx: f32, sy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleLineTransform(brush : *mut GpLineGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); + GdipScaleLineTransform(brush, sx, sy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScaleMatrix(matrix: *mut Matrix, scalex: f32, scaley: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleMatrix(matrix : *mut Matrix, scalex : f32, scaley : f32, order : MatrixOrder) -> Status); + GdipScaleMatrix(matrix, scalex, scaley, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScalePathGradientTransform(brush: *mut GpPathGradient, sx: f32, sy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScalePathGradientTransform(brush : *mut GpPathGradient, sx : f32, sy : f32, order : MatrixOrder) -> Status); + GdipScalePathGradientTransform(brush, sx, sy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScalePenTransform(pen: *mut GpPen, sx: f32, sy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScalePenTransform(pen : *mut GpPen, sx : f32, sy : f32, order : MatrixOrder) -> Status); + GdipScalePenTransform(pen, sx, sy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScaleTextureTransform(brush: *mut GpTexture, sx: f32, sy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleTextureTransform(brush : *mut GpTexture, sx : f32, sy : f32, order : MatrixOrder) -> Status); + GdipScaleTextureTransform(brush, sx, sy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipScaleWorldTransform(graphics: *mut GpGraphics, sx: f32, sy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipScaleWorldTransform(graphics : *mut GpGraphics, sx : f32, sy : f32, order : MatrixOrder) -> Status); + GdipScaleWorldTransform(graphics, sx, sy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetAdjustableArrowCapFillState(cap: *mut GpAdjustableArrowCap, fillstate: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetAdjustableArrowCapFillState(cap : *mut GpAdjustableArrowCap, fillstate : super::super::Foundation:: BOOL) -> Status); + GdipSetAdjustableArrowCapFillState(cap, fillstate.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetAdjustableArrowCapHeight(cap: *mut GpAdjustableArrowCap, height: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetAdjustableArrowCapHeight(cap : *mut GpAdjustableArrowCap, height : f32) -> Status); + GdipSetAdjustableArrowCapHeight(cap, height) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetAdjustableArrowCapMiddleInset(cap: *mut GpAdjustableArrowCap, middleinset: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetAdjustableArrowCapMiddleInset(cap : *mut GpAdjustableArrowCap, middleinset : f32) -> Status); + GdipSetAdjustableArrowCapMiddleInset(cap, middleinset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetAdjustableArrowCapWidth(cap: *mut GpAdjustableArrowCap, width: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetAdjustableArrowCapWidth(cap : *mut GpAdjustableArrowCap, width : f32) -> Status); + GdipSetAdjustableArrowCapWidth(cap, width) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetClipGraphics(graphics: *mut GpGraphics, srcgraphics: *mut GpGraphics, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipGraphics(graphics : *mut GpGraphics, srcgraphics : *mut GpGraphics, combinemode : CombineMode) -> Status); + GdipSetClipGraphics(graphics, srcgraphics, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(feature = "Win32_Graphics_Gdi")] +#[inline] +pub unsafe fn GdipSetClipHrgn(graphics: *mut GpGraphics, hrgn: P0, combinemode: CombineMode) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipHrgn(graphics : *mut GpGraphics, hrgn : super::Gdi:: HRGN, combinemode : CombineMode) -> Status); + GdipSetClipHrgn(graphics, hrgn.into_param().abi(), combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetClipPath(graphics: *mut GpGraphics, path: *mut GpPath, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipPath(graphics : *mut GpGraphics, path : *mut GpPath, combinemode : CombineMode) -> Status); + GdipSetClipPath(graphics, path, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetClipRect(graphics: *mut GpGraphics, x: f32, y: f32, width: f32, height: f32, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipRect(graphics : *mut GpGraphics, x : f32, y : f32, width : f32, height : f32, combinemode : CombineMode) -> Status); + GdipSetClipRect(graphics, x, y, width, height, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetClipRectI(graphics: *mut GpGraphics, x: i32, y: i32, width: i32, height: i32, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipRectI(graphics : *mut GpGraphics, x : i32, y : i32, width : i32, height : i32, combinemode : CombineMode) -> Status); + GdipSetClipRectI(graphics, x, y, width, height, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetClipRegion(graphics: *mut GpGraphics, region: *mut GpRegion, combinemode: CombineMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetClipRegion(graphics : *mut GpGraphics, region : *mut GpRegion, combinemode : CombineMode) -> Status); + GdipSetClipRegion(graphics, region, combinemode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCompositingMode(graphics: *mut GpGraphics, compositingmode: CompositingMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCompositingMode(graphics : *mut GpGraphics, compositingmode : CompositingMode) -> Status); + GdipSetCompositingMode(graphics, compositingmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCompositingQuality(graphics: *mut GpGraphics, compositingquality: CompositingQuality) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCompositingQuality(graphics : *mut GpGraphics, compositingquality : CompositingQuality) -> Status); + GdipSetCompositingQuality(graphics, compositingquality) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCustomLineCapBaseCap(customcap: *mut GpCustomLineCap, basecap: LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCustomLineCapBaseCap(customcap : *mut GpCustomLineCap, basecap : LineCap) -> Status); + GdipSetCustomLineCapBaseCap(customcap, basecap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCustomLineCapBaseInset(customcap: *mut GpCustomLineCap, inset: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCustomLineCapBaseInset(customcap : *mut GpCustomLineCap, inset : f32) -> Status); + GdipSetCustomLineCapBaseInset(customcap, inset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCustomLineCapStrokeCaps(customcap: *mut GpCustomLineCap, startcap: LineCap, endcap: LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCustomLineCapStrokeCaps(customcap : *mut GpCustomLineCap, startcap : LineCap, endcap : LineCap) -> Status); + GdipSetCustomLineCapStrokeCaps(customcap, startcap, endcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCustomLineCapStrokeJoin(customcap: *mut GpCustomLineCap, linejoin: LineJoin) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCustomLineCapStrokeJoin(customcap : *mut GpCustomLineCap, linejoin : LineJoin) -> Status); + GdipSetCustomLineCapStrokeJoin(customcap, linejoin) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetCustomLineCapWidthScale(customcap: *mut GpCustomLineCap, widthscale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetCustomLineCapWidthScale(customcap : *mut GpCustomLineCap, widthscale : f32) -> Status); + GdipSetCustomLineCapWidthScale(customcap, widthscale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetEffectParameters(effect: *mut CGpEffect, params: *const ::core::ffi::c_void, size: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetEffectParameters(effect : *mut CGpEffect, params : *const ::core::ffi::c_void, size : u32) -> Status); + GdipSetEffectParameters(effect, params, size) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetEmpty(region: *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetEmpty(region : *mut GpRegion) -> Status); + GdipSetEmpty(region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesCachedBackground(imageattr: *mut GpImageAttributes, enableflag: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesCachedBackground(imageattr : *mut GpImageAttributes, enableflag : super::super::Foundation:: BOOL) -> Status); + GdipSetImageAttributesCachedBackground(imageattr, enableflag.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesColorKeys(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, colorlow: u32, colorhigh: u32) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesColorKeys(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colorlow : u32, colorhigh : u32) -> Status); + GdipSetImageAttributesColorKeys(imageattr, r#type, enableflag.into_param().abi(), colorlow, colorhigh) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesColorMatrix(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, colormatrix: *const ColorMatrix, graymatrix: *const ColorMatrix, flags: ColorMatrixFlags) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesColorMatrix(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colormatrix : *const ColorMatrix, graymatrix : *const ColorMatrix, flags : ColorMatrixFlags) -> Status); + GdipSetImageAttributesColorMatrix(imageattr, r#type, enableflag.into_param().abi(), colormatrix, graymatrix, flags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesGamma(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, gamma: f32) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesGamma(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, gamma : f32) -> Status); + GdipSetImageAttributesGamma(imageattr, r#type, enableflag.into_param().abi(), gamma) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesNoOp(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesNoOp(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL) -> Status); + GdipSetImageAttributesNoOp(imageattr, r#type, enableflag.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesOutputChannel(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, channelflags: ColorChannelFlags) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesOutputChannel(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, channelflags : ColorChannelFlags) -> Status); + GdipSetImageAttributesOutputChannel(imageattr, r#type, enableflag.into_param().abi(), channelflags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesOutputChannelColorProfile(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, colorprofilefilename: P1) -> Status +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesOutputChannelColorProfile(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, colorprofilefilename : ::windows_core::PCWSTR) -> Status); + GdipSetImageAttributesOutputChannelColorProfile(imageattr, r#type, enableflag.into_param().abi(), colorprofilefilename.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesRemapTable(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, mapsize: u32, map: *const ColorMap) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesRemapTable(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, mapsize : u32, map : *const ColorMap) -> Status); + GdipSetImageAttributesRemapTable(imageattr, r#type, enableflag.into_param().abi(), mapsize, map) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesThreshold(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType, enableflag: P0, threshold: f32) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesThreshold(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType, enableflag : super::super::Foundation:: BOOL, threshold : f32) -> Status); + GdipSetImageAttributesThreshold(imageattr, r#type, enableflag.into_param().abi(), threshold) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetImageAttributesToIdentity(imageattr: *mut GpImageAttributes, r#type: ColorAdjustType) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesToIdentity(imageattr : *mut GpImageAttributes, r#type : ColorAdjustType) -> Status); + GdipSetImageAttributesToIdentity(imageattr, r#type) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetImageAttributesWrapMode(imageattr: *mut GpImageAttributes, wrap: WrapMode, argb: u32, clamp: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImageAttributesWrapMode(imageattr : *mut GpImageAttributes, wrap : WrapMode, argb : u32, clamp : super::super::Foundation:: BOOL) -> Status); + GdipSetImageAttributesWrapMode(imageattr, wrap, argb, clamp.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetImagePalette(image: *mut GpImage, palette: *const ColorPalette) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetImagePalette(image : *mut GpImage, palette : *const ColorPalette) -> Status); + GdipSetImagePalette(image, palette) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetInfinite(region: *mut GpRegion) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetInfinite(region : *mut GpRegion) -> Status); + GdipSetInfinite(region) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetInterpolationMode(graphics: *mut GpGraphics, interpolationmode: InterpolationMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetInterpolationMode(graphics : *mut GpGraphics, interpolationmode : InterpolationMode) -> Status); + GdipSetInterpolationMode(graphics, interpolationmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineBlend(brush: *mut GpLineGradient, blend: *const f32, positions: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineBlend(brush : *mut GpLineGradient, blend : *const f32, positions : *const f32, count : i32) -> Status); + GdipSetLineBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineColors(brush: *mut GpLineGradient, color1: u32, color2: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineColors(brush : *mut GpLineGradient, color1 : u32, color2 : u32) -> Status); + GdipSetLineColors(brush, color1, color2) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetLineGammaCorrection(brush: *mut GpLineGradient, usegammacorrection: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineGammaCorrection(brush : *mut GpLineGradient, usegammacorrection : super::super::Foundation:: BOOL) -> Status); + GdipSetLineGammaCorrection(brush, usegammacorrection.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineLinearBlend(brush: *mut GpLineGradient, focus: f32, scale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineLinearBlend(brush : *mut GpLineGradient, focus : f32, scale : f32) -> Status); + GdipSetLineLinearBlend(brush, focus, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLinePresetBlend(brush: *mut GpLineGradient, blend: *const u32, positions: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLinePresetBlend(brush : *mut GpLineGradient, blend : *const u32, positions : *const f32, count : i32) -> Status); + GdipSetLinePresetBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineSigmaBlend(brush: *mut GpLineGradient, focus: f32, scale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineSigmaBlend(brush : *mut GpLineGradient, focus : f32, scale : f32) -> Status); + GdipSetLineSigmaBlend(brush, focus, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineTransform(brush: *mut GpLineGradient, matrix: *const Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineTransform(brush : *mut GpLineGradient, matrix : *const Matrix) -> Status); + GdipSetLineTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetLineWrapMode(brush: *mut GpLineGradient, wrapmode: WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetLineWrapMode(brush : *mut GpLineGradient, wrapmode : WrapMode) -> Status); + GdipSetLineWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetMatrixElements(matrix: *mut Matrix, m11: f32, m12: f32, m21: f32, m22: f32, dx: f32, dy: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetMatrixElements(matrix : *mut Matrix, m11 : f32, m12 : f32, m21 : f32, m22 : f32, dx : f32, dy : f32) -> Status); + GdipSetMatrixElements(matrix, m11, m12, m21, m22, dx, dy) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetMetafileDownLevelRasterizationLimit(metafile: *mut GpMetafile, metafilerasterizationlimitdpi: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetMetafileDownLevelRasterizationLimit(metafile : *mut GpMetafile, metafilerasterizationlimitdpi : u32) -> Status); + GdipSetMetafileDownLevelRasterizationLimit(metafile, metafilerasterizationlimitdpi) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPageScale(graphics: *mut GpGraphics, scale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPageScale(graphics : *mut GpGraphics, scale : f32) -> Status); + GdipSetPageScale(graphics, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPageUnit(graphics: *mut GpGraphics, unit: Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPageUnit(graphics : *mut GpGraphics, unit : Unit) -> Status); + GdipSetPageUnit(graphics, unit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathFillMode(path: *mut GpPath, fillmode: FillMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathFillMode(path : *mut GpPath, fillmode : FillMode) -> Status); + GdipSetPathFillMode(path, fillmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientBlend(brush: *mut GpPathGradient, blend: *const f32, positions: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientBlend(brush : *mut GpPathGradient, blend : *const f32, positions : *const f32, count : i32) -> Status); + GdipSetPathGradientBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientCenterColor(brush: *mut GpPathGradient, colors: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientCenterColor(brush : *mut GpPathGradient, colors : u32) -> Status); + GdipSetPathGradientCenterColor(brush, colors) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientCenterPoint(brush: *mut GpPathGradient, points: *const PointF) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientCenterPoint(brush : *mut GpPathGradient, points : *const PointF) -> Status); + GdipSetPathGradientCenterPoint(brush, points) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientCenterPointI(brush: *mut GpPathGradient, points: *const Point) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientCenterPointI(brush : *mut GpPathGradient, points : *const Point) -> Status); + GdipSetPathGradientCenterPointI(brush, points) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientFocusScales(brush: *mut GpPathGradient, xscale: f32, yscale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientFocusScales(brush : *mut GpPathGradient, xscale : f32, yscale : f32) -> Status); + GdipSetPathGradientFocusScales(brush, xscale, yscale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdipSetPathGradientGammaCorrection(brush: *mut GpPathGradient, usegammacorrection: P0) -> Status +where + P0: ::windows_core::IntoParam, +{ + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientGammaCorrection(brush : *mut GpPathGradient, usegammacorrection : super::super::Foundation:: BOOL) -> Status); + GdipSetPathGradientGammaCorrection(brush, usegammacorrection.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientLinearBlend(brush: *mut GpPathGradient, focus: f32, scale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientLinearBlend(brush : *mut GpPathGradient, focus : f32, scale : f32) -> Status); + GdipSetPathGradientLinearBlend(brush, focus, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientPath(brush: *mut GpPathGradient, path: *const GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientPath(brush : *mut GpPathGradient, path : *const GpPath) -> Status); + GdipSetPathGradientPath(brush, path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientPresetBlend(brush: *mut GpPathGradient, blend: *const u32, positions: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientPresetBlend(brush : *mut GpPathGradient, blend : *const u32, positions : *const f32, count : i32) -> Status); + GdipSetPathGradientPresetBlend(brush, blend, positions, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientSigmaBlend(brush: *mut GpPathGradient, focus: f32, scale: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientSigmaBlend(brush : *mut GpPathGradient, focus : f32, scale : f32) -> Status); + GdipSetPathGradientSigmaBlend(brush, focus, scale) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientSurroundColorsWithCount(brush: *mut GpPathGradient, color: *const u32, count: *mut i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientSurroundColorsWithCount(brush : *mut GpPathGradient, color : *const u32, count : *mut i32) -> Status); + GdipSetPathGradientSurroundColorsWithCount(brush, color, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientTransform(brush: *mut GpPathGradient, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientTransform(brush : *mut GpPathGradient, matrix : *mut Matrix) -> Status); + GdipSetPathGradientTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathGradientWrapMode(brush: *mut GpPathGradient, wrapmode: WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathGradientWrapMode(brush : *mut GpPathGradient, wrapmode : WrapMode) -> Status); + GdipSetPathGradientWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPathMarker(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPathMarker(path : *mut GpPath) -> Status); + GdipSetPathMarker(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenBrushFill(pen: *mut GpPen, brush: *mut GpBrush) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenBrushFill(pen : *mut GpPen, brush : *mut GpBrush) -> Status); + GdipSetPenBrushFill(pen, brush) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenColor(pen: *mut GpPen, argb: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenColor(pen : *mut GpPen, argb : u32) -> Status); + GdipSetPenColor(pen, argb) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenCompoundArray(pen: *mut GpPen, dash: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenCompoundArray(pen : *mut GpPen, dash : *const f32, count : i32) -> Status); + GdipSetPenCompoundArray(pen, dash, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenCustomEndCap(pen: *mut GpPen, customcap: *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenCustomEndCap(pen : *mut GpPen, customcap : *mut GpCustomLineCap) -> Status); + GdipSetPenCustomEndCap(pen, customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenCustomStartCap(pen: *mut GpPen, customcap: *mut GpCustomLineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenCustomStartCap(pen : *mut GpPen, customcap : *mut GpCustomLineCap) -> Status); + GdipSetPenCustomStartCap(pen, customcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenDashArray(pen: *mut GpPen, dash: *const f32, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenDashArray(pen : *mut GpPen, dash : *const f32, count : i32) -> Status); + GdipSetPenDashArray(pen, dash, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenDashCap197819(pen: *mut GpPen, dashcap: DashCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenDashCap197819(pen : *mut GpPen, dashcap : DashCap) -> Status); + GdipSetPenDashCap197819(pen, dashcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenDashOffset(pen: *mut GpPen, offset: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenDashOffset(pen : *mut GpPen, offset : f32) -> Status); + GdipSetPenDashOffset(pen, offset) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenDashStyle(pen: *mut GpPen, dashstyle: DashStyle) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenDashStyle(pen : *mut GpPen, dashstyle : DashStyle) -> Status); + GdipSetPenDashStyle(pen, dashstyle) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenEndCap(pen: *mut GpPen, endcap: LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenEndCap(pen : *mut GpPen, endcap : LineCap) -> Status); + GdipSetPenEndCap(pen, endcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenLineCap197819(pen: *mut GpPen, startcap: LineCap, endcap: LineCap, dashcap: DashCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenLineCap197819(pen : *mut GpPen, startcap : LineCap, endcap : LineCap, dashcap : DashCap) -> Status); + GdipSetPenLineCap197819(pen, startcap, endcap, dashcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenLineJoin(pen: *mut GpPen, linejoin: LineJoin) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenLineJoin(pen : *mut GpPen, linejoin : LineJoin) -> Status); + GdipSetPenLineJoin(pen, linejoin) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenMiterLimit(pen: *mut GpPen, miterlimit: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenMiterLimit(pen : *mut GpPen, miterlimit : f32) -> Status); + GdipSetPenMiterLimit(pen, miterlimit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenMode(pen: *mut GpPen, penmode: PenAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenMode(pen : *mut GpPen, penmode : PenAlignment) -> Status); + GdipSetPenMode(pen, penmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenStartCap(pen: *mut GpPen, startcap: LineCap) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenStartCap(pen : *mut GpPen, startcap : LineCap) -> Status); + GdipSetPenStartCap(pen, startcap) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenTransform(pen: *mut GpPen, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenTransform(pen : *mut GpPen, matrix : *mut Matrix) -> Status); + GdipSetPenTransform(pen, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenUnit(pen: *mut GpPen, unit: Unit) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenUnit(pen : *mut GpPen, unit : Unit) -> Status); + GdipSetPenUnit(pen, unit) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPenWidth(pen: *mut GpPen, width: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPenWidth(pen : *mut GpPen, width : f32) -> Status); + GdipSetPenWidth(pen, width) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPixelOffsetMode(graphics: *mut GpGraphics, pixeloffsetmode: PixelOffsetMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPixelOffsetMode(graphics : *mut GpGraphics, pixeloffsetmode : PixelOffsetMode) -> Status); + GdipSetPixelOffsetMode(graphics, pixeloffsetmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetPropertyItem(image: *mut GpImage, item: *const PropertyItem) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetPropertyItem(image : *mut GpImage, item : *const PropertyItem) -> Status); + GdipSetPropertyItem(image, item) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetRenderingOrigin(graphics: *mut GpGraphics, x: i32, y: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetRenderingOrigin(graphics : *mut GpGraphics, x : i32, y : i32) -> Status); + GdipSetRenderingOrigin(graphics, x, y) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetSmoothingMode(graphics: *mut GpGraphics, smoothingmode: SmoothingMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetSmoothingMode(graphics : *mut GpGraphics, smoothingmode : SmoothingMode) -> Status); + GdipSetSmoothingMode(graphics, smoothingmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetSolidFillColor(brush: *mut GpSolidFill, color: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetSolidFillColor(brush : *mut GpSolidFill, color : u32) -> Status); + GdipSetSolidFillColor(brush, color) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatAlign(format: *mut GpStringFormat, align: StringAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatAlign(format : *mut GpStringFormat, align : StringAlignment) -> Status); + GdipSetStringFormatAlign(format, align) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatDigitSubstitution(format: *mut GpStringFormat, language: u16, substitute: StringDigitSubstitute) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatDigitSubstitution(format : *mut GpStringFormat, language : u16, substitute : StringDigitSubstitute) -> Status); + GdipSetStringFormatDigitSubstitution(format, language, substitute) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatFlags(format: *mut GpStringFormat, flags: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatFlags(format : *mut GpStringFormat, flags : i32) -> Status); + GdipSetStringFormatFlags(format, flags) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatHotkeyPrefix(format: *mut GpStringFormat, hotkeyprefix: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatHotkeyPrefix(format : *mut GpStringFormat, hotkeyprefix : i32) -> Status); + GdipSetStringFormatHotkeyPrefix(format, hotkeyprefix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatLineAlign(format: *mut GpStringFormat, align: StringAlignment) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatLineAlign(format : *mut GpStringFormat, align : StringAlignment) -> Status); + GdipSetStringFormatLineAlign(format, align) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatMeasurableCharacterRanges(format: *mut GpStringFormat, rangecount: i32, ranges: *const CharacterRange) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatMeasurableCharacterRanges(format : *mut GpStringFormat, rangecount : i32, ranges : *const CharacterRange) -> Status); + GdipSetStringFormatMeasurableCharacterRanges(format, rangecount, ranges) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatTabStops(format: *mut GpStringFormat, firsttaboffset: f32, count: i32, tabstops: *const f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatTabStops(format : *mut GpStringFormat, firsttaboffset : f32, count : i32, tabstops : *const f32) -> Status); + GdipSetStringFormatTabStops(format, firsttaboffset, count, tabstops) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetStringFormatTrimming(format: *mut GpStringFormat, trimming: StringTrimming) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetStringFormatTrimming(format : *mut GpStringFormat, trimming : StringTrimming) -> Status); + GdipSetStringFormatTrimming(format, trimming) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetTextContrast(graphics: *mut GpGraphics, contrast: u32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetTextContrast(graphics : *mut GpGraphics, contrast : u32) -> Status); + GdipSetTextContrast(graphics, contrast) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetTextRenderingHint(graphics: *mut GpGraphics, mode: TextRenderingHint) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetTextRenderingHint(graphics : *mut GpGraphics, mode : TextRenderingHint) -> Status); + GdipSetTextRenderingHint(graphics, mode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetTextureTransform(brush: *mut GpTexture, matrix: *const Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetTextureTransform(brush : *mut GpTexture, matrix : *const Matrix) -> Status); + GdipSetTextureTransform(brush, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetTextureWrapMode(brush: *mut GpTexture, wrapmode: WrapMode) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetTextureWrapMode(brush : *mut GpTexture, wrapmode : WrapMode) -> Status); + GdipSetTextureWrapMode(brush, wrapmode) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipSetWorldTransform(graphics: *mut GpGraphics, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipSetWorldTransform(graphics : *mut GpGraphics, matrix : *mut Matrix) -> Status); + GdipSetWorldTransform(graphics, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipShearMatrix(matrix: *mut Matrix, shearx: f32, sheary: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipShearMatrix(matrix : *mut Matrix, shearx : f32, sheary : f32, order : MatrixOrder) -> Status); + GdipShearMatrix(matrix, shearx, sheary, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipStartPathFigure(path: *mut GpPath) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipStartPathFigure(path : *mut GpPath) -> Status); + GdipStartPathFigure(path) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipStringFormatGetGenericDefault(format: *mut *mut GpStringFormat) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipStringFormatGetGenericDefault(format : *mut *mut GpStringFormat) -> Status); + GdipStringFormatGetGenericDefault(format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipStringFormatGetGenericTypographic(format: *mut *mut GpStringFormat) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipStringFormatGetGenericTypographic(format : *mut *mut GpStringFormat) -> Status); + GdipStringFormatGetGenericTypographic(format) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTestControl(control: GpTestControlEnum, param1: *mut ::core::ffi::c_void) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTestControl(control : GpTestControlEnum, param1 : *mut ::core::ffi::c_void) -> Status); + GdipTestControl(control, param1) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformMatrixPoints(matrix: *mut Matrix, pts: *mut PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformMatrixPoints(matrix : *mut Matrix, pts : *mut PointF, count : i32) -> Status); + GdipTransformMatrixPoints(matrix, pts, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformMatrixPointsI(matrix: *mut Matrix, pts: *mut Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformMatrixPointsI(matrix : *mut Matrix, pts : *mut Point, count : i32) -> Status); + GdipTransformMatrixPointsI(matrix, pts, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformPath(path: *mut GpPath, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformPath(path : *mut GpPath, matrix : *mut Matrix) -> Status); + GdipTransformPath(path, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformPoints(graphics: *mut GpGraphics, destspace: CoordinateSpace, srcspace: CoordinateSpace, points: *mut PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformPoints(graphics : *mut GpGraphics, destspace : CoordinateSpace, srcspace : CoordinateSpace, points : *mut PointF, count : i32) -> Status); + GdipTransformPoints(graphics, destspace, srcspace, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformPointsI(graphics: *mut GpGraphics, destspace: CoordinateSpace, srcspace: CoordinateSpace, points: *mut Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformPointsI(graphics : *mut GpGraphics, destspace : CoordinateSpace, srcspace : CoordinateSpace, points : *mut Point, count : i32) -> Status); + GdipTransformPointsI(graphics, destspace, srcspace, points, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTransformRegion(region: *mut GpRegion, matrix: *mut Matrix) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTransformRegion(region : *mut GpRegion, matrix : *mut Matrix) -> Status); + GdipTransformRegion(region, matrix) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateClip(graphics: *mut GpGraphics, dx: f32, dy: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateClip(graphics : *mut GpGraphics, dx : f32, dy : f32) -> Status); + GdipTranslateClip(graphics, dx, dy) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateClipI(graphics: *mut GpGraphics, dx: i32, dy: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateClipI(graphics : *mut GpGraphics, dx : i32, dy : i32) -> Status); + GdipTranslateClipI(graphics, dx, dy) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateLineTransform(brush: *mut GpLineGradient, dx: f32, dy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateLineTransform(brush : *mut GpLineGradient, dx : f32, dy : f32, order : MatrixOrder) -> Status); + GdipTranslateLineTransform(brush, dx, dy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateMatrix(matrix: *mut Matrix, offsetx: f32, offsety: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateMatrix(matrix : *mut Matrix, offsetx : f32, offsety : f32, order : MatrixOrder) -> Status); + GdipTranslateMatrix(matrix, offsetx, offsety, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslatePathGradientTransform(brush: *mut GpPathGradient, dx: f32, dy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslatePathGradientTransform(brush : *mut GpPathGradient, dx : f32, dy : f32, order : MatrixOrder) -> Status); + GdipTranslatePathGradientTransform(brush, dx, dy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslatePenTransform(pen: *mut GpPen, dx: f32, dy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslatePenTransform(pen : *mut GpPen, dx : f32, dy : f32, order : MatrixOrder) -> Status); + GdipTranslatePenTransform(pen, dx, dy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateRegion(region: *mut GpRegion, dx: f32, dy: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateRegion(region : *mut GpRegion, dx : f32, dy : f32) -> Status); + GdipTranslateRegion(region, dx, dy) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateRegionI(region: *mut GpRegion, dx: i32, dy: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateRegionI(region : *mut GpRegion, dx : i32, dy : i32) -> Status); + GdipTranslateRegionI(region, dx, dy) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateTextureTransform(brush: *mut GpTexture, dx: f32, dy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateTextureTransform(brush : *mut GpTexture, dx : f32, dy : f32, order : MatrixOrder) -> Status); + GdipTranslateTextureTransform(brush, dx, dy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipTranslateWorldTransform(graphics: *mut GpGraphics, dx: f32, dy: f32, order: MatrixOrder) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipTranslateWorldTransform(graphics : *mut GpGraphics, dx : f32, dy : f32, order : MatrixOrder) -> Status); + GdipTranslateWorldTransform(graphics, dx, dy, order) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipVectorTransformMatrixPoints(matrix: *mut Matrix, pts: *mut PointF, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipVectorTransformMatrixPoints(matrix : *mut Matrix, pts : *mut PointF, count : i32) -> Status); + GdipVectorTransformMatrixPoints(matrix, pts, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipVectorTransformMatrixPointsI(matrix: *mut Matrix, pts: *mut Point, count: i32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipVectorTransformMatrixPointsI(matrix : *mut Matrix, pts : *mut Point, count : i32) -> Status); + GdipVectorTransformMatrixPointsI(matrix, pts, count) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipWarpPath(path: *mut GpPath, matrix: *mut Matrix, points: *const PointF, count: i32, srcx: f32, srcy: f32, srcwidth: f32, srcheight: f32, warpmode: WarpMode, flatness: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipWarpPath(path : *mut GpPath, matrix : *mut Matrix, points : *const PointF, count : i32, srcx : f32, srcy : f32, srcwidth : f32, srcheight : f32, warpmode : WarpMode, flatness : f32) -> Status); + GdipWarpPath(path, matrix, points, count, srcx, srcy, srcwidth, srcheight, warpmode, flatness) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipWidenPath(nativepath: *mut GpPath, pen: *mut GpPen, matrix: *mut Matrix, flatness: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipWidenPath(nativepath : *mut GpPath, pen : *mut GpPen, matrix : *mut Matrix, flatness : f32) -> Status); + GdipWidenPath(nativepath, pen, matrix, flatness) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdipWindingModeOutline(path: *mut GpPath, matrix: *mut Matrix, flatness: f32) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdipWindingModeOutline(path : *mut GpPath, matrix : *mut Matrix, flatness : f32) -> Status); + GdipWindingModeOutline(path, matrix, flatness) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdiplusNotificationHook(token: *mut usize) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusNotificationHook(token : *mut usize) -> Status); + GdiplusNotificationHook(token) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdiplusNotificationUnhook(token: usize) { + ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusNotificationUnhook(token : usize) -> ()); + GdiplusNotificationUnhook(token) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[inline] +pub unsafe fn GdiplusShutdown(token: usize) { + ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusShutdown(token : usize) -> ()); + GdiplusShutdown(token) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn GdiplusStartup(token: *mut usize, input: *const GdiplusStartupInput, output: *mut GdiplusStartupOutput) -> Status { + ::windows_targets::link!("gdiplus.dll" "system" fn GdiplusStartup(token : *mut usize, input : *const GdiplusStartupInput, output : *mut GdiplusStartupOutput) -> Status); + GdiplusStartup(token, input, output) +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] +pub struct GdiplusAbort(::std::ptr::NonNull<::std::ffi::c_void>); +impl GdiplusAbort { + pub unsafe fn Abort(&self) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).Abort)(::windows_core::Interface::as_raw(self)).ok() + } +} +unsafe impl ::windows_core::Interface for GdiplusAbort { + type Vtable = GdiplusAbort_Vtbl; +} +#[repr(C)] +#[doc(hidden)] +pub struct GdiplusAbort_Vtbl { + pub Abort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] +pub struct IImageBytes(::windows_core::IUnknown); +impl IImageBytes { + pub unsafe fn CountBytes(&self, pcb: *mut u32) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).CountBytes)(::windows_core::Interface::as_raw(self), pcb).ok() + } + pub unsafe fn LockBytes(&self, cb: u32, uloffset: u32, ppvbytes: *const *const ::core::ffi::c_void) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).LockBytes)(::windows_core::Interface::as_raw(self), cb, uloffset, ppvbytes).ok() + } + pub unsafe fn UnlockBytes(&self, pvbytes: *const ::core::ffi::c_void, cb: u32, uloffset: u32) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).UnlockBytes)(::windows_core::Interface::as_raw(self), pvbytes, cb, uloffset).ok() + } +} +::windows_core::imp::interface_hierarchy!(IImageBytes, ::windows_core::IUnknown); +unsafe impl ::windows_core::Interface for IImageBytes { + type Vtable = IImageBytes_Vtbl; +} +unsafe impl ::windows_core::ComInterface for IImageBytes { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); +} +#[repr(C)] +#[doc(hidden)] +pub struct IImageBytes_Vtbl { + pub base__: ::windows_core::IUnknown_Vtbl, + pub CountBytes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcb: *mut u32) -> ::windows_core::HRESULT, + pub LockBytes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cb: u32, uloffset: u32, ppvbytes: *const *const ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub UnlockBytes: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvbytes: *const ::core::ffi::c_void, cb: u32, uloffset: u32) -> ::windows_core::HRESULT, +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ALPHA_SHIFT: u32 = 24u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Aborted: Status = Status(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AccessDenied: Status = Status(12i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustBlackSaturation: CurveAdjustments = CurveAdjustments(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustContrast: CurveAdjustments = CurveAdjustments(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustDensity: CurveAdjustments = CurveAdjustments(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustExposure: CurveAdjustments = CurveAdjustments(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustHighlight: CurveAdjustments = CurveAdjustments(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustMidtone: CurveAdjustments = CurveAdjustments(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustShadow: CurveAdjustments = CurveAdjustments(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const AdjustWhiteSaturation: CurveAdjustments = CurveAdjustments(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BLUE_SHIFT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BlurEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x633c80a4_1843_482b_9ef2_be2834c5fdd4); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrightnessContrastEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd3a1dbe1_8ec4_4c17_9f4c_ea97ad1c343d); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeHatchFill: BrushType = BrushType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeLinearGradient: BrushType = BrushType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypePathGradient: BrushType = BrushType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeSolidColor: BrushType = BrushType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const BrushTypeTextureFill: BrushType = BrushType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CodecIImageBytes: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeAny: ColorAdjustType = ColorAdjustType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeBitmap: ColorAdjustType = ColorAdjustType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeBrush: ColorAdjustType = ColorAdjustType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeCount: ColorAdjustType = ColorAdjustType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeDefault: ColorAdjustType = ColorAdjustType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypePen: ColorAdjustType = ColorAdjustType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorAdjustTypeText: ColorAdjustType = ColorAdjustType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorBalanceEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x537e597d_251e_48da_9664_29ca496b70f8); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsC: ColorChannelFlags = ColorChannelFlags(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsK: ColorChannelFlags = ColorChannelFlags(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsLast: ColorChannelFlags = ColorChannelFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsM: ColorChannelFlags = ColorChannelFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorChannelFlagsY: ColorChannelFlags = ColorChannelFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorCurveEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd6a0022_58e4_4a67_9d9b_d48eb881a53d); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorLUTEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa7ce72a9_0f7f_40d7_b3cc_d0c02d5c3212); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x718f2615_7933_40e3_a511_5f68fe14dd74); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsAltGray: ColorMatrixFlags = ColorMatrixFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsDefault: ColorMatrixFlags = ColorMatrixFlags(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorMatrixFlagsSkipGrays: ColorMatrixFlags = ColorMatrixFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorModeARGB32: ColorMode = ColorMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ColorModeARGB64: ColorMode = ColorMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeComplement: CombineMode = CombineMode(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeExclude: CombineMode = CombineMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeIntersect: CombineMode = CombineMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeReplace: CombineMode = CombineMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeUnion: CombineMode = CombineMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CombineModeXor: CombineMode = CombineMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingModeSourceCopy: CompositingMode = CompositingMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingModeSourceOver: CompositingMode = CompositingMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityAssumeLinear: CompositingQuality = CompositingQuality(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityDefault: CompositingQuality = CompositingQuality(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityGammaCorrected: CompositingQuality = CompositingQuality(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityHighQuality: CompositingQuality = CompositingQuality(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityHighSpeed: CompositingQuality = CompositingQuality(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CompositingQualityInvalid: CompositingQuality = CompositingQuality(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsDefault: ConvertToEmfPlusFlags = ConvertToEmfPlusFlags(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsInvalidRecord: ConvertToEmfPlusFlags = ConvertToEmfPlusFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsRopUsed: ConvertToEmfPlusFlags = ConvertToEmfPlusFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ConvertToEmfPlusFlagsText: ConvertToEmfPlusFlags = ConvertToEmfPlusFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpaceDevice: CoordinateSpace = CoordinateSpace(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpacePage: CoordinateSpace = CoordinateSpace(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CoordinateSpaceWorld: CoordinateSpace = CoordinateSpace(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelAll: CurveChannel = CurveChannel(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelBlue: CurveChannel = CurveChannel(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelGreen: CurveChannel = CurveChannel(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CurveChannelRed: CurveChannel = CurveChannel(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CustomLineCapTypeAdjustableArrow: CustomLineCapType = CustomLineCapType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const CustomLineCapTypeDefault: CustomLineCapType = CustomLineCapType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapFlat: DashCap = DashCap(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapRound: DashCap = DashCap(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashCapTriangle: DashCap = DashCap(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleCustom: DashStyle = DashStyle(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDash: DashStyle = DashStyle(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDashDot: DashStyle = DashStyle(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDashDotDot: DashStyle = DashStyle(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleDot: DashStyle = DashStyle(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DashStyleSolid: DashStyle = DashStyle(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DebugEventLevelFatal: DebugEventLevel = DebugEventLevel(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DebugEventLevelWarning: DebugEventLevel = DebugEventLevel(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeDualSpiral4x4: DitherType = DitherType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeDualSpiral8x8: DitherType = DitherType(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeErrorDiffusion: DitherType = DitherType(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeMax: DitherType = DitherType(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeNone: DitherType = DitherType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered16x16: DitherType = DitherType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered4x4: DitherType = DitherType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeOrdered8x8: DitherType = DitherType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSolid: DitherType = DitherType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSpiral4x4: DitherType = DitherType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DitherTypeSpiral8x8: DitherType = DitherType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsCmapLookup: DriverStringOptions = DriverStringOptions(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsLimitSubpixel: DriverStringOptions = DriverStringOptions(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsRealizedAdvance: DriverStringOptions = DriverStringOptions(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const DriverStringOptionsVertical: DriverStringOptions = DriverStringOptions(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTotal: EmfPlusRecordType = EmfPlusRecordType(16443i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeBeginContainer: EmfPlusRecordType = EmfPlusRecordType(16423i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeBeginContainerNoParams: EmfPlusRecordType = EmfPlusRecordType(16424i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeClear: EmfPlusRecordType = EmfPlusRecordType(16393i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeComment: EmfPlusRecordType = EmfPlusRecordType(16387i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawArc: EmfPlusRecordType = EmfPlusRecordType(16402i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawBeziers: EmfPlusRecordType = EmfPlusRecordType(16409i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawClosedCurve: EmfPlusRecordType = EmfPlusRecordType(16407i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawCurve: EmfPlusRecordType = EmfPlusRecordType(16408i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawDriverString: EmfPlusRecordType = EmfPlusRecordType(16438i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawEllipse: EmfPlusRecordType = EmfPlusRecordType(16399i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawImage: EmfPlusRecordType = EmfPlusRecordType(16410i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawImagePoints: EmfPlusRecordType = EmfPlusRecordType(16411i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawLines: EmfPlusRecordType = EmfPlusRecordType(16397i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawPath: EmfPlusRecordType = EmfPlusRecordType(16405i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawPie: EmfPlusRecordType = EmfPlusRecordType(16401i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawRects: EmfPlusRecordType = EmfPlusRecordType(16395i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeDrawString: EmfPlusRecordType = EmfPlusRecordType(16412i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeEndContainer: EmfPlusRecordType = EmfPlusRecordType(16425i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeEndOfFile: EmfPlusRecordType = EmfPlusRecordType(16386i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillClosedCurve: EmfPlusRecordType = EmfPlusRecordType(16406i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillEllipse: EmfPlusRecordType = EmfPlusRecordType(16398i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPath: EmfPlusRecordType = EmfPlusRecordType(16404i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPie: EmfPlusRecordType = EmfPlusRecordType(16400i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillPolygon: EmfPlusRecordType = EmfPlusRecordType(16396i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillRects: EmfPlusRecordType = EmfPlusRecordType(16394i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeFillRegion: EmfPlusRecordType = EmfPlusRecordType(16403i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeGetDC: EmfPlusRecordType = EmfPlusRecordType(16388i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeHeader: EmfPlusRecordType = EmfPlusRecordType(16385i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeInvalid: EmfPlusRecordType = EmfPlusRecordType(16384i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMax: EmfPlusRecordType = EmfPlusRecordType(16442i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMin: EmfPlusRecordType = EmfPlusRecordType(16385i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatEnd: EmfPlusRecordType = EmfPlusRecordType(16391i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatSection: EmfPlusRecordType = EmfPlusRecordType(16390i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiFormatStart: EmfPlusRecordType = EmfPlusRecordType(16389i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeMultiplyWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16428i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeObject: EmfPlusRecordType = EmfPlusRecordType(16392i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeOffsetClip: EmfPlusRecordType = EmfPlusRecordType(16437i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeResetClip: EmfPlusRecordType = EmfPlusRecordType(16433i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeResetWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16427i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeRestore: EmfPlusRecordType = EmfPlusRecordType(16422i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeRotateWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16431i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSave: EmfPlusRecordType = EmfPlusRecordType(16421i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeScaleWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16430i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSerializableObject: EmfPlusRecordType = EmfPlusRecordType(16440i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetAntiAliasMode: EmfPlusRecordType = EmfPlusRecordType(16414i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipPath: EmfPlusRecordType = EmfPlusRecordType(16435i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipRect: EmfPlusRecordType = EmfPlusRecordType(16434i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetClipRegion: EmfPlusRecordType = EmfPlusRecordType(16436i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetCompositingMode: EmfPlusRecordType = EmfPlusRecordType(16419i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetCompositingQuality: EmfPlusRecordType = EmfPlusRecordType(16420i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetInterpolationMode: EmfPlusRecordType = EmfPlusRecordType(16417i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetPageTransform: EmfPlusRecordType = EmfPlusRecordType(16432i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetPixelOffsetMode: EmfPlusRecordType = EmfPlusRecordType(16418i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetRenderingOrigin: EmfPlusRecordType = EmfPlusRecordType(16413i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTSClip: EmfPlusRecordType = EmfPlusRecordType(16442i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTSGraphics: EmfPlusRecordType = EmfPlusRecordType(16441i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTextContrast: EmfPlusRecordType = EmfPlusRecordType(16416i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetTextRenderingHint: EmfPlusRecordType = EmfPlusRecordType(16415i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeSetWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16426i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeStrokeFillPath: EmfPlusRecordType = EmfPlusRecordType(16439i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfPlusRecordTypeTranslateWorldTransform: EmfPlusRecordType = EmfPlusRecordType(16429i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAbortPath: EmfPlusRecordType = EmfPlusRecordType(68i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAlphaBlend: EmfPlusRecordType = EmfPlusRecordType(114i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeAngleArc: EmfPlusRecordType = EmfPlusRecordType(41i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeArc: EmfPlusRecordType = EmfPlusRecordType(45i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeArcTo: EmfPlusRecordType = EmfPlusRecordType(55i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeBeginPath: EmfPlusRecordType = EmfPlusRecordType(59i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeBitBlt: EmfPlusRecordType = EmfPlusRecordType(76i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeChord: EmfPlusRecordType = EmfPlusRecordType(46i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCloseFigure: EmfPlusRecordType = EmfPlusRecordType(61i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeColorCorrectPalette: EmfPlusRecordType = EmfPlusRecordType(111i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeColorMatchToTargetW: EmfPlusRecordType = EmfPlusRecordType(121i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateBrushIndirect: EmfPlusRecordType = EmfPlusRecordType(39i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateColorSpace: EmfPlusRecordType = EmfPlusRecordType(99i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateColorSpaceW: EmfPlusRecordType = EmfPlusRecordType(122i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateDIBPatternBrushPt: EmfPlusRecordType = EmfPlusRecordType(94i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreateMonoBrush: EmfPlusRecordType = EmfPlusRecordType(93i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreatePalette: EmfPlusRecordType = EmfPlusRecordType(49i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeCreatePen: EmfPlusRecordType = EmfPlusRecordType(38i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDeleteColorSpace: EmfPlusRecordType = EmfPlusRecordType(101i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDeleteObject: EmfPlusRecordType = EmfPlusRecordType(40i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeDrawEscape: EmfPlusRecordType = EmfPlusRecordType(105i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEOF: EmfPlusRecordType = EmfPlusRecordType(14i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEllipse: EmfPlusRecordType = EmfPlusRecordType(42i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeEndPath: EmfPlusRecordType = EmfPlusRecordType(60i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExcludeClipRect: EmfPlusRecordType = EmfPlusRecordType(29i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtCreateFontIndirect: EmfPlusRecordType = EmfPlusRecordType(82i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtCreatePen: EmfPlusRecordType = EmfPlusRecordType(95i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtEscape: EmfPlusRecordType = EmfPlusRecordType(106i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtFloodFill: EmfPlusRecordType = EmfPlusRecordType(53i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtSelectClipRgn: EmfPlusRecordType = EmfPlusRecordType(75i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtTextOutA: EmfPlusRecordType = EmfPlusRecordType(83i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeExtTextOutW: EmfPlusRecordType = EmfPlusRecordType(84i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFillPath: EmfPlusRecordType = EmfPlusRecordType(62i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFillRgn: EmfPlusRecordType = EmfPlusRecordType(71i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFlattenPath: EmfPlusRecordType = EmfPlusRecordType(65i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeForceUFIMapping: EmfPlusRecordType = EmfPlusRecordType(109i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeFrameRgn: EmfPlusRecordType = EmfPlusRecordType(72i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGLSBoundedRecord: EmfPlusRecordType = EmfPlusRecordType(103i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGLSRecord: EmfPlusRecordType = EmfPlusRecordType(102i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGdiComment: EmfPlusRecordType = EmfPlusRecordType(70i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeGradientFill: EmfPlusRecordType = EmfPlusRecordType(118i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeHeader: EmfPlusRecordType = EmfPlusRecordType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeIntersectClipRect: EmfPlusRecordType = EmfPlusRecordType(30i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeInvertRgn: EmfPlusRecordType = EmfPlusRecordType(73i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeLineTo: EmfPlusRecordType = EmfPlusRecordType(54i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMaskBlt: EmfPlusRecordType = EmfPlusRecordType(78i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMax: EmfPlusRecordType = EmfPlusRecordType(122i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMin: EmfPlusRecordType = EmfPlusRecordType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeModifyWorldTransform: EmfPlusRecordType = EmfPlusRecordType(36i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeMoveToEx: EmfPlusRecordType = EmfPlusRecordType(27i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeNamedEscape: EmfPlusRecordType = EmfPlusRecordType(110i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeOffsetClipRgn: EmfPlusRecordType = EmfPlusRecordType(26i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePaintRgn: EmfPlusRecordType = EmfPlusRecordType(74i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePie: EmfPlusRecordType = EmfPlusRecordType(47i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePixelFormat: EmfPlusRecordType = EmfPlusRecordType(104i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePlgBlt: EmfPlusRecordType = EmfPlusRecordType(79i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezier: EmfPlusRecordType = EmfPlusRecordType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezier16: EmfPlusRecordType = EmfPlusRecordType(85i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezierTo: EmfPlusRecordType = EmfPlusRecordType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyBezierTo16: EmfPlusRecordType = EmfPlusRecordType(88i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyDraw: EmfPlusRecordType = EmfPlusRecordType(56i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyDraw16: EmfPlusRecordType = EmfPlusRecordType(92i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyLineTo: EmfPlusRecordType = EmfPlusRecordType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolygon: EmfPlusRecordType = EmfPlusRecordType(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolygon16: EmfPlusRecordType = EmfPlusRecordType(91i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolyline: EmfPlusRecordType = EmfPlusRecordType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyPolyline16: EmfPlusRecordType = EmfPlusRecordType(90i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyTextOutA: EmfPlusRecordType = EmfPlusRecordType(96i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyTextOutW: EmfPlusRecordType = EmfPlusRecordType(97i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolygon: EmfPlusRecordType = EmfPlusRecordType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolygon16: EmfPlusRecordType = EmfPlusRecordType(86i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyline: EmfPlusRecordType = EmfPlusRecordType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolyline16: EmfPlusRecordType = EmfPlusRecordType(87i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypePolylineTo16: EmfPlusRecordType = EmfPlusRecordType(89i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRealizePalette: EmfPlusRecordType = EmfPlusRecordType(52i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRectangle: EmfPlusRecordType = EmfPlusRecordType(43i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeReserved_069: EmfPlusRecordType = EmfPlusRecordType(69i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeReserved_117: EmfPlusRecordType = EmfPlusRecordType(117i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeResizePalette: EmfPlusRecordType = EmfPlusRecordType(51i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRestoreDC: EmfPlusRecordType = EmfPlusRecordType(34i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeRoundRect: EmfPlusRecordType = EmfPlusRecordType(44i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSaveDC: EmfPlusRecordType = EmfPlusRecordType(33i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeScaleViewportExtEx: EmfPlusRecordType = EmfPlusRecordType(31i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeScaleWindowExtEx: EmfPlusRecordType = EmfPlusRecordType(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectClipPath: EmfPlusRecordType = EmfPlusRecordType(67i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectObject: EmfPlusRecordType = EmfPlusRecordType(37i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSelectPalette: EmfPlusRecordType = EmfPlusRecordType(48i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetArcDirection: EmfPlusRecordType = EmfPlusRecordType(57i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBkColor: EmfPlusRecordType = EmfPlusRecordType(25i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBkMode: EmfPlusRecordType = EmfPlusRecordType(18i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetBrushOrgEx: EmfPlusRecordType = EmfPlusRecordType(13i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetColorAdjustment: EmfPlusRecordType = EmfPlusRecordType(23i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetColorSpace: EmfPlusRecordType = EmfPlusRecordType(100i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetDIBitsToDevice: EmfPlusRecordType = EmfPlusRecordType(80i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMMode: EmfPlusRecordType = EmfPlusRecordType(98i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMProfileA: EmfPlusRecordType = EmfPlusRecordType(112i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetICMProfileW: EmfPlusRecordType = EmfPlusRecordType(113i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetLayout: EmfPlusRecordType = EmfPlusRecordType(115i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetLinkedUFIs: EmfPlusRecordType = EmfPlusRecordType(119i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMapMode: EmfPlusRecordType = EmfPlusRecordType(17i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMapperFlags: EmfPlusRecordType = EmfPlusRecordType(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMetaRgn: EmfPlusRecordType = EmfPlusRecordType(28i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetMiterLimit: EmfPlusRecordType = EmfPlusRecordType(58i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPaletteEntries: EmfPlusRecordType = EmfPlusRecordType(50i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPixelV: EmfPlusRecordType = EmfPlusRecordType(15i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetPolyFillMode: EmfPlusRecordType = EmfPlusRecordType(19i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetROP2: EmfPlusRecordType = EmfPlusRecordType(20i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetStretchBltMode: EmfPlusRecordType = EmfPlusRecordType(21i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextAlign: EmfPlusRecordType = EmfPlusRecordType(22i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextColor: EmfPlusRecordType = EmfPlusRecordType(24i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetTextJustification: EmfPlusRecordType = EmfPlusRecordType(120i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetViewportExtEx: EmfPlusRecordType = EmfPlusRecordType(11i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetViewportOrgEx: EmfPlusRecordType = EmfPlusRecordType(12i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWindowExtEx: EmfPlusRecordType = EmfPlusRecordType(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWindowOrgEx: EmfPlusRecordType = EmfPlusRecordType(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSetWorldTransform: EmfPlusRecordType = EmfPlusRecordType(35i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeSmallTextOut: EmfPlusRecordType = EmfPlusRecordType(108i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStartDoc: EmfPlusRecordType = EmfPlusRecordType(107i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStretchBlt: EmfPlusRecordType = EmfPlusRecordType(77i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStretchDIBits: EmfPlusRecordType = EmfPlusRecordType(81i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStrokeAndFillPath: EmfPlusRecordType = EmfPlusRecordType(63i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeStrokePath: EmfPlusRecordType = EmfPlusRecordType(64i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeTransparentBlt: EmfPlusRecordType = EmfPlusRecordType(116i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfRecordTypeWidenPath: EmfPlusRecordType = EmfPlusRecordType(66i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsDefault: EmfToWmfBitsFlags = EmfToWmfBitsFlags(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsEmbedEmf: EmfToWmfBitsFlags = EmfToWmfBitsFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsIncludePlaceable: EmfToWmfBitsFlags = EmfToWmfBitsFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfToWmfBitsFlagsNoXORClip: EmfToWmfBitsFlags = EmfToWmfBitsFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfOnly: EmfType = EmfType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfPlusDual: EmfType = EmfType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EmfTypeEmfPlusOnly: EmfType = EmfType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderChrominanceTable: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2e455dc_09b3_4316_8260_676ada32481c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderColorDepth: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x66087055_ad66_4c7c_9a18_38a2310b8337); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderColorSpace: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xae7a62a0_ee2c_49d8_9d07_1ba8a927596e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderCompression: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe09d739d_ccd4_44ee_8eba_3fbf8be4fc58); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderImageItems: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63875e13_1f1d_45ab_9195_a29b6066a650); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderLuminanceTable: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xedb33bce_0266_4a77_b904_27216099e717); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeASCII: EncoderParameterValueType = EncoderParameterValueType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeByte: EncoderParameterValueType = EncoderParameterValueType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeLong: EncoderParameterValueType = EncoderParameterValueType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeLongRange: EncoderParameterValueType = EncoderParameterValueType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypePointer: EncoderParameterValueType = EncoderParameterValueType(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeRational: EncoderParameterValueType = EncoderParameterValueType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeRationalRange: EncoderParameterValueType = EncoderParameterValueType(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeShort: EncoderParameterValueType = EncoderParameterValueType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderParameterValueTypeUndefined: EncoderParameterValueType = EncoderParameterValueType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderQuality: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1d5be4b5_fa4a_452d_9cdd_5db35105e7eb); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderRenderMethod: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6d42c53a_229a_4825_8bb7_5c99e2b9a8b8); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderSaveAsCMYK: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa219bbc9_0a9d_4005_a3ee_3a421b8bb06c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderSaveFlag: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x292266fc_ac40_47bf_8cfc_a85b89a655de); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderScanMethod: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3a4e2661_3109_4e56_8536_42c156e7dcfa); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderTransformation: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8d0eb2d1_a58e_4ea8_aa14_108074b7b6f9); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeCMYK: EncoderValue = EncoderValue(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeGray: EncoderValue = EncoderValue(24i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeRGB: EncoderValue = EncoderValue(25i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueColorTypeYCCK: EncoderValue = EncoderValue(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionCCITT3: EncoderValue = EncoderValue(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionCCITT4: EncoderValue = EncoderValue(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionLZW: EncoderValue = EncoderValue(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionNone: EncoderValue = EncoderValue(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueCompressionRle: EncoderValue = EncoderValue(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFlush: EncoderValue = EncoderValue(20i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionPage: EncoderValue = EncoderValue(23i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionResolution: EncoderValue = EncoderValue(22i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueFrameDimensionTime: EncoderValue = EncoderValue(21i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueLastFrame: EncoderValue = EncoderValue(19i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueMultiFrame: EncoderValue = EncoderValue(18i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueRenderNonProgressive: EncoderValue = EncoderValue(12i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueRenderProgressive: EncoderValue = EncoderValue(11i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueScanMethodInterlaced: EncoderValue = EncoderValue(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueScanMethodNonInterlaced: EncoderValue = EncoderValue(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformFlipHorizontal: EncoderValue = EncoderValue(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformFlipVertical: EncoderValue = EncoderValue(17i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate180: EncoderValue = EncoderValue(14i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate270: EncoderValue = EncoderValue(15i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueTransformRotate90: EncoderValue = EncoderValue(13i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueVersionGif87: EncoderValue = EncoderValue(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderValueVersionGif89: EncoderValue = EncoderValue(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const EncoderVersion: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x24d18c76_814a_41a4_bf53_1c219cccf797); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FileNotFound: Status = Status(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FillModeAlternate: FillMode = FillMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FillModeWinding: FillMode = FillMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlatnessDefault: f32 = 0.25f32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlushIntentionFlush: FlushIntention = FlushIntention(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FlushIntentionSync: FlushIntention = FlushIntention(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontFamilyNotFound: Status = Status(14i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleBold: FontStyle = FontStyle(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleBoldItalic: FontStyle = FontStyle(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleItalic: FontStyle = FontStyle(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleNotFound: Status = Status(15i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleRegular: FontStyle = FontStyle(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleStrikeout: FontStyle = FontStyle(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FontStyleUnderline: FontStyle = FontStyle(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FormatIDImageInformation: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe5836cbe_5eef_4f1d_acde_ae4c43b608ce); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FormatIDJpegAppHeaders: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c4afdcd_6177_43cf_abc7_5f51af39ee85); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionPage: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7462dc86_6180_4c7e_8e3f_ee7333a7a483); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionResolution: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x84236f7b_3bd3_428f_8dab_4ea1439ca315); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const FrameDimensionTime: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6aedbd6d_3fb5_418a_83a6_7f45229dc872); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_EMFPLUSFLAGS_DISPLAY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_EMFPLUS_RECORD_BASE: u32 = 16384u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GDIP_WMF_RECORD_BASE: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GREEN_SHIFT: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusNotInitialized: Status = Status(18i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupDefault: GdiplusStartupParams = GdiplusStartupParams(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupNoSetRound: GdiplusStartupParams = GdiplusStartupParams(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupSetPSValue: GdiplusStartupParams = GdiplusStartupParams(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GdiplusStartupTransparencyMask: GdiplusStartupParams = GdiplusStartupParams(-16777216i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericError: Status = Status(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilyMonospace: GenericFontFamily = GenericFontFamily(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilySansSerif: GenericFontFamily = GenericFontFamily(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const GenericFontFamilySerif: GenericFontFamily = GenericFontFamily(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle05Percent: HatchStyle = HatchStyle(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle10Percent: HatchStyle = HatchStyle(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle20Percent: HatchStyle = HatchStyle(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle25Percent: HatchStyle = HatchStyle(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle30Percent: HatchStyle = HatchStyle(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle40Percent: HatchStyle = HatchStyle(11i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle50Percent: HatchStyle = HatchStyle(12i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle60Percent: HatchStyle = HatchStyle(13i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle70Percent: HatchStyle = HatchStyle(14i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle75Percent: HatchStyle = HatchStyle(15i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle80Percent: HatchStyle = HatchStyle(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyle90Percent: HatchStyle = HatchStyle(17i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleBackwardDiagonal: HatchStyle = HatchStyle(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleCross: HatchStyle = HatchStyle(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkDownwardDiagonal: HatchStyle = HatchStyle(20i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkHorizontal: HatchStyle = HatchStyle(29i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkUpwardDiagonal: HatchStyle = HatchStyle(21i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDarkVertical: HatchStyle = HatchStyle(28i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedDownwardDiagonal: HatchStyle = HatchStyle(30i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedHorizontal: HatchStyle = HatchStyle(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedUpwardDiagonal: HatchStyle = HatchStyle(31i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDashedVertical: HatchStyle = HatchStyle(33i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDiagonalBrick: HatchStyle = HatchStyle(38i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDiagonalCross: HatchStyle = HatchStyle(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDivot: HatchStyle = HatchStyle(42i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDottedDiamond: HatchStyle = HatchStyle(44i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleDottedGrid: HatchStyle = HatchStyle(43i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleForwardDiagonal: HatchStyle = HatchStyle(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleHorizontal: HatchStyle = HatchStyle(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleHorizontalBrick: HatchStyle = HatchStyle(39i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeCheckerBoard: HatchStyle = HatchStyle(50i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeConfetti: HatchStyle = HatchStyle(35i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLargeGrid: HatchStyle = HatchStyle(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightDownwardDiagonal: HatchStyle = HatchStyle(18i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightHorizontal: HatchStyle = HatchStyle(25i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightUpwardDiagonal: HatchStyle = HatchStyle(19i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleLightVertical: HatchStyle = HatchStyle(24i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleMax: HatchStyle = HatchStyle(52i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleMin: HatchStyle = HatchStyle(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleNarrowHorizontal: HatchStyle = HatchStyle(27i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleNarrowVertical: HatchStyle = HatchStyle(26i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleOutlinedDiamond: HatchStyle = HatchStyle(51i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStylePlaid: HatchStyle = HatchStyle(41i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleShingle: HatchStyle = HatchStyle(45i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallCheckerBoard: HatchStyle = HatchStyle(49i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallConfetti: HatchStyle = HatchStyle(34i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSmallGrid: HatchStyle = HatchStyle(48i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSolidDiamond: HatchStyle = HatchStyle(52i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleSphere: HatchStyle = HatchStyle(47i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleTotal: HatchStyle = HatchStyle(53i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleTrellis: HatchStyle = HatchStyle(46i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleVertical: HatchStyle = HatchStyle(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWave: HatchStyle = HatchStyle(37i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWeave: HatchStyle = HatchStyle(40i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWideDownwardDiagonal: HatchStyle = HatchStyle(22i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleWideUpwardDiagonal: HatchStyle = HatchStyle(23i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HatchStyleZigZag: HatchStyle = HatchStyle(36i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatA: HistogramFormat = HistogramFormat(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatARGB: HistogramFormat = HistogramFormat(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatB: HistogramFormat = HistogramFormat(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatG: HistogramFormat = HistogramFormat(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatGray: HistogramFormat = HistogramFormat(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatPARGB: HistogramFormat = HistogramFormat(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatR: HistogramFormat = HistogramFormat(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HistogramFormatRGB: HistogramFormat = HistogramFormat(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixHide: HotkeyPrefix = HotkeyPrefix(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixNone: HotkeyPrefix = HotkeyPrefix(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HotkeyPrefixShow: HotkeyPrefix = HotkeyPrefix(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const HueSaturationLightnessEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b2dd6c3_eb07_4d87_a5f0_7108e26a9c5f); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsBlockingDecode: ImageCodecFlags = ImageCodecFlags(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsBuiltin: ImageCodecFlags = ImageCodecFlags(65536i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsDecoder: ImageCodecFlags = ImageCodecFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsEncoder: ImageCodecFlags = ImageCodecFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSeekableEncode: ImageCodecFlags = ImageCodecFlags(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSupportBitmap: ImageCodecFlags = ImageCodecFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSupportVector: ImageCodecFlags = ImageCodecFlags(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsSystem: ImageCodecFlags = ImageCodecFlags(131072i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageCodecFlagsUser: ImageCodecFlags = ImageCodecFlags(262144i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsCaching: ImageFlags = ImageFlags(131072i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceCMYK: ImageFlags = ImageFlags(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceGRAY: ImageFlags = ImageFlags(64i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceRGB: ImageFlags = ImageFlags(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceYCBCR: ImageFlags = ImageFlags(128i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsColorSpaceYCCK: ImageFlags = ImageFlags(256i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasAlpha: ImageFlags = ImageFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasRealDPI: ImageFlags = ImageFlags(4096i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasRealPixelSize: ImageFlags = ImageFlags(8192i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsHasTranslucent: ImageFlags = ImageFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsNone: ImageFlags = ImageFlags(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsPartiallyScalable: ImageFlags = ImageFlags(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsReadOnly: ImageFlags = ImageFlags(65536i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFlagsScalable: ImageFlags = ImageFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatBMP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cab_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatEMF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cac_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatEXIF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb2_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatGIF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb0_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatHEIF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb6_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatIcon: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb5_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatJPEG: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cae_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatMemoryBMP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3caa_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatPNG: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3caf_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatTIFF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb1_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatUndefined: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3ca9_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatWEBP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cb7_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageFormatWMF: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb96b3cad_0728_11d3_9d7b_0000f81ef32e); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeRead: ImageLockMode = ImageLockMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeUserInputBuf: ImageLockMode = ImageLockMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageLockModeWrite: ImageLockMode = ImageLockMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeBitmap: ImageType = ImageType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeMetafile: ImageType = ImageType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ImageTypeUnknown: ImageType = ImageType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InsufficientBuffer: Status = Status(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeBicubic: InterpolationMode = InterpolationMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeBilinear: InterpolationMode = InterpolationMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeDefault: InterpolationMode = InterpolationMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQuality: InterpolationMode = InterpolationMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQualityBicubic: InterpolationMode = InterpolationMode(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeHighQualityBilinear: InterpolationMode = InterpolationMode(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeInvalid: InterpolationMode = InterpolationMode(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeLowQuality: InterpolationMode = InterpolationMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InterpolationModeNearestNeighbor: InterpolationMode = InterpolationMode(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const InvalidParameter: Status = Status(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterBits: ItemDataPosition = ItemDataPosition(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterHeader: ItemDataPosition = ItemDataPosition(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ItemDataPositionAfterPalette: ItemDataPosition = ItemDataPosition(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LevelsEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99c354ec_2a31_4f3a_8c34_17a803b33a25); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapAnchorMask: LineCap = LineCap(240i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapArrowAnchor: LineCap = LineCap(20i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapCustom: LineCap = LineCap(255i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapDiamondAnchor: LineCap = LineCap(19i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapFlat: LineCap = LineCap(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapNoAnchor: LineCap = LineCap(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapRound: LineCap = LineCap(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapRoundAnchor: LineCap = LineCap(18i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapSquare: LineCap = LineCap(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapSquareAnchor: LineCap = LineCap(17i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineCapTriangle: LineCap = LineCap(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinBevel: LineJoin = LineJoin(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinMiter: LineJoin = LineJoin(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinMiterClipped: LineJoin = LineJoin(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LineJoinRound: LineJoin = LineJoin(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeBackwardDiagonal: LinearGradientMode = LinearGradientMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeForwardDiagonal: LinearGradientMode = LinearGradientMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeHorizontal: LinearGradientMode = LinearGradientMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const LinearGradientModeVertical: LinearGradientMode = LinearGradientMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MatrixOrderAppend: MatrixOrder = MatrixOrder(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MatrixOrderPrepend: MatrixOrder = MatrixOrder(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitDocument: MetafileFrameUnit = MetafileFrameUnit(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitGdi: MetafileFrameUnit = MetafileFrameUnit(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitInch: MetafileFrameUnit = MetafileFrameUnit(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitMillimeter: MetafileFrameUnit = MetafileFrameUnit(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitPixel: MetafileFrameUnit = MetafileFrameUnit(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileFrameUnitPoint: MetafileFrameUnit = MetafileFrameUnit(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmf: MetafileType = MetafileType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmfPlusDual: MetafileType = MetafileType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeEmfPlusOnly: MetafileType = MetafileType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeInvalid: MetafileType = MetafileType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeWmf: MetafileType = MetafileType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const MetafileTypeWmfPlaceable: MetafileType = MetafileType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const NotImplemented: Status = Status(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const NotTrueTypeFont: Status = Status(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectBusy: Status = Status(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeBrush: ObjectType = ObjectType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeCustomLineCap: ObjectType = ObjectType(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeFont: ObjectType = ObjectType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeGraphics: ObjectType = ObjectType(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeImage: ObjectType = ObjectType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeImageAttributes: ObjectType = ObjectType(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeInvalid: ObjectType = ObjectType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeMax: ObjectType = ObjectType(10i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeMin: ObjectType = ObjectType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypePath: ObjectType = ObjectType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypePen: ObjectType = ObjectType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeRegion: ObjectType = ObjectType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ObjectTypeStringFormat: ObjectType = ObjectType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Ok: Status = Status(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const OutOfMemory: Status = Status(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsGrayScale: PaletteFlags = PaletteFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsHalftone: PaletteFlags = PaletteFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteFlagsHasAlpha: PaletteFlags = PaletteFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeCustom: PaletteType = PaletteType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedBW: PaletteType = PaletteType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone125: PaletteType = PaletteType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone216: PaletteType = PaletteType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone252: PaletteType = PaletteType(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone256: PaletteType = PaletteType(9i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone27: PaletteType = PaletteType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone64: PaletteType = PaletteType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeFixedHalftone8: PaletteType = PaletteType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PaletteTypeOptimal: PaletteType = PaletteType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeBezier: PathPointType = PathPointType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeBezier3: PathPointType = PathPointType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeCloseSubpath: PathPointType = PathPointType(128i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeDashMode: PathPointType = PathPointType(16i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeLine: PathPointType = PathPointType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypePathMarker: PathPointType = PathPointType(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypePathTypeMask: PathPointType = PathPointType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PathPointTypeStart: PathPointType = PathPointType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenAlignmentCenter: PenAlignment = PenAlignment(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenAlignmentInset: PenAlignment = PenAlignment(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeHatchFill: PenType = PenType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeLinearGradient: PenType = PenType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypePathGradient: PenType = PenType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeSolidColor: PenType = PenType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeTextureFill: PenType = PenType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PenTypeUnknown: PenType = PenType(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatAlpha: u32 = 262144u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatCanonical: u32 = 2097152u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatDontCare: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatExtended: u32 = 1048576u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatGDI: u32 = 131072u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatIndexed: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatMax: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatPAlpha: u32 = 524288u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelFormatUndefined: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeDefault: PixelOffsetMode = PixelOffsetMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHalf: PixelOffsetMode = PixelOffsetMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHighQuality: PixelOffsetMode = PixelOffsetMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeHighSpeed: PixelOffsetMode = PixelOffsetMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeInvalid: PixelOffsetMode = PixelOffsetMode(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PixelOffsetModeNone: PixelOffsetMode = PixelOffsetMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ProfileNotFound: Status = Status(21i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyNotFound: Status = Status(19i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyNotSupported: Status = Status(20i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagArtist: u32 = 315u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagBitsPerSample: u32 = 258u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCellHeight: u32 = 265u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCellWidth: u32 = 264u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagChrominanceTable: u32 = 20625u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagColorMap: u32 = 320u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagColorTransferFunction: u32 = 20506u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCompression: u32 = 259u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagCopyright: u32 = 33432u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDateTime: u32 = 306u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDocumentName: u32 = 269u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagDotRange: u32 = 336u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagEquipMake: u32 = 271u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagEquipModel: u32 = 272u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifAperture: u32 = 37378u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifBrightness: u32 = 37379u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCfaPattern: u32 = 41730u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifColorSpace: u32 = 40961u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCompBPP: u32 = 37122u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCompConfig: u32 = 37121u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifContrast: u32 = 41992u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifCustomRendered: u32 = 41985u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTDigSS: u32 = 37522u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTDigitized: u32 = 36868u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTOrig: u32 = 36867u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTOrigSS: u32 = 37521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDTSubsec: u32 = 37520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDeviceSettingDesc: u32 = 41995u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifDigitalZoomRatio: u32 = 41988u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureBias: u32 = 37380u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureIndex: u32 = 41493u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureMode: u32 = 41986u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureProg: u32 = 34850u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifExposureTime: u32 = 33434u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFNumber: u32 = 33437u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFPXVer: u32 = 40960u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFileSource: u32 = 41728u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFlash: u32 = 37385u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFlashEnergy: u32 = 41483u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalLength: u32 = 37386u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalLengthIn35mmFilm: u32 = 41989u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalResUnit: u32 = 41488u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalXRes: u32 = 41486u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifFocalYRes: u32 = 41487u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifGainControl: u32 = 41991u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifIFD: u32 = 34665u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifISOSpeed: u32 = 34855u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifInterop: u32 = 40965u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifLightSource: u32 = 37384u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMakerNote: u32 = 37500u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMaxAperture: u32 = 37381u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifMeteringMode: u32 = 37383u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifOECF: u32 = 34856u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifPixXDim: u32 = 40962u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifPixYDim: u32 = 40963u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifRelatedWav: u32 = 40964u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSaturation: u32 = 41993u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSceneCaptureType: u32 = 41990u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSceneType: u32 = 41729u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSensingMethod: u32 = 41495u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSharpness: u32 = 41994u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifShutterSpeed: u32 = 37377u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSpatialFR: u32 = 41484u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSpectralSense: u32 = 34852u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectArea: u32 = 37396u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectDist: u32 = 37382u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectDistanceRange: u32 = 41996u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifSubjectLoc: u32 = 41492u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifUniqueImageID: u32 = 42016u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifUserComment: u32 = 37510u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifVer: u32 = 36864u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExifWhiteBalance: u32 = 41987u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagExtraSamples: u32 = 338u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFillOrder: u32 = 266u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFrameDelay: u32 = 20736u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFreeByteCounts: u32 = 289u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagFreeOffset: u32 = 288u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGamma: u32 = 769u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGlobalPalette: u32 = 20738u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAltitude: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAltitudeRef: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsAreaInformation: u32 = 28u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDate: u32 = 29u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestBear: u32 = 24u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestBearRef: u32 = 23u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestDist: u32 = 26u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestDistRef: u32 = 25u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLat: u32 = 20u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLatRef: u32 = 19u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLong: u32 = 22u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDestLongRef: u32 = 21u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsDifferential: u32 = 30u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsDop: u32 = 11u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsMeasureMode: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsSatellites: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsStatus: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsGpsTime: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsIFD: u32 = 34853u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsImgDir: u32 = 17u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsImgDirRef: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLatitude: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLatitudeRef: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLongitude: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsLongitudeRef: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsMapDatum: u32 = 18u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsProcessingMethod: u32 = 27u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsSpeed: u32 = 13u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsSpeedRef: u32 = 12u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsTrack: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsTrackRef: u32 = 14u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGpsVer: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGrayResponseCurve: u32 = 291u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGrayResponseUnit: u32 = 290u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagGridSize: u32 = 20497u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneDegree: u32 = 20492u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneHints: u32 = 321u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneLPI: u32 = 20490u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneLPIUnit: u32 = 20491u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneMisc: u32 = 20494u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneScreen: u32 = 20495u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHalftoneShape: u32 = 20493u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagHostComputer: u32 = 316u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagICCProfile: u32 = 34675u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagICCProfileDescriptor: u32 = 770u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageDescription: u32 = 270u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageHeight: u32 = 257u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageTitle: u32 = 800u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagImageWidth: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagIndexBackground: u32 = 20739u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagIndexTransparent: u32 = 20740u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagInkNames: u32 = 333u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagInkSet: u32 = 332u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGACTables: u32 = 521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGDCTables: u32 = 520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGInterFormat: u32 = 513u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGInterLength: u32 = 514u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGLosslessPredictors: u32 = 517u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGPointTransforms: u32 = 518u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGProc: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGQTables: u32 = 519u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGQuality: u32 = 20496u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagJPEGRestartInterval: u32 = 515u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagLoopCount: u32 = 20737u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagLuminanceTable: u32 = 20624u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagMaxSampleValue: u32 = 281u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagMinSampleValue: u32 = 280u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagNewSubfileType: u32 = 254u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagNumberOfInks: u32 = 334u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagOrientation: u32 = 274u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPageName: u32 = 285u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPageNumber: u32 = 297u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPaletteHistogram: u32 = 20755u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPhotometricInterp: u32 = 262u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelPerUnitX: u32 = 20753u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelPerUnitY: u32 = 20754u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPixelUnit: u32 = 20752u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPlanarConfig: u32 = 284u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPredictor: u32 = 317u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrimaryChromaticities: u32 = 319u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlags: u32 = 20485u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsBleedWidth: u32 = 20488u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsBleedWidthScale: u32 = 20489u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsCrop: u32 = 20487u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagPrintFlagsVersion: u32 = 20486u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagREFBlackWhite: u32 = 532u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionUnit: u32 = 296u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionXLengthUnit: u32 = 20483u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionXUnit: u32 = 20481u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionYLengthUnit: u32 = 20484u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagResolutionYUnit: u32 = 20482u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagRowsPerStrip: u32 = 278u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSMaxSampleValue: u32 = 341u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSMinSampleValue: u32 = 340u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSRGBRenderingIntent: u32 = 771u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSampleFormat: u32 = 339u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSamplesPerPixel: u32 = 277u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSoftwareUsed: u32 = 305u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagStripBytesCount: u32 = 279u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagStripOffsets: u32 = 273u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagSubfileType: u32 = 255u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagT4Option: u32 = 292u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagT6Option: u32 = 293u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTargetPrinter: u32 = 337u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThreshHolding: u32 = 263u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailArtist: u32 = 20532u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailBitsPerSample: u32 = 20514u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailColorDepth: u32 = 20501u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCompressedSize: u32 = 20505u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCompression: u32 = 20515u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailCopyRight: u32 = 20539u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailData: u32 = 20507u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailDateTime: u32 = 20531u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailEquipMake: u32 = 20518u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailEquipModel: u32 = 20519u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailFormat: u32 = 20498u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailHeight: u32 = 20500u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageDescription: u32 = 20517u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageHeight: u32 = 20513u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailImageWidth: u32 = 20512u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailOrientation: u32 = 20521u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPhotometricInterp: u32 = 20516u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPlanarConfig: u32 = 20527u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPlanes: u32 = 20502u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailPrimaryChromaticities: u32 = 20534u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRawBytes: u32 = 20503u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRefBlackWhite: u32 = 20538u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionUnit: u32 = 20528u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionX: u32 = 20525u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailResolutionY: u32 = 20526u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailRowsPerStrip: u32 = 20523u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSamplesPerPixel: u32 = 20522u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSize: u32 = 20504u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailSoftwareUsed: u32 = 20530u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailStripBytesCount: u32 = 20524u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailStripOffsets: u32 = 20520u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailTransferFunction: u32 = 20529u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailWhitePoint: u32 = 20533u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailWidth: u32 = 20499u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrCoefficients: u32 = 20535u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrPositioning: u32 = 20537u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagThumbnailYCbCrSubsampling: u32 = 20536u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileByteCounts: u32 = 325u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileLength: u32 = 323u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileOffset: u32 = 324u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTileWidth: u32 = 322u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTransferFuncition: u32 = 301u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTransferRange: u32 = 342u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeASCII: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeByte: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeLong: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeRational: u32 = 5u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeSLONG: u32 = 9u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeSRational: u32 = 10u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeShort: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagTypeUndefined: u32 = 7u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagWhitePoint: u32 = 318u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagXPosition: u32 = 286u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagXResolution: u32 = 282u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrCoefficients: u32 = 529u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrPositioning: u32 = 531u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYCbCrSubsampling: u32 = 530u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYPosition: u32 = 287u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const PropertyTagYResolution: u32 = 283u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeDefault: QualityMode = QualityMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeHigh: QualityMode = QualityMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeInvalid: QualityMode = QualityMode(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const QualityModeLow: QualityMode = QualityMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RED_SHIFT: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RedEyeCorrectionEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x74d29d05_69a4_4266_9549_3cc52836b632); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipNone: RotateFlipType = RotateFlipType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipX: RotateFlipType = RotateFlipType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipXY: RotateFlipType = RotateFlipType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate180FlipY: RotateFlipType = RotateFlipType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipNone: RotateFlipType = RotateFlipType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipX: RotateFlipType = RotateFlipType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipXY: RotateFlipType = RotateFlipType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate270FlipY: RotateFlipType = RotateFlipType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipNone: RotateFlipType = RotateFlipType(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipX: RotateFlipType = RotateFlipType(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipXY: RotateFlipType = RotateFlipType(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Rotate90FlipY: RotateFlipType = RotateFlipType(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipNone: RotateFlipType = RotateFlipType(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipX: RotateFlipType = RotateFlipType(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipXY: RotateFlipType = RotateFlipType(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const RotateNoneFlipY: RotateFlipType = RotateFlipType(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SharpenEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x63cbf3ee_c526_402c_8f71_62c540bf5142); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias: SmoothingMode = SmoothingMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias8x4: SmoothingMode = SmoothingMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeAntiAlias8x8: SmoothingMode = SmoothingMode(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeDefault: SmoothingMode = SmoothingMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeHighQuality: SmoothingMode = SmoothingMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeHighSpeed: SmoothingMode = SmoothingMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeInvalid: SmoothingMode = SmoothingMode(-1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const SmoothingModeNone: SmoothingMode = SmoothingMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentCenter: StringAlignment = StringAlignment(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentFar: StringAlignment = StringAlignment(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringAlignmentNear: StringAlignment = StringAlignment(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteNational: StringDigitSubstitute = StringDigitSubstitute(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteNone: StringDigitSubstitute = StringDigitSubstitute(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteTraditional: StringDigitSubstitute = StringDigitSubstitute(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringDigitSubstituteUser: StringDigitSubstitute = StringDigitSubstitute(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsBypassGDI: StringFormatFlags = StringFormatFlags(-2147483648i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDirectionRightToLeft: StringFormatFlags = StringFormatFlags(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDirectionVertical: StringFormatFlags = StringFormatFlags(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsDisplayFormatControl: StringFormatFlags = StringFormatFlags(32i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsLineLimit: StringFormatFlags = StringFormatFlags(8192i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsMeasureTrailingSpaces: StringFormatFlags = StringFormatFlags(2048i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoClip: StringFormatFlags = StringFormatFlags(16384i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoFitBlackBox: StringFormatFlags = StringFormatFlags(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoFontFallback: StringFormatFlags = StringFormatFlags(1024i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringFormatFlagsNoWrap: StringFormatFlags = StringFormatFlags(4096i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingCharacter: StringTrimming = StringTrimming(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisCharacter: StringTrimming = StringTrimming(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisPath: StringTrimming = StringTrimming(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingEllipsisWord: StringTrimming = StringTrimming(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingNone: StringTrimming = StringTrimming(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const StringTrimmingWord: StringTrimming = StringTrimming(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlForceBilinear: GpTestControlEnum = GpTestControlEnum(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlGetBuildNumber: GpTestControlEnum = GpTestControlEnum(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TestControlNoICM: GpTestControlEnum = GpTestControlEnum(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintAntiAlias: TextRenderingHint = TextRenderingHint(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintAntiAliasGridFit: TextRenderingHint = TextRenderingHint(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintClearTypeGridFit: TextRenderingHint = TextRenderingHint(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSingleBitPerPixel: TextRenderingHint = TextRenderingHint(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSingleBitPerPixelGridFit: TextRenderingHint = TextRenderingHint(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TextRenderingHintSystemDefault: TextRenderingHint = TextRenderingHint(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const TintEffectGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1077af00_2848_4441_9489_44ad4c2d7a2c); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitDisplay: Unit = Unit(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitDocument: Unit = Unit(5i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitInch: Unit = Unit(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitMillimeter: Unit = Unit(6i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitPixel: Unit = Unit(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitPoint: Unit = Unit(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnitWorld: Unit = Unit(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnknownImageFormat: Status = Status(13i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const UnsupportedGdiplusVersion: Status = Status(17i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const ValueOverflow: Status = Status(11i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WarpModeBilinear: WarpMode = WarpMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WarpModePerspective: WarpMode = WarpMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const Win32Error: Status = Status(7i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeAbortDoc: EmfPlusRecordType = EmfPlusRecordType(65618i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeAnimatePalette: EmfPlusRecordType = EmfPlusRecordType(66614i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeArc: EmfPlusRecordType = EmfPlusRecordType(67607i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeBitBlt: EmfPlusRecordType = EmfPlusRecordType(67874i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeChord: EmfPlusRecordType = EmfPlusRecordType(67632i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBitmap: EmfPlusRecordType = EmfPlusRecordType(67326i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBitmapIndirect: EmfPlusRecordType = EmfPlusRecordType(66301i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBrush: EmfPlusRecordType = EmfPlusRecordType(65784i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateBrushIndirect: EmfPlusRecordType = EmfPlusRecordType(66300i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateFontIndirect: EmfPlusRecordType = EmfPlusRecordType(66299i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePalette: EmfPlusRecordType = EmfPlusRecordType(65783i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePatternBrush: EmfPlusRecordType = EmfPlusRecordType(66041i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreatePenIndirect: EmfPlusRecordType = EmfPlusRecordType(66298i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeCreateRegion: EmfPlusRecordType = EmfPlusRecordType(67327i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBBitBlt: EmfPlusRecordType = EmfPlusRecordType(67904i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBCreatePatternBrush: EmfPlusRecordType = EmfPlusRecordType(65858i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDIBStretchBlt: EmfPlusRecordType = EmfPlusRecordType(68417i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDeleteObject: EmfPlusRecordType = EmfPlusRecordType(66032i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeDrawText: EmfPlusRecordType = EmfPlusRecordType(67119i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEllipse: EmfPlusRecordType = EmfPlusRecordType(66584i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEndDoc: EmfPlusRecordType = EmfPlusRecordType(65630i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEndPage: EmfPlusRecordType = EmfPlusRecordType(65616i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeEscape: EmfPlusRecordType = EmfPlusRecordType(67110i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExcludeClipRect: EmfPlusRecordType = EmfPlusRecordType(66581i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExtFloodFill: EmfPlusRecordType = EmfPlusRecordType(66888i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeExtTextOut: EmfPlusRecordType = EmfPlusRecordType(68146i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFillRegion: EmfPlusRecordType = EmfPlusRecordType(66088i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFloodFill: EmfPlusRecordType = EmfPlusRecordType(66585i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeFrameRegion: EmfPlusRecordType = EmfPlusRecordType(66601i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeIntersectClipRect: EmfPlusRecordType = EmfPlusRecordType(66582i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeInvertRegion: EmfPlusRecordType = EmfPlusRecordType(65834i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeLineTo: EmfPlusRecordType = EmfPlusRecordType(66067i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeMoveTo: EmfPlusRecordType = EmfPlusRecordType(66068i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetClipRgn: EmfPlusRecordType = EmfPlusRecordType(66080i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetViewportOrg: EmfPlusRecordType = EmfPlusRecordType(66065i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeOffsetWindowOrg: EmfPlusRecordType = EmfPlusRecordType(66063i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePaintRegion: EmfPlusRecordType = EmfPlusRecordType(65835i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePatBlt: EmfPlusRecordType = EmfPlusRecordType(67101i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePie: EmfPlusRecordType = EmfPlusRecordType(67610i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolyPolygon: EmfPlusRecordType = EmfPlusRecordType(66872i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolygon: EmfPlusRecordType = EmfPlusRecordType(66340i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypePolyline: EmfPlusRecordType = EmfPlusRecordType(66341i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRealizePalette: EmfPlusRecordType = EmfPlusRecordType(65589i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRectangle: EmfPlusRecordType = EmfPlusRecordType(66587i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeResetDC: EmfPlusRecordType = EmfPlusRecordType(65868i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeResizePalette: EmfPlusRecordType = EmfPlusRecordType(65849i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRestoreDC: EmfPlusRecordType = EmfPlusRecordType(65831i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeRoundRect: EmfPlusRecordType = EmfPlusRecordType(67100i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSaveDC: EmfPlusRecordType = EmfPlusRecordType(65566i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeScaleViewportExt: EmfPlusRecordType = EmfPlusRecordType(66578i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeScaleWindowExt: EmfPlusRecordType = EmfPlusRecordType(66576i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectClipRegion: EmfPlusRecordType = EmfPlusRecordType(65836i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectObject: EmfPlusRecordType = EmfPlusRecordType(65837i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSelectPalette: EmfPlusRecordType = EmfPlusRecordType(66100i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetBkColor: EmfPlusRecordType = EmfPlusRecordType(66049i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetBkMode: EmfPlusRecordType = EmfPlusRecordType(65794i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetDIBToDev: EmfPlusRecordType = EmfPlusRecordType(68915i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetLayout: EmfPlusRecordType = EmfPlusRecordType(65865i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetMapMode: EmfPlusRecordType = EmfPlusRecordType(65795i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetMapperFlags: EmfPlusRecordType = EmfPlusRecordType(66097i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPalEntries: EmfPlusRecordType = EmfPlusRecordType(65591i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPixel: EmfPlusRecordType = EmfPlusRecordType(66591i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetPolyFillMode: EmfPlusRecordType = EmfPlusRecordType(65798i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetROP2: EmfPlusRecordType = EmfPlusRecordType(65796i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetRelAbs: EmfPlusRecordType = EmfPlusRecordType(65797i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetStretchBltMode: EmfPlusRecordType = EmfPlusRecordType(65799i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextAlign: EmfPlusRecordType = EmfPlusRecordType(65838i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextCharExtra: EmfPlusRecordType = EmfPlusRecordType(65800i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextColor: EmfPlusRecordType = EmfPlusRecordType(66057i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetTextJustification: EmfPlusRecordType = EmfPlusRecordType(66058i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetViewportExt: EmfPlusRecordType = EmfPlusRecordType(66062i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetViewportOrg: EmfPlusRecordType = EmfPlusRecordType(66061i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetWindowExt: EmfPlusRecordType = EmfPlusRecordType(66060i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeSetWindowOrg: EmfPlusRecordType = EmfPlusRecordType(66059i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStartDoc: EmfPlusRecordType = EmfPlusRecordType(65869i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStartPage: EmfPlusRecordType = EmfPlusRecordType(65615i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStretchBlt: EmfPlusRecordType = EmfPlusRecordType(68387i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeStretchDIB: EmfPlusRecordType = EmfPlusRecordType(69443i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WmfRecordTypeTextOut: EmfPlusRecordType = EmfPlusRecordType(66849i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeClamp: WrapMode = WrapMode(4i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTile: WrapMode = WrapMode(0i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipX: WrapMode = WrapMode(1i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipXY: WrapMode = WrapMode(3i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrapModeTileFlipY: WrapMode = WrapMode(2i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub const WrongState: Status = Status(8i32); +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct BrushType(pub i32); +impl ::core::marker::Copy for BrushType {} +impl ::core::clone::Clone for BrushType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for BrushType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for BrushType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for BrushType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("BrushType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ColorAdjustType(pub i32); +impl ::core::marker::Copy for ColorAdjustType {} +impl ::core::clone::Clone for ColorAdjustType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ColorAdjustType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ColorAdjustType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ColorAdjustType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ColorAdjustType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ColorChannelFlags(pub i32); +impl ::core::marker::Copy for ColorChannelFlags {} +impl ::core::clone::Clone for ColorChannelFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ColorChannelFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ColorChannelFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ColorChannelFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ColorChannelFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ColorMatrixFlags(pub i32); +impl ::core::marker::Copy for ColorMatrixFlags {} +impl ::core::clone::Clone for ColorMatrixFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ColorMatrixFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ColorMatrixFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ColorMatrixFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ColorMatrixFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ColorMode(pub i32); +impl ::core::marker::Copy for ColorMode {} +impl ::core::clone::Clone for ColorMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ColorMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ColorMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ColorMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ColorMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CombineMode(pub i32); +impl ::core::marker::Copy for CombineMode {} +impl ::core::clone::Clone for CombineMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CombineMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CombineMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CombineMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CombineMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CompositingMode(pub i32); +impl ::core::marker::Copy for CompositingMode {} +impl ::core::clone::Clone for CompositingMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CompositingMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CompositingMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CompositingMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CompositingMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CompositingQuality(pub i32); +impl ::core::marker::Copy for CompositingQuality {} +impl ::core::clone::Clone for CompositingQuality { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CompositingQuality { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CompositingQuality { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CompositingQuality { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CompositingQuality").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ConvertToEmfPlusFlags(pub i32); +impl ::core::marker::Copy for ConvertToEmfPlusFlags {} +impl ::core::clone::Clone for ConvertToEmfPlusFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ConvertToEmfPlusFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ConvertToEmfPlusFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ConvertToEmfPlusFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ConvertToEmfPlusFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CoordinateSpace(pub i32); +impl ::core::marker::Copy for CoordinateSpace {} +impl ::core::clone::Clone for CoordinateSpace { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CoordinateSpace { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CoordinateSpace { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CoordinateSpace { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CoordinateSpace").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CurveAdjustments(pub i32); +impl ::core::marker::Copy for CurveAdjustments {} +impl ::core::clone::Clone for CurveAdjustments { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CurveAdjustments { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CurveAdjustments { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CurveAdjustments { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CurveAdjustments").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CurveChannel(pub i32); +impl ::core::marker::Copy for CurveChannel {} +impl ::core::clone::Clone for CurveChannel { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CurveChannel { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CurveChannel { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CurveChannel { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CurveChannel").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CustomLineCapType(pub i32); +impl ::core::marker::Copy for CustomLineCapType {} +impl ::core::clone::Clone for CustomLineCapType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for CustomLineCapType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for CustomLineCapType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for CustomLineCapType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CustomLineCapType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DashCap(pub i32); +impl ::core::marker::Copy for DashCap {} +impl ::core::clone::Clone for DashCap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DashCap { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DashCap { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DashCap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DashCap").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DashStyle(pub i32); +impl ::core::marker::Copy for DashStyle {} +impl ::core::clone::Clone for DashStyle { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DashStyle { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DashStyle { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DashStyle { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DashStyle").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DebugEventLevel(pub i32); +impl ::core::marker::Copy for DebugEventLevel {} +impl ::core::clone::Clone for DebugEventLevel { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DebugEventLevel { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DebugEventLevel { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DebugEventLevel { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DebugEventLevel").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DitherType(pub i32); +impl ::core::marker::Copy for DitherType {} +impl ::core::clone::Clone for DitherType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DitherType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DitherType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DitherType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DitherType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DriverStringOptions(pub i32); +impl ::core::marker::Copy for DriverStringOptions {} +impl ::core::clone::Clone for DriverStringOptions { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DriverStringOptions { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DriverStringOptions { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DriverStringOptions { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DriverStringOptions").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct EmfPlusRecordType(pub i32); +impl ::core::marker::Copy for EmfPlusRecordType {} +impl ::core::clone::Clone for EmfPlusRecordType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for EmfPlusRecordType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for EmfPlusRecordType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for EmfPlusRecordType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("EmfPlusRecordType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct EmfToWmfBitsFlags(pub i32); +impl ::core::marker::Copy for EmfToWmfBitsFlags {} +impl ::core::clone::Clone for EmfToWmfBitsFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for EmfToWmfBitsFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for EmfToWmfBitsFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for EmfToWmfBitsFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("EmfToWmfBitsFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct EmfType(pub i32); +impl ::core::marker::Copy for EmfType {} +impl ::core::clone::Clone for EmfType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for EmfType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for EmfType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for EmfType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("EmfType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct EncoderParameterValueType(pub i32); +impl ::core::marker::Copy for EncoderParameterValueType {} +impl ::core::clone::Clone for EncoderParameterValueType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for EncoderParameterValueType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for EncoderParameterValueType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for EncoderParameterValueType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("EncoderParameterValueType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct EncoderValue(pub i32); +impl ::core::marker::Copy for EncoderValue {} +impl ::core::clone::Clone for EncoderValue { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for EncoderValue { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for EncoderValue { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for EncoderValue { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("EncoderValue").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FillMode(pub i32); +impl ::core::marker::Copy for FillMode {} +impl ::core::clone::Clone for FillMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for FillMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for FillMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for FillMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FillMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FlushIntention(pub i32); +impl ::core::marker::Copy for FlushIntention {} +impl ::core::clone::Clone for FlushIntention { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for FlushIntention { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for FlushIntention { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for FlushIntention { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FlushIntention").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FontStyle(pub i32); +impl ::core::marker::Copy for FontStyle {} +impl ::core::clone::Clone for FontStyle { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for FontStyle { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for FontStyle { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for FontStyle { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FontStyle").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GdiplusStartupParams(pub i32); +impl ::core::marker::Copy for GdiplusStartupParams {} +impl ::core::clone::Clone for GdiplusStartupParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GdiplusStartupParams { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GdiplusStartupParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GdiplusStartupParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GdiplusStartupParams").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GenericFontFamily(pub i32); +impl ::core::marker::Copy for GenericFontFamily {} +impl ::core::clone::Clone for GenericFontFamily { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GenericFontFamily { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GenericFontFamily { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GenericFontFamily { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GenericFontFamily").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpTestControlEnum(pub i32); +impl ::core::marker::Copy for GpTestControlEnum {} +impl ::core::clone::Clone for GpTestControlEnum { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GpTestControlEnum { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GpTestControlEnum { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GpTestControlEnum { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpTestControlEnum").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct HatchStyle(pub i32); +impl ::core::marker::Copy for HatchStyle {} +impl ::core::clone::Clone for HatchStyle { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for HatchStyle { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for HatchStyle { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for HatchStyle { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("HatchStyle").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct HistogramFormat(pub i32); +impl ::core::marker::Copy for HistogramFormat {} +impl ::core::clone::Clone for HistogramFormat { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for HistogramFormat { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for HistogramFormat { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for HistogramFormat { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("HistogramFormat").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct HotkeyPrefix(pub i32); +impl ::core::marker::Copy for HotkeyPrefix {} +impl ::core::clone::Clone for HotkeyPrefix { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for HotkeyPrefix { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for HotkeyPrefix { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for HotkeyPrefix { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("HotkeyPrefix").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ImageCodecFlags(pub i32); +impl ::core::marker::Copy for ImageCodecFlags {} +impl ::core::clone::Clone for ImageCodecFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ImageCodecFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ImageCodecFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ImageCodecFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ImageCodecFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ImageFlags(pub i32); +impl ::core::marker::Copy for ImageFlags {} +impl ::core::clone::Clone for ImageFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ImageFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ImageFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ImageFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ImageFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ImageLockMode(pub i32); +impl ::core::marker::Copy for ImageLockMode {} +impl ::core::clone::Clone for ImageLockMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ImageLockMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ImageLockMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ImageLockMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ImageLockMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ImageType(pub i32); +impl ::core::marker::Copy for ImageType {} +impl ::core::clone::Clone for ImageType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ImageType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ImageType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ImageType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ImageType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct InterpolationMode(pub i32); +impl ::core::marker::Copy for InterpolationMode {} +impl ::core::clone::Clone for InterpolationMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for InterpolationMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for InterpolationMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for InterpolationMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("InterpolationMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ItemDataPosition(pub i32); +impl ::core::marker::Copy for ItemDataPosition {} +impl ::core::clone::Clone for ItemDataPosition { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ItemDataPosition { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ItemDataPosition { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ItemDataPosition { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ItemDataPosition").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct LineCap(pub i32); +impl ::core::marker::Copy for LineCap {} +impl ::core::clone::Clone for LineCap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for LineCap { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for LineCap { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for LineCap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("LineCap").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct LineJoin(pub i32); +impl ::core::marker::Copy for LineJoin {} +impl ::core::clone::Clone for LineJoin { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for LineJoin { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for LineJoin { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for LineJoin { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("LineJoin").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct LinearGradientMode(pub i32); +impl ::core::marker::Copy for LinearGradientMode {} +impl ::core::clone::Clone for LinearGradientMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for LinearGradientMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for LinearGradientMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for LinearGradientMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("LinearGradientMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MatrixOrder(pub i32); +impl ::core::marker::Copy for MatrixOrder {} +impl ::core::clone::Clone for MatrixOrder { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for MatrixOrder { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for MatrixOrder { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MatrixOrder { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MatrixOrder").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MetafileFrameUnit(pub i32); +impl ::core::marker::Copy for MetafileFrameUnit {} +impl ::core::clone::Clone for MetafileFrameUnit { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for MetafileFrameUnit { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for MetafileFrameUnit { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MetafileFrameUnit { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MetafileFrameUnit").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct MetafileType(pub i32); +impl ::core::marker::Copy for MetafileType {} +impl ::core::clone::Clone for MetafileType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for MetafileType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for MetafileType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for MetafileType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("MetafileType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ObjectType(pub i32); +impl ::core::marker::Copy for ObjectType {} +impl ::core::clone::Clone for ObjectType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ObjectType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ObjectType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ObjectType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ObjectType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PaletteFlags(pub i32); +impl ::core::marker::Copy for PaletteFlags {} +impl ::core::clone::Clone for PaletteFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PaletteFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PaletteFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PaletteFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PaletteFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PaletteType(pub i32); +impl ::core::marker::Copy for PaletteType {} +impl ::core::clone::Clone for PaletteType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PaletteType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PaletteType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PaletteType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PaletteType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PathPointType(pub i32); +impl ::core::marker::Copy for PathPointType {} +impl ::core::clone::Clone for PathPointType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PathPointType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PathPointType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PathPointType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PathPointType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PenAlignment(pub i32); +impl ::core::marker::Copy for PenAlignment {} +impl ::core::clone::Clone for PenAlignment { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PenAlignment { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PenAlignment { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PenAlignment { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PenAlignment").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PenType(pub i32); +impl ::core::marker::Copy for PenType {} +impl ::core::clone::Clone for PenType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PenType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PenType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PenType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PenType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PixelOffsetMode(pub i32); +impl ::core::marker::Copy for PixelOffsetMode {} +impl ::core::clone::Clone for PixelOffsetMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for PixelOffsetMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for PixelOffsetMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for PixelOffsetMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PixelOffsetMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct QualityMode(pub i32); +impl ::core::marker::Copy for QualityMode {} +impl ::core::clone::Clone for QualityMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for QualityMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for QualityMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for QualityMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("QualityMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct RotateFlipType(pub i32); +impl ::core::marker::Copy for RotateFlipType {} +impl ::core::clone::Clone for RotateFlipType { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for RotateFlipType { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for RotateFlipType { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for RotateFlipType { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("RotateFlipType").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SmoothingMode(pub i32); +impl ::core::marker::Copy for SmoothingMode {} +impl ::core::clone::Clone for SmoothingMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SmoothingMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SmoothingMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SmoothingMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SmoothingMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Status(pub i32); +impl ::core::marker::Copy for Status {} +impl ::core::clone::Clone for Status { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for Status { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for Status { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for Status { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Status").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct StringAlignment(pub i32); +impl ::core::marker::Copy for StringAlignment {} +impl ::core::clone::Clone for StringAlignment { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for StringAlignment { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for StringAlignment { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for StringAlignment { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("StringAlignment").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct StringDigitSubstitute(pub i32); +impl ::core::marker::Copy for StringDigitSubstitute {} +impl ::core::clone::Clone for StringDigitSubstitute { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for StringDigitSubstitute { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for StringDigitSubstitute { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for StringDigitSubstitute { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("StringDigitSubstitute").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct StringFormatFlags(pub i32); +impl ::core::marker::Copy for StringFormatFlags {} +impl ::core::clone::Clone for StringFormatFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for StringFormatFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for StringFormatFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for StringFormatFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("StringFormatFlags").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct StringTrimming(pub i32); +impl ::core::marker::Copy for StringTrimming {} +impl ::core::clone::Clone for StringTrimming { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for StringTrimming { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for StringTrimming { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for StringTrimming { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("StringTrimming").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct TextRenderingHint(pub i32); +impl ::core::marker::Copy for TextRenderingHint {} +impl ::core::clone::Clone for TextRenderingHint { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for TextRenderingHint { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for TextRenderingHint { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for TextRenderingHint { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("TextRenderingHint").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Unit(pub i32); +impl ::core::marker::Copy for Unit {} +impl ::core::clone::Clone for Unit { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for Unit { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for Unit { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for Unit { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Unit").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WarpMode(pub i32); +impl ::core::marker::Copy for WarpMode {} +impl ::core::clone::Clone for WarpMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WarpMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WarpMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WarpMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WarpMode").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WrapMode(pub i32); +impl ::core::marker::Copy for WrapMode {} +impl ::core::clone::Clone for WrapMode { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WrapMode { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WrapMode { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WrapMode { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WrapMode").field(&self.0).finish() + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Bitmap(pub isize); +impl ::core::default::Default for Bitmap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Bitmap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Bitmap {} +impl ::core::fmt::Debug for Bitmap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Bitmap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Bitmap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct BitmapData { + pub Width: u32, + pub Height: u32, + pub Stride: i32, + pub PixelFormat: i32, + pub Scan0: *mut ::core::ffi::c_void, + pub Reserved: usize, +} +impl ::core::marker::Copy for BitmapData {} +impl ::core::clone::Clone for BitmapData { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for BitmapData { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BitmapData").field("Width", &self.Width).field("Height", &self.Height).field("Stride", &self.Stride).field("PixelFormat", &self.PixelFormat).field("Scan0", &self.Scan0).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for BitmapData { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for BitmapData { + fn eq(&self, other: &Self) -> bool { + self.Width == other.Width && self.Height == other.Height && self.Stride == other.Stride && self.PixelFormat == other.PixelFormat && self.Scan0 == other.Scan0 && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for BitmapData {} +impl ::core::default::Default for BitmapData { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Blur { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Blur {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Blur { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for Blur { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Blur").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for Blur { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for Blur { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for Blur {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for Blur { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct BlurParams { + pub radius: f32, + pub expandEdge: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for BlurParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for BlurParams { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for BlurParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BlurParams").field("radius", &self.radius).field("expandEdge", &self.expandEdge).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for BlurParams { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for BlurParams { + fn eq(&self, other: &Self) -> bool { + self.radius == other.radius && self.expandEdge == other.expandEdge + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for BlurParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for BlurParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct BrightnessContrast { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for BrightnessContrast {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for BrightnessContrast { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for BrightnessContrast { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BrightnessContrast").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for BrightnessContrast { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for BrightnessContrast { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for BrightnessContrast {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for BrightnessContrast { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct BrightnessContrastParams { + pub brightnessLevel: i32, + pub contrastLevel: i32, +} +impl ::core::marker::Copy for BrightnessContrastParams {} +impl ::core::clone::Clone for BrightnessContrastParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for BrightnessContrastParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("BrightnessContrastParams").field("brightnessLevel", &self.brightnessLevel).field("contrastLevel", &self.contrastLevel).finish() + } +} +impl ::windows_core::TypeKind for BrightnessContrastParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for BrightnessContrastParams { + fn eq(&self, other: &Self) -> bool { + self.brightnessLevel == other.brightnessLevel && self.contrastLevel == other.contrastLevel + } +} +impl ::core::cmp::Eq for BrightnessContrastParams {} +impl ::core::default::Default for BrightnessContrastParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CGpEffect(pub isize); +impl ::core::default::Default for CGpEffect { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for CGpEffect { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for CGpEffect {} +impl ::core::fmt::Debug for CGpEffect { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CGpEffect").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for CGpEffect { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CachedBitmap(pub isize); +impl ::core::default::Default for CachedBitmap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for CachedBitmap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for CachedBitmap {} +impl ::core::fmt::Debug for CachedBitmap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CachedBitmap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for CachedBitmap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct CharacterRange { + pub First: i32, + pub Length: i32, +} +impl ::core::marker::Copy for CharacterRange {} +impl ::core::clone::Clone for CharacterRange { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for CharacterRange { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("CharacterRange").field("First", &self.First).field("Length", &self.Length).finish() + } +} +impl ::windows_core::TypeKind for CharacterRange { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for CharacterRange { + fn eq(&self, other: &Self) -> bool { + self.First == other.First && self.Length == other.Length + } +} +impl ::core::cmp::Eq for CharacterRange {} +impl ::core::default::Default for CharacterRange { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Color { + pub Argb: u32, +} +impl Color { + pub const AliceBlue: i32 = -984833i32; + pub const AntiqueWhite: i32 = -332841i32; + pub const Aqua: i32 = -16711681i32; + pub const Aquamarine: i32 = -8388652i32; + pub const Azure: i32 = -983041i32; + pub const Beige: i32 = -657956i32; + pub const Bisque: i32 = -6972i32; + pub const Black: i32 = -16777216i32; + pub const BlanchedAlmond: i32 = -5171i32; + pub const Blue: i32 = -16776961i32; + pub const BlueViolet: i32 = -7722014i32; + pub const Brown: i32 = -5952982i32; + pub const BurlyWood: i32 = -2180985i32; + pub const CadetBlue: i32 = -10510688i32; + pub const Chartreuse: i32 = -8388864i32; + pub const Chocolate: i32 = -2987746i32; + pub const Coral: i32 = -32944i32; + pub const CornflowerBlue: i32 = -10185235i32; + pub const Cornsilk: i32 = -1828i32; + pub const Crimson: i32 = -2354116i32; + pub const Cyan: i32 = -16711681i32; + pub const DarkBlue: i32 = -16777077i32; + pub const DarkCyan: i32 = -16741493i32; + pub const DarkGoldenrod: i32 = -4684277i32; + pub const DarkGray: i32 = -5658199i32; + pub const DarkGreen: i32 = -16751616i32; + pub const DarkKhaki: i32 = -4343957i32; + pub const DarkMagenta: i32 = -7667573i32; + pub const DarkOliveGreen: i32 = -11179217i32; + pub const DarkOrange: i32 = -29696i32; + pub const DarkOrchid: i32 = -6737204i32; + pub const DarkRed: i32 = -7667712i32; + pub const DarkSalmon: i32 = -1468806i32; + pub const DarkSeaGreen: i32 = -7357301i32; + pub const DarkSlateBlue: i32 = -12042869i32; + pub const DarkSlateGray: i32 = -13676721i32; + pub const DarkTurquoise: i32 = -16724271i32; + pub const DarkViolet: i32 = -7077677i32; + pub const DeepPink: i32 = -60269i32; + pub const DeepSkyBlue: i32 = -16728065i32; + pub const DimGray: i32 = -9868951i32; + pub const DodgerBlue: i32 = -14774017i32; + pub const Firebrick: i32 = -5103070i32; + pub const FloralWhite: i32 = -1296i32; + pub const ForestGreen: i32 = -14513374i32; + pub const Fuchsia: i32 = -65281i32; + pub const Gainsboro: i32 = -2302756i32; + pub const GhostWhite: i32 = -460545i32; + pub const Gold: i32 = -10496i32; + pub const Goldenrod: i32 = -2448096i32; + pub const Gray: i32 = -8355712i32; + pub const Green: i32 = -16744448i32; + pub const GreenYellow: i32 = -5374161i32; + pub const Honeydew: i32 = -983056i32; + pub const HotPink: i32 = -38476i32; + pub const IndianRed: i32 = -3318692i32; + pub const Indigo: i32 = -11861886i32; + pub const Ivory: i32 = -16i32; + pub const Khaki: i32 = -989556i32; + pub const Lavender: i32 = -1644806i32; + pub const LavenderBlush: i32 = -3851i32; + pub const LawnGreen: i32 = -8586240i32; + pub const LemonChiffon: i32 = -1331i32; + pub const LightBlue: i32 = -5383962i32; + pub const LightCoral: i32 = -1015680i32; + pub const LightCyan: i32 = -2031617i32; + pub const LightGoldenrodYellow: i32 = -329006i32; + pub const LightGray: i32 = -2894893i32; + pub const LightGreen: i32 = -7278960i32; + pub const LightPink: i32 = -18751i32; + pub const LightSalmon: i32 = -24454i32; + pub const LightSeaGreen: i32 = -14634326i32; + pub const LightSkyBlue: i32 = -7876870i32; + pub const LightSlateGray: i32 = -8943463i32; + pub const LightSteelBlue: i32 = -5192482i32; + pub const LightYellow: i32 = -32i32; + pub const Lime: i32 = -16711936i32; + pub const LimeGreen: i32 = -13447886i32; + pub const Linen: i32 = -331546i32; + pub const Magenta: i32 = -65281i32; + pub const Maroon: i32 = -8388608i32; + pub const MediumAquamarine: i32 = -10039894i32; + pub const MediumBlue: i32 = -16777011i32; + pub const MediumOrchid: i32 = -4565549i32; + pub const MediumPurple: i32 = -7114533i32; + pub const MediumSeaGreen: i32 = -12799119i32; + pub const MediumSlateBlue: i32 = -8689426i32; + pub const MediumSpringGreen: i32 = -16713062i32; + pub const MediumTurquoise: i32 = -12004916i32; + pub const MediumVioletRed: i32 = -3730043i32; + pub const MidnightBlue: i32 = -15132304i32; + pub const MintCream: i32 = -655366i32; + pub const MistyRose: i32 = -6943i32; + pub const Moccasin: i32 = -6987i32; + pub const NavajoWhite: i32 = -8531i32; + pub const Navy: i32 = -16777088i32; + pub const OldLace: i32 = -133658i32; + pub const Olive: i32 = -8355840i32; + pub const OliveDrab: i32 = -9728477i32; + pub const Orange: i32 = -23296i32; + pub const OrangeRed: i32 = -47872i32; + pub const Orchid: i32 = -2461482i32; + pub const PaleGoldenrod: i32 = -1120086i32; + pub const PaleGreen: i32 = -6751336i32; + pub const PaleTurquoise: i32 = -5247250i32; + pub const PaleVioletRed: i32 = -2396013i32; + pub const PapayaWhip: i32 = -4139i32; + pub const PeachPuff: i32 = -9543i32; + pub const Peru: i32 = -3308225i32; + pub const Pink: i32 = -16181i32; + pub const Plum: i32 = -2252579i32; + pub const PowderBlue: i32 = -5185306i32; + pub const Purple: i32 = -8388480i32; + pub const Red: i32 = -65536i32; + pub const RosyBrown: i32 = -4419697i32; + pub const RoyalBlue: i32 = -12490271i32; + pub const SaddleBrown: i32 = -7650029i32; + pub const Salmon: i32 = -360334i32; + pub const SandyBrown: i32 = -744352i32; + pub const SeaGreen: i32 = -13726889i32; + pub const SeaShell: i32 = -2578i32; + pub const Sienna: i32 = -6270419i32; + pub const Silver: i32 = -4144960i32; + pub const SkyBlue: i32 = -7876885i32; + pub const SlateBlue: i32 = -9807155i32; + pub const SlateGray: i32 = -9404272i32; + pub const Snow: i32 = -1286i32; + pub const SpringGreen: i32 = -16711809i32; + pub const SteelBlue: i32 = -12156236i32; + pub const Tan: i32 = -2968436i32; + pub const Teal: i32 = -16744320i32; + pub const Thistle: i32 = -2572328i32; + pub const Tomato: i32 = -40121i32; + pub const Transparent: i32 = 16777215i32; + pub const Turquoise: i32 = -12525360i32; + pub const Violet: i32 = -1146130i32; + pub const Wheat: i32 = -663885i32; + pub const White: i32 = -1i32; + pub const WhiteSmoke: i32 = -657931i32; + pub const Yellow: i32 = -256i32; + pub const YellowGreen: i32 = -6632142i32; + pub const AlphaShift: i32 = 24i32; + pub const RedShift: i32 = 16i32; + pub const GreenShift: i32 = 8i32; + pub const BlueShift: i32 = 0i32; + pub const AlphaMask: i32 = -16777216i32; + pub const RedMask: i32 = 16711680i32; + pub const GreenMask: i32 = 65280i32; + pub const BlueMask: i32 = 255i32; +} +impl ::core::marker::Copy for Color {} +impl ::core::clone::Clone for Color { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for Color { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Color").field("Argb", &self.Argb).finish() + } +} +impl ::windows_core::TypeKind for Color { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for Color { + fn eq(&self, other: &Self) -> bool { + self.Argb == other.Argb + } +} +impl ::core::cmp::Eq for Color {} +impl ::core::default::Default for Color { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorBalance { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorBalance {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorBalance { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for ColorBalance { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorBalance").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for ColorBalance { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for ColorBalance { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for ColorBalance {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for ColorBalance { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorBalanceParams { + pub cyanRed: i32, + pub magentaGreen: i32, + pub yellowBlue: i32, +} +impl ::core::marker::Copy for ColorBalanceParams {} +impl ::core::clone::Clone for ColorBalanceParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorBalanceParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorBalanceParams").field("cyanRed", &self.cyanRed).field("magentaGreen", &self.magentaGreen).field("yellowBlue", &self.yellowBlue).finish() + } +} +impl ::windows_core::TypeKind for ColorBalanceParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorBalanceParams { + fn eq(&self, other: &Self) -> bool { + self.cyanRed == other.cyanRed && self.magentaGreen == other.magentaGreen && self.yellowBlue == other.yellowBlue + } +} +impl ::core::cmp::Eq for ColorBalanceParams {} +impl ::core::default::Default for ColorBalanceParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorCurve { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorCurve {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorCurve { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for ColorCurve { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorCurve").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for ColorCurve { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for ColorCurve { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for ColorCurve {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for ColorCurve { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorCurveParams { + pub adjustment: CurveAdjustments, + pub channel: CurveChannel, + pub adjustValue: i32, +} +impl ::core::marker::Copy for ColorCurveParams {} +impl ::core::clone::Clone for ColorCurveParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorCurveParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorCurveParams").field("adjustment", &self.adjustment).field("channel", &self.channel).field("adjustValue", &self.adjustValue).finish() + } +} +impl ::windows_core::TypeKind for ColorCurveParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorCurveParams { + fn eq(&self, other: &Self) -> bool { + self.adjustment == other.adjustment && self.channel == other.channel && self.adjustValue == other.adjustValue + } +} +impl ::core::cmp::Eq for ColorCurveParams {} +impl ::core::default::Default for ColorCurveParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorLUT { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorLUT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorLUT { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for ColorLUT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorLUT").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for ColorLUT { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for ColorLUT { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for ColorLUT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for ColorLUT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorLUTParams { + pub lutB: [u8; 256], + pub lutG: [u8; 256], + pub lutR: [u8; 256], + pub lutA: [u8; 256], +} +impl ::core::marker::Copy for ColorLUTParams {} +impl ::core::clone::Clone for ColorLUTParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorLUTParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorLUTParams").field("lutB", &self.lutB).field("lutG", &self.lutG).field("lutR", &self.lutR).field("lutA", &self.lutA).finish() + } +} +impl ::windows_core::TypeKind for ColorLUTParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorLUTParams { + fn eq(&self, other: &Self) -> bool { + self.lutB == other.lutB && self.lutG == other.lutG && self.lutR == other.lutR && self.lutA == other.lutA + } +} +impl ::core::cmp::Eq for ColorLUTParams {} +impl ::core::default::Default for ColorLUTParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorMap { + pub oldColor: Color, + pub newColor: Color, +} +impl ::core::marker::Copy for ColorMap {} +impl ::core::clone::Clone for ColorMap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorMap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorMap").field("oldColor", &self.oldColor).field("newColor", &self.newColor).finish() + } +} +impl ::windows_core::TypeKind for ColorMap { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorMap { + fn eq(&self, other: &Self) -> bool { + self.oldColor == other.oldColor && self.newColor == other.newColor + } +} +impl ::core::cmp::Eq for ColorMap {} +impl ::core::default::Default for ColorMap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorMatrix { + pub m: [f32; 25], +} +impl ::core::marker::Copy for ColorMatrix {} +impl ::core::clone::Clone for ColorMatrix { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorMatrix { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorMatrix").field("m", &self.m).finish() + } +} +impl ::windows_core::TypeKind for ColorMatrix { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorMatrix { + fn eq(&self, other: &Self) -> bool { + self.m == other.m + } +} +impl ::core::cmp::Eq for ColorMatrix {} +impl ::core::default::Default for ColorMatrix { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ColorMatrixEffect { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ColorMatrixEffect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ColorMatrixEffect { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for ColorMatrixEffect { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorMatrixEffect").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for ColorMatrixEffect { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for ColorMatrixEffect { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for ColorMatrixEffect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for ColorMatrixEffect { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ColorPalette { + pub Flags: u32, + pub Count: u32, + pub Entries: [u32; 1], +} +impl ::core::marker::Copy for ColorPalette {} +impl ::core::clone::Clone for ColorPalette { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ColorPalette { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ColorPalette").field("Flags", &self.Flags).field("Count", &self.Count).field("Entries", &self.Entries).finish() + } +} +impl ::windows_core::TypeKind for ColorPalette { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ColorPalette { + fn eq(&self, other: &Self) -> bool { + self.Flags == other.Flags && self.Count == other.Count && self.Entries == other.Entries + } +} +impl ::core::cmp::Eq for ColorPalette {} +impl ::core::default::Default for ColorPalette { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct CustomLineCap(pub isize); +impl ::core::default::Default for CustomLineCap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for CustomLineCap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for CustomLineCap {} +impl ::core::fmt::Debug for CustomLineCap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("CustomLineCap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for CustomLineCap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct ENHMETAHEADER3 { + pub iType: u32, + pub nSize: u32, + pub rclBounds: super::super::Foundation::RECTL, + pub rclFrame: super::super::Foundation::RECTL, + pub dSignature: u32, + pub nVersion: u32, + pub nBytes: u32, + pub nRecords: u32, + pub nHandles: u16, + pub sReserved: u16, + pub nDescription: u32, + pub offDescription: u32, + pub nPalEntries: u32, + pub szlDevice: super::super::Foundation::SIZE, + pub szlMillimeters: super::super::Foundation::SIZE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for ENHMETAHEADER3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for ENHMETAHEADER3 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for ENHMETAHEADER3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ENHMETAHEADER3") + .field("iType", &self.iType) + .field("nSize", &self.nSize) + .field("rclBounds", &self.rclBounds) + .field("rclFrame", &self.rclFrame) + .field("dSignature", &self.dSignature) + .field("nVersion", &self.nVersion) + .field("nBytes", &self.nBytes) + .field("nRecords", &self.nRecords) + .field("nHandles", &self.nHandles) + .field("sReserved", &self.sReserved) + .field("nDescription", &self.nDescription) + .field("offDescription", &self.offDescription) + .field("nPalEntries", &self.nPalEntries) + .field("szlDevice", &self.szlDevice) + .field("szlMillimeters", &self.szlMillimeters) + .finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for ENHMETAHEADER3 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for ENHMETAHEADER3 { + fn eq(&self, other: &Self) -> bool { + self.iType == other.iType && self.nSize == other.nSize && self.rclBounds == other.rclBounds && self.rclFrame == other.rclFrame && self.dSignature == other.dSignature && self.nVersion == other.nVersion && self.nBytes == other.nBytes && self.nRecords == other.nRecords && self.nHandles == other.nHandles && self.sReserved == other.sReserved && self.nDescription == other.nDescription && self.offDescription == other.offDescription && self.nPalEntries == other.nPalEntries && self.szlDevice == other.szlDevice && self.szlMillimeters == other.szlMillimeters + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for ENHMETAHEADER3 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for ENHMETAHEADER3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Effect { + pub lpVtbl: *mut *mut ::core::ffi::c_void, + pub nativeEffect: *mut CGpEffect, + pub auxDataSize: i32, + pub auxData: *mut ::core::ffi::c_void, + pub useAuxData: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Effect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Effect { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for Effect { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Effect").field("lpVtbl", &self.lpVtbl).field("nativeEffect", &self.nativeEffect).field("auxDataSize", &self.auxDataSize).field("auxData", &self.auxData).field("useAuxData", &self.useAuxData).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for Effect { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for Effect { + fn eq(&self, other: &Self) -> bool { + self.lpVtbl == other.lpVtbl && self.nativeEffect == other.nativeEffect && self.auxDataSize == other.auxDataSize && self.auxData == other.auxData && self.useAuxData == other.useAuxData + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for Effect {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for Effect { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct EncoderParameter { + pub Guid: ::windows_core::GUID, + pub NumberOfValues: u32, + pub Type: u32, + pub Value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for EncoderParameter {} +impl ::core::clone::Clone for EncoderParameter { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for EncoderParameter { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("EncoderParameter").field("Guid", &self.Guid).field("NumberOfValues", &self.NumberOfValues).field("Type", &self.Type).field("Value", &self.Value).finish() + } +} +impl ::windows_core::TypeKind for EncoderParameter { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for EncoderParameter { + fn eq(&self, other: &Self) -> bool { + self.Guid == other.Guid && self.NumberOfValues == other.NumberOfValues && self.Type == other.Type && self.Value == other.Value + } +} +impl ::core::cmp::Eq for EncoderParameter {} +impl ::core::default::Default for EncoderParameter { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct EncoderParameters { + pub Count: u32, + pub Parameter: [EncoderParameter; 1], +} +impl ::core::marker::Copy for EncoderParameters {} +impl ::core::clone::Clone for EncoderParameters { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for EncoderParameters { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("EncoderParameters").field("Count", &self.Count).field("Parameter", &self.Parameter).finish() + } +} +impl ::windows_core::TypeKind for EncoderParameters { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for EncoderParameters { + fn eq(&self, other: &Self) -> bool { + self.Count == other.Count && self.Parameter == other.Parameter + } +} +impl ::core::cmp::Eq for EncoderParameters {} +impl ::core::default::Default for EncoderParameters { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Font(pub isize); +impl ::core::default::Default for Font { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Font { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Font {} +impl ::core::fmt::Debug for Font { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Font").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Font { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FontCollection(pub isize); +impl ::core::default::Default for FontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for FontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for FontCollection {} +impl ::core::fmt::Debug for FontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for FontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FontFamily(pub isize); +impl ::core::default::Default for FontFamily { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for FontFamily { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for FontFamily {} +impl ::core::fmt::Debug for FontFamily { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FontFamily").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for FontFamily { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GdiplusStartupInput { + pub GdiplusVersion: u32, + pub DebugEventCallback: isize, + pub SuppressBackgroundThread: super::super::Foundation::BOOL, + pub SuppressExternalCodecs: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GdiplusStartupInput {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GdiplusStartupInput { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for GdiplusStartupInput { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("GdiplusStartupInput").field("GdiplusVersion", &self.GdiplusVersion).field("DebugEventCallback", &self.DebugEventCallback).field("SuppressBackgroundThread", &self.SuppressBackgroundThread).field("SuppressExternalCodecs", &self.SuppressExternalCodecs).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for GdiplusStartupInput { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for GdiplusStartupInput { + fn eq(&self, other: &Self) -> bool { + self.GdiplusVersion == other.GdiplusVersion && self.DebugEventCallback == other.DebugEventCallback && self.SuppressBackgroundThread == other.SuppressBackgroundThread && self.SuppressExternalCodecs == other.SuppressExternalCodecs + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for GdiplusStartupInput {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for GdiplusStartupInput { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GdiplusStartupInputEx { + pub Base: GdiplusStartupInput, + pub StartupParameters: i32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GdiplusStartupInputEx {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GdiplusStartupInputEx { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for GdiplusStartupInputEx { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("GdiplusStartupInputEx").field("Base", &self.Base).field("StartupParameters", &self.StartupParameters).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for GdiplusStartupInputEx { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for GdiplusStartupInputEx { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base && self.StartupParameters == other.StartupParameters + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for GdiplusStartupInputEx {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for GdiplusStartupInputEx { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct GdiplusStartupOutput { + pub NotificationHook: isize, + pub NotificationUnhook: isize, +} +impl ::core::marker::Copy for GdiplusStartupOutput {} +impl ::core::clone::Clone for GdiplusStartupOutput { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for GdiplusStartupOutput { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("GdiplusStartupOutput").field("NotificationHook", &self.NotificationHook).field("NotificationUnhook", &self.NotificationUnhook).finish() + } +} +impl ::windows_core::TypeKind for GdiplusStartupOutput { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for GdiplusStartupOutput { + fn eq(&self, other: &Self) -> bool { + self.NotificationHook == other.NotificationHook && self.NotificationUnhook == other.NotificationUnhook + } +} +impl ::core::cmp::Eq for GdiplusStartupOutput {} +impl ::core::default::Default for GdiplusStartupOutput { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpAdjustableArrowCap(pub isize); +impl ::core::default::Default for GpAdjustableArrowCap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpAdjustableArrowCap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpAdjustableArrowCap {} +impl ::core::fmt::Debug for GpAdjustableArrowCap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpAdjustableArrowCap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpAdjustableArrowCap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpBitmap(pub isize); +impl ::core::default::Default for GpBitmap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpBitmap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpBitmap {} +impl ::core::fmt::Debug for GpBitmap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpBitmap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpBitmap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpBrush(pub isize); +impl ::core::default::Default for GpBrush { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpBrush { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpBrush {} +impl ::core::fmt::Debug for GpBrush { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpBrush").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpBrush { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpCachedBitmap(pub isize); +impl ::core::default::Default for GpCachedBitmap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpCachedBitmap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpCachedBitmap {} +impl ::core::fmt::Debug for GpCachedBitmap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpCachedBitmap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpCachedBitmap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpCustomLineCap(pub isize); +impl ::core::default::Default for GpCustomLineCap { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpCustomLineCap { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpCustomLineCap {} +impl ::core::fmt::Debug for GpCustomLineCap { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpCustomLineCap").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpCustomLineCap { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpFont(pub isize); +impl ::core::default::Default for GpFont { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpFont { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpFont {} +impl ::core::fmt::Debug for GpFont { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpFont").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpFont { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpFontCollection(pub isize); +impl ::core::default::Default for GpFontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpFontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpFontCollection {} +impl ::core::fmt::Debug for GpFontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpFontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpFontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpFontFamily(pub isize); +impl ::core::default::Default for GpFontFamily { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpFontFamily { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpFontFamily {} +impl ::core::fmt::Debug for GpFontFamily { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpFontFamily").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpFontFamily { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpGraphics(pub isize); +impl ::core::default::Default for GpGraphics { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpGraphics { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpGraphics {} +impl ::core::fmt::Debug for GpGraphics { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpGraphics").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpGraphics { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpHatch(pub isize); +impl ::core::default::Default for GpHatch { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpHatch { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpHatch {} +impl ::core::fmt::Debug for GpHatch { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpHatch").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpHatch { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpImage(pub isize); +impl ::core::default::Default for GpImage { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpImage { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpImage {} +impl ::core::fmt::Debug for GpImage { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpImage").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpImage { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpImageAttributes(pub isize); +impl ::core::default::Default for GpImageAttributes { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpImageAttributes { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpImageAttributes {} +impl ::core::fmt::Debug for GpImageAttributes { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpImageAttributes").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpImageAttributes { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpInstalledFontCollection(pub isize); +impl ::core::default::Default for GpInstalledFontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpInstalledFontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpInstalledFontCollection {} +impl ::core::fmt::Debug for GpInstalledFontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpInstalledFontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpInstalledFontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpLineGradient(pub isize); +impl ::core::default::Default for GpLineGradient { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpLineGradient { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpLineGradient {} +impl ::core::fmt::Debug for GpLineGradient { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpLineGradient").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpLineGradient { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpMetafile(pub isize); +impl ::core::default::Default for GpMetafile { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpMetafile { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpMetafile {} +impl ::core::fmt::Debug for GpMetafile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpMetafile").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpMetafile { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpPath(pub isize); +impl ::core::default::Default for GpPath { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpPath { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpPath {} +impl ::core::fmt::Debug for GpPath { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpPath").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpPath { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpPathGradient(pub isize); +impl ::core::default::Default for GpPathGradient { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpPathGradient { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpPathGradient {} +impl ::core::fmt::Debug for GpPathGradient { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpPathGradient").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpPathGradient { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpPathIterator(pub isize); +impl ::core::default::Default for GpPathIterator { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpPathIterator { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpPathIterator {} +impl ::core::fmt::Debug for GpPathIterator { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpPathIterator").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpPathIterator { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpPen(pub isize); +impl ::core::default::Default for GpPen { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpPen { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpPen {} +impl ::core::fmt::Debug for GpPen { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpPen").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpPen { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpPrivateFontCollection(pub isize); +impl ::core::default::Default for GpPrivateFontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpPrivateFontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpPrivateFontCollection {} +impl ::core::fmt::Debug for GpPrivateFontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpPrivateFontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpPrivateFontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpRegion(pub isize); +impl ::core::default::Default for GpRegion { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpRegion { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpRegion {} +impl ::core::fmt::Debug for GpRegion { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpRegion").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpRegion { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpSolidFill(pub isize); +impl ::core::default::Default for GpSolidFill { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpSolidFill { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpSolidFill {} +impl ::core::fmt::Debug for GpSolidFill { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpSolidFill").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpSolidFill { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpStringFormat(pub isize); +impl ::core::default::Default for GpStringFormat { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpStringFormat { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpStringFormat {} +impl ::core::fmt::Debug for GpStringFormat { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpStringFormat").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpStringFormat { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GpTexture(pub isize); +impl ::core::default::Default for GpTexture { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for GpTexture { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for GpTexture {} +impl ::core::fmt::Debug for GpTexture { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GpTexture").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for GpTexture { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct HueSaturationLightness { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for HueSaturationLightness {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for HueSaturationLightness { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for HueSaturationLightness { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("HueSaturationLightness").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for HueSaturationLightness { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for HueSaturationLightness { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for HueSaturationLightness {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for HueSaturationLightness { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct HueSaturationLightnessParams { + pub hueLevel: i32, + pub saturationLevel: i32, + pub lightnessLevel: i32, +} +impl ::core::marker::Copy for HueSaturationLightnessParams {} +impl ::core::clone::Clone for HueSaturationLightnessParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for HueSaturationLightnessParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("HueSaturationLightnessParams").field("hueLevel", &self.hueLevel).field("saturationLevel", &self.saturationLevel).field("lightnessLevel", &self.lightnessLevel).finish() + } +} +impl ::windows_core::TypeKind for HueSaturationLightnessParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for HueSaturationLightnessParams { + fn eq(&self, other: &Self) -> bool { + self.hueLevel == other.hueLevel && self.saturationLevel == other.saturationLevel && self.lightnessLevel == other.lightnessLevel + } +} +impl ::core::cmp::Eq for HueSaturationLightnessParams {} +impl ::core::default::Default for HueSaturationLightnessParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Image(pub isize); +impl ::core::default::Default for Image { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Image { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Image {} +impl ::core::fmt::Debug for Image { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Image").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Image { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ImageCodecInfo { + pub Clsid: ::windows_core::GUID, + pub FormatID: ::windows_core::GUID, + pub CodecName: ::windows_core::PCWSTR, + pub DllName: ::windows_core::PCWSTR, + pub FormatDescription: ::windows_core::PCWSTR, + pub FilenameExtension: ::windows_core::PCWSTR, + pub MimeType: ::windows_core::PCWSTR, + pub Flags: u32, + pub Version: u32, + pub SigCount: u32, + pub SigSize: u32, + pub SigPattern: *const u8, + pub SigMask: *const u8, +} +impl ::core::marker::Copy for ImageCodecInfo {} +impl ::core::clone::Clone for ImageCodecInfo { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ImageCodecInfo { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ImageCodecInfo") + .field("Clsid", &self.Clsid) + .field("FormatID", &self.FormatID) + .field("CodecName", &self.CodecName) + .field("DllName", &self.DllName) + .field("FormatDescription", &self.FormatDescription) + .field("FilenameExtension", &self.FilenameExtension) + .field("MimeType", &self.MimeType) + .field("Flags", &self.Flags) + .field("Version", &self.Version) + .field("SigCount", &self.SigCount) + .field("SigSize", &self.SigSize) + .field("SigPattern", &self.SigPattern) + .field("SigMask", &self.SigMask) + .finish() + } +} +impl ::windows_core::TypeKind for ImageCodecInfo { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ImageCodecInfo { + fn eq(&self, other: &Self) -> bool { + self.Clsid == other.Clsid && self.FormatID == other.FormatID && self.CodecName == other.CodecName && self.DllName == other.DllName && self.FormatDescription == other.FormatDescription && self.FilenameExtension == other.FilenameExtension && self.MimeType == other.MimeType && self.Flags == other.Flags && self.Version == other.Version && self.SigCount == other.SigCount && self.SigSize == other.SigSize && self.SigPattern == other.SigPattern && self.SigMask == other.SigMask + } +} +impl ::core::cmp::Eq for ImageCodecInfo {} +impl ::core::default::Default for ImageCodecInfo { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct ImageItemData { + pub Size: u32, + pub Position: u32, + pub Desc: *mut ::core::ffi::c_void, + pub DescSize: u32, + pub Data: *mut ::core::ffi::c_void, + pub DataSize: u32, + pub Cookie: u32, +} +impl ::core::marker::Copy for ImageItemData {} +impl ::core::clone::Clone for ImageItemData { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for ImageItemData { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("ImageItemData").field("Size", &self.Size).field("Position", &self.Position).field("Desc", &self.Desc).field("DescSize", &self.DescSize).field("Data", &self.Data).field("DataSize", &self.DataSize).field("Cookie", &self.Cookie).finish() + } +} +impl ::windows_core::TypeKind for ImageItemData { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for ImageItemData { + fn eq(&self, other: &Self) -> bool { + self.Size == other.Size && self.Position == other.Position && self.Desc == other.Desc && self.DescSize == other.DescSize && self.Data == other.Data && self.DataSize == other.DataSize && self.Cookie == other.Cookie + } +} +impl ::core::cmp::Eq for ImageItemData {} +impl ::core::default::Default for ImageItemData { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct InstalledFontCollection(pub isize); +impl ::core::default::Default for InstalledFontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for InstalledFontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for InstalledFontCollection {} +impl ::core::fmt::Debug for InstalledFontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("InstalledFontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for InstalledFontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Levels { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Levels {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Levels { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for Levels { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Levels").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for Levels { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for Levels { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for Levels {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for Levels { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct LevelsParams { + pub highlight: i32, + pub midtone: i32, + pub shadow: i32, +} +impl ::core::marker::Copy for LevelsParams {} +impl ::core::clone::Clone for LevelsParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for LevelsParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("LevelsParams").field("highlight", &self.highlight).field("midtone", &self.midtone).field("shadow", &self.shadow).finish() + } +} +impl ::windows_core::TypeKind for LevelsParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for LevelsParams { + fn eq(&self, other: &Self) -> bool { + self.highlight == other.highlight && self.midtone == other.midtone && self.shadow == other.shadow + } +} +impl ::core::cmp::Eq for LevelsParams {} +impl ::core::default::Default for LevelsParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Matrix(pub isize); +impl ::core::default::Default for Matrix { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Matrix { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Matrix {} +impl ::core::fmt::Debug for Matrix { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Matrix").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Matrix { + type TypeKind = ::windows_core::CopyType; +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Metafile(pub isize); +impl ::core::default::Default for Metafile { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Metafile { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Metafile {} +impl ::core::fmt::Debug for Metafile { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Metafile").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Metafile { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub struct MetafileHeader { + pub Type: MetafileType, + pub Size: u32, + pub Version: u32, + pub EmfPlusFlags: u32, + pub DpiX: f32, + pub DpiY: f32, + pub X: i32, + pub Y: i32, + pub Width: i32, + pub Height: i32, + pub Anonymous: MetafileHeader_0, + pub EmfPlusHeaderSize: i32, + pub LogicalDpiX: i32, + pub LogicalDpiY: i32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for MetafileHeader {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for MetafileHeader { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::windows_core::TypeKind for MetafileHeader { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::default::Default for MetafileHeader { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +pub union MetafileHeader_0 { + pub WmfHeader: super::Gdi::METAHEADER, + pub EmfHeader: ENHMETAHEADER3, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::marker::Copy for MetafileHeader_0 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::clone::Clone for MetafileHeader_0 { + fn clone(&self) -> Self { + *self + } +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::windows_core::TypeKind for MetafileHeader_0 { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +impl ::core::default::Default for MetafileHeader_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PWMFRect16 { + pub Left: i16, + pub Top: i16, + pub Right: i16, + pub Bottom: i16, +} +impl ::core::marker::Copy for PWMFRect16 {} +impl ::core::clone::Clone for PWMFRect16 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for PWMFRect16 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("PWMFRect16").field("Left", &self.Left).field("Top", &self.Top).field("Right", &self.Right).field("Bottom", &self.Bottom).finish() + } +} +impl ::windows_core::TypeKind for PWMFRect16 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for PWMFRect16 { + fn eq(&self, other: &Self) -> bool { + self.Left == other.Left && self.Top == other.Top && self.Right == other.Right && self.Bottom == other.Bottom + } +} +impl ::core::cmp::Eq for PWMFRect16 {} +impl ::core::default::Default for PWMFRect16 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PathData(pub isize); +impl ::core::default::Default for PathData { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for PathData { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for PathData {} +impl ::core::fmt::Debug for PathData { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PathData").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for PathData { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Point { + pub X: i32, + pub Y: i32, +} +impl ::core::marker::Copy for Point {} +impl ::core::clone::Clone for Point { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for Point { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Point").field("X", &self.X).field("Y", &self.Y).finish() + } +} +impl ::windows_core::TypeKind for Point { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for Point { + fn eq(&self, other: &Self) -> bool { + self.X == other.X && self.Y == other.Y + } +} +impl ::core::cmp::Eq for Point {} +impl ::core::default::Default for Point { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PointF { + pub X: f32, + pub Y: f32, +} +impl ::core::marker::Copy for PointF {} +impl ::core::clone::Clone for PointF { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for PointF { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("PointF").field("X", &self.X).field("Y", &self.Y).finish() + } +} +impl ::windows_core::TypeKind for PointF { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for PointF { + fn eq(&self, other: &Self) -> bool { + self.X == other.X && self.Y == other.Y + } +} +impl ::core::cmp::Eq for PointF {} +impl ::core::default::Default for PointF { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct PrivateFontCollection(pub isize); +impl ::core::default::Default for PrivateFontCollection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for PrivateFontCollection { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for PrivateFontCollection {} +impl ::core::fmt::Debug for PrivateFontCollection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("PrivateFontCollection").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for PrivateFontCollection { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct PropertyItem { + pub id: u32, + pub length: u32, + pub r#type: u16, + pub value: *mut ::core::ffi::c_void, +} +impl ::core::marker::Copy for PropertyItem {} +impl ::core::clone::Clone for PropertyItem { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for PropertyItem { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("PropertyItem").field("id", &self.id).field("length", &self.length).field("type", &self.r#type).field("value", &self.value).finish() + } +} +impl ::windows_core::TypeKind for PropertyItem { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for PropertyItem { + fn eq(&self, other: &Self) -> bool { + self.id == other.id && self.length == other.length && self.r#type == other.r#type && self.value == other.value + } +} +impl ::core::cmp::Eq for PropertyItem {} +impl ::core::default::Default for PropertyItem { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Rect { + pub X: i32, + pub Y: i32, + pub Width: i32, + pub Height: i32, +} +impl ::core::marker::Copy for Rect {} +impl ::core::clone::Clone for Rect { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for Rect { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Rect").field("X", &self.X).field("Y", &self.Y).field("Width", &self.Width).field("Height", &self.Height).finish() + } +} +impl ::windows_core::TypeKind for Rect { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for Rect { + fn eq(&self, other: &Self) -> bool { + self.X == other.X && self.Y == other.Y && self.Width == other.Width && self.Height == other.Height + } +} +impl ::core::cmp::Eq for Rect {} +impl ::core::default::Default for Rect { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct RectF { + pub X: f32, + pub Y: f32, + pub Width: f32, + pub Height: f32, +} +impl ::core::marker::Copy for RectF {} +impl ::core::clone::Clone for RectF { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for RectF { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("RectF").field("X", &self.X).field("Y", &self.Y).field("Width", &self.Width).field("Height", &self.Height).finish() + } +} +impl ::windows_core::TypeKind for RectF { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for RectF { + fn eq(&self, other: &Self) -> bool { + self.X == other.X && self.Y == other.Y && self.Width == other.Width && self.Height == other.Height + } +} +impl ::core::cmp::Eq for RectF {} +impl ::core::default::Default for RectF { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct RedEyeCorrection { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RedEyeCorrection {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RedEyeCorrection { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for RedEyeCorrection { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("RedEyeCorrection").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for RedEyeCorrection { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for RedEyeCorrection { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for RedEyeCorrection {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for RedEyeCorrection { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct RedEyeCorrectionParams { + pub numberOfAreas: u32, + pub areas: *mut super::super::Foundation::RECT, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for RedEyeCorrectionParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for RedEyeCorrectionParams { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for RedEyeCorrectionParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("RedEyeCorrectionParams").field("numberOfAreas", &self.numberOfAreas).field("areas", &self.areas).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for RedEyeCorrectionParams { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for RedEyeCorrectionParams { + fn eq(&self, other: &Self) -> bool { + self.numberOfAreas == other.numberOfAreas && self.areas == other.areas + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for RedEyeCorrectionParams {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for RedEyeCorrectionParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct Region(pub isize); +impl ::core::default::Default for Region { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +impl ::core::clone::Clone for Region { + fn clone(&self) -> Self { + *self + } +} +impl ::core::marker::Copy for Region {} +impl ::core::fmt::Debug for Region { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("Region").field(&self.0).finish() + } +} +impl ::windows_core::TypeKind for Region { + type TypeKind = ::windows_core::CopyType; +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Sharpen { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Sharpen {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Sharpen { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for Sharpen { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Sharpen").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for Sharpen { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for Sharpen { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for Sharpen {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for Sharpen { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct SharpenParams { + pub radius: f32, + pub amount: f32, +} +impl ::core::marker::Copy for SharpenParams {} +impl ::core::clone::Clone for SharpenParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SharpenParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SharpenParams").field("radius", &self.radius).field("amount", &self.amount).finish() + } +} +impl ::windows_core::TypeKind for SharpenParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SharpenParams { + fn eq(&self, other: &Self) -> bool { + self.radius == other.radius && self.amount == other.amount + } +} +impl ::core::cmp::Eq for SharpenParams {} +impl ::core::default::Default for SharpenParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct Size { + pub Width: i32, + pub Height: i32, +} +impl ::core::marker::Copy for Size {} +impl ::core::clone::Clone for Size { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for Size { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Size").field("Width", &self.Width).field("Height", &self.Height).finish() + } +} +impl ::windows_core::TypeKind for Size { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for Size { + fn eq(&self, other: &Self) -> bool { + self.Width == other.Width && self.Height == other.Height + } +} +impl ::core::cmp::Eq for Size {} +impl ::core::default::Default for Size { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct SizeF { + pub Width: f32, + pub Height: f32, +} +impl ::core::marker::Copy for SizeF {} +impl ::core::clone::Clone for SizeF { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for SizeF { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("SizeF").field("Width", &self.Width).field("Height", &self.Height).finish() + } +} +impl ::windows_core::TypeKind for SizeF { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for SizeF { + fn eq(&self, other: &Self) -> bool { + self.Width == other.Width && self.Height == other.Height + } +} +impl ::core::cmp::Eq for SizeF {} +impl ::core::default::Default for SizeF { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct Tint { + pub Base: Effect, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for Tint {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for Tint { + fn clone(&self) -> Self { + *self + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::fmt::Debug for Tint { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("Tint").field("Base", &self.Base).finish() + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::windows_core::TypeKind for Tint { + type TypeKind = ::windows_core::CopyType; +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::PartialEq for Tint { + fn eq(&self, other: &Self) -> bool { + self.Base == other.Base + } +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::cmp::Eq for Tint {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::default::Default for Tint { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct TintParams { + pub hue: i32, + pub amount: i32, +} +impl ::core::marker::Copy for TintParams {} +impl ::core::clone::Clone for TintParams { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for TintParams { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("TintParams").field("hue", &self.hue).field("amount", &self.amount).finish() + } +} +impl ::windows_core::TypeKind for TintParams { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for TintParams { + fn eq(&self, other: &Self) -> bool { + self.hue == other.hue && self.amount == other.amount + } +} +impl ::core::cmp::Eq for TintParams {} +impl ::core::default::Default for TintParams { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(2))] +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub struct WmfPlaceableFileHeader { + pub Key: u32, + pub Hmf: i16, + pub BoundingBox: PWMFRect16, + pub Inch: i16, + pub Reserved: u32, + pub Checksum: i16, +} +impl ::core::marker::Copy for WmfPlaceableFileHeader {} +impl ::core::clone::Clone for WmfPlaceableFileHeader { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for WmfPlaceableFileHeader { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for WmfPlaceableFileHeader { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type DebugEventProc = ::core::option::Option ()>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type DrawImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type EnumerateMetafileProc = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type GetThumbnailImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type ImageAbort = ::core::option::Option super::super::Foundation::BOOL>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type NotificationHookProc = ::core::option::Option Status>; +#[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] +pub type NotificationUnhookProc = ::core::option::Option ()>; +#[cfg(feature = "implement")] +::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs index 6f86cde622a..32d8fdf9eac 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -4098,27 +4098,27 @@ pub const GUID_WICPixelFormatBlackWhite: ::windows_core::GUID = ::windows_core:: #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const GUID_WICPixelFormatDontCare: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6fddc324_4e03_4bfe_b185_3d77768dc900); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMIptcDigestIptcDigest: WIC8BIMIptcDigestProperties = WIC8BIMIptcDigestProperties(2u32); +pub const WIC8BIMIptcDigestIptcDigest: WIC8BIMIptcDigestProperties = WIC8BIMIptcDigestProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMIptcDigestPString: WIC8BIMIptcDigestProperties = WIC8BIMIptcDigestProperties(1u32); +pub const WIC8BIMIptcDigestPString: WIC8BIMIptcDigestProperties = WIC8BIMIptcDigestProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMIptcEmbeddedIPTC: WIC8BIMIptcProperties = WIC8BIMIptcProperties(1u32); +pub const WIC8BIMIptcEmbeddedIPTC: WIC8BIMIptcProperties = WIC8BIMIptcProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMIptcPString: WIC8BIMIptcProperties = WIC8BIMIptcProperties(0u32); +pub const WIC8BIMIptcPString: WIC8BIMIptcProperties = WIC8BIMIptcProperties(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoHResolution: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(2u32); +pub const WIC8BIMResolutionInfoHResolution: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoHResolutionUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(3u32); +pub const WIC8BIMResolutionInfoHResolutionUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoHeightUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(7u32); +pub const WIC8BIMResolutionInfoHeightUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(7i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoPString: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(1u32); +pub const WIC8BIMResolutionInfoPString: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoVResolution: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(5u32); +pub const WIC8BIMResolutionInfoVResolution: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoVResolutionUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(6u32); +pub const WIC8BIMResolutionInfoVResolutionUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WIC8BIMResolutionInfoWidthUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(4u32); +pub const WIC8BIMResolutionInfoWidthUnit: WIC8BIMResolutionInfoProperties = WIC8BIMResolutionInfoProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICAllComponents: WICComponentType = WICComponentType(63i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4278,87 +4278,87 @@ pub const WICDecoder: WICComponentType = WICComponentType(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICEncoder: WICComponentType = WICComponentType(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifApplicationExtensionApplication: WICGifApplicationExtensionProperties = WICGifApplicationExtensionProperties(1u32); +pub const WICGifApplicationExtensionApplication: WICGifApplicationExtensionProperties = WICGifApplicationExtensionProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifApplicationExtensionData: WICGifApplicationExtensionProperties = WICGifApplicationExtensionProperties(2u32); +pub const WICGifApplicationExtensionData: WICGifApplicationExtensionProperties = WICGifApplicationExtensionProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifCommentExtensionText: WICGifCommentExtensionProperties = WICGifCommentExtensionProperties(1u32); +pub const WICGifCommentExtensionText: WICGifCommentExtensionProperties = WICGifCommentExtensionProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifGraphicControlExtensionDelay: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(4u32); +pub const WICGifGraphicControlExtensionDelay: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifGraphicControlExtensionDisposal: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(1u32); +pub const WICGifGraphicControlExtensionDisposal: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifGraphicControlExtensionTransparencyFlag: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(3u32); +pub const WICGifGraphicControlExtensionTransparencyFlag: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifGraphicControlExtensionTransparentColorIndex: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(5u32); +pub const WICGifGraphicControlExtensionTransparentColorIndex: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifGraphicControlExtensionUserInputFlag: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(2u32); +pub const WICGifGraphicControlExtensionUserInputFlag: WICGifGraphicControlExtensionProperties = WICGifGraphicControlExtensionProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorHeight: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(4u32); +pub const WICGifImageDescriptorHeight: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorInterlaceFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(6u32); +pub const WICGifImageDescriptorInterlaceFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorLeft: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(1u32); +pub const WICGifImageDescriptorLeft: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorLocalColorTableFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(5u32); +pub const WICGifImageDescriptorLocalColorTableFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorLocalColorTableSize: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(8u32); +pub const WICGifImageDescriptorLocalColorTableSize: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(8i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorSortFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(7u32); +pub const WICGifImageDescriptorSortFlag: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(7i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorTop: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(2u32); +pub const WICGifImageDescriptorTop: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifImageDescriptorWidth: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(3u32); +pub const WICGifImageDescriptorWidth: WICGifImageDescriptorProperties = WICGifImageDescriptorProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorBackgroundColorIndex: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(8u32); +pub const WICGifLogicalScreenDescriptorBackgroundColorIndex: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(8i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorColorResolution: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(5u32); +pub const WICGifLogicalScreenDescriptorColorResolution: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorGlobalColorTableFlag: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(4u32); +pub const WICGifLogicalScreenDescriptorGlobalColorTableFlag: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorGlobalColorTableSize: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(7u32); +pub const WICGifLogicalScreenDescriptorGlobalColorTableSize: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(7i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorHeight: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(3u32); +pub const WICGifLogicalScreenDescriptorHeight: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorPixelAspectRatio: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(9u32); +pub const WICGifLogicalScreenDescriptorPixelAspectRatio: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(9i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorSortFlag: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(6u32); +pub const WICGifLogicalScreenDescriptorSortFlag: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenDescriptorWidth: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(2u32); +pub const WICGifLogicalScreenDescriptorWidth: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICGifLogicalScreenSignature: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(1u32); +pub const WICGifLogicalScreenSignature: WICGifLogicalScreenDescriptorProperties = WICGifLogicalScreenDescriptorProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifHdrCustomVideoPrimaries: WICHeifHdrProperties = WICHeifHdrProperties(5u32); +pub const WICHeifHdrCustomVideoPrimaries: WICHeifHdrProperties = WICHeifHdrProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifHdrMaximumFrameAverageLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(2u32); +pub const WICHeifHdrMaximumFrameAverageLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifHdrMaximumLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(1u32); +pub const WICHeifHdrMaximumLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifHdrMaximumMasteringDisplayLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(4u32); +pub const WICHeifHdrMaximumMasteringDisplayLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifHdrMinimumMasteringDisplayLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(3u32); +pub const WICHeifHdrMinimumMasteringDisplayLuminanceLevel: WICHeifHdrProperties = WICHeifHdrProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICHeifOrientation: WICHeifProperties = WICHeifProperties(1u32); +pub const WICHeifOrientation: WICHeifProperties = WICHeifProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegChrominanceTable: WICJpegChrominanceProperties = WICJpegChrominanceProperties(1u32); +pub const WICJpegChrominanceTable: WICJpegChrominanceProperties = WICJpegChrominanceProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegCommentText: WICJpegCommentProperties = WICJpegCommentProperties(1u32); +pub const WICJpegCommentText: WICJpegCommentProperties = WICJpegCommentProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegIndexingOptionsGenerateOnDemand: WICJpegIndexingOptions = WICJpegIndexingOptions(0u32); +pub const WICJpegIndexingOptionsGenerateOnDemand: WICJpegIndexingOptions = WICJpegIndexingOptions(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegIndexingOptionsGenerateOnLoad: WICJpegIndexingOptions = WICJpegIndexingOptions(1u32); +pub const WICJpegIndexingOptionsGenerateOnLoad: WICJpegIndexingOptions = WICJpegIndexingOptions(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegLuminanceTable: WICJpegLuminanceProperties = WICJpegLuminanceProperties(1u32); +pub const WICJpegLuminanceTable: WICJpegLuminanceProperties = WICJpegLuminanceProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegScanTypeInterleaved: WICJpegScanType = WICJpegScanType(0u32); +pub const WICJpegScanTypeInterleaved: WICJpegScanType = WICJpegScanType(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegScanTypePlanarComponents: WICJpegScanType = WICJpegScanType(1u32); +pub const WICJpegScanTypePlanarComponents: WICJpegScanType = WICJpegScanType(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegScanTypeProgressive: WICJpegScanType = WICJpegScanType(2u32); +pub const WICJpegScanTypeProgressive: WICJpegScanType = WICJpegScanType(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegTransferMatrixBT601: WICJpegTransferMatrix = WICJpegTransferMatrix(1u32); +pub const WICJpegTransferMatrixBT601: WICJpegTransferMatrix = WICJpegTransferMatrix(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICJpegTransferMatrixIdentity: WICJpegTransferMatrix = WICJpegTransferMatrix(0u32); +pub const WICJpegTransferMatrixIdentity: WICJpegTransferMatrix = WICJpegTransferMatrix(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICJpegYCrCbSubsampling420: WICJpegYCrCbSubsamplingOption = WICJpegYCrCbSubsamplingOption(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4400,39 +4400,39 @@ pub const WICPixelFormat: WICComponentType = WICComponentType(32i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICPixelFormatConverter: WICComponentType = WICComponentType(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationFixed: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(4u32); +pub const WICPixelFormatNumericRepresentationFixed: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationFloat: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(5u32); +pub const WICPixelFormatNumericRepresentationFloat: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationIndexed: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(1u32); +pub const WICPixelFormatNumericRepresentationIndexed: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationSignedInteger: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(3u32); +pub const WICPixelFormatNumericRepresentationSignedInteger: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationUnsignedInteger: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(2u32); +pub const WICPixelFormatNumericRepresentationUnsignedInteger: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPixelFormatNumericRepresentationUnspecified: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(0u32); +pub const WICPixelFormatNumericRepresentationUnspecified: WICPixelFormatNumericRepresentation = WICPixelFormatNumericRepresentation(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICPlanarOptionsDefault: WICPlanarOptions = WICPlanarOptions(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICPlanarOptionsPreserveSubsampling: WICPlanarOptions = WICPlanarOptions(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngBkgdBackgroundColor: WICPngBkgdProperties = WICPngBkgdProperties(1u32); +pub const WICPngBkgdBackgroundColor: WICPngBkgdProperties = WICPngBkgdProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmBlueX: WICPngChrmProperties = WICPngChrmProperties(7u32); +pub const WICPngChrmBlueX: WICPngChrmProperties = WICPngChrmProperties(7i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmBlueY: WICPngChrmProperties = WICPngChrmProperties(8u32); +pub const WICPngChrmBlueY: WICPngChrmProperties = WICPngChrmProperties(8i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmGreenX: WICPngChrmProperties = WICPngChrmProperties(5u32); +pub const WICPngChrmGreenX: WICPngChrmProperties = WICPngChrmProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmGreenY: WICPngChrmProperties = WICPngChrmProperties(6u32); +pub const WICPngChrmGreenY: WICPngChrmProperties = WICPngChrmProperties(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmRedX: WICPngChrmProperties = WICPngChrmProperties(3u32); +pub const WICPngChrmRedX: WICPngChrmProperties = WICPngChrmProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmRedY: WICPngChrmProperties = WICPngChrmProperties(4u32); +pub const WICPngChrmRedY: WICPngChrmProperties = WICPngChrmProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmWhitePointX: WICPngChrmProperties = WICPngChrmProperties(1u32); +pub const WICPngChrmWhitePointX: WICPngChrmProperties = WICPngChrmProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngChrmWhitePointY: WICPngChrmProperties = WICPngChrmProperties(2u32); +pub const WICPngChrmWhitePointY: WICPngChrmProperties = WICPngChrmProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICPngFilterAdaptive: WICPngFilterOption = WICPngFilterOption(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4448,37 +4448,37 @@ pub const WICPngFilterUnspecified: WICPngFilterOption = WICPngFilterOption(0i32) #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICPngFilterUp: WICPngFilterOption = WICPngFilterOption(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngGamaGamma: WICPngGamaProperties = WICPngGamaProperties(1u32); +pub const WICPngGamaGamma: WICPngGamaProperties = WICPngGamaProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngHistFrequencies: WICPngHistProperties = WICPngHistProperties(1u32); +pub const WICPngHistFrequencies: WICPngHistProperties = WICPngHistProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngIccpProfileData: WICPngIccpProperties = WICPngIccpProperties(2u32); +pub const WICPngIccpProfileData: WICPngIccpProperties = WICPngIccpProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngIccpProfileName: WICPngIccpProperties = WICPngIccpProperties(1u32); +pub const WICPngIccpProfileName: WICPngIccpProperties = WICPngIccpProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngItxtCompressionFlag: WICPngItxtProperties = WICPngItxtProperties(2u32); +pub const WICPngItxtCompressionFlag: WICPngItxtProperties = WICPngItxtProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngItxtKeyword: WICPngItxtProperties = WICPngItxtProperties(1u32); +pub const WICPngItxtKeyword: WICPngItxtProperties = WICPngItxtProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngItxtLanguageTag: WICPngItxtProperties = WICPngItxtProperties(3u32); +pub const WICPngItxtLanguageTag: WICPngItxtProperties = WICPngItxtProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngItxtText: WICPngItxtProperties = WICPngItxtProperties(5u32); +pub const WICPngItxtText: WICPngItxtProperties = WICPngItxtProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngItxtTranslatedKeyword: WICPngItxtProperties = WICPngItxtProperties(4u32); +pub const WICPngItxtTranslatedKeyword: WICPngItxtProperties = WICPngItxtProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngSrgbRenderingIntent: WICPngSrgbProperties = WICPngSrgbProperties(1u32); +pub const WICPngSrgbRenderingIntent: WICPngSrgbProperties = WICPngSrgbProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeDay: WICPngTimeProperties = WICPngTimeProperties(3u32); +pub const WICPngTimeDay: WICPngTimeProperties = WICPngTimeProperties(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeHour: WICPngTimeProperties = WICPngTimeProperties(4u32); +pub const WICPngTimeHour: WICPngTimeProperties = WICPngTimeProperties(4i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeMinute: WICPngTimeProperties = WICPngTimeProperties(5u32); +pub const WICPngTimeMinute: WICPngTimeProperties = WICPngTimeProperties(5i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeMonth: WICPngTimeProperties = WICPngTimeProperties(2u32); +pub const WICPngTimeMonth: WICPngTimeProperties = WICPngTimeProperties(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeSecond: WICPngTimeProperties = WICPngTimeProperties(6u32); +pub const WICPngTimeSecond: WICPngTimeProperties = WICPngTimeProperties(6i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICPngTimeYear: WICPngTimeProperties = WICPngTimeProperties(1u32); +pub const WICPngTimeYear: WICPngTimeProperties = WICPngTimeProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICProgressNotificationAll: WICProgressNotification = WICProgressNotification(-65536i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4542,9 +4542,9 @@ pub const WICRawRotationCapabilityNinetyDegreesSupported: WICRawRotationCapabili #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICRawRotationCapabilityNotSupported: WICRawRotationCapabilities = WICRawRotationCapabilities(0i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICSectionAccessLevelRead: WICSectionAccessLevel = WICSectionAccessLevel(1u32); +pub const WICSectionAccessLevelRead: WICSectionAccessLevel = WICSectionAccessLevel(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICSectionAccessLevelReadWrite: WICSectionAccessLevel = WICSectionAccessLevel(3u32); +pub const WICSectionAccessLevelReadWrite: WICSectionAccessLevel = WICSectionAccessLevel(3i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICTiffCompressionCCITT3: WICTiffCompressionOption = WICTiffCompressionOption(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4564,9 +4564,9 @@ pub const WICTiffCompressionZIP: WICTiffCompressionOption = WICTiffCompressionOp #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICUserAdjustedParameterSet: WICRawParameterSet = WICRawParameterSet(2i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICWebpAnimLoopCount: WICWebpAnimProperties = WICWebpAnimProperties(1u32); +pub const WICWebpAnimLoopCount: WICWebpAnimProperties = WICWebpAnimProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] -pub const WICWebpAnmfFrameDuration: WICWebpAnmfProperties = WICWebpAnmfProperties(1u32); +pub const WICWebpAnmfFrameDuration: WICWebpAnmfProperties = WICWebpAnmfProperties(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] pub const WICWhitePointAsShot: WICNamedWhitePoint = WICNamedWhitePoint(1i32); #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] @@ -4634,7 +4634,7 @@ pub const WINCODEC_SDK_VERSION2: u32 = 567u32; #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WIC8BIMIptcDigestProperties(pub u32); +pub struct WIC8BIMIptcDigestProperties(pub i32); impl ::core::marker::Copy for WIC8BIMIptcDigestProperties {} impl ::core::clone::Clone for WIC8BIMIptcDigestProperties { fn clone(&self) -> Self { @@ -4657,7 +4657,7 @@ impl ::core::fmt::Debug for WIC8BIMIptcDigestProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WIC8BIMIptcProperties(pub u32); +pub struct WIC8BIMIptcProperties(pub i32); impl ::core::marker::Copy for WIC8BIMIptcProperties {} impl ::core::clone::Clone for WIC8BIMIptcProperties { fn clone(&self) -> Self { @@ -4680,7 +4680,7 @@ impl ::core::fmt::Debug for WIC8BIMIptcProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WIC8BIMResolutionInfoProperties(pub u32); +pub struct WIC8BIMResolutionInfoProperties(pub i32); impl ::core::marker::Copy for WIC8BIMResolutionInfoProperties {} impl ::core::clone::Clone for WIC8BIMResolutionInfoProperties { fn clone(&self) -> Self { @@ -5071,7 +5071,7 @@ impl ::core::fmt::Debug for WICDecodeOptions { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICGifApplicationExtensionProperties(pub u32); +pub struct WICGifApplicationExtensionProperties(pub i32); impl ::core::marker::Copy for WICGifApplicationExtensionProperties {} impl ::core::clone::Clone for WICGifApplicationExtensionProperties { fn clone(&self) -> Self { @@ -5094,7 +5094,7 @@ impl ::core::fmt::Debug for WICGifApplicationExtensionProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICGifCommentExtensionProperties(pub u32); +pub struct WICGifCommentExtensionProperties(pub i32); impl ::core::marker::Copy for WICGifCommentExtensionProperties {} impl ::core::clone::Clone for WICGifCommentExtensionProperties { fn clone(&self) -> Self { @@ -5117,7 +5117,7 @@ impl ::core::fmt::Debug for WICGifCommentExtensionProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICGifGraphicControlExtensionProperties(pub u32); +pub struct WICGifGraphicControlExtensionProperties(pub i32); impl ::core::marker::Copy for WICGifGraphicControlExtensionProperties {} impl ::core::clone::Clone for WICGifGraphicControlExtensionProperties { fn clone(&self) -> Self { @@ -5140,7 +5140,7 @@ impl ::core::fmt::Debug for WICGifGraphicControlExtensionProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICGifImageDescriptorProperties(pub u32); +pub struct WICGifImageDescriptorProperties(pub i32); impl ::core::marker::Copy for WICGifImageDescriptorProperties {} impl ::core::clone::Clone for WICGifImageDescriptorProperties { fn clone(&self) -> Self { @@ -5163,7 +5163,7 @@ impl ::core::fmt::Debug for WICGifImageDescriptorProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICGifLogicalScreenDescriptorProperties(pub u32); +pub struct WICGifLogicalScreenDescriptorProperties(pub i32); impl ::core::marker::Copy for WICGifLogicalScreenDescriptorProperties {} impl ::core::clone::Clone for WICGifLogicalScreenDescriptorProperties { fn clone(&self) -> Self { @@ -5186,7 +5186,7 @@ impl ::core::fmt::Debug for WICGifLogicalScreenDescriptorProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICHeifHdrProperties(pub u32); +pub struct WICHeifHdrProperties(pub i32); impl ::core::marker::Copy for WICHeifHdrProperties {} impl ::core::clone::Clone for WICHeifHdrProperties { fn clone(&self) -> Self { @@ -5209,7 +5209,7 @@ impl ::core::fmt::Debug for WICHeifHdrProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICHeifProperties(pub u32); +pub struct WICHeifProperties(pub i32); impl ::core::marker::Copy for WICHeifProperties {} impl ::core::clone::Clone for WICHeifProperties { fn clone(&self) -> Self { @@ -5232,7 +5232,7 @@ impl ::core::fmt::Debug for WICHeifProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegChrominanceProperties(pub u32); +pub struct WICJpegChrominanceProperties(pub i32); impl ::core::marker::Copy for WICJpegChrominanceProperties {} impl ::core::clone::Clone for WICJpegChrominanceProperties { fn clone(&self) -> Self { @@ -5255,7 +5255,7 @@ impl ::core::fmt::Debug for WICJpegChrominanceProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegCommentProperties(pub u32); +pub struct WICJpegCommentProperties(pub i32); impl ::core::marker::Copy for WICJpegCommentProperties {} impl ::core::clone::Clone for WICJpegCommentProperties { fn clone(&self) -> Self { @@ -5278,7 +5278,7 @@ impl ::core::fmt::Debug for WICJpegCommentProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegIndexingOptions(pub u32); +pub struct WICJpegIndexingOptions(pub i32); impl ::core::marker::Copy for WICJpegIndexingOptions {} impl ::core::clone::Clone for WICJpegIndexingOptions { fn clone(&self) -> Self { @@ -5301,7 +5301,7 @@ impl ::core::fmt::Debug for WICJpegIndexingOptions { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegLuminanceProperties(pub u32); +pub struct WICJpegLuminanceProperties(pub i32); impl ::core::marker::Copy for WICJpegLuminanceProperties {} impl ::core::clone::Clone for WICJpegLuminanceProperties { fn clone(&self) -> Self { @@ -5324,7 +5324,7 @@ impl ::core::fmt::Debug for WICJpegLuminanceProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegScanType(pub u32); +pub struct WICJpegScanType(pub i32); impl ::core::marker::Copy for WICJpegScanType {} impl ::core::clone::Clone for WICJpegScanType { fn clone(&self) -> Self { @@ -5347,7 +5347,7 @@ impl ::core::fmt::Debug for WICJpegScanType { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICJpegTransferMatrix(pub u32); +pub struct WICJpegTransferMatrix(pub i32); impl ::core::marker::Copy for WICJpegTransferMatrix {} impl ::core::clone::Clone for WICJpegTransferMatrix { fn clone(&self) -> Self { @@ -5462,7 +5462,7 @@ impl ::core::fmt::Debug for WICPersistOptions { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPixelFormatNumericRepresentation(pub u32); +pub struct WICPixelFormatNumericRepresentation(pub i32); impl ::core::marker::Copy for WICPixelFormatNumericRepresentation {} impl ::core::clone::Clone for WICPixelFormatNumericRepresentation { fn clone(&self) -> Self { @@ -5508,7 +5508,7 @@ impl ::core::fmt::Debug for WICPlanarOptions { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngBkgdProperties(pub u32); +pub struct WICPngBkgdProperties(pub i32); impl ::core::marker::Copy for WICPngBkgdProperties {} impl ::core::clone::Clone for WICPngBkgdProperties { fn clone(&self) -> Self { @@ -5531,7 +5531,7 @@ impl ::core::fmt::Debug for WICPngBkgdProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngChrmProperties(pub u32); +pub struct WICPngChrmProperties(pub i32); impl ::core::marker::Copy for WICPngChrmProperties {} impl ::core::clone::Clone for WICPngChrmProperties { fn clone(&self) -> Self { @@ -5577,7 +5577,7 @@ impl ::core::fmt::Debug for WICPngFilterOption { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngGamaProperties(pub u32); +pub struct WICPngGamaProperties(pub i32); impl ::core::marker::Copy for WICPngGamaProperties {} impl ::core::clone::Clone for WICPngGamaProperties { fn clone(&self) -> Self { @@ -5600,7 +5600,7 @@ impl ::core::fmt::Debug for WICPngGamaProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngHistProperties(pub u32); +pub struct WICPngHistProperties(pub i32); impl ::core::marker::Copy for WICPngHistProperties {} impl ::core::clone::Clone for WICPngHistProperties { fn clone(&self) -> Self { @@ -5623,7 +5623,7 @@ impl ::core::fmt::Debug for WICPngHistProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngIccpProperties(pub u32); +pub struct WICPngIccpProperties(pub i32); impl ::core::marker::Copy for WICPngIccpProperties {} impl ::core::clone::Clone for WICPngIccpProperties { fn clone(&self) -> Self { @@ -5646,7 +5646,7 @@ impl ::core::fmt::Debug for WICPngIccpProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngItxtProperties(pub u32); +pub struct WICPngItxtProperties(pub i32); impl ::core::marker::Copy for WICPngItxtProperties {} impl ::core::clone::Clone for WICPngItxtProperties { fn clone(&self) -> Self { @@ -5669,7 +5669,7 @@ impl ::core::fmt::Debug for WICPngItxtProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngSrgbProperties(pub u32); +pub struct WICPngSrgbProperties(pub i32); impl ::core::marker::Copy for WICPngSrgbProperties {} impl ::core::clone::Clone for WICPngSrgbProperties { fn clone(&self) -> Self { @@ -5692,7 +5692,7 @@ impl ::core::fmt::Debug for WICPngSrgbProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICPngTimeProperties(pub u32); +pub struct WICPngTimeProperties(pub i32); impl ::core::marker::Copy for WICPngTimeProperties {} impl ::core::clone::Clone for WICPngTimeProperties { fn clone(&self) -> Self { @@ -5853,7 +5853,7 @@ impl ::core::fmt::Debug for WICRawRotationCapabilities { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICSectionAccessLevel(pub u32); +pub struct WICSectionAccessLevel(pub i32); impl ::core::marker::Copy for WICSectionAccessLevel {} impl ::core::clone::Clone for WICSectionAccessLevel { fn clone(&self) -> Self { @@ -5899,7 +5899,7 @@ impl ::core::fmt::Debug for WICTiffCompressionOption { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICWebpAnimProperties(pub u32); +pub struct WICWebpAnimProperties(pub i32); impl ::core::marker::Copy for WICWebpAnimProperties {} impl ::core::clone::Clone for WICWebpAnimProperties { fn clone(&self) -> Self { @@ -5922,7 +5922,7 @@ impl ::core::fmt::Debug for WICWebpAnimProperties { #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct WICWebpAnmfProperties(pub u32); +pub struct WICWebpAnmfProperties(pub i32); impl ::core::marker::Copy for WICWebpAnmfProperties {} impl ::core::clone::Clone for WICWebpAnmfProperties { fn clone(&self) -> Self { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/mod.rs index 02737898a3f..33c1ff95226 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/mod.rs @@ -32,6 +32,8 @@ pub mod Dwm; pub mod Dxgi; #[cfg(feature = "Win32_Graphics_Gdi")] pub mod Gdi; +#[cfg(feature = "Win32_Graphics_GdiPlus")] +pub mod GdiPlus; #[cfg(feature = "Win32_Graphics_Hlsl")] pub mod Hlsl; #[cfg(feature = "Win32_Graphics_Imaging")] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs index 8d4eb721444..97310d41d54 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs @@ -511,7 +511,7 @@ pub trait IDirectMusicSynth_Impl: Sized { fn Open(&self, pportparams: *mut DMUS_PORTPARAMS8) -> ::windows_core::Result<()>; fn Close(&self) -> ::windows_core::Result<()>; fn SetNumChannelGroups(&self, dwgroups: u32) -> ::windows_core::Result<()>; - fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut i32) -> ::windows_core::Result<()>; + fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn Unload(&self, hdownload: super::super::super::Foundation::HANDLE, lpfreehandle: isize, huserdata: super::super::super::Foundation::HANDLE) -> ::windows_core::Result<()>; fn PlayBuffer(&self, rt: i64, pbbuffer: *mut u8, cbbuffer: u32) -> ::windows_core::Result<()>; fn GetRunningStats(&self, pstats: *mut DMUS_SYNTHSTATS) -> ::windows_core::Result<()>; @@ -546,7 +546,7 @@ impl IDirectMusicSynth_Vtbl { let this = (*this).get_impl(); this.SetNumChannelGroups(::core::mem::transmute_copy(&dwgroups)).into() } - unsafe extern "system" fn Download, Impl: IDirectMusicSynth_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn Download, Impl: IDirectMusicSynth_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.Download(::core::mem::transmute_copy(&phdownload), ::core::mem::transmute_copy(&pvdata), ::core::mem::transmute_copy(&pbfree)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index df803bc2b66..e83a10e1fc6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -513,7 +513,7 @@ impl IDirectMusicSynth { } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut i32) -> ::windows_core::Result<()> { + pub unsafe fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Download)(::windows_core::Interface::as_raw(self), phdownload, pvdata, pbfree).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -592,7 +592,7 @@ pub struct IDirectMusicSynth_Vtbl { pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub SetNumChannelGroups: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwgroups: u32) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] - pub Download: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut i32) -> ::windows_core::HRESULT, + pub Download: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut super::super::super::Foundation::BOOL) -> ::windows_core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] Download: usize, #[cfg(feature = "Win32_Foundation")] @@ -633,7 +633,7 @@ impl IDirectMusicSynth8 { } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] - pub unsafe fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut i32) -> ::windows_core::Result<()> { + pub unsafe fn Download(&self, phdownload: *mut super::super::super::Foundation::HANDLE, pvdata: *mut ::core::ffi::c_void, pbfree: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Download)(::windows_core::Interface::as_raw(self), phdownload, pvdata, pbfree).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index 8de573b95d7..81a5e76a2c2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -977,7 +977,7 @@ pub trait IAudioSessionControl2_Impl: Sized + IAudioSessionControl_Impl { fn GetSessionIdentifier(&self) -> ::windows_core::Result<::windows_core::PWSTR>; fn GetSessionInstanceIdentifier(&self) -> ::windows_core::Result<::windows_core::PWSTR>; fn GetProcessId(&self) -> ::windows_core::Result; - fn IsSystemSoundsSession(&self) -> ::windows_core::Result<()>; + fn IsSystemSoundsSession(&self) -> ::windows_core::HRESULT; fn SetDuckingPreference(&self, optout: super::super::Foundation::BOOL) -> ::windows_core::Result<()>; } #[cfg(feature = "Win32_Foundation")] @@ -1021,7 +1021,7 @@ impl IAudioSessionControl2_Vtbl { unsafe extern "system" fn IsSystemSoundsSession, Impl: IAudioSessionControl2_Impl, const OFFSET: isize>(this: *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.IsSystemSoundsSession().into() + this.IsSystemSoundsSession() } unsafe extern "system" fn SetDuckingPreference, Impl: IAudioSessionControl2_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, optout: 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/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs index 32fabfcfd17..f8a76eccb31 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -2420,8 +2420,8 @@ impl IAudioSessionControl2 { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).GetProcessId)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) } - pub unsafe fn IsSystemSoundsSession(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).IsSystemSoundsSession)(::windows_core::Interface::as_raw(self)).ok() + pub unsafe fn IsSystemSoundsSession(&self) -> ::windows_core::HRESULT { + (::windows_core::Interface::vtable(self).IsSystemSoundsSession)(::windows_core::Interface::as_raw(self)) } #[doc = "*Required features: `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -5147,12 +5147,24 @@ pub const LineLevel: EndpointFormFactor = EndpointFormFactor(2i32); #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const Low: AudioStateMonitorSoundLevel = AudioStateMonitorSoundLevel(1i32); #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_COMMENT: u8 = 130u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_CALLBACK: i32 = 1073741824i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_LONG: i32 = -2147483648i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MEVT_F_SHORT: i32 = 0i32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_LONGMSG: u8 = 128u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_NOP: u8 = 2u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_SHORTMSG: u8 = 0u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_TEMPO: u8 = 1u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] +pub const MEVT_VERSION: u8 = 132u8; +#[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MHDR_DONE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Media_Audio\"`*"] pub const MHDR_INQUEUE: u32 = 4u32; diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 117d9274d3a..57ec1b8754d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -1711,7 +1711,7 @@ pub trait IAMLine21Decoder_Impl: Sized { fn SetOutputFormat(&self, lpbmi: *mut super::super::Graphics::Gdi::BITMAPINFO) -> ::windows_core::Result<()>; fn GetBackgroundColor(&self, pdwphyscolor: *mut u32) -> ::windows_core::Result<()>; fn SetBackgroundColor(&self, dwphyscolor: u32) -> ::windows_core::Result<()>; - fn GetRedrawAlways(&self, lpboption: *mut i32) -> ::windows_core::Result<()>; + fn GetRedrawAlways(&self, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn SetRedrawAlways(&self, boption: super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn GetDrawBackgroundMode(&self, lpmode: *mut AM_LINE21_DRAWBGMODE) -> ::windows_core::Result<()>; fn SetDrawBackgroundMode(&self, mode: AM_LINE21_DRAWBGMODE) -> ::windows_core::Result<()>; @@ -1766,7 +1766,7 @@ impl IAMLine21Decoder_Vtbl { let this = (*this).get_impl(); this.SetBackgroundColor(::core::mem::transmute_copy(&dwphyscolor)).into() } - unsafe extern "system" fn GetRedrawAlways, Impl: IAMLine21Decoder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpboption: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetRedrawAlways, Impl: IAMLine21Decoder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetRedrawAlways(::core::mem::transmute_copy(&lpboption)).into() @@ -4525,7 +4525,7 @@ pub trait IAMWstDecoder_Impl: Sized { fn SetOutputFormat(&self, lpbmi: *mut super::super::Graphics::Gdi::BITMAPINFO) -> ::windows_core::Result<()>; fn GetBackgroundColor(&self, pdwphyscolor: *mut u32) -> ::windows_core::Result<()>; fn SetBackgroundColor(&self, dwphyscolor: u32) -> ::windows_core::Result<()>; - fn GetRedrawAlways(&self, lpboption: *mut i32) -> ::windows_core::Result<()>; + fn GetRedrawAlways(&self, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn SetRedrawAlways(&self, boption: super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn GetDrawBackgroundMode(&self, lpmode: *mut AM_WST_DRAWBGMODE) -> ::windows_core::Result<()>; fn SetDrawBackgroundMode(&self, mode: AM_WST_DRAWBGMODE) -> ::windows_core::Result<()>; @@ -4581,7 +4581,7 @@ impl IAMWstDecoder_Vtbl { let this = (*this).get_impl(); this.SetBackgroundColor(::core::mem::transmute_copy(&dwphyscolor)).into() } - unsafe extern "system" fn GetRedrawAlways, Impl: IAMWstDecoder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpboption: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetRedrawAlways, Impl: IAMWstDecoder_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetRedrawAlways(::core::mem::transmute_copy(&lpboption)).into() @@ -17333,7 +17333,7 @@ impl IVPBaseNotify_Vtbl { #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))] pub trait IVPConfig_Impl: Sized + IVPBaseConfig_Impl { - fn IsVPDecimationAllowed(&self, pbisdecimationallowed: *mut i32) -> ::windows_core::Result<()>; + fn IsVPDecimationAllowed(&self, pbisdecimationallowed: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()>; fn SetScalingFactors(&self, pamvpsize: *mut AMVPSIZE) -> ::windows_core::Result<()>; } #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))] @@ -17341,7 +17341,7 @@ impl ::windows_core::RuntimeName for IVPConfig {} #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))] impl IVPConfig_Vtbl { pub const fn new, Impl: IVPConfig_Impl, const OFFSET: isize>() -> IVPConfig_Vtbl { - unsafe extern "system" fn IsVPDecimationAllowed, Impl: IVPConfig_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbisdecimationallowed: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn IsVPDecimationAllowed, Impl: IVPConfig_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pbisdecimationallowed: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.IsVPDecimationAllowed(::core::mem::transmute_copy(&pbisdecimationallowed)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs index 3dc87e8fee6..222a60677f2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -1361,7 +1361,9 @@ impl IAMLine21Decoder { pub unsafe fn SetBackgroundColor(&self, dwphyscolor: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetBackgroundColor)(::windows_core::Interface::as_raw(self), dwphyscolor).ok() } - pub unsafe fn GetRedrawAlways(&self, lpboption: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetRedrawAlways(&self, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetRedrawAlways)(::windows_core::Interface::as_raw(self), lpboption).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -1405,7 +1407,10 @@ pub struct IAMLine21Decoder_Vtbl { SetOutputFormat: usize, pub GetBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwphyscolor: *mut u32) -> ::windows_core::HRESULT, pub SetBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwphyscolor: u32) -> ::windows_core::HRESULT, - pub GetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpboption: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetRedrawAlways: usize, #[cfg(feature = "Win32_Foundation")] pub SetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, boption: super::super::Foundation::BOOL) -> ::windows_core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] @@ -3835,7 +3840,9 @@ impl IAMWstDecoder { pub unsafe fn SetBackgroundColor(&self, dwphyscolor: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetBackgroundColor)(::windows_core::Interface::as_raw(self), dwphyscolor).ok() } - pub unsafe fn GetRedrawAlways(&self, lpboption: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn GetRedrawAlways(&self, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetRedrawAlways)(::windows_core::Interface::as_raw(self), lpboption).ok() } #[doc = "*Required features: `\"Win32_Foundation\"`*"] @@ -3910,7 +3917,10 @@ pub struct IAMWstDecoder_Vtbl { SetOutputFormat: usize, pub GetBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdwphyscolor: *mut u32) -> ::windows_core::HRESULT, pub SetBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwphyscolor: u32) -> ::windows_core::HRESULT, - pub GetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpboption: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub GetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpboption: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + GetRedrawAlways: usize, #[cfg(feature = "Win32_Foundation")] pub SetRedrawAlways: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, boption: super::super::Foundation::BOOL) -> ::windows_core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] @@ -15452,7 +15462,9 @@ impl IVPConfig { pub unsafe fn SetSurfaceParameters(&self, dwpitch: u32, dwxorigin: u32, dwyorigin: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.SetSurfaceParameters)(::windows_core::Interface::as_raw(self), dwpitch, dwxorigin, dwyorigin).ok() } - pub unsafe fn IsVPDecimationAllowed(&self, pbisdecimationallowed: *mut i32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Foundation\"`*"] + #[cfg(feature = "Win32_Foundation")] + pub unsafe fn IsVPDecimationAllowed(&self, pbisdecimationallowed: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).IsVPDecimationAllowed)(::windows_core::Interface::as_raw(self), pbisdecimationallowed).ok() } pub unsafe fn SetScalingFactors(&self, pamvpsize: *mut AMVPSIZE) -> ::windows_core::Result<()> { @@ -15470,7 +15482,10 @@ unsafe impl ::windows_core::ComInterface for IVPConfig { #[doc(hidden)] pub struct IVPConfig_Vtbl { pub base__: IVPBaseConfig_Vtbl, - pub IsVPDecimationAllowed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbisdecimationallowed: *mut i32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Foundation")] + pub IsVPDecimationAllowed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbisdecimationallowed: *mut super::super::Foundation::BOOL) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Foundation"))] + IsVPDecimationAllowed: usize, pub SetScalingFactors: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pamvpsize: *mut AMVPSIZE) -> ::windows_core::HRESULT, } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs index 9530d8561c5..f360d749872 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -2965,8 +2965,12 @@ pub struct ISpResourceManager(::windows_core::IUnknown); impl ISpResourceManager { #[doc = "*Required features: `\"Win32_System_Com\"`*"] #[cfg(feature = "Win32_System_Com")] - pub unsafe fn QueryService(&self, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, riid, ppvobject).ok() + pub unsafe fn QueryService(&self, guidservice: *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__.QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) } pub unsafe fn SetObject(&self, guidserviceid: *const ::windows_core::GUID, punkobject: P0) -> ::windows_core::Result<()> where diff --git a/crates/libs/windows/src/Windows/Win32/Media/Streaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Streaming/mod.rs index 096f14f59c5..d3f25bafee2 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Streaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Streaming/mod.rs @@ -1,3 +1,48 @@ +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_DLNACAP: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 16 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_DLNADOC: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 15 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_MaxVolume: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 19 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_PacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 0 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SendPacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 1 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SinkProtocolInfo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 14 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsAudio: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 8 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsImages: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 10 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsMute: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 18 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsSearch: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 17 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsSetNextAVT: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 20 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_SupportsVideo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 9 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_Device_UDN: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 6 }; +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b); +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1); +#[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] +pub const GUID_DEVINTERFACE_DMS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553); #[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] pub const MF_MEDIASOURCE_STATUS_INFO_FULLYSUPPORTED: MF_MEDIASOURCE_STATUS_INFO = MF_MEDIASOURCE_STATUS_INFO(0i32); #[doc = "*Required features: `\"Win32_Media_Streaming\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index 4c57c11ce6a..2fc0c95efc6 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -8564,7 +8564,8 @@ pub type LPDHCP_GIVE_ADDRESS = ::core::option::Option u32>; -#[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] -pub type LPDHCP_NEWPKT = ::core::option::Option u32>; +#[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPDHCP_NEWPKT = ::core::option::Option u32>; #[doc = "*Required features: `\"Win32_NetworkManagement_Dhcp\"`*"] pub type LPDHCP_PROB = ::core::option::Option u32>; diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 1a4263c163e..4fcf7efba37 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -1555,6 +1555,10 @@ pub const FD_FLAGS_ALLFLAGS: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const FD_FLAGS_NOSYN: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] +pub const FILTER_ICMP_CODE_ANY: u8 = 255u8; +#[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] +pub const FILTER_ICMP_TYPE_ANY: u8 = 255u8; +#[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const GAA_FLAG_INCLUDE_ALL_COMPARTMENTS: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(512u32); #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] pub const GAA_FLAG_INCLUDE_ALL_INTERFACES: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(256u32); diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs index bc0ad1c46c1..d83ec58ae63 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -1428,16 +1428,18 @@ where ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialAddressW(param0 : ::windows_core::PCWSTR, param1 : *const u32, param2 : *mut RASAUTODIALENTRYW, param3 : *mut u32, param4 : *mut u32) -> u32); RasGetAutodialAddressW(param0.into_param().abi(), ::core::mem::transmute(param1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(param2.unwrap_or(::std::ptr::null_mut())), param3, param4) } -#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RasGetAutodialEnableA(param0: u32, param1: *mut i32) -> u32 { - ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialEnableA(param0 : u32, param1 : *mut i32) -> u32); +pub unsafe fn RasGetAutodialEnableA(param0: u32, param1: *mut super::super::Foundation::BOOL) -> u32 { + ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialEnableA(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); RasGetAutodialEnableA(param0, param1) } -#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RasGetAutodialEnableW(param0: u32, param1: *mut i32) -> u32 { - ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialEnableW(param0 : u32, param1 : *mut i32) -> u32); +pub unsafe fn RasGetAutodialEnableW(param0: u32, param1: *mut super::super::Foundation::BOOL) -> u32 { + ::windows_targets::link!("rasapi32.dll" "system" fn RasGetAutodialEnableW(param0 : u32, param1 : *mut super::super::Foundation:: BOOL) -> u32); RasGetAutodialEnableW(param0, param1) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] @@ -1581,22 +1583,24 @@ where ::windows_targets::link!("rasapi32.dll" "system" fn RasGetEapUserIdentityW(pszphonebook : ::windows_core::PCWSTR, pszentry : ::windows_core::PCWSTR, dwflags : u32, hwnd : super::super::Foundation:: HWND, ppraseapuseridentity : *mut *mut RASEAPUSERIDENTITYW) -> u32); RasGetEapUserIdentityW(pszphonebook.into_param().abi(), pszentry.into_param().abi(), dwflags, hwnd.into_param().abi(), ppraseapuseridentity) } -#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RasGetEntryDialParamsA(param0: P0, param1: *mut RASDIALPARAMSA, param2: *mut i32) -> u32 +pub unsafe fn RasGetEntryDialParamsA(param0: P0, param1: *mut RASDIALPARAMSA, param2: *mut super::super::Foundation::BOOL) -> u32 where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("rasapi32.dll" "system" fn RasGetEntryDialParamsA(param0 : ::windows_core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut i32) -> u32); + ::windows_targets::link!("rasapi32.dll" "system" fn RasGetEntryDialParamsA(param0 : ::windows_core::PCSTR, param1 : *mut RASDIALPARAMSA, param2 : *mut super::super::Foundation:: BOOL) -> u32); RasGetEntryDialParamsA(param0.into_param().abi(), param1, param2) } -#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RasGetEntryDialParamsW(param0: P0, param1: *mut RASDIALPARAMSW, param2: *mut i32) -> u32 +pub unsafe fn RasGetEntryDialParamsW(param0: P0, param1: *mut RASDIALPARAMSW, param2: *mut super::super::Foundation::BOOL) -> u32 where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("rasapi32.dll" "system" fn RasGetEntryDialParamsW(param0 : ::windows_core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut i32) -> u32); + ::windows_targets::link!("rasapi32.dll" "system" fn RasGetEntryDialParamsW(param0 : ::windows_core::PCWSTR, param1 : *mut RASDIALPARAMSW, param2 : *mut super::super::Foundation:: BOOL) -> u32); RasGetEntryDialParamsW(param0.into_param().abi(), param1, param2) } #[doc = "*Required features: `\"Win32_NetworkManagement_Rras\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs index 78218a36fee..d21025fbfa6 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WNet/mod.rs @@ -172,349 +172,367 @@ pub unsafe fn NPOpenEnum(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: ::windows_targets::link!("davclnt.dll" "system" fn NPOpenEnum(dwscope : u32, dwtype : u32, dwusage : u32, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); NPOpenEnum(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection2A(lpnetresource: *const NETRESOURCEA, lppassword: P0, lpusername: P1, dwflags: u32) -> u32 +pub unsafe fn WNetAddConnection2A(lpnetresource: *const NETRESOURCEA, lppassword: P0, lpusername: P1, dwflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpusername : ::windows_core::PCSTR, dwflags : u32) -> u32); - WNetAddConnection2A(lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpusername : ::windows_core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection2A(lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection2W(lpnetresource: *const NETRESOURCEW, lppassword: P0, lpusername: P1, dwflags: u32) -> u32 +pub unsafe fn WNetAddConnection2W(lpnetresource: *const NETRESOURCEW, lppassword: P0, lpusername: P1, dwflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpusername : ::windows_core::PCWSTR, dwflags : u32) -> u32); - WNetAddConnection2W(lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpusername : ::windows_core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection2W(lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection3A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, lppassword: P1, lpusername: P2, dwflags: u32) -> u32 +pub unsafe fn WNetAddConnection3A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, lppassword: P1, lpusername: P2, dwflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpusername : ::windows_core::PCSTR, dwflags : u32) -> u32); - WNetAddConnection3A(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpusername : ::windows_core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection3A(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection3W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, lppassword: P1, lpusername: P2, dwflags: u32) -> u32 +pub unsafe fn WNetAddConnection3W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, lppassword: P1, lpusername: P2, dwflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpusername : ::windows_core::PCWSTR, dwflags : u32) -> u32); - WNetAddConnection3W(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpusername : ::windows_core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection3W(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpusername.into_param().abi(), dwflags).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection4A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: &[u8]) -> u32 +pub unsafe fn WNetAddConnection4A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: &[u8]) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); - WNetAddConnection4A(hwndowner.into_param().abi(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection4A(hwndowner.into_param().abi(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnection4W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: &[u8]) -> u32 +pub unsafe fn WNetAddConnection4W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: &[u8]) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); - WNetAddConnection4W(hwndowner.into_param().abi(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnection4W(hwndowner.into_param().abi(), lpnetresource, pauthbuffer, cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_ptr()), lpuseoptions.len() as _).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnectionA(lpremotename: P0, lppassword: P1, lplocalname: P2) -> u32 +pub unsafe fn WNetAddConnectionA(lpremotename: P0, lppassword: P1, lplocalname: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnectionA(lpremotename : ::windows_core::PCSTR, lppassword : ::windows_core::PCSTR, lplocalname : ::windows_core::PCSTR) -> u32); - WNetAddConnectionA(lpremotename.into_param().abi(), lppassword.into_param().abi(), lplocalname.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnectionA(lpremotename : ::windows_core::PCSTR, lppassword : ::windows_core::PCSTR, lplocalname : ::windows_core::PCSTR) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnectionA(lpremotename.into_param().abi(), lppassword.into_param().abi(), lplocalname.into_param().abi()).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetAddConnectionW(lpremotename: P0, lppassword: P1, lplocalname: P2) -> u32 +pub unsafe fn WNetAddConnectionW(lpremotename: P0, lppassword: P1, lplocalname: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnectionW(lpremotename : ::windows_core::PCWSTR, lppassword : ::windows_core::PCWSTR, lplocalname : ::windows_core::PCWSTR) -> u32); - WNetAddConnectionW(lpremotename.into_param().abi(), lppassword.into_param().abi(), lplocalname.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetAddConnectionW(lpremotename : ::windows_core::PCWSTR, lppassword : ::windows_core::PCWSTR, lplocalname : ::windows_core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); + WNetAddConnectionW(lpremotename.into_param().abi(), lppassword.into_param().abi(), lplocalname.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetCancelConnection2A(lpname: P0, dwflags: u32, fforce: P1) -> u32 +pub unsafe fn WNetCancelConnection2A(lpname: P0, dwflags: u32, fforce: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnection2A(lpname : ::windows_core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> u32); - WNetCancelConnection2A(lpname.into_param().abi(), dwflags, fforce.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnection2A(lpname : ::windows_core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); + WNetCancelConnection2A(lpname.into_param().abi(), dwflags, fforce.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetCancelConnection2W(lpname: P0, dwflags: u32, fforce: P1) -> u32 +pub unsafe fn WNetCancelConnection2W(lpname: P0, dwflags: u32, fforce: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnection2W(lpname : ::windows_core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> u32); - WNetCancelConnection2W(lpname.into_param().abi(), dwflags, fforce.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnection2W(lpname : ::windows_core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); + WNetCancelConnection2W(lpname.into_param().abi(), dwflags, fforce.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetCancelConnectionA(lpname: P0, fforce: P1) -> u32 +pub unsafe fn WNetCancelConnectionA(lpname: P0, fforce: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnectionA(lpname : ::windows_core::PCSTR, fforce : super::super::Foundation:: BOOL) -> u32); - WNetCancelConnectionA(lpname.into_param().abi(), fforce.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnectionA(lpname : ::windows_core::PCSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); + WNetCancelConnectionA(lpname.into_param().abi(), fforce.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetCancelConnectionW(lpname: P0, fforce: P1) -> u32 +pub unsafe fn WNetCancelConnectionW(lpname: P0, fforce: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnectionW(lpname : ::windows_core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32); - WNetCancelConnectionW(lpname.into_param().abi(), fforce.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetCancelConnectionW(lpname : ::windows_core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); + WNetCancelConnectionW(lpname.into_param().abi(), fforce.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetCloseEnum(henum: P0) -> u32 +pub unsafe fn WNetCloseEnum(henum: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> u32); - WNetCloseEnum(henum.into_param().abi()) + ::windows_targets::link!("mpr.dll" "system" fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); + WNetCloseEnum(henum.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetConnectionDialog(hwnd: P0, dwtype: u32) -> u32 +pub unsafe fn WNetConnectionDialog(hwnd: P0, dwtype: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> u32); - WNetConnectionDialog(hwnd.into_param().abi(), dwtype) + ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetConnectionDialog(hwnd.into_param().abi(), dwtype).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetConnectionDialog1A(lpconndlgstruct: *mut CONNECTDLGSTRUCTA) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> u32); - WNetConnectionDialog1A(lpconndlgstruct) +pub unsafe fn WNetConnectionDialog1A(lpconndlgstruct: *mut CONNECTDLGSTRUCTA) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); + WNetConnectionDialog1A(lpconndlgstruct).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetConnectionDialog1W(lpconndlgstruct: *mut CONNECTDLGSTRUCTW) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> u32); - WNetConnectionDialog1W(lpconndlgstruct) +pub unsafe fn WNetConnectionDialog1W(lpconndlgstruct: *mut CONNECTDLGSTRUCTW) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); + WNetConnectionDialog1W(lpconndlgstruct).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetDisconnectDialog(hwnd: P0, dwtype: u32) -> u32 +pub unsafe fn WNetDisconnectDialog(hwnd: P0, dwtype: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> u32); - WNetDisconnectDialog(hwnd.into_param().abi(), dwtype) + ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetDisconnectDialog(hwnd.into_param().abi(), dwtype).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetDisconnectDialog1A(lpconndlgstruct: *const DISCDLGSTRUCTA) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> u32); - WNetDisconnectDialog1A(lpconndlgstruct) +pub unsafe fn WNetDisconnectDialog1A(lpconndlgstruct: *const DISCDLGSTRUCTA) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); + WNetDisconnectDialog1A(lpconndlgstruct).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetDisconnectDialog1W(lpconndlgstruct: *const DISCDLGSTRUCTW) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> u32); - WNetDisconnectDialog1W(lpconndlgstruct) +pub unsafe fn WNetDisconnectDialog1W(lpconndlgstruct: *const DISCDLGSTRUCTW) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); + WNetDisconnectDialog1W(lpconndlgstruct).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetEnumResourceA(henum: P0, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32 +pub unsafe fn WNetEnumResourceA(henum: P0, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); - WNetEnumResourceA(henum.into_param().abi(), lpccount, lpbuffer, lpbuffersize) + ::windows_targets::link!("mpr.dll" "system" fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetEnumResourceA(henum.into_param().abi(), lpccount, lpbuffer, lpbuffersize).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetEnumResourceW(henum: P0, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32 +pub unsafe fn WNetEnumResourceW(henum: P0, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); - WNetEnumResourceW(henum.into_param().abi(), lpccount, lpbuffer, lpbuffersize) + ::windows_targets::link!("mpr.dll" "system" fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetEnumResourceW(henum.into_param().abi(), lpccount, lpbuffer, lpbuffersize).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetConnectionA(lplocalname: P0, lpremotename: ::windows_core::PSTR, lpnlength: *mut u32) -> u32 +pub unsafe fn WNetGetConnectionA(lplocalname: P0, lpremotename: ::windows_core::PSTR, lpnlength: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetConnectionA(lplocalname : ::windows_core::PCSTR, lpremotename : ::windows_core::PSTR, lpnlength : *mut u32) -> u32); - WNetGetConnectionA(lplocalname.into_param().abi(), ::core::mem::transmute(lpremotename), lpnlength) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetConnectionA(lplocalname : ::windows_core::PCSTR, lpremotename : ::windows_core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetConnectionA(lplocalname.into_param().abi(), ::core::mem::transmute(lpremotename), lpnlength).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetConnectionW(lplocalname: P0, lpremotename: ::windows_core::PWSTR, lpnlength: *mut u32) -> u32 +pub unsafe fn WNetGetConnectionW(lplocalname: P0, lpremotename: ::windows_core::PWSTR, lpnlength: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetConnectionW(lplocalname : ::windows_core::PCWSTR, lpremotename : ::windows_core::PWSTR, lpnlength : *mut u32) -> u32); - WNetGetConnectionW(lplocalname.into_param().abi(), ::core::mem::transmute(lpremotename), lpnlength) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetConnectionW(lplocalname : ::windows_core::PCWSTR, lpremotename : ::windows_core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetConnectionW(lplocalname.into_param().abi(), ::core::mem::transmute(lpremotename), lpnlength).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetLastErrorA(lperror: *mut u32, lperrorbuf: &mut [u8], lpnamebuf: &mut [u8]) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_core::PSTR, nnamebufsize : u32) -> u32); - WNetGetLastErrorA(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _) +pub unsafe fn WNetGetLastErrorA(lperror: *mut u32, lperrorbuf: &mut [u8], lpnamebuf: &mut [u8]) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_core::PSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetLastErrorA(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetLastErrorW(lperror: *mut u32, lperrorbuf: &mut [u16], lpnamebuf: &mut [u16]) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_core::PWSTR, nnamebufsize : u32) -> u32); - WNetGetLastErrorW(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _) +pub unsafe fn WNetGetLastErrorW(lperror: *mut u32, lperrorbuf: &mut [u16], lpnamebuf: &mut [u16]) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_core::PWSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetLastErrorW(lperror, ::core::mem::transmute(lperrorbuf.as_ptr()), lperrorbuf.len() as _, ::core::mem::transmute(lpnamebuf.as_ptr()), lpnamebuf.len() as _).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetNetworkInformationA(lpprovider: P0, lpnetinfostruct: *mut NETINFOSTRUCT) -> u32 +pub unsafe fn WNetGetNetworkInformationA(lpprovider: P0, lpnetinfostruct: *mut NETINFOSTRUCT) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetNetworkInformationA(lpprovider : ::windows_core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> u32); - WNetGetNetworkInformationA(lpprovider.into_param().abi(), lpnetinfostruct) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetNetworkInformationA(lpprovider : ::windows_core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); + WNetGetNetworkInformationA(lpprovider.into_param().abi(), lpnetinfostruct).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetNetworkInformationW(lpprovider: P0, lpnetinfostruct: *mut NETINFOSTRUCT) -> u32 +pub unsafe fn WNetGetNetworkInformationW(lpprovider: P0, lpnetinfostruct: *mut NETINFOSTRUCT) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetNetworkInformationW(lpprovider : ::windows_core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> u32); - WNetGetNetworkInformationW(lpprovider.into_param().abi(), lpnetinfostruct) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetNetworkInformationW(lpprovider : ::windows_core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); + WNetGetNetworkInformationW(lpprovider.into_param().abi(), lpnetinfostruct).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetProviderNameA(dwnettype: u32, lpprovidername: ::windows_core::PSTR, lpbuffersize: *mut u32) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_core::PSTR, lpbuffersize : *mut u32) -> u32); - WNetGetProviderNameA(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize) +pub unsafe fn WNetGetProviderNameA(dwnettype: u32, lpprovidername: ::windows_core::PSTR, lpbuffersize: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_core::PSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetProviderNameA(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetProviderNameW(dwnettype: u32, lpprovidername: ::windows_core::PWSTR, lpbuffersize: *mut u32) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_core::PWSTR, lpbuffersize : *mut u32) -> u32); - WNetGetProviderNameW(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize) +pub unsafe fn WNetGetProviderNameW(dwnettype: u32, lpprovidername: ::windows_core::PWSTR, lpbuffersize: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_core::PWSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetProviderNameW(dwnettype, ::core::mem::transmute(lpprovidername), lpbuffersize).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetResourceInformationA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_core::PSTR) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_core::PSTR) -> u32); - WNetGetResourceInformationA(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem) +pub unsafe fn WNetGetResourceInformationA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_core::PSTR) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_core::PSTR) -> super::super::Foundation:: WIN32_ERROR); + WNetGetResourceInformationA(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetResourceInformationW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_core::PWSTR) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_core::PWSTR) -> u32); - WNetGetResourceInformationW(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem) +pub unsafe fn WNetGetResourceInformationW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32, lplpsystem: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); + WNetGetResourceInformationW(lpnetresource, lpbuffer, lpcbbuffer, lplpsystem).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetResourceParentA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> u32); - WNetGetResourceParentA(lpnetresource, lpbuffer, lpcbbuffer) +pub unsafe fn WNetGetResourceParentA(lpnetresource: *const NETRESOURCEA, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetResourceParentA(lpnetresource, lpbuffer, lpcbbuffer).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetResourceParentW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> u32); - WNetGetResourceParentW(lpnetresource, lpbuffer, lpcbbuffer) +pub unsafe fn WNetGetResourceParentW(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpcbbuffer: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetResourceParentW(lpnetresource, lpbuffer, lpcbbuffer).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetUniversalNameA(lplocalpath: P0, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32 +pub unsafe fn WNetGetUniversalNameA(lplocalpath: P0, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetUniversalNameA(lplocalpath : ::windows_core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); - WNetGetUniversalNameA(lplocalpath.into_param().abi(), dwinfolevel, lpbuffer, lpbuffersize) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetUniversalNameA(lplocalpath : ::windows_core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetUniversalNameA(lplocalpath.into_param().abi(), dwinfolevel, lpbuffer, lpbuffersize).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetUniversalNameW(lplocalpath: P0, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32 +pub unsafe fn WNetGetUniversalNameW(lplocalpath: P0, dwinfolevel: UNC_INFO_LEVEL, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetUniversalNameW(lplocalpath : ::windows_core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); - WNetGetUniversalNameW(lplocalpath.into_param().abi(), dwinfolevel, lpbuffer, lpbuffersize) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetUniversalNameW(lplocalpath : ::windows_core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetUniversalNameW(lplocalpath.into_param().abi(), dwinfolevel, lpbuffer, lpbuffersize).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetUserA(lpname: P0, lpusername: ::windows_core::PSTR, lpnlength: *mut u32) -> u32 +pub unsafe fn WNetGetUserA(lpname: P0, lpusername: ::windows_core::PSTR, lpnlength: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetUserA(lpname : ::windows_core::PCSTR, lpusername : ::windows_core::PSTR, lpnlength : *mut u32) -> u32); - WNetGetUserA(lpname.into_param().abi(), ::core::mem::transmute(lpusername), lpnlength) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetUserA(lpname : ::windows_core::PCSTR, lpusername : ::windows_core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetUserA(lpname.into_param().abi(), ::core::mem::transmute(lpusername), lpnlength).ok() } -#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] +#[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetGetUserW(lpname: P0, lpusername: ::windows_core::PWSTR, lpnlength: *mut u32) -> u32 +pub unsafe fn WNetGetUserW(lpname: P0, lpusername: ::windows_core::PWSTR, lpnlength: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetGetUserW(lpname : ::windows_core::PCWSTR, lpusername : ::windows_core::PWSTR, lpnlength : *mut u32) -> u32); - WNetGetUserW(lpname.into_param().abi(), ::core::mem::transmute(lpusername), lpnlength) + ::windows_targets::link!("mpr.dll" "system" fn WNetGetUserW(lpname : ::windows_core::PCWSTR, lpusername : ::windows_core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetGetUserW(lpname.into_param().abi(), ::core::mem::transmute(lpusername), lpnlength).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetOpenEnumA(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEA>, lphenum: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); - WNetOpenEnumA(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) +pub unsafe fn WNetOpenEnumA(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEA>, lphenum: *mut super::super::Foundation::HANDLE) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); + WNetOpenEnumA(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetOpenEnumW(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEW>, lphenum: *mut super::super::Foundation::HANDLE) -> u32 { - ::windows_targets::link!("mpr.dll" "system" fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); - WNetOpenEnumW(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum) +pub unsafe fn WNetOpenEnumW(dwscope: NET_RESOURCE_SCOPE, dwtype: NET_RESOURCE_TYPE, dwusage: WNET_OPEN_ENUM_USAGE, lpnetresource: ::core::option::Option<*const NETRESOURCEW>, lphenum: *mut super::super::Foundation::HANDLE) -> ::windows_core::Result<()> { + ::windows_targets::link!("mpr.dll" "system" fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); + WNetOpenEnumW(dwscope, dwtype, dwusage, ::core::mem::transmute(lpnetresource.unwrap_or(::std::ptr::null())), lphenum).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] #[inline] @@ -539,46 +557,46 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetUseConnection4A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, pauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbauthbuffer: u32, dwflags: u32, lpuseoptions: ::core::option::Option<&[u8]>, lpaccessname: ::windows_core::PSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> u32 +pub unsafe fn WNetUseConnection4A(hwndowner: P0, lpnetresource: *const NETRESOURCEA, pauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbauthbuffer: u32, dwflags: u32, lpuseoptions: ::core::option::Option<&[u8]>, lpaccessname: ::windows_core::PSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); - WNetUseConnection4A(hwndowner.into_param().abi(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) + ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetUseConnection4A(hwndowner.into_param().abi(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetUseConnection4W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, pauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbauthbuffer: u32, dwflags: u32, lpuseoptions: ::core::option::Option<&[u8]>, lpaccessname: ::windows_core::PWSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> u32 +pub unsafe fn WNetUseConnection4W(hwndowner: P0, lpnetresource: *const NETRESOURCEW, pauthbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbauthbuffer: u32, dwflags: u32, lpuseoptions: ::core::option::Option<&[u8]>, lpaccessname: ::windows_core::PWSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); - WNetUseConnection4W(hwndowner.into_param().abi(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) + ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetUseConnection4W(hwndowner.into_param().abi(), lpnetresource, ::core::mem::transmute(pauthbuffer.unwrap_or(::std::ptr::null())), cbauthbuffer, dwflags, ::core::mem::transmute(lpuseoptions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), lpuseoptions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetUseConnectionA(hwndowner: P0, lpnetresource: *const NETRESOURCEA, lppassword: P1, lpuserid: P2, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_core::PSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> u32 +pub unsafe fn WNetUseConnectionA(hwndowner: P0, lpnetresource: *const NETRESOURCEA, lppassword: P1, lpuserid: P2, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_core::PSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpuserid : ::windows_core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); - WNetUseConnectionA(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpuserid.into_param().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) + ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_core::PCSTR, lpuserid : ::windows_core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetUseConnectionA(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpuserid.into_param().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WNetUseConnectionW(hwndowner: P0, lpnetresource: *const NETRESOURCEW, lppassword: P1, lpuserid: P2, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_core::PWSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> u32 +pub unsafe fn WNetUseConnectionW(hwndowner: P0, lpnetresource: *const NETRESOURCEW, lppassword: P1, lpuserid: P2, dwflags: NET_USE_CONNECT_FLAGS, lpaccessname: ::windows_core::PWSTR, lpbuffersize: ::core::option::Option<*mut u32>, lpresult: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpuserid : ::windows_core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> u32); - WNetUseConnectionW(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpuserid.into_param().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))) + ::windows_targets::link!("mpr.dll" "system" fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_core::PCWSTR, lpuserid : ::windows_core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + WNetUseConnectionW(hwndowner.into_param().abi(), lpnetresource, lppassword.into_param().abi(), lpuserid.into_param().abi(), dwflags, ::core::mem::transmute(lpaccessname), ::core::mem::transmute(lpbuffersize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpresult.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_NetworkManagement_WNet\"`*"] pub const CONNDLG_CONN_POINT: CONNECTDLGSTRUCT_FLAGS = CONNECTDLGSTRUCT_FLAGS(2u32); diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index 9068fd16733..f1a44033e81 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -426,12 +426,12 @@ where #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WlanRegisterNotification(hclienthandle: P0, dwnotifsource: u32, bignoreduplicate: P1, funccallback: WLAN_NOTIFICATION_CALLBACK, pcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, preserved: ::core::option::Option<*const ::core::ffi::c_void>, pdwprevnotifsource: ::core::option::Option<*mut u32>) -> u32 +pub unsafe fn WlanRegisterNotification(hclienthandle: P0, dwnotifsource: WLAN_NOTIFICATION_SOURCES, bignoreduplicate: P1, funccallback: WLAN_NOTIFICATION_CALLBACK, pcallbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, preserved: ::core::option::Option<*const ::core::ffi::c_void>, pdwprevnotifsource: ::core::option::Option<*mut u32>) -> u32 where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("wlanapi.dll" "system" fn WlanRegisterNotification(hclienthandle : super::super::Foundation:: HANDLE, dwnotifsource : u32, bignoreduplicate : super::super::Foundation:: BOOL, funccallback : WLAN_NOTIFICATION_CALLBACK, pcallbackcontext : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void, pdwprevnotifsource : *mut u32) -> u32); + ::windows_targets::link!("wlanapi.dll" "system" fn WlanRegisterNotification(hclienthandle : super::super::Foundation:: HANDLE, dwnotifsource : WLAN_NOTIFICATION_SOURCES, bignoreduplicate : super::super::Foundation:: BOOL, funccallback : WLAN_NOTIFICATION_CALLBACK, pcallbackcontext : *const ::core::ffi::c_void, preserved : *const ::core::ffi::c_void, pdwprevnotifsource : *mut u32) -> u32); WlanRegisterNotification(hclienthandle.into_param().abi(), dwnotifsource, bignoreduplicate.into_param().abi(), funccallback, ::core::mem::transmute(pcallbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(preserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwprevnotifsource.unwrap_or(::std::ptr::null_mut()))) } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`*"] @@ -1058,6 +1058,60 @@ pub const DEVPKEY_InfraCast_StreamSecuritySupported: super::super::Devices::Prop pub const DEVPKEY_InfraCast_Supported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x1506935d_e3e7_450f_8637_82233ebe5f6e), pid: 17 }; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ASPMSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 8 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ClockPowerManagementSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 9 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_CurrentSpeedAndMode: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 2 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_DeviceIDMessagingCapable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 4 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedConfigAvailable: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 6 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_ExtendedPCIConfigOpRegionSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 7 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_MSISupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 11 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_NativePciExpressControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 17 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressAERControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 15 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressCapabilityControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 16 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 12 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCIExpressNativePMEControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 14 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_PCISegmentGroupsSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 10 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SHPCNativeHotPlugControl: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 13 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryBusWidth: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 5 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SecondaryInterface: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 1 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SupportedSpeedsAndModes: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 3 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] +pub const DEVPKEY_PciRootBus_SystemMsiSupport: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0xd817fc28_793e_4b9e_9970_469d8be63073), pid: 18 }; +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] +#[cfg(feature = "Win32_Devices_Properties")] pub const DEVPKEY_WiFiDirectServices_AdvertisementId: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_core::GUID::from_u128(0x31b37743_7c5e_4005_93e6_e953f92b82e9), pid: 5 }; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Devices_Properties\"`*"] #[cfg(feature = "Win32_Devices_Properties")] @@ -1914,183 +1968,183 @@ pub const DOT11_WPS_VERSION_1_0: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const DOT11_WPS_VERSION_2_0: u32 = 2u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Enhanced: u32 = 4u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Enhanced: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NoP2PSupported: u32 = 2u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NoP2PSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NotSupported: u32 = 0u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_NotSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_SingleFunctionSupported: u32 = 1u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_SingleFunctionSupported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Supported: u32 = 3u32; +pub const DevProp_PciDevice_AcsCompatibleUpHierarchy_Supported: DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY = DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_Missing: u32 = 2u32; +pub const DevProp_PciDevice_AcsSupport_Missing: DEVPROP_PCIDEVICE_ACSSUPPORT = DEVPROP_PCIDEVICE_ACSSUPPORT(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_NotNeeded: u32 = 1u32; +pub const DevProp_PciDevice_AcsSupport_NotNeeded: DEVPROP_PCIDEVICE_ACSSUPPORT = DEVPROP_PCIDEVICE_ACSSUPPORT(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_AcsSupport_Present: u32 = 0u32; +pub const DevProp_PciDevice_AcsSupport_Present: DEVPROP_PCIDEVICE_ACSSUPPORT = DEVPROP_PCIDEVICE_ACSSUPPORT(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciConventional: u32 = 6u32; +pub const DevProp_PciDevice_BridgeType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(6u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressDownstreamSwitchPort: u32 = 10u32; +pub const DevProp_PciDevice_BridgeType_PciExpressDownstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(10u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressEventCollector: u32 = 14u32; +pub const DevProp_PciDevice_BridgeType_PciExpressEventCollector: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(14u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressRootPort: u32 = 8u32; +pub const DevProp_PciDevice_BridgeType_PciExpressRootPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressToPciXBridge: u32 = 11u32; +pub const DevProp_PciDevice_BridgeType_PciExpressToPciXBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(11u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressTreatedAsPci: u32 = 13u32; +pub const DevProp_PciDevice_BridgeType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(13u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciExpressUpstreamSwitchPort: u32 = 9u32; +pub const DevProp_PciDevice_BridgeType_PciExpressUpstreamSwitchPort: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(9u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciX: u32 = 7u32; +pub const DevProp_PciDevice_BridgeType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(7u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_BridgeType_PciXToExpressBridge: u32 = 12u32; +pub const DevProp_PciDevice_BridgeType_PciXToExpressBridge: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(12u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_100Mhz: u32 = 2u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_133MHZ: u32 = 3u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_133MHZ: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_66Mhz: u32 = 1u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_100Mhz: u32 = 6u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_100Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(6u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_133Mhz: u32 = 7u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_133Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(7u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_66Mhz: u32 = 5u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode1_ECC_66Mhz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(5u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_100MHz: u32 = 10u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(10u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_133MHz: u32 = 11u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(11u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_66MHz: u32 = 9u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_266_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(9u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_100MHz: u32 = 14u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_100MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(14u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_133MHz: u32 = 15u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_133MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(15u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_66MHz: u32 = 13u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode2_533_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(13u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode_Conventional_Pci: u32 = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_PciX_Mode_Conventional_Pci: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_33MHz: u32 = 0u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_33MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_66MHz: u32 = 1u32; +pub const DevProp_PciDevice_CurrentSpeedAndMode_Pci_Conventional_66MHz: DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE = DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciConventional: u32 = 0u32; +pub const DevProp_PciDevice_DeviceType_PciConventional: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressEndpoint: u32 = 2u32; +pub const DevProp_PciDevice_DeviceType_PciExpressEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressLegacyEndpoint: u32 = 3u32; +pub const DevProp_PciDevice_DeviceType_PciExpressLegacyEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressRootComplexIntegratedEndpoint: u32 = 4u32; +pub const DevProp_PciDevice_DeviceType_PciExpressRootComplexIntegratedEndpoint: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciExpressTreatedAsPci: u32 = 5u32; +pub const DevProp_PciDevice_DeviceType_PciExpressTreatedAsPci: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(5u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_DeviceType_PciX: u32 = 1u32; +pub const DevProp_PciDevice_DeviceType_PciX: DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE = DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_LineBased: u32 = 1u32; +pub const DevProp_PciDevice_InterruptType_LineBased: DEVPROP_PCIDEVICE_INTERRUPTTYPE = DEVPROP_PCIDEVICE_INTERRUPTTYPE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_Msi: u32 = 2u32; +pub const DevProp_PciDevice_InterruptType_Msi: DEVPROP_PCIDEVICE_INTERRUPTTYPE = DEVPROP_PCIDEVICE_INTERRUPTTYPE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_InterruptType_MsiX: u32 = 4u32; +pub const DevProp_PciDevice_InterruptType_MsiX: DEVPROP_PCIDEVICE_INTERRUPTTYPE = DEVPROP_PCIDEVICE_INTERRUPTTYPE(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_DidntGetVfBarSpace: u32 = 4u32; +pub const DevProp_PciDevice_SriovSupport_DidntGetVfBarSpace: DEVPROP_PCIDEVICE_SRIOVSUPPORT = DEVPROP_PCIDEVICE_SRIOVSUPPORT(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_MissingAcs: u32 = 1u32; +pub const DevProp_PciDevice_SriovSupport_MissingAcs: DEVPROP_PCIDEVICE_SRIOVSUPPORT = DEVPROP_PCIDEVICE_SRIOVSUPPORT(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_MissingPfDriver: u32 = 2u32; +pub const DevProp_PciDevice_SriovSupport_MissingPfDriver: DEVPROP_PCIDEVICE_SRIOVSUPPORT = DEVPROP_PCIDEVICE_SRIOVSUPPORT(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_NoBusResource: u32 = 3u32; +pub const DevProp_PciDevice_SriovSupport_NoBusResource: DEVPROP_PCIDEVICE_SRIOVSUPPORT = DEVPROP_PCIDEVICE_SRIOVSUPPORT(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciDevice_SriovSupport_Ok: u32 = 0u32; +pub const DevProp_PciDevice_SriovSupport_Ok: DEVPROP_PCIDEVICE_SRIOVSUPPORT = DEVPROP_PCIDEVICE_SRIOVSUPPORT(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkSpeed_Five_Gbps: u32 = 2u32; +pub const DevProp_PciExpressDevice_LinkSpeed_Five_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = DEVPROP_PCIEXPRESSDEVICE_LINKSPEED(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkSpeed_TwoAndHalf_Gbps: u32 = 1u32; +pub const DevProp_PciExpressDevice_LinkSpeed_TwoAndHalf_Gbps: DEVPROP_PCIEXPRESSDEVICE_LINKSPEED = DEVPROP_PCIEXPRESSDEVICE_LINKSPEED(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_1: u32 = 1u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_1: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_12: u32 = 12u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_12: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(12u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_16: u32 = 16u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_16: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(16u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_2: u32 = 2u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_2: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_32: u32 = 32u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_32: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(32u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_4: u32 = 4u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_4: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_LinkWidth_By_8: u32 = 8u32; +pub const DevProp_PciExpressDevice_LinkWidth_By_8: DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH = DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_1024Bytes: u32 = 3u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_1024Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_128Bytes: u32 = 0u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_128Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_2048Bytes: u32 = 4u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_2048Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_256Bytes: u32 = 1u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_256Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_4096Bytes: u32 = 5u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_4096Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(5u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_PayloadOrRequestSize_512Bytes: u32 = 2u32; +pub const DevProp_PciExpressDevice_PayloadOrRequestSize_512Bytes: DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE = DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_Spec_Version_10: u32 = 1u32; +pub const DevProp_PciExpressDevice_Spec_Version_10: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciExpressDevice_Spec_Version_11: u32 = 2u32; +pub const DevProp_PciExpressDevice_Spec_Version_11: DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION = DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_BusWidth_32Bits: u32 = 0u32; +pub const DevProp_PciRootBus_BusWidth_32Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = DEVPROP_PCIROOTBUS_BUSWIDTH(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_BusWidth_64Bits: u32 = 1u32; +pub const DevProp_PciRootBus_BusWidth_64Bits: DEVPROP_PCIROOTBUS_BUSWIDTH = DEVPROP_PCIROOTBUS_BUSWIDTH(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_33Mhz: u32 = 0u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_66Mhz: u32 = 1u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_100Mhz: u32 = 9u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(9u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_133Mhz: u32 = 10u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(10u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_66Mhz: u32 = 8u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_266_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_100Mhz: u32 = 12u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(12u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_133Mhz: u32 = 13u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(13u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_66Mhz: u32 = 11u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_533_Mode2_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(11u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_100Mhz: u32 = 3u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_133Mhz: u32 = 4u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_66Mhz: u32 = 2u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_100Mhz: u32 = 6u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_100Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(6u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_133Mhz: u32 = 7u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_133Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(7u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_66Mhz: u32 = 5u32; +pub const DevProp_PciRootBus_CurrentSpeedAndMode_Pci_X_Mode1_ECC_66Mhz: DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE = DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(5u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciConventional: u32 = 0u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciConventional: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = DEVPROP_PCIROOTBUS_SECONDARYINTERFACE(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciExpress: u32 = 3u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciExpress: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = DEVPROP_PCIROOTBUS_SECONDARYINTERFACE(3u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciXMode1: u32 = 1u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode1: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = DEVPROP_PCIROOTBUS_SECONDARYINTERFACE(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SecondaryInterface_PciXMode2: u32 = 2u32; +pub const DevProp_PciRootBus_SecondaryInterface_PciXMode2: DEVPROP_PCIROOTBUS_SECONDARYINTERFACE = DEVPROP_PCIROOTBUS_SECONDARYINTERFACE(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_33Mhz: u32 = 1u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_33Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(1u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_66Mhz: u32 = 2u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_Conventional_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(2u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_133Mhz: u32 = 8u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_133Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_266Mhz: u32 = 16u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_266Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(16u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_533Mhz: u32 = 32u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_533Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(32u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_66Mhz: u32 = 4u32; +pub const DevProp_PciRootBus_SupportedSpeedsAndModes_Pci_X_66Mhz: DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES = DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const Dot11AdHocManager: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd06a84f_83bd_4d01_8ab9_2389fea0869e); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] @@ -2610,23 +2664,23 @@ pub const WLAN_MAX_PHY_INDEX: u32 = 64u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const WLAN_MAX_PHY_TYPE_NUMBER: u32 = 8u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ACM: u32 = 8u32; +pub const WLAN_NOTIFICATION_SOURCE_ACM: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ALL: u32 = 65535u32; +pub const WLAN_NOTIFICATION_SOURCE_ALL: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(65535u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE: u32 = 2048u32; +pub const WLAN_NOTIFICATION_SOURCE_DEVICE_SERVICE: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(2048u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_HNWK: u32 = 128u32; +pub const WLAN_NOTIFICATION_SOURCE_HNWK: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(128u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_IHV: u32 = 64u32; +pub const WLAN_NOTIFICATION_SOURCE_IHV: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(64u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_MSM: u32 = 16u32; +pub const WLAN_NOTIFICATION_SOURCE_MSM: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(16u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_NONE: u32 = 0u32; +pub const WLAN_NOTIFICATION_SOURCE_NONE: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(0u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_ONEX: u32 = 4u32; +pub const WLAN_NOTIFICATION_SOURCE_ONEX: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(4u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] -pub const WLAN_NOTIFICATION_SOURCE_SECURITY: u32 = 32u32; +pub const WLAN_NOTIFICATION_SOURCE_SECURITY: WLAN_NOTIFICATION_SOURCES = WLAN_NOTIFICATION_SOURCES(32u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub const WLAN_PROFILE_CONNECTION_MODE_AUTO: u32 = 131072u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] @@ -3561,6 +3615,328 @@ impl ::core::fmt::Debug for CH_DESCRIPTION_TYPE { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_ACSCOMPATIBLEUPHIERARCHY").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_ACSSUPPORT(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_ACSSUPPORT {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_ACSSUPPORT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_ACSSUPPORT { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_ACSSUPPORT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_ACSSUPPORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_ACSSUPPORT").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_CURRENTSPEEDANDMODE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_DEVICEBRIDGETYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_INTERRUPTTYPE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_INTERRUPTTYPE {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_INTERRUPTTYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_INTERRUPTTYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_INTERRUPTTYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_INTERRUPTTYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_INTERRUPTTYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIDEVICE_SRIOVSUPPORT(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIDEVICE_SRIOVSUPPORT {} +impl ::core::clone::Clone for DEVPROP_PCIDEVICE_SRIOVSUPPORT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIDEVICE_SRIOVSUPPORT { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIDEVICE_SRIOVSUPPORT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIDEVICE_SRIOVSUPPORT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIDEVICE_SRIOVSUPPORT").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIEXPRESSDEVICE_LINKSPEED(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIEXPRESSDEVICE_LINKSPEED {} +impl ::core::clone::Clone for DEVPROP_PCIEXPRESSDEVICE_LINKSPEED { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIEXPRESSDEVICE_LINKSPEED { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIEXPRESSDEVICE_LINKSPEED { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIEXPRESSDEVICE_LINKSPEED { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIEXPRESSDEVICE_LINKSPEED").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH {} +impl ::core::clone::Clone for DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIEXPRESSDEVICE_LINKWIDTH").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE {} +impl ::core::clone::Clone for DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIEXPRESSDEVICE_PAYLOADORREQUESTSIZE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION {} +impl ::core::clone::Clone for DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIEXPRESSDEVICE_SPEC_VERSION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIROOTBUS_BUSWIDTH(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIROOTBUS_BUSWIDTH {} +impl ::core::clone::Clone for DEVPROP_PCIROOTBUS_BUSWIDTH { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIROOTBUS_BUSWIDTH { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIROOTBUS_BUSWIDTH { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIROOTBUS_BUSWIDTH { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIROOTBUS_BUSWIDTH").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE {} +impl ::core::clone::Clone for DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIROOTBUS_CURRENTSPEEDANDMODE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIROOTBUS_SECONDARYINTERFACE(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIROOTBUS_SECONDARYINTERFACE {} +impl ::core::clone::Clone for DEVPROP_PCIROOTBUS_SECONDARYINTERFACE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIROOTBUS_SECONDARYINTERFACE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIROOTBUS_SECONDARYINTERFACE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIROOTBUS_SECONDARYINTERFACE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIROOTBUS_SECONDARYINTERFACE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES(pub u32); +impl ::core::marker::Copy for DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES {} +impl ::core::clone::Clone for DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("DEVPROP_PCIROOTBUS_SUPPORTEDSPEEDSANDMODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct DOT11EXT_IHV_CONNECTION_PHASE(pub i32); impl ::core::marker::Copy for DOT11EXT_IHV_CONNECTION_PHASE {} impl ::core::clone::Clone for DOT11EXT_IHV_CONNECTION_PHASE { @@ -4918,6 +5294,62 @@ impl ::core::fmt::Debug for WLAN_NOTIFICATION_SECURITY { #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WLAN_NOTIFICATION_SOURCES(pub u32); +impl ::core::marker::Copy for WLAN_NOTIFICATION_SOURCES {} +impl ::core::clone::Clone for WLAN_NOTIFICATION_SOURCES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WLAN_NOTIFICATION_SOURCES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WLAN_NOTIFICATION_SOURCES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WLAN_NOTIFICATION_SOURCES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WLAN_NOTIFICATION_SOURCES").field(&self.0).finish() + } +} +impl WLAN_NOTIFICATION_SOURCES { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for WLAN_NOTIFICATION_SOURCES { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for WLAN_NOTIFICATION_SOURCES { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for WLAN_NOTIFICATION_SOURCES { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for WLAN_NOTIFICATION_SOURCES { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for WLAN_NOTIFICATION_SOURCES { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct WLAN_OPCODE_VALUE_TYPE(pub i32); impl ::core::marker::Copy for WLAN_OPCODE_VALUE_TYPE {} impl ::core::clone::Clone for WLAN_OPCODE_VALUE_TYPE { @@ -14514,7 +14946,7 @@ impl ::core::default::Default for DOT11_WPS_DEVICE_NAME { #[repr(C)] #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`*"] pub struct L2_NOTIFICATION_DATA { - pub NotificationSource: u32, + pub NotificationSource: WLAN_NOTIFICATION_SOURCES, pub NotificationCode: u32, pub InterfaceGuid: ::windows_core::GUID, pub dwDataSize: u32, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs index 95236af25c2..2f43357323e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -2964,15 +2964,27 @@ pub const FWPS_METADATA_FIELD_TRANSPORT_HEADER_SIZE: u32 = 1024u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWPS_RIGHT_ACTION_WRITE: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_BLOCK: FWP_ACTION_TYPE = FWP_ACTION_TYPE(4097u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_INSPECTION: FWP_ACTION_TYPE = FWP_ACTION_TYPE(24580u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_TERMINATING: FWP_ACTION_TYPE = FWP_ACTION_TYPE(20483u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CALLOUT_UNKNOWN: FWP_ACTION_TYPE = FWP_ACTION_TYPE(16389u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_CONTINUE: FWP_ACTION_TYPE = FWP_ACTION_TYPE(8198u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_CALLOUT: u32 = 16384u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_NON_TERMINATING: u32 = 8192u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTION_FLAG_TERMINATING: u32 = 4096u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] -pub const FWP_ACTION_NONE: u32 = 7u32; +pub const FWP_ACTION_NONE: FWP_ACTION_TYPE = FWP_ACTION_TYPE(7u32); +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +pub const FWP_ACTION_NONE_NO_MATCH: FWP_ACTION_TYPE = FWP_ACTION_TYPE(8u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] -pub const FWP_ACTION_NONE_NO_MATCH: u32 = 8u32; +pub const FWP_ACTION_PERMIT: FWP_ACTION_TYPE = FWP_ACTION_TYPE(4098u32); #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub const FWP_ACTRL_MATCH_FILTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] @@ -4070,6 +4082,29 @@ impl ::core::fmt::Debug for FWPM_VSWITCH_EVENT_TYPE { #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FWP_ACTION_TYPE(pub u32); +impl ::core::marker::Copy for FWP_ACTION_TYPE {} +impl ::core::clone::Clone for FWP_ACTION_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for FWP_ACTION_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for FWP_ACTION_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for FWP_ACTION_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FWP_ACTION_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct FWP_AF(pub i32); impl ::core::marker::Copy for FWP_AF {} impl ::core::clone::Clone for FWP_AF { @@ -5366,7 +5401,7 @@ impl ::core::fmt::Debug for IPSEC_TRANSFORM_TYPE { #[repr(C)] #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] pub struct FWPM_ACTION0 { - pub r#type: u32, + pub r#type: FWP_ACTION_TYPE, pub Anonymous: FWPM_ACTION0_0, } impl ::core::marker::Copy for FWPM_ACTION0 {} diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index a8ca099a3ef..b1ce0e9a0cd 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -1,5 +1,21 @@ #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] #[inline] +pub unsafe fn NcFreeNetconProperties(pprops: *mut NETCON_PROPERTIES) { + ::windows_targets::link!("netshell.dll" "system" fn NcFreeNetconProperties(pprops : *mut NETCON_PROPERTIES) -> ()); + NcFreeNetconProperties(pprops) +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NcIsValidConnectionName(pszwname: P0) -> super::super::Foundation::BOOL +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("netshell.dll" "system" fn NcIsValidConnectionName(pszwname : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); + NcIsValidConnectionName(pszwname.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`*"] +#[inline] pub unsafe fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername: P0, netisoerror: *mut NETISO_ERROR_TYPE) -> u32 where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -14,6 +30,14 @@ pub unsafe fn NetworkIsolationEnumAppContainers(flags: u32, pdwnumpublicappcs: * ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationEnumAppContainers(flags : u32, pdwnumpublicappcs : *mut u32, pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32); NetworkIsolationEnumAppContainers(flags, pdwnumpublicappcs, pppublicappcs) } +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_System_Ole\"`*"] +#[cfg(feature = "Win32_System_Ole")] +#[inline] +pub unsafe fn NetworkIsolationEnumerateAppContainerRules() -> ::windows_core::Result { + ::windows_targets::link!("firewallapi.dll" "system" fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut * mut::core::ffi::c_void) -> ::windows_core::HRESULT); + let mut result__ = ::std::mem::zeroed(); + NetworkIsolationEnumerateAppContainerRules(&mut result__).from_abi(result__) +} #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] @@ -28,6 +52,27 @@ pub unsafe fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs: *mut u32, ::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs : *mut u32, appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES) -> u32); NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs, appcontainersids) } +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NetworkIsolationGetEnterpriseIdAsync(wszservername: P0, dwflags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>, callback: PNETISO_EDP_ID_CALLBACK_FN, hoperation: *mut super::super::Foundation::HANDLE) -> u32 +where + P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, +{ + ::windows_targets::link!("firewallapi.dll" "system" fn NetworkIsolationGetEnterpriseIdAsync(wszservername : ::windows_core::PCWSTR, dwflags : u32, context : *const ::core::ffi::c_void, callback : PNETISO_EDP_ID_CALLBACK_FN, hoperation : *mut super::super::Foundation:: HANDLE) -> u32); + NetworkIsolationGetEnterpriseIdAsync(wszservername.into_param().abi(), dwflags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), callback, hoperation) +} +#[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] +pub unsafe fn NetworkIsolationGetEnterpriseIdClose(hoperation: P0, bwaitforoperation: P1) -> u32 +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("firewallapi.dll" "system" fn NetworkIsolationGetEnterpriseIdClose(hoperation : super::super::Foundation:: HANDLE, bwaitforoperation : super::super::Foundation:: BOOL) -> u32); + NetworkIsolationGetEnterpriseIdClose(hoperation.into_param().abi(), bwaitforoperation.into_param().abi()) +} #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index 6cdd336a24b..891c2132863 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -1267,13 +1267,13 @@ where #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Security\"`, `\"Win32_System_Registry\"`*"] #[cfg(all(feature = "Win32_Security", feature = "Win32_System_Registry"))] #[inline] -pub unsafe fn ClusterRegSetKeySecurityEx(hkey: P0, securityinformation: u32, psecuritydescriptor: P1, lpszreason: P2) -> i32 +pub unsafe fn ClusterRegSetKeySecurityEx(hkey: P0, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P1, lpszreason: P2) -> i32 where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("clusapi.dll" "system" fn ClusterRegSetKeySecurityEx(hkey : super::super::System::Registry:: HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpszreason : ::windows_core::PCWSTR) -> i32); + ::windows_targets::link!("clusapi.dll" "system" fn ClusterRegSetKeySecurityEx(hkey : super::super::System::Registry:: HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpszreason : ::windows_core::PCWSTR) -> i32); ClusterRegSetKeySecurityEx(hkey.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi(), lpszreason.into_param().abi()) } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_System_Registry\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs new file mode 100644 index 00000000000..091c5015a23 --- /dev/null +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs @@ -0,0 +1,249 @@ +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +pub trait IWinHttpRequest_Impl: Sized + super::super::System::Com::IDispatch_Impl { + fn SetProxy(&self, proxysetting: i32, proxyserver: &super::super::System::Variant::VARIANT, bypasslist: &super::super::System::Variant::VARIANT) -> ::windows_core::Result<()>; + fn SetCredentials(&self, username: &::windows_core::BSTR, password: &::windows_core::BSTR, flags: i32) -> ::windows_core::Result<()>; + fn Open(&self, method: &::windows_core::BSTR, url: &::windows_core::BSTR, r#async: &super::super::System::Variant::VARIANT) -> ::windows_core::Result<()>; + fn SetRequestHeader(&self, header: &::windows_core::BSTR, value: &::windows_core::BSTR) -> ::windows_core::Result<()>; + fn GetResponseHeader(&self, header: &::windows_core::BSTR) -> ::windows_core::Result<::windows_core::BSTR>; + fn GetAllResponseHeaders(&self) -> ::windows_core::Result<::windows_core::BSTR>; + fn Send(&self, body: &super::super::System::Variant::VARIANT) -> ::windows_core::Result<()>; + fn Status(&self) -> ::windows_core::Result; + fn StatusText(&self) -> ::windows_core::Result<::windows_core::BSTR>; + fn ResponseText(&self) -> ::windows_core::Result<::windows_core::BSTR>; + fn ResponseBody(&self) -> ::windows_core::Result; + fn ResponseStream(&self) -> ::windows_core::Result; + fn get_Option(&self, option: WinHttpRequestOption) -> ::windows_core::Result; + fn put_Option(&self, option: WinHttpRequestOption, value: &super::super::System::Variant::VARIANT) -> ::windows_core::Result<()>; + fn WaitForResponse(&self, timeout: &super::super::System::Variant::VARIANT) -> ::windows_core::Result; + fn Abort(&self) -> ::windows_core::Result<()>; + fn SetTimeouts(&self, resolvetimeout: i32, connecttimeout: i32, sendtimeout: i32, receivetimeout: i32) -> ::windows_core::Result<()>; + fn SetClientCertificate(&self, clientcertificate: &::windows_core::BSTR) -> ::windows_core::Result<()>; + fn SetAutoLogonPolicy(&self, autologonpolicy: WinHttpRequestAutoLogonPolicy) -> ::windows_core::Result<()>; +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +impl ::windows_core::RuntimeName for IWinHttpRequest {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] +impl IWinHttpRequest_Vtbl { + pub const fn new, Impl: IWinHttpRequest_Impl, const OFFSET: isize>() -> IWinHttpRequest_Vtbl { + unsafe extern "system" fn SetProxy, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, proxysetting: i32, proxyserver: super::super::System::Variant::VARIANT, bypasslist: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetProxy(::core::mem::transmute_copy(&proxysetting), ::core::mem::transmute(&proxyserver), ::core::mem::transmute(&bypasslist)).into() + } + unsafe extern "system" fn SetCredentials, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, username: ::std::mem::MaybeUninit<::windows_core::BSTR>, password: ::std::mem::MaybeUninit<::windows_core::BSTR>, flags: i32) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetCredentials(::core::mem::transmute(&username), ::core::mem::transmute(&password), ::core::mem::transmute_copy(&flags)).into() + } + unsafe extern "system" fn Open, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, method: ::std::mem::MaybeUninit<::windows_core::BSTR>, url: ::std::mem::MaybeUninit<::windows_core::BSTR>, r#async: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.Open(::core::mem::transmute(&method), ::core::mem::transmute(&url), ::core::mem::transmute(&r#async)).into() + } + unsafe extern "system" fn SetRequestHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, header: ::std::mem::MaybeUninit<::windows_core::BSTR>, value: ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetRequestHeader(::core::mem::transmute(&header), ::core::mem::transmute(&value)).into() + } + unsafe extern "system" fn GetResponseHeader, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, header: ::std::mem::MaybeUninit<::windows_core::BSTR>, value: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.GetResponseHeader(::core::mem::transmute(&header)) { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(value, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn GetAllResponseHeaders, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, headers: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.GetAllResponseHeaders() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(headers, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn Send, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, body: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.Send(::core::mem::transmute(&body)).into() + } + unsafe extern "system" fn Status, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, status: *mut i32) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.Status() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(status, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn StatusText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, status: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.StatusText() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(status, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn ResponseText, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, body: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.ResponseText() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(body, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn ResponseBody, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, body: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.ResponseBody() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(body, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn ResponseStream, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, body: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.ResponseStream() { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(body, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn get_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, option: WinHttpRequestOption, value: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.get_Option(::core::mem::transmute_copy(&option)) { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(value, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn put_Option, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, option: WinHttpRequestOption, value: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.put_Option(::core::mem::transmute_copy(&option), ::core::mem::transmute(&value)).into() + } + unsafe extern "system" fn WaitForResponse, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, timeout: super::super::System::Variant::VARIANT, succeeded: *mut super::super::Foundation::VARIANT_BOOL) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + match this.WaitForResponse(::core::mem::transmute(&timeout)) { + ::core::result::Result::Ok(ok__) => { + ::core::ptr::write(succeeded, ::core::mem::transmute(ok__)); + ::windows_core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + unsafe extern "system" fn Abort, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *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.Abort().into() + } + unsafe extern "system" fn SetTimeouts, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, resolvetimeout: i32, connecttimeout: i32, sendtimeout: i32, receivetimeout: i32) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetTimeouts(::core::mem::transmute_copy(&resolvetimeout), ::core::mem::transmute_copy(&connecttimeout), ::core::mem::transmute_copy(&sendtimeout), ::core::mem::transmute_copy(&receivetimeout)).into() + } + unsafe extern "system" fn SetClientCertificate, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, clientcertificate: ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetClientCertificate(::core::mem::transmute(&clientcertificate)).into() + } + unsafe extern "system" fn SetAutoLogonPolicy, Impl: IWinHttpRequest_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, autologonpolicy: WinHttpRequestAutoLogonPolicy) -> ::windows_core::HRESULT { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.SetAutoLogonPolicy(::core::mem::transmute_copy(&autologonpolicy)).into() + } + Self { + base__: super::super::System::Com::IDispatch_Vtbl::new::(), + SetProxy: SetProxy::, + SetCredentials: SetCredentials::, + Open: Open::, + SetRequestHeader: SetRequestHeader::, + GetResponseHeader: GetResponseHeader::, + GetAllResponseHeaders: GetAllResponseHeaders::, + Send: Send::, + Status: Status::, + StatusText: StatusText::, + ResponseText: ResponseText::, + ResponseBody: ResponseBody::, + ResponseStream: ResponseStream::, + get_Option: get_Option::, + put_Option: put_Option::, + WaitForResponse: WaitForResponse::, + Abort: Abort::, + SetTimeouts: SetTimeouts::, + SetClientCertificate: SetClientCertificate::, + SetAutoLogonPolicy: SetAutoLogonPolicy::, + } + } + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID + } +} +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] +#[cfg(feature = "Win32_System_Com")] +pub trait IWinHttpRequestEvents_Impl: Sized { + fn OnResponseStart(&self, status: i32, contenttype: &::windows_core::BSTR); + fn OnResponseDataAvailable(&self, data: *const *const super::super::System::Com::SAFEARRAY); + fn OnResponseFinished(&self); + fn OnError(&self, errornumber: i32, errordescription: &::windows_core::BSTR); +} +#[cfg(feature = "Win32_System_Com")] +impl ::windows_core::RuntimeName for IWinHttpRequestEvents {} +#[cfg(feature = "Win32_System_Com")] +impl IWinHttpRequestEvents_Vtbl { + pub const fn new, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>() -> IWinHttpRequestEvents_Vtbl { + unsafe extern "system" fn OnResponseStart, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, status: i32, contenttype: ::std::mem::MaybeUninit<::windows_core::BSTR>) { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.OnResponseStart(::core::mem::transmute_copy(&status), ::core::mem::transmute(&contenttype)) + } + unsafe extern "system" fn OnResponseDataAvailable, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, data: *const *const super::super::System::Com::SAFEARRAY) { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.OnResponseDataAvailable(::core::mem::transmute_copy(&data)) + } + unsafe extern "system" fn OnResponseFinished, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void) { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.OnResponseFinished() + } + unsafe extern "system" fn OnError, Impl: IWinHttpRequestEvents_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, errornumber: i32, errordescription: ::std::mem::MaybeUninit<::windows_core::BSTR>) { + let this = (this as *const *const ()).offset(OFFSET) as *const Identity; + let this = (*this).get_impl(); + this.OnError(::core::mem::transmute_copy(&errornumber), ::core::mem::transmute(&errordescription)) + } + Self { + base__: ::windows_core::IUnknown_Vtbl::new::(), + OnResponseStart: OnResponseStart::, + OnResponseDataAvailable: OnResponseDataAvailable::, + OnResponseFinished: OnResponseFinished::, + OnError: OnError::, + } + } + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + } +} diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs index f9d26608271..8081a1ad7ca 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -411,6 +411,218 @@ where ::windows_targets::link!("winhttp.dll" "system" fn WinHttpWriteProxySettings(hsession : *const ::core::ffi::c_void, fforceupdate : super::super::Foundation:: BOOL, pwinhttpproxysettings : *const WINHTTP_PROXY_SETTINGS) -> u32); WinHttpWriteProxySettings(hsession, fforceupdate.into_param().abi(), pwinhttpproxysettings) } +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] +pub struct IWinHttpRequest(::windows_core::IUnknown); +#[cfg(feature = "Win32_System_Com")] +impl IWinHttpRequest { + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn SetProxy(&self, proxysetting: i32, proxyserver: super::super::System::Variant::VARIANT, bypasslist: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetProxy)(::windows_core::Interface::as_raw(self), proxysetting, ::core::mem::transmute(proxyserver), ::core::mem::transmute(bypasslist)).ok() + } + pub unsafe fn SetCredentials(&self, username: P0, password: P1, flags: i32) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + P1: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).SetCredentials)(::windows_core::Interface::as_raw(self), username.into_param().abi(), password.into_param().abi(), flags).ok() + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn Open(&self, method: P0, url: P1, r#async: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + P1: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).Open)(::windows_core::Interface::as_raw(self), method.into_param().abi(), url.into_param().abi(), ::core::mem::transmute(r#async)).ok() + } + pub unsafe fn SetRequestHeader(&self, header: P0, value: P1) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + P1: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).SetRequestHeader)(::windows_core::Interface::as_raw(self), header.into_param().abi(), value.into_param().abi()).ok() + } + pub unsafe fn GetResponseHeader(&self, header: P0) -> ::windows_core::Result<::windows_core::BSTR> + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetResponseHeader)(::windows_core::Interface::as_raw(self), header.into_param().abi(), &mut result__).from_abi(result__) + } + pub unsafe fn GetAllResponseHeaders(&self) -> ::windows_core::Result<::windows_core::BSTR> { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).GetAllResponseHeaders)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn Send(&self, body: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).Send)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(body)).ok() + } + pub unsafe fn Status(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).Status)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + pub unsafe fn StatusText(&self) -> ::windows_core::Result<::windows_core::BSTR> { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).StatusText)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + pub unsafe fn ResponseText(&self) -> ::windows_core::Result<::windows_core::BSTR> { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).ResponseText)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn ResponseBody(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).ResponseBody)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn ResponseStream(&self) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).ResponseStream)(::windows_core::Interface::as_raw(self), &mut result__).from_abi(result__) + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn get_Option(&self, option: WinHttpRequestOption) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).get_Option)(::windows_core::Interface::as_raw(self), option, &mut result__).from_abi(result__) + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn put_Option(&self, option: WinHttpRequestOption, value: super::super::System::Variant::VARIANT) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).put_Option)(::windows_core::Interface::as_raw(self), option, ::core::mem::transmute(value)).ok() + } + #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`*"] + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub unsafe fn WaitForResponse(&self, timeout: super::super::System::Variant::VARIANT) -> ::windows_core::Result { + let mut result__ = ::std::mem::zeroed(); + (::windows_core::Interface::vtable(self).WaitForResponse)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(timeout), &mut result__).from_abi(result__) + } + pub unsafe fn Abort(&self) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).Abort)(::windows_core::Interface::as_raw(self)).ok() + } + pub unsafe fn SetTimeouts(&self, resolvetimeout: i32, connecttimeout: i32, sendtimeout: i32, receivetimeout: i32) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetTimeouts)(::windows_core::Interface::as_raw(self), resolvetimeout, connecttimeout, sendtimeout, receivetimeout).ok() + } + pub unsafe fn SetClientCertificate(&self, clientcertificate: P0) -> ::windows_core::Result<()> + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).SetClientCertificate)(::windows_core::Interface::as_raw(self), clientcertificate.into_param().abi()).ok() + } + pub unsafe fn SetAutoLogonPolicy(&self, autologonpolicy: WinHttpRequestAutoLogonPolicy) -> ::windows_core::Result<()> { + (::windows_core::Interface::vtable(self).SetAutoLogonPolicy)(::windows_core::Interface::as_raw(self), autologonpolicy).ok() + } +} +#[cfg(feature = "Win32_System_Com")] +::windows_core::imp::interface_hierarchy!(IWinHttpRequest, ::windows_core::IUnknown, super::super::System::Com::IDispatch); +#[cfg(feature = "Win32_System_Com")] +unsafe impl ::windows_core::Interface for IWinHttpRequest { + type Vtable = IWinHttpRequest_Vtbl; +} +#[cfg(feature = "Win32_System_Com")] +unsafe impl ::windows_core::ComInterface for IWinHttpRequest { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x016fe2ec_b2c8_45f8_b23b_39e53a75396b); +} +#[cfg(feature = "Win32_System_Com")] +#[repr(C)] +#[doc(hidden)] +pub struct IWinHttpRequest_Vtbl { + pub base__: super::super::System::Com::IDispatch_Vtbl, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub SetProxy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, proxysetting: i32, proxyserver: super::super::System::Variant::VARIANT, bypasslist: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + SetProxy: usize, + pub SetCredentials: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, username: ::std::mem::MaybeUninit<::windows_core::BSTR>, password: ::std::mem::MaybeUninit<::windows_core::BSTR>, flags: i32) -> ::windows_core::HRESULT, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub Open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, method: ::std::mem::MaybeUninit<::windows_core::BSTR>, url: ::std::mem::MaybeUninit<::windows_core::BSTR>, r#async: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + Open: usize, + pub SetRequestHeader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, header: ::std::mem::MaybeUninit<::windows_core::BSTR>, value: ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + pub GetResponseHeader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, header: ::std::mem::MaybeUninit<::windows_core::BSTR>, value: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + pub GetAllResponseHeaders: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, headers: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub Send: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, body: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + Send: usize, + pub Status: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, status: *mut i32) -> ::windows_core::HRESULT, + pub StatusText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, status: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + pub ResponseText: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, body: *mut ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub ResponseBody: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, body: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + ResponseBody: usize, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub ResponseStream: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, body: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + ResponseStream: usize, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub get_Option: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: WinHttpRequestOption, value: *mut super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + get_Option: usize, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub put_Option: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, option: WinHttpRequestOption, value: super::super::System::Variant::VARIANT) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + put_Option: usize, + #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] + pub WaitForResponse: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, timeout: super::super::System::Variant::VARIANT, succeeded: *mut super::super::Foundation::VARIANT_BOOL) -> ::windows_core::HRESULT, + #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] + WaitForResponse: usize, + pub Abort: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub SetTimeouts: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resolvetimeout: i32, connecttimeout: i32, sendtimeout: i32, receivetimeout: i32) -> ::windows_core::HRESULT, + pub SetClientCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, clientcertificate: ::std::mem::MaybeUninit<::windows_core::BSTR>) -> ::windows_core::HRESULT, + pub SetAutoLogonPolicy: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, autologonpolicy: WinHttpRequestAutoLogonPolicy) -> ::windows_core::HRESULT, +} +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] +pub struct IWinHttpRequestEvents(::windows_core::IUnknown); +impl IWinHttpRequestEvents { + pub unsafe fn OnResponseStart(&self, status: i32, contenttype: P0) + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).OnResponseStart)(::windows_core::Interface::as_raw(self), status, contenttype.into_param().abi()) + } + #[doc = "*Required features: `\"Win32_System_Com\"`*"] + #[cfg(feature = "Win32_System_Com")] + pub unsafe fn OnResponseDataAvailable(&self, data: *const *const super::super::System::Com::SAFEARRAY) { + (::windows_core::Interface::vtable(self).OnResponseDataAvailable)(::windows_core::Interface::as_raw(self), data) + } + pub unsafe fn OnResponseFinished(&self) { + (::windows_core::Interface::vtable(self).OnResponseFinished)(::windows_core::Interface::as_raw(self)) + } + pub unsafe fn OnError(&self, errornumber: i32, errordescription: P0) + where + P0: ::windows_core::IntoParam<::windows_core::BSTR>, + { + (::windows_core::Interface::vtable(self).OnError)(::windows_core::Interface::as_raw(self), errornumber, errordescription.into_param().abi()) + } +} +::windows_core::imp::interface_hierarchy!(IWinHttpRequestEvents, ::windows_core::IUnknown); +unsafe impl ::windows_core::Interface for IWinHttpRequestEvents { + type Vtable = IWinHttpRequestEvents_Vtbl; +} +unsafe impl ::windows_core::ComInterface for IWinHttpRequestEvents { + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf97f4e15_b787_4212_80d1_d380cbbf982e); +} +#[repr(C)] +#[doc(hidden)] +pub struct IWinHttpRequestEvents_Vtbl { + pub base__: ::windows_core::IUnknown_Vtbl, + pub OnResponseStart: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, status: i32, contenttype: ::std::mem::MaybeUninit<::windows_core::BSTR>), + #[cfg(feature = "Win32_System_Com")] + pub OnResponseDataAvailable: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, data: *const *const super::super::System::Com::SAFEARRAY), + #[cfg(not(feature = "Win32_System_Com"))] + OnResponseDataAvailable: usize, + pub OnResponseFinished: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), + pub OnError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, errornumber: i32, errordescription: ::std::mem::MaybeUninit<::windows_core::BSTR>), +} #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const API_GET_PROXY_FOR_URL: u32 = 6u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] @@ -426,6 +638,12 @@ pub const API_SEND_REQUEST: u32 = 5u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const API_WRITE_DATA: u32 = 4u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_Always: WinHttpRequestAutoLogonPolicy = WinHttpRequestAutoLogonPolicy(0i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_Never: WinHttpRequestAutoLogonPolicy = WinHttpRequestAutoLogonPolicy(2i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const AutoLogonPolicy_OnlyIfBypassProxy: WinHttpRequestAutoLogonPolicy = WinHttpRequestAutoLogonPolicy(1i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_AUTODETECTION_FAILED: u32 = 12180u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR: u32 = 12178u32; @@ -536,6 +754,18 @@ pub const ERROR_WINHTTP_UNHANDLED_SCRIPT_TYPE: u32 = 12176u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const ERROR_WINHTTP_UNRECOGNIZED_SCHEME: u32 = 12006u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_DEFAULT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_DIRECT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_PRECONFIG: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_PROXYSETTING_PROXY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_SETCREDENTIALS_FOR_PROXY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const HTTPREQUEST_SETCREDENTIALS_FOR_SERVER: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const HTTP_STATUS_ACCEPTED: u32 = 202u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const HTTP_STATUS_AMBIGUOUS: u32 = 300u32; @@ -664,6 +894,28 @@ pub const SECURITY_FLAG_STRENGTH_STRONG: u32 = 536870912u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const SECURITY_FLAG_STRENGTH_WEAK: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_ALL: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(168i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_SSL2: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(8i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_SSL3: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(32i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(128i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1_1: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(512i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SecureProtocol_TLS1_2: WinHttpRequestSecureProtocols = WinHttpRequestSecureProtocols(2048i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertCNInvalid: WinHttpRequestSslErrorFlags = WinHttpRequestSslErrorFlags(4096i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertDateInvalid: WinHttpRequestSslErrorFlags = WinHttpRequestSslErrorFlags(8192i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_CertWrongUsage: WinHttpRequestSslErrorFlags = WinHttpRequestSslErrorFlags(512i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_Ignore_All: WinHttpRequestSslErrorFlags = WinHttpRequestSslErrorFlags(13056i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const SslErrorFlag_UnknownCA: WinHttpRequestSslErrorFlags = WinHttpRequestSslErrorFlags(256i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY: WINHTTP_ACCESS_TYPE = WINHTTP_ACCESS_TYPE(4u32); #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WINHTTP_ACCESS_TYPE_DEFAULT_PROXY: WINHTTP_ACCESS_TYPE = WINHTTP_ACCESS_TYPE(0u32); @@ -1668,10 +1920,52 @@ pub const WinHttpReceiveResponseHeadersEnd: WINHTTP_REQUEST_TIME_ENTRY = WINHTTP #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpReceiveResponseStart: WINHTTP_REQUEST_TIME_ENTRY = WINHTTP_REQUEST_TIME_ENTRY(22i32); #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequest: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2087c2f4_2cef_4953_a8ab_66779b670495); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestHeadersCompressedSize: WINHTTP_REQUEST_STAT_ENTRY = WINHTTP_REQUEST_STAT_ENTRY(7i32); #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestHeadersSize: WINHTTP_REQUEST_STAT_ENTRY = WINHTTP_REQUEST_STAT_ENTRY(6i32); #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableCertificateRevocationCheck: WinHttpRequestOption = WinHttpRequestOption(18i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableHttp1_1: WinHttpRequestOption = WinHttpRequestOption(17i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableHttpsToHttpRedirects: WinHttpRequestOption = WinHttpRequestOption(12i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnablePassportAuthentication: WinHttpRequestOption = WinHttpRequestOption(13i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableRedirects: WinHttpRequestOption = WinHttpRequestOption(6i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EnableTracing: WinHttpRequestOption = WinHttpRequestOption(10i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_EscapePercentInURL: WinHttpRequestOption = WinHttpRequestOption(3i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxAutomaticRedirects: WinHttpRequestOption = WinHttpRequestOption(14i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxResponseDrainSize: WinHttpRequestOption = WinHttpRequestOption(16i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_MaxResponseHeaderSize: WinHttpRequestOption = WinHttpRequestOption(15i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_RejectUserpwd: WinHttpRequestOption = WinHttpRequestOption(19i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_RevertImpersonationOverSsl: WinHttpRequestOption = WinHttpRequestOption(11i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SecureProtocols: WinHttpRequestOption = WinHttpRequestOption(9i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SelectCertificate: WinHttpRequestOption = WinHttpRequestOption(5i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_SslErrorIgnoreFlags: WinHttpRequestOption = WinHttpRequestOption(4i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_URL: WinHttpRequestOption = WinHttpRequestOption(1i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_URLCodePage: WinHttpRequestOption = WinHttpRequestOption(2i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UrlEscapeDisable: WinHttpRequestOption = WinHttpRequestOption(7i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UrlEscapeDisableQuery: WinHttpRequestOption = WinHttpRequestOption(8i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +pub const WinHttpRequestOption_UserAgentString: WinHttpRequestOption = WinHttpRequestOption(0i32); +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestStatLast: WINHTTP_REQUEST_STAT_ENTRY = WINHTTP_REQUEST_STAT_ENTRY(16i32); #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub const WinHttpRequestStatMax: WINHTTP_REQUEST_STAT_ENTRY = WINHTTP_REQUEST_STAT_ENTRY(32i32); @@ -2040,6 +2334,98 @@ impl ::core::fmt::Debug for WIN_HTTP_CREATE_URL_FLAGS { f.debug_tuple("WIN_HTTP_CREATE_URL_FLAGS").field(&self.0).finish() } } +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WinHttpRequestAutoLogonPolicy(pub i32); +impl ::core::marker::Copy for WinHttpRequestAutoLogonPolicy {} +impl ::core::clone::Clone for WinHttpRequestAutoLogonPolicy { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WinHttpRequestAutoLogonPolicy { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WinHttpRequestAutoLogonPolicy { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WinHttpRequestAutoLogonPolicy { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WinHttpRequestAutoLogonPolicy").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WinHttpRequestOption(pub i32); +impl ::core::marker::Copy for WinHttpRequestOption {} +impl ::core::clone::Clone for WinHttpRequestOption { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WinHttpRequestOption { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WinHttpRequestOption { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WinHttpRequestOption { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WinHttpRequestOption").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WinHttpRequestSecureProtocols(pub i32); +impl ::core::marker::Copy for WinHttpRequestSecureProtocols {} +impl ::core::clone::Clone for WinHttpRequestSecureProtocols { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WinHttpRequestSecureProtocols { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WinHttpRequestSecureProtocols { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WinHttpRequestSecureProtocols { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WinHttpRequestSecureProtocols").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct WinHttpRequestSslErrorFlags(pub i32); +impl ::core::marker::Copy for WinHttpRequestSslErrorFlags {} +impl ::core::clone::Clone for WinHttpRequestSslErrorFlags { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for WinHttpRequestSslErrorFlags { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for WinHttpRequestSslErrorFlags { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for WinHttpRequestSslErrorFlags { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("WinHttpRequestSslErrorFlags").field(&self.0).finish() + } +} #[repr(C)] #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub struct HTTP_VERSION_INFO { @@ -3323,3 +3709,5 @@ impl ::core::default::Default for WINHTTP_WEB_SOCKET_STATUS { pub type WINHTTP_PROXY_CHANGE_CALLBACK = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Networking_WinHttp\"`*"] pub type WINHTTP_STATUS_CALLBACK = ::core::option::Option ()>; +#[cfg(feature = "implement")] +::core::include!("impl.rs"); diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index e65d16957e9..13cfe93e308 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -1004,25 +1004,25 @@ pub unsafe fn HttpAddRequestHeadersW(hrequest: *const ::core::ffi::c_void, lpszh #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HttpCheckDavComplianceA(lpszurl: P0, lpszcompliancetoken: P1, lpffound: *mut i32, hwnd: P2, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL +pub unsafe fn HttpCheckDavComplianceA(lpszurl: P0, lpszcompliancetoken: P1, lpffound: *mut super::super::Foundation::BOOL, hwnd: P2, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("wininet.dll" "system" fn HttpCheckDavComplianceA(lpszurl : ::windows_core::PCSTR, lpszcompliancetoken : ::windows_core::PCSTR, lpffound : *mut i32, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wininet.dll" "system" fn HttpCheckDavComplianceA(lpszurl : ::windows_core::PCSTR, lpszcompliancetoken : ::windows_core::PCSTR, lpffound : *mut super::super::Foundation:: BOOL, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); HttpCheckDavComplianceA(lpszurl.into_param().abi(), lpszcompliancetoken.into_param().abi(), lpffound, hwnd.into_param().abi(), lpvreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn HttpCheckDavComplianceW(lpszurl: P0, lpszcompliancetoken: P1, lpffound: *mut i32, hwnd: P2, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL +pub unsafe fn HttpCheckDavComplianceW(lpszurl: P0, lpszcompliancetoken: P1, lpffound: *mut super::super::Foundation::BOOL, hwnd: P2, lpvreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("wininet.dll" "system" fn HttpCheckDavComplianceW(lpszurl : ::windows_core::PCWSTR, lpszcompliancetoken : ::windows_core::PCWSTR, lpffound : *mut i32, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wininet.dll" "system" fn HttpCheckDavComplianceW(lpszurl : ::windows_core::PCWSTR, lpszcompliancetoken : ::windows_core::PCWSTR, lpffound : *mut super::super::Foundation:: BOOL, hwnd : super::super::Foundation:: HWND, lpvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); HttpCheckDavComplianceW(lpszurl.into_param().abi(), lpszcompliancetoken.into_param().abi(), lpffound, hwnd.into_param().abi(), lpvreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -1254,18 +1254,18 @@ where ::windows_targets::link!("wininet.dll" "system" fn InternalInternetGetCookie(lpszurl : ::windows_core::PCSTR, lpszcookiedata : ::windows_core::PSTR, lpdwdatasize : *mut u32) -> u32); InternalInternetGetCookie(lpszurl.into_param().abi(), ::core::mem::transmute(lpszcookiedata), lpdwdatasize) } -#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn InternetAlgIdToStringA(ai: u32, lpstr: ::windows_core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows_targets::link!("wininet.dll" "system" fn InternetAlgIdToStringA(ai : u32, lpstr : ::windows_core::PSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); +pub unsafe fn InternetAlgIdToStringA(ai: super::super::Security::Cryptography::ALG_ID, lpstr: ::windows_core::PSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { + ::windows_targets::link!("wininet.dll" "system" fn InternetAlgIdToStringA(ai : super::super::Security::Cryptography:: ALG_ID, lpstr : ::windows_core::PSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); InternetAlgIdToStringA(ai, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } -#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn InternetAlgIdToStringW(ai: u32, lpstr: ::windows_core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { - ::windows_targets::link!("wininet.dll" "system" fn InternetAlgIdToStringW(ai : u32, lpstr : ::windows_core::PWSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); +pub unsafe fn InternetAlgIdToStringW(ai: super::super::Security::Cryptography::ALG_ID, lpstr: ::windows_core::PWSTR, lpdwstrlength: *mut u32, dwreserved: u32) -> super::super::Foundation::BOOL { + ::windows_targets::link!("wininet.dll" "system" fn InternetAlgIdToStringW(ai : super::super::Security::Cryptography:: ALG_ID, lpstr : ::windows_core::PWSTR, lpdwstrlength : *mut u32, dwreserved : u32) -> super::super::Foundation:: BOOL); InternetAlgIdToStringW(ai, ::core::mem::transmute(lpstr), lpdwstrlength, dwreserved) } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`*"] @@ -8247,41 +8247,41 @@ impl ::core::default::Default for INTERNET_PROXY_INFO { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] pub struct INTERNET_SECURITY_CONNECTION_INFO { pub dwSize: u32, pub fSecure: super::super::Foundation::BOOL, pub connectionInfo: super::super::Security::Authentication::Identity::SecPkgContext_ConnectionInfo, pub cipherInfo: super::super::Security::Authentication::Identity::SecPkgContext_CipherInfo, } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for INTERNET_SECURITY_CONNECTION_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for INTERNET_SECURITY_CONNECTION_INFO { fn clone(&self) -> Self { *self } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for INTERNET_SECURITY_CONNECTION_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("INTERNET_SECURITY_CONNECTION_INFO").field("dwSize", &self.dwSize).field("fSecure", &self.fSecure).field("connectionInfo", &self.connectionInfo).field("cipherInfo", &self.cipherInfo).finish() } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for INTERNET_SECURITY_CONNECTION_INFO { type TypeKind = ::windows_core::CopyType; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for INTERNET_SECURITY_CONNECTION_INFO { fn eq(&self, other: &Self) -> bool { self.dwSize == other.dwSize && self.fSecure == other.fSecure && self.connectionInfo == other.connectionInfo && self.cipherInfo == other.cipherInfo } } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for INTERNET_SECURITY_CONNECTION_INFO {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for INTERNET_SECURITY_CONNECTION_INFO { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs index 8fde0f4e09c..201138e57ca 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs @@ -483,67 +483,73 @@ pub unsafe fn WSAAdvertiseProvider(puuidproviderid: *const ::windows_core::GUID, #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetHostByAddr(hwnd: P0, wmsg: u32, addr: &[u8], r#type: i32, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetHostByAddr(hwnd: P0, wmsg: u32, addr: &[u8], r#type: i32, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetHostByAddr(hwnd : super::super::Foundation:: HWND, wmsg : u32, addr : ::windows_core::PCSTR, len : i32, r#type : i32, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetHostByAddr(hwnd.into_param().abi(), wmsg, ::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetHostByAddr(hwnd.into_param().abi(), wmsg, ::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type, ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetHostByName(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetHostByName(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetHostByName(hwnd : super::super::Foundation:: HWND, wmsg : u32, name : ::windows_core::PCSTR, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetHostByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetHostByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetProtoByName(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetProtoByName(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetProtoByName(hwnd : super::super::Foundation:: HWND, wmsg : u32, name : ::windows_core::PCSTR, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetProtoByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetProtoByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetProtoByNumber(hwnd: P0, wmsg: u32, number: i32, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetProtoByNumber(hwnd: P0, wmsg: u32, number: i32, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetProtoByNumber(hwnd : super::super::Foundation:: HWND, wmsg : u32, number : i32, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetProtoByNumber(hwnd.into_param().abi(), wmsg, number, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetProtoByNumber(hwnd.into_param().abi(), wmsg, number, ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetServByName(hwnd: P0, wmsg: u32, name: P1, proto: P2, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetServByName(hwnd: P0, wmsg: u32, name: P1, proto: P2, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetServByName(hwnd : super::super::Foundation:: HWND, wmsg : u32, name : ::windows_core::PCSTR, proto : ::windows_core::PCSTR, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetServByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetServByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAAsyncGetServByPort(hwnd: P0, wmsg: u32, port: i32, proto: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE +pub unsafe fn WSAAsyncGetServByPort(hwnd: P0, wmsg: u32, port: i32, proto: P1, buf: &mut [u8]) -> ::windows_core::Result where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAAsyncGetServByPort(hwnd : super::super::Foundation:: HWND, wmsg : u32, port : i32, proto : ::windows_core::PCSTR, buf : ::windows_core::PSTR, buflen : i32) -> super::super::Foundation:: HANDLE); - WSAAsyncGetServByPort(hwnd.into_param().abi(), wmsg, port, proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) + let result__ = WSAAsyncGetServByPort(hwnd.into_param().abi(), wmsg, port, proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -581,12 +587,12 @@ pub unsafe fn WSACleanup() -> i32 { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSACloseEvent(hevent: P0) -> super::super::Foundation::BOOL +pub unsafe fn WSACloseEvent(hevent: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSACloseEvent(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); - WSACloseEvent(hevent.into_param().abi()) + WSACloseEvent(hevent.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] @@ -600,17 +606,17 @@ where #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn WSAConnectByList(s: P0, socketaddress: *const SOCKET_ADDRESS_LIST, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL +pub unsafe fn WSAConnectByList(s: P0, socketaddress: *const SOCKET_ADDRESS_LIST, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAConnectByList(s : SOCKET, socketaddress : *const SOCKET_ADDRESS_LIST, localaddresslength : *mut u32, localaddress : *mut SOCKADDR, remoteaddresslength : *mut u32, remoteaddress : *mut SOCKADDR, timeout : *const TIMEVAL, reserved : *const super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); - WSAConnectByList(s.into_param().abi(), socketaddress, ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) + WSAConnectByList(s.into_param().abi(), socketaddress, ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn WSAConnectByNameA(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL +pub unsafe fn WSAConnectByNameA(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -628,11 +634,12 @@ where ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ) + .ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn WSAConnectByNameW(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL +pub unsafe fn WSAConnectByNameW(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -650,13 +657,15 @@ where ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ) + .ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSACreateEvent() -> super::super::Foundation::HANDLE { +pub unsafe fn WSACreateEvent() -> ::windows_core::Result { ::windows_targets::link!("ws2_32.dll" "system" fn WSACreateEvent() -> super::super::Foundation:: HANDLE); - WSACreateEvent() + let result__ = WSACreateEvent(); + (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] @@ -757,23 +766,23 @@ pub unsafe fn WSAGetLastError() -> WSA_ERROR { #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] #[inline] -pub unsafe fn WSAGetOverlappedResult(s: P0, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: P1, lpdwflags: *mut u32) -> super::super::Foundation::BOOL +pub unsafe fn WSAGetOverlappedResult(s: P0, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: P1, lpdwflags: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAGetOverlappedResult(s : SOCKET, lpoverlapped : *const super::super::System::IO:: OVERLAPPED, lpcbtransfer : *mut u32, fwait : super::super::Foundation:: BOOL, lpdwflags : *mut u32) -> super::super::Foundation:: BOOL); - WSAGetOverlappedResult(s.into_param().abi(), lpoverlapped, lpcbtransfer, fwait.into_param().abi(), lpdwflags) + WSAGetOverlappedResult(s.into_param().abi(), lpoverlapped, lpcbtransfer, fwait.into_param().abi(), lpdwflags).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAGetQOSByName(s: P0, lpqosname: *const WSABUF, lpqos: *mut QOS) -> super::super::Foundation::BOOL +pub unsafe fn WSAGetQOSByName(s: P0, lpqosname: *const WSABUF, lpqos: *mut QOS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAGetQOSByName(s : SOCKET, lpqosname : *const WSABUF, lpqos : *mut QOS) -> super::super::Foundation:: BOOL); - WSAGetQOSByName(s.into_param().abi(), lpqosname, lpqos) + WSAGetQOSByName(s.into_param().abi(), lpqosname, lpqos).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] @@ -851,9 +860,9 @@ where #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAIsBlocking() -> super::super::Foundation::BOOL { +pub unsafe fn WSAIsBlocking() -> ::windows_core::Result<()> { ::windows_targets::link!("ws2_32.dll" "system" fn WSAIsBlocking() -> super::super::Foundation:: BOOL); - WSAIsBlocking() + WSAIsBlocking().ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] @@ -1016,12 +1025,12 @@ pub unsafe fn WSARemoveServiceClass(lpserviceclassid: *const ::windows_core::GUI #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSAResetEvent(hevent: P0) -> super::super::Foundation::BOOL +pub unsafe fn WSAResetEvent(hevent: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSAResetEvent(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); - WSAResetEvent(hevent.into_param().abi()) + WSAResetEvent(hevent.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] @@ -1078,12 +1087,12 @@ pub unsafe fn WSASetBlockingHook(lpblockfunc: super::super::Foundation::FARPROC) #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn WSASetEvent(hevent: P0) -> super::super::Foundation::BOOL +pub unsafe fn WSASetEvent(hevent: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { ::windows_targets::link!("ws2_32.dll" "system" fn WSASetEvent(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); - WSASetEvent(hevent.into_param().abi()) + WSASetEvent(hevent.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] #[inline] @@ -4446,6 +4455,10 @@ pub const TCP_INITIAL_RTO_DEFAULT_MAX_SYN_RETRANSMISSIONS: u32 = 0u32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_INITIAL_RTO_DEFAULT_RTT: u32 = 0u32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] +pub const TCP_INITIAL_RTO_NO_SYN_RETRANSMISSIONS: u16 = 65534u16; +#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] +pub const TCP_INITIAL_RTO_UNSPECIFIED_MAX_SYN_RETRANSMISSIONS: u16 = 65535u16; +#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_KEEPALIVE: i32 = 3i32; #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub const TCP_KEEPCNT: i32 = 16i32; @@ -16827,36 +16840,6 @@ impl ::core::default::Default for netent { } #[repr(C)] #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] -pub struct sa_family_t { - pub Value: u16, -} -impl ::core::marker::Copy for sa_family_t {} -impl ::core::clone::Clone for sa_family_t { - fn clone(&self) -> Self { - *self - } -} -impl ::core::fmt::Debug for sa_family_t { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("sa_family_t").field("Value", &self.Value).finish() - } -} -impl ::windows_core::TypeKind for sa_family_t { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::cmp::PartialEq for sa_family_t { - fn eq(&self, other: &Self) -> bool { - self.Value == other.Value - } -} -impl ::core::cmp::Eq for sa_family_t {} -impl ::core::default::Default for sa_family_t { - fn default() -> Self { - unsafe { ::core::mem::zeroed() } - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] pub union sockaddr_gen { pub Address: SOCKADDR, pub AddressIn: SOCKADDR_IN, diff --git a/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs index afeb1de27c0..4af4f86e6db 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/AppLocker/mod.rs @@ -43,8 +43,8 @@ pub unsafe fn SaferGetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SA ::windows_targets::link!("advapi32.dll" "system" fn SaferGetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *mut ::core::ffi::c_void, infobufferretsize : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); SaferGetPolicyInformation(dwscopeid, saferpolicyinfoclass, infobuffersize, infobuffer, infobufferretsize, ::core::mem::transmute(lpreserved.unwrap_or(::std::ptr::null()))).ok() } -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn SaferIdentifyLevel(pcodeproperties: ::core::option::Option<&[SAFER_CODE_PROPERTIES_V2]>, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> { ::windows_targets::link!("advapi32.dll" "system" fn SaferIdentifyLevel(dwnumproperties : u32, pcodeproperties : *const SAFER_CODE_PROPERTIES_V2, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); @@ -361,8 +361,8 @@ impl ::core::fmt::Debug for SAFER_POLICY_INFO_CLASS { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_CODE_PROPERTIES_V1 { pub cbSize: u32, pub dwCheckFlags: u32, @@ -372,20 +372,20 @@ pub struct SAFER_CODE_PROPERTIES_V1 { pub ImageHash: [u8; 64], pub dwImageHashSize: u32, pub ImageSize: i64, - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub pByteBlock: *mut u8, pub hWndParent: super::super::Foundation::HWND, pub dwWVTUIChoice: u32, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V1 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V1 { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for SAFER_CODE_PROPERTIES_V1 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SAFER_CODE_PROPERTIES_V1") @@ -404,27 +404,27 @@ impl ::core::fmt::Debug for SAFER_CODE_PROPERTIES_V1 { .finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for SAFER_CODE_PROPERTIES_V1 { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for SAFER_CODE_PROPERTIES_V1 { fn eq(&self, other: &Self) -> bool { self.cbSize == other.cbSize && self.dwCheckFlags == other.dwCheckFlags && self.ImagePath == other.ImagePath && self.hImageFileHandle == other.hImageFileHandle && self.UrlZoneId == other.UrlZoneId && self.ImageHash == other.ImageHash && self.dwImageHashSize == other.dwImageHashSize && self.ImageSize == other.ImageSize && self.HashAlgorithm == other.HashAlgorithm && self.pByteBlock == other.pByteBlock && self.hWndParent == other.hWndParent && self.dwWVTUIChoice == other.dwWVTUIChoice } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for SAFER_CODE_PROPERTIES_V1 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for SAFER_CODE_PROPERTIES_V1 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_CODE_PROPERTIES_V2 { pub cbSize: u32, pub dwCheckFlags: u32, @@ -434,7 +434,7 @@ pub struct SAFER_CODE_PROPERTIES_V2 { pub ImageHash: [u8; 64], pub dwImageHashSize: u32, pub ImageSize: i64, - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub pByteBlock: *mut u8, pub hWndParent: super::super::Foundation::HWND, pub dwWVTUIChoice: u32, @@ -444,15 +444,15 @@ pub struct SAFER_CODE_PROPERTIES_V2 { pub PackageVersion: u64, pub PackageIsFramework: super::super::Foundation::BOOL, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V2 { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for SAFER_CODE_PROPERTIES_V2 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SAFER_CODE_PROPERTIES_V2") @@ -476,105 +476,105 @@ impl ::core::fmt::Debug for SAFER_CODE_PROPERTIES_V2 { .finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for SAFER_CODE_PROPERTIES_V2 { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for SAFER_CODE_PROPERTIES_V2 { fn eq(&self, other: &Self) -> bool { self.cbSize == other.cbSize && self.dwCheckFlags == other.dwCheckFlags && self.ImagePath == other.ImagePath && self.hImageFileHandle == other.hImageFileHandle && self.UrlZoneId == other.UrlZoneId && self.ImageHash == other.ImageHash && self.dwImageHashSize == other.dwImageHashSize && self.ImageSize == other.ImageSize && self.HashAlgorithm == other.HashAlgorithm && self.pByteBlock == other.pByteBlock && self.hWndParent == other.hWndParent && self.dwWVTUIChoice == other.dwWVTUIChoice && self.PackageMoniker == other.PackageMoniker && self.PackagePublisher == other.PackagePublisher && self.PackageName == other.PackageName && self.PackageVersion == other.PackageVersion && self.PackageIsFramework == other.PackageIsFramework } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for SAFER_CODE_PROPERTIES_V2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for SAFER_CODE_PROPERTIES_V2 { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_HASH_IDENTIFICATION { pub header: SAFER_IDENTIFICATION_HEADER, pub Description: [u16; 256], pub FriendlyName: [u16; 256], pub HashSize: u32, pub ImageHash: [u8; 64], - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, pub ImageSize: i64, pub dwSaferFlags: u32, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for SAFER_HASH_IDENTIFICATION { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SAFER_HASH_IDENTIFICATION").field("header", &self.header).field("Description", &self.Description).field("FriendlyName", &self.FriendlyName).field("HashSize", &self.HashSize).field("ImageHash", &self.ImageHash).field("HashAlgorithm", &self.HashAlgorithm).field("ImageSize", &self.ImageSize).field("dwSaferFlags", &self.dwSaferFlags).finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for SAFER_HASH_IDENTIFICATION { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for SAFER_HASH_IDENTIFICATION { fn eq(&self, other: &Self) -> bool { self.header == other.header && self.Description == other.Description && self.FriendlyName == other.FriendlyName && self.HashSize == other.HashSize && self.ImageHash == other.ImageHash && self.HashAlgorithm == other.HashAlgorithm && self.ImageSize == other.ImageSize && self.dwSaferFlags == other.dwSaferFlags } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for SAFER_HASH_IDENTIFICATION {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for SAFER_HASH_IDENTIFICATION { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct SAFER_HASH_IDENTIFICATION2 { pub hashIdentification: SAFER_HASH_IDENTIFICATION, pub HashSize: u32, pub ImageHash: [u8; 64], - pub HashAlgorithm: u32, + pub HashAlgorithm: super::Cryptography::ALG_ID, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION2 { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for SAFER_HASH_IDENTIFICATION2 { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SAFER_HASH_IDENTIFICATION2").field("hashIdentification", &self.hashIdentification).field("HashSize", &self.HashSize).field("ImageHash", &self.ImageHash).field("HashAlgorithm", &self.HashAlgorithm).finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for SAFER_HASH_IDENTIFICATION2 { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for SAFER_HASH_IDENTIFICATION2 { fn eq(&self, other: &Self) -> bool { self.hashIdentification == other.hashIdentification && self.HashSize == other.HashSize && self.ImageHash == other.ImageHash && self.HashAlgorithm == other.HashAlgorithm } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for SAFER_HASH_IDENTIFICATION2 {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for SAFER_HASH_IDENTIFICATION2 { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index 04036cddce4..110d1c9dd98 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -201,8 +201,8 @@ where #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN { - ::windows_targets::link!("advapi32.dll" "system" fn AuditQuerySecurity(securityinformation : u32, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); +pub unsafe fn AuditQuerySecurity(securityinformation: super::super::OBJECT_SECURITY_INFORMATION, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN { + ::windows_targets::link!("advapi32.dll" "system" fn AuditQuerySecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); AuditQuerySecurity(securityinformation, ppsecuritydescriptor) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -245,11 +245,11 @@ where #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: P0) -> super::super::super::Foundation::BOOLEAN +pub unsafe fn AuditSetSecurity(securityinformation: super::super::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P0) -> super::super::super::Foundation::BOOLEAN where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AuditSetSecurity(securityinformation : u32, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); + ::windows_targets::link!("advapi32.dll" "system" fn AuditSetSecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); AuditSetSecurity(securityinformation, psecuritydescriptor.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] @@ -1505,8 +1505,8 @@ pub unsafe fn SetCredentialsAttributesW(phcredential: *const super::super::Crede ::windows_targets::link!("secur32.dll" "system" fn SetCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_core::HRESULT); SetCredentialsAttributesW(phcredential, ulattribute, pbuffer, cbbuffer).ok() } -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL { ::windows_targets::link!("schannel.dll" "system" fn SslCrackCertificate(pbcertificate : *mut u8, cbcertificate : u32, dwflags : u32, ppcertificate : *mut *mut X509Certificate) -> super::super::super::Foundation:: BOOL); @@ -1540,8 +1540,8 @@ where ::windows_targets::link!("schannel.dll" "system" fn SslEmptyCacheW(psztargetname : ::windows_core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); SslEmptyCacheW(psztargetname.into_param().abi(), dwflags) } -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn SslFreeCertificate(pcertificate: *mut X509Certificate) { ::windows_targets::link!("schannel.dll" "system" fn SslFreeCertificate(pcertificate : *mut X509Certificate) -> ()); @@ -13966,34 +13966,42 @@ impl ::core::default::Default for SCHANNEL_CERT_HASH_STORE { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SCHANNEL_CLIENT_SIGNATURE { pub cbLength: u32, - pub aiHash: u32, + pub aiHash: super::super::Cryptography::ALG_ID, pub cbHash: u32, pub HashValue: [u8; 36], pub CertThumbprint: [u8; 20], } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE { fn clone(&self) -> Self { *self } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::fmt::Debug for SCHANNEL_CLIENT_SIGNATURE { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SCHANNEL_CLIENT_SIGNATURE").field("cbLength", &self.cbLength).field("aiHash", &self.aiHash).field("cbHash", &self.cbHash).field("HashValue", &self.HashValue).field("CertThumbprint", &self.CertThumbprint).finish() } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::windows_core::TypeKind for SCHANNEL_CLIENT_SIGNATURE { type TypeKind = ::windows_core::CopyType; } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::PartialEq for SCHANNEL_CLIENT_SIGNATURE { fn eq(&self, other: &Self) -> bool { self.cbLength == other.cbLength && self.aiHash == other.aiHash && self.cbHash == other.cbHash && self.HashValue == other.HashValue && self.CertThumbprint == other.CertThumbprint } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::Eq for SCHANNEL_CLIENT_SIGNATURE {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::default::Default for SCHANNEL_CLIENT_SIGNATURE { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -14010,7 +14018,7 @@ pub struct SCHANNEL_CRED { pub cMappers: u32, pub aphMappers: *mut *mut _HMAPPER, pub cSupportedAlgs: u32, - pub palgSupportedAlgs: *mut u32, + pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID, pub grbitEnabledProtocols: u32, pub dwMinimumCipherStrength: u32, pub dwMaximumCipherStrength: u32, @@ -17672,36 +17680,44 @@ impl ::core::default::Default for SecPkgContext_ClientSpecifiedTarget { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SecPkgContext_ConnectionInfo { pub dwProtocol: u32, - pub aiCipher: u32, + pub aiCipher: super::super::Cryptography::ALG_ID, pub dwCipherStrength: u32, - pub aiHash: u32, + pub aiHash: super::super::Cryptography::ALG_ID, pub dwHashStrength: u32, - pub aiExch: u32, + pub aiExch: super::super::Cryptography::ALG_ID, pub dwExchStrength: u32, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SecPkgContext_ConnectionInfo { fn clone(&self) -> Self { *self } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::fmt::Debug for SecPkgContext_ConnectionInfo { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SecPkgContext_ConnectionInfo").field("dwProtocol", &self.dwProtocol).field("aiCipher", &self.aiCipher).field("dwCipherStrength", &self.dwCipherStrength).field("aiHash", &self.aiHash).field("dwHashStrength", &self.dwHashStrength).field("aiExch", &self.aiExch).field("dwExchStrength", &self.dwExchStrength).finish() } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::windows_core::TypeKind for SecPkgContext_ConnectionInfo { type TypeKind = ::windows_core::CopyType; } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::PartialEq for SecPkgContext_ConnectionInfo { fn eq(&self, other: &Self) -> bool { self.dwProtocol == other.dwProtocol && self.aiCipher == other.aiCipher && self.dwCipherStrength == other.dwCipherStrength && self.aiHash == other.aiHash && self.dwHashStrength == other.dwHashStrength && self.aiExch == other.aiExch && self.dwExchStrength == other.dwExchStrength } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::Eq for SecPkgContext_ConnectionInfo {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::default::Default for SecPkgContext_ConnectionInfo { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -19452,31 +19468,39 @@ impl ::core::default::Default for SecPkgCred_SessionTicketKeys { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct SecPkgCred_SupportedAlgs { pub cSupportedAlgs: u32, - pub palgSupportedAlgs: *mut u32, + pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for SecPkgCred_SupportedAlgs { fn clone(&self) -> Self { *self } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::fmt::Debug for SecPkgCred_SupportedAlgs { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("SecPkgCred_SupportedAlgs").field("cSupportedAlgs", &self.cSupportedAlgs).field("palgSupportedAlgs", &self.palgSupportedAlgs).finish() } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::windows_core::TypeKind for SecPkgCred_SupportedAlgs { type TypeKind = ::windows_core::CopyType; } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::PartialEq for SecPkgCred_SupportedAlgs { fn eq(&self, other: &Self) -> bool { self.cSupportedAlgs == other.cSupportedAlgs && self.palgSupportedAlgs == other.palgSupportedAlgs } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::Eq for SecPkgCred_SupportedAlgs {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::default::Default for SecPkgCred_SupportedAlgs { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -20544,45 +20568,45 @@ impl ::core::default::Default for USER_SESSION_KEY { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct X509Certificate { pub Version: u32, pub SerialNumber: [u32; 4], - pub SignatureAlgorithm: u32, + pub SignatureAlgorithm: super::super::Cryptography::ALG_ID, pub ValidFrom: super::super::super::Foundation::FILETIME, pub ValidUntil: super::super::super::Foundation::FILETIME, pub pszIssuer: ::windows_core::PSTR, pub pszSubject: ::windows_core::PSTR, pub pPublicKey: *mut PctPublicKey, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for X509Certificate {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for X509Certificate { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for X509Certificate { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("X509Certificate").field("Version", &self.Version).field("SerialNumber", &self.SerialNumber).field("SignatureAlgorithm", &self.SignatureAlgorithm).field("ValidFrom", &self.ValidFrom).field("ValidUntil", &self.ValidUntil).field("pszIssuer", &self.pszIssuer).field("pszSubject", &self.pszSubject).field("pPublicKey", &self.pPublicKey).finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for X509Certificate { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for X509Certificate { fn eq(&self, other: &Self) -> bool { self.Version == other.Version && self.SerialNumber == other.SerialNumber && self.SignatureAlgorithm == other.SignatureAlgorithm && self.ValidFrom == other.ValidFrom && self.ValidUntil == other.ValidUntil && self.pszIssuer == other.pszIssuer && self.pszSubject == other.pszSubject && self.pPublicKey == other.pPublicKey } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for X509Certificate {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for X509Certificate { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -21079,8 +21103,8 @@ pub type SET_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option ::windows_core::HRESULT>; -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub type SSL_CRACK_CERTIFICATE_FN = ::core::option::Option super::super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -21088,8 +21112,8 @@ pub type SSL_EMPTY_CACHE_FN_A = ::core::option::Option super::super::super::Foundation::BOOL>; -#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index b283cfe18cc..25b8b5f783d 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -503,21 +503,21 @@ where #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor: P0, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_core::PSTR, stringsecuritydescriptorlen: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor: P0, requestedstringsdrevision: u32, securityinformation: super::OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor: *mut ::windows_core::PSTR, stringsecuritydescriptorlen: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : u32, stringsecuritydescriptor : *mut ::windows_core::PSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_core::PSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor.into_param().abi(), requestedstringsdrevision, securityinformation, stringsecuritydescriptor, ::core::mem::transmute(stringsecuritydescriptorlen.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor: P0, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_core::PWSTR, stringsecuritydescriptorlen: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> +pub unsafe fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor: P0, requestedstringsdrevision: u32, securityinformation: super::OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor: *mut ::windows_core::PWSTR, stringsecuritydescriptorlen: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : u32, stringsecuritydescriptor : *mut ::windows_core::PWSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_core::PWSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor.into_param().abi(), requestedstringsdrevision, securityinformation, stringsecuritydescriptor, ::core::mem::transmute(stringsecuritydescriptorlen.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] @@ -632,23 +632,23 @@ pub unsafe fn GetExplicitEntriesFromAclW(pacl: *const super::ACL, pccountofexpli #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetInheritanceSourceA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: P1, pobjectclassguids: ::core::option::Option<&[*const ::windows_core::GUID]>, pacl: *const super::ACL, pfnarray: ::core::option::Option<*const FN_OBJECT_MGR_FUNCTS>, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMA) -> ::windows_core::Result<()> +pub unsafe fn GetInheritanceSourceA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, container: P1, pobjectclassguids: ::core::option::Option<&[*const ::windows_core::GUID]>, pacl: *const super::ACL, pfnarray: ::core::option::Option<*const FN_OBJECT_MGR_FUNCTS>, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMA) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetInheritanceSourceA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMA) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn GetInheritanceSourceA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMA) -> super::super::Foundation:: WIN32_ERROR); GetInheritanceSourceA(pobjectname.into_param().abi(), objecttype, securityinfo, container.into_param().abi(), ::core::mem::transmute(pobjectclassguids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjectclassguids.as_deref().map_or(0, |slice| slice.len() as _), pacl, ::core::mem::transmute(pfnarray.unwrap_or(::std::ptr::null())), pgenericmapping, pinheritarray).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetInheritanceSourceW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: P1, pobjectclassguids: ::core::option::Option<&[*const ::windows_core::GUID]>, pacl: *const super::ACL, pfnarray: ::core::option::Option<*const FN_OBJECT_MGR_FUNCTS>, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMW) -> ::windows_core::Result<()> +pub unsafe fn GetInheritanceSourceW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, container: P1, pobjectclassguids: ::core::option::Option<&[*const ::windows_core::GUID]>, pacl: *const super::ACL, pfnarray: ::core::option::Option<*const FN_OBJECT_MGR_FUNCTS>, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMW) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetInheritanceSourceW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMW) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn GetInheritanceSourceW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMW) -> super::super::Foundation:: WIN32_ERROR); GetInheritanceSourceW(pobjectname.into_param().abi(), objecttype, securityinfo, container.into_param().abi(), ::core::mem::transmute(pobjectclassguids.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjectclassguids.as_deref().map_or(0, |slice| slice.len() as _), pacl, ::core::mem::transmute(pfnarray.unwrap_or(::std::ptr::null())), pgenericmapping, pinheritarray).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -698,11 +698,11 @@ where #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetSecurityInfo(handle: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, ppsidowner: ::core::option::Option<*mut super::super::Foundation::PSID>, ppsidgroup: ::core::option::Option<*mut super::super::Foundation::PSID>, ppdacl: ::core::option::Option<*mut *mut super::ACL>, ppsacl: ::core::option::Option<*mut *mut super::ACL>, ppsecuritydescriptor: ::core::option::Option<*mut super::PSECURITY_DESCRIPTOR>) -> ::windows_core::Result<()> +pub unsafe fn GetSecurityInfo(handle: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: ::core::option::Option<*mut super::super::Foundation::PSID>, ppsidgroup: ::core::option::Option<*mut super::super::Foundation::PSID>, ppdacl: ::core::option::Option<*mut *mut super::ACL>, ppsacl: ::core::option::Option<*mut *mut super::ACL>, ppsecuritydescriptor: ::core::option::Option<*mut super::PSECURITY_DESCRIPTOR>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : u32, ppsidowner : *mut super::super::Foundation:: PSID, ppsidgroup : *mut super::super::Foundation:: PSID, ppdacl : *mut *mut super:: ACL, ppsacl : *mut *mut super:: ACL, ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, ppsidowner : *mut super::super::Foundation:: PSID, ppsidgroup : *mut super::super::Foundation:: PSID, ppdacl : *mut *mut super:: ACL, ppsacl : *mut *mut super:: ACL, ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); GetSecurityInfo(handle.into_param().abi(), objecttype, securityinfo, ::core::mem::transmute(ppsidowner.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsidgroup.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppdacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsacl.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppsecuritydescriptor.unwrap_or(::std::ptr::null_mut()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -802,63 +802,63 @@ where #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetSecurityInfo(handle: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, psidowner: P1, psidgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>) -> ::windows_core::Result<()> +pub unsafe fn SetSecurityInfo(handle: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: P1, psidgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : u32, psidowner : super::super::Foundation:: PSID, psidgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn SetSecurityInfo(handle : super::super::Foundation:: HANDLE, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, psidowner : super::super::Foundation:: PSID, psidgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL) -> super::super::Foundation:: WIN32_ERROR); SetSecurityInfo(handle.into_param().abi(), objecttype, securityinfo, psidowner.into_param().abi(), psidgroup.into_param().abi(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TreeResetNamedSecurityInfoA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, keepexplicit: P3, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn TreeResetNamedSecurityInfoA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, keepexplicit: P3, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, P3: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn TreeResetNamedSecurityInfoA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn TreeResetNamedSecurityInfoA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); TreeResetNamedSecurityInfoA(pobjectname.into_param().abi(), objecttype, securityinfo, powner.into_param().abi(), pgroup.into_param().abi(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), keepexplicit.into_param().abi(), fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TreeResetNamedSecurityInfoW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, keepexplicit: P3, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn TreeResetNamedSecurityInfoW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, keepexplicit: P3, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, P3: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, keepexplicit : super::super::Foundation:: BOOL, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); TreeResetNamedSecurityInfoW(pobjectname.into_param().abi(), objecttype, securityinfo, powner.into_param().abi(), pgroup.into_param().abi(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), keepexplicit.into_param().abi(), fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TreeSetNamedSecurityInfoA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn TreeSetNamedSecurityInfoA(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); TreeSetNamedSecurityInfoA(pobjectname.into_param().abi(), objecttype, securityinfo, powner.into_param().abi(), pgroup.into_param().abi(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), dwaction, fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TreeSetNamedSecurityInfoW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> +pub unsafe fn TreeSetNamedSecurityInfoW(pobjectname: P0, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, powner: P1, pgroup: P2, pdacl: ::core::option::Option<*const super::ACL>, psacl: ::core::option::Option<*const super::ACL>, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : u32, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, powner : super::super::Foundation:: PSID, pgroup : super::super::Foundation:: PSID, pdacl : *const super:: ACL, psacl : *const super:: ACL, dwaction : TREE_SEC_INFO, fnprogress : FN_PROGRESS, progressinvokesetting : PROG_INVOKE_SETTING, args : *const ::core::ffi::c_void) -> super::super::Foundation:: WIN32_ERROR); TreeSetNamedSecurityInfoW(pobjectname.into_param().abi(), objecttype, securityinfo, powner.into_param().abi(), pgroup.into_param().abi(), ::core::mem::transmute(pdacl.unwrap_or(::std::ptr::null())), ::core::mem::transmute(psacl.unwrap_or(::std::ptr::null())), dwaction, fnprogress, progressinvokesetting, ::core::mem::transmute(args.unwrap_or(::std::ptr::null()))).ok() } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_System_Com\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs index ef71b86d749..efdb21f3e1b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -1,21 +1,21 @@ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredDeleteA(targetname: P0, r#type: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn CredDeleteA(targetname: P0, r#type: CRED_TYPE, flags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredDeleteA(targetname : ::windows_core::PCSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredDeleteA(targetname : ::windows_core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); CredDeleteA(targetname.into_param().abi(), r#type, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredDeleteW(targetname: P0, r#type: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn CredDeleteW(targetname: P0, r#type: CRED_TYPE, flags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredDeleteW(targetname : ::windows_core::PCWSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredDeleteW(targetname : ::windows_core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); CredDeleteW(targetname.into_param().abi(), r#type, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -190,11 +190,11 @@ where #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredReadA(targetname: P0, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> ::windows_core::Result<()> +pub unsafe fn CredReadA(targetname: P0, r#type: CRED_TYPE, flags: u32, credential: *mut *mut CREDENTIALA) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredReadA(targetname : ::windows_core::PCSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredReadA(targetname : ::windows_core::PCSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); CredReadA(targetname.into_param().abi(), r#type, flags, credential).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] @@ -214,33 +214,33 @@ pub unsafe fn CredReadDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_IN #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredReadW(targetname: P0, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> ::windows_core::Result<()> +pub unsafe fn CredReadW(targetname: P0, r#type: CRED_TYPE, flags: u32, credential: *mut *mut CREDENTIALW) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredReadW(targetname : ::windows_core::PCWSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredReadW(targetname : ::windows_core::PCWSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); CredReadW(targetname.into_param().abi(), r#type, flags, credential).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredRenameA(oldtargetname: P0, newtargetname: P1, r#type: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn CredRenameA(oldtargetname: P0, newtargetname: P1, r#type: CRED_TYPE, flags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredRenameA(oldtargetname : ::windows_core::PCSTR, newtargetname : ::windows_core::PCSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredRenameA(oldtargetname : ::windows_core::PCSTR, newtargetname : ::windows_core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); CredRenameA(oldtargetname.into_param().abi(), newtargetname.into_param().abi(), r#type, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CredRenameW(oldtargetname: P0, newtargetname: P1, r#type: u32, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn CredRenameW(oldtargetname: P0, newtargetname: P1, r#type: CRED_TYPE, flags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn CredRenameW(oldtargetname : ::windows_core::PCWSTR, newtargetname : ::windows_core::PCWSTR, r#type : u32, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn CredRenameW(oldtargetname : ::windows_core::PCWSTR, newtargetname : ::windows_core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); CredRenameW(oldtargetname.into_param().abi(), newtargetname.into_param().abi(), r#type, flags).ok() } #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index 1b424c890df..49645814f7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -1599,8 +1599,8 @@ pub unsafe fn CryptCreateAsyncHandle(dwflags: u32, phasync: *mut HCRYPTASYNC) -> #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptCreateHash(hprov: usize, algid: u32, hkey: usize, dwflags: u32, phhash: *mut usize) -> ::windows_core::Result<()> { - ::windows_targets::link!("advapi32.dll" "system" fn CryptCreateHash(hprov : usize, algid : u32, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); +pub unsafe fn CryptCreateHash(hprov: usize, algid: ALG_ID, hkey: usize, dwflags: u32, phhash: *mut usize) -> ::windows_core::Result<()> { + ::windows_targets::link!("advapi32.dll" "system" fn CryptCreateHash(hprov : usize, algid : ALG_ID, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); CryptCreateHash(hprov, algid, hkey, dwflags, phhash).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1682,8 +1682,8 @@ pub unsafe fn CryptDecryptMessage(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PAR #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptDeriveKey(hprov: usize, algid: u32, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> ::windows_core::Result<()> { - ::windows_targets::link!("advapi32.dll" "system" fn CryptDeriveKey(hprov : usize, algid : u32, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); +pub unsafe fn CryptDeriveKey(hprov: usize, algid: ALG_ID, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> ::windows_core::Result<()> { + ::windows_targets::link!("advapi32.dll" "system" fn CryptDeriveKey(hprov : usize, algid : ALG_ID, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); CryptDeriveKey(hprov, algid, hbasedata, dwflags, phkey).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -1898,8 +1898,8 @@ pub unsafe fn CryptFreeOIDFunctionAddress(hfuncaddr: *const ::core::ffi::c_void, #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptGenKey(hprov: usize, algid: u32, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> ::windows_core::Result<()> { - ::windows_targets::link!("advapi32.dll" "system" fn CryptGenKey(hprov : usize, algid : u32, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); +pub unsafe fn CryptGenKey(hprov: usize, algid: ALG_ID, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> ::windows_core::Result<()> { + ::windows_targets::link!("advapi32.dll" "system" fn CryptGenKey(hprov : usize, algid : ALG_ID, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); CryptGenKey(hprov, algid, dwflags, phkey).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2040,11 +2040,11 @@ pub unsafe fn CryptGetUserKey(hprov: usize, dwkeyspec: u32, phuserkey: *mut usiz #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptHashCertificate(hcryptprov: P0, algid: u32, dwflags: u32, pbencoded: &[u8], pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn CryptHashCertificate(hcryptprov: P0, algid: ALG_ID, dwflags: u32, pbencoded: &[u8], pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("crypt32.dll" "system" fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : u32, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("crypt32.dll" "system" fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); CryptHashCertificate(hcryptprov.into_param().abi(), algid, dwflags, ::core::mem::transmute(pbencoded.as_ptr()), pbencoded.len() as _, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2077,11 +2077,11 @@ where #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptHashPublicKeyInfo(hcryptprov: P0, algid: u32, dwflags: u32, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn CryptHashPublicKeyInfo(hcryptprov: P0, algid: ALG_ID, dwflags: u32, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, pbcomputedhash: ::core::option::Option<*mut u8>, pcbcomputedhash: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("crypt32.dll" "system" fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : u32, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("crypt32.dll" "system" fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); CryptHashPublicKeyInfo(hcryptprov.into_param().abi(), algid, dwflags, dwcertencodingtype, pinfo, ::core::mem::transmute(pbcomputedhash.unwrap_or(::std::ptr::null_mut())), pcbcomputedhash).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -2125,8 +2125,8 @@ pub unsafe fn CryptImportPublicKeyInfo(hcryptprov: usize, dwcertencodingtype: CE #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: u32, dwflags: u32, pvauxinfo: ::core::option::Option<*const ::core::ffi::c_void>, phkey: *mut usize) -> ::windows_core::Result<()> { - ::windows_targets::link!("crypt32.dll" "system" fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : u32, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); +pub unsafe fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: ALG_ID, dwflags: u32, pvauxinfo: ::core::option::Option<*const ::core::ffi::c_void>, phkey: *mut usize) -> ::windows_core::Result<()> { + ::windows_targets::link!("crypt32.dll" "system" fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : ALG_ID, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); CryptImportPublicKeyInfoEx(hcryptprov, dwcertencodingtype, pinfo, aikeyalg, dwflags, ::core::mem::transmute(pvauxinfo.unwrap_or(::std::ptr::null())), phkey).ok() } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] @@ -3529,11 +3529,11 @@ where #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SignerTimeStampEx2(dwflags: SIGNER_TIMESTAMP_FLAGS, psubjectinfo: *const SIGNER_SUBJECT_INFO, pwszhttptimestamp: P0, dwalgid: u32, psrequest: *const CRYPT_ATTRIBUTES, psipdata: *const ::core::ffi::c_void) -> ::windows_core::Result<*mut SIGNER_CONTEXT> +pub unsafe fn SignerTimeStampEx2(dwflags: SIGNER_TIMESTAMP_FLAGS, psubjectinfo: *const SIGNER_SUBJECT_INFO, pwszhttptimestamp: P0, dwalgid: ALG_ID, psrequest: *const CRYPT_ATTRIBUTES, psipdata: *const ::core::ffi::c_void) -> ::windows_core::Result<*mut SIGNER_CONTEXT> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("mssign32.dll" "system" fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_core::PCWSTR, dwalgid : u32, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_core::HRESULT); + ::windows_targets::link!("mssign32.dll" "system" fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_core::PCWSTR, dwalgid : ALG_ID, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); SignerTimeStampEx2(dwflags, psubjectinfo, pwszhttptimestamp.into_param().abi(), dwalgid, psrequest, psipdata, &mut result__).from_abi(result__) } @@ -4993,10 +4993,116 @@ pub const BCRYPT_XTS_AES_ALGORITHM: ::windows_core::PCWSTR = ::windows_core::w!( #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = BCRYPT_ALG_HANDLE(897u32 as _); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_3DES: ALG_ID = ALG_ID(26115u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_3DES_112: ALG_ID = ALG_ID(26121u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES: ALG_ID = ALG_ID(26129u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_128: ALG_ID = ALG_ID(26126u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_192: ALG_ID = ALG_ID(26127u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AES_256: ALG_ID = ALG_ID(26128u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_AGREEDKEY_ANY: ALG_ID = ALG_ID(43523u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_CYLINK_MEK: ALG_ID = ALG_ID(26124u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DES: ALG_ID = ALG_ID(26113u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DESX: ALG_ID = ALG_ID(26116u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DH_EPHEM: ALG_ID = ALG_ID(43522u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DH_SF: ALG_ID = ALG_ID(43521u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_DSS_SIGN: ALG_ID = ALG_ID(8704u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDH: ALG_ID = ALG_ID(43525u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDH_EPHEM: ALG_ID = ALG_ID(44550u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECDSA: ALG_ID = ALG_ID(8707u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_ECMQV: ALG_ID = ALG_ID(40961u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HASH_REPLACE_OWF: ALG_ID = ALG_ID(32779u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HMAC: ALG_ID = ALG_ID(32777u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_HUGHES_MD5: ALG_ID = ALG_ID(40963u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_KEA_KEYX: ALG_ID = ALG_ID(43524u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MAC: ALG_ID = ALG_ID(32773u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD2: ALG_ID = ALG_ID(32769u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD4: ALG_ID = ALG_ID(32770u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_MD5: ALG_ID = ALG_ID(32771u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_NO_SIGN: ALG_ID = ALG_ID(8192u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_NULLCIPHER: ALG_ID = ALG_ID(24576u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_PCT1_MASTER: ALG_ID = ALG_ID(19460u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC2: ALG_ID = ALG_ID(26114u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC4: ALG_ID = ALG_ID(26625u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RC5: ALG_ID = ALG_ID(26125u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RSA_KEYX: ALG_ID = ALG_ID(41984u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_RSA_SIGN: ALG_ID = ALG_ID(9216u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_ENC_KEY: ALG_ID = ALG_ID(19463u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_MAC_KEY: ALG_ID = ALG_ID(19459u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SCHANNEL_MASTER_HASH: ALG_ID = ALG_ID(19458u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SEAL: ALG_ID = ALG_ID(26626u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA: ALG_ID = ALG_ID(32772u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA1: ALG_ID = ALG_ID(32772u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_256: ALG_ID = ALG_ID(32780u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_384: ALG_ID = ALG_ID(32781u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SHA_512: ALG_ID = ALG_ID(32782u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SKIPJACK: ALG_ID = ALG_ID(26122u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL2_MASTER: ALG_ID = ALG_ID(19461u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL3_MASTER: ALG_ID = ALG_ID(19457u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_SSL3_SHAMD5: ALG_ID = ALG_ID(32776u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TEK: ALG_ID = ALG_ID(26123u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_CIPHER: ALG_ID = ALG_ID(28672u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_HASH: ALG_ID = ALG_ID(36864u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_KEY_EXCHANGE: ALG_ID = ALG_ID(45056u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_THIRDPARTY_SIGNATURE: ALG_ID = ALG_ID(12288u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TLS1PRF: ALG_ID = ALG_ID(32778u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CALG_TLS1_MASTER: ALG_ID = ALG_ID(19462u32); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CCertSrvSetup: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x961f180f_f55c_413d_a9b3_7d2af4d8e42f); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CCertSrvSetupKeyInformation: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38373906_5433_4633_b0fb_29b7e78262e1); @@ -7259,25 +7365,25 @@ pub const CRYPTPROTECT_VERIFY_PROTECTION: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACCUMULATIVE_TIMEOUT: u32 = 2048u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: u32 = 65536u32; +pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_CACHE_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(1u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_COMPARE_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: u32 = 458752u32; +pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(458752u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_NO_HEALING: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(8u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: u32 = 262144u32; +pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(262144u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: u32 = 131072u32; +pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_SILENT_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(64u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: u32 = 128u32; +pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: CRYPT_ACQUIRE_FLAGS = CRYPT_ACQUIRE_FLAGS(128u32); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_AIA_RETRIEVAL: u32 = 524288u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -10999,6 +11105,29 @@ pub const wszXMLNS_DIGSIG_SignatureProperties: ::windows_core::PCWSTR = ::window #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ALG_ID(pub u32); +impl ::core::marker::Copy for ALG_ID {} +impl ::core::clone::Clone for ALG_ID { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ALG_ID { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ALG_ID { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ALG_ID { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ALG_ID").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct BCRYPTGENRANDOM_FLAGS(pub u32); impl ::core::marker::Copy for BCRYPTGENRANDOM_FLAGS {} impl ::core::clone::Clone for BCRYPTGENRANDOM_FLAGS { @@ -11871,6 +12000,39 @@ impl ::core::fmt::Debug for CERT_OPEN_STORE_FLAGS { f.debug_tuple("CERT_OPEN_STORE_FLAGS").field(&self.0).finish() } } +impl CERT_OPEN_STORE_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for CERT_OPEN_STORE_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for CERT_OPEN_STORE_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for CERT_OPEN_STORE_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for CERT_OPEN_STORE_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for CERT_OPEN_STORE_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -20567,7 +20729,7 @@ impl ::core::default::Default for CMSG_STREAM_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMS_DH_KEY_INFO { pub dwVersion: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub pszContentEncObjId: ::windows_core::PSTR, pub PubInfo: CRYPT_INTEGER_BLOB, pub pReserved: *mut ::core::ffi::c_void, @@ -20601,7 +20763,7 @@ impl ::core::default::Default for CMS_DH_KEY_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMS_KEY_INFO { pub dwVersion: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub pbOID: *mut u8, pub cbOID: u32, } @@ -22634,7 +22796,7 @@ impl ::core::default::Default for CRYPT_OID_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub union CRYPT_OID_INFO_0 { pub dwValue: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub dwLength: u32, } impl ::core::marker::Copy for CRYPT_OID_INFO_0 {} @@ -25550,7 +25712,7 @@ impl ::windows_core::TypeKind for HCRYPTPROV_OR_NCRYPT_KEY_HANDLE { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct HMAC_INFO { - pub HashAlgid: u32, + pub HashAlgid: ALG_ID, pub pbInnerString: *mut u8, pub cbInnerString: u32, pub pbOuterString: *mut u8, @@ -27271,7 +27433,7 @@ impl ::core::default::Default for PRIVKEYVER3 { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct PROV_ENUMALGS { - pub aiAlgid: u32, + pub aiAlgid: ALG_ID, pub dwBitLen: u32, pub dwNameLen: u32, pub szName: [u8; 20], @@ -27304,7 +27466,7 @@ impl ::core::default::Default for PROV_ENUMALGS { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct PROV_ENUMALGS_EX { - pub aiAlgid: u32, + pub aiAlgid: ALG_ID, pub dwDefaultLen: u32, pub dwMinLen: u32, pub dwMaxLen: u32, @@ -27410,7 +27572,7 @@ pub struct PUBLICKEYSTRUC { pub bType: u8, pub bVersion: u8, pub reserved: u16, - pub aiKeyAlg: u32, + pub aiKeyAlg: ALG_ID, } impl ::core::marker::Copy for PUBLICKEYSTRUC {} impl ::core::clone::Clone for PUBLICKEYSTRUC { @@ -27576,7 +27738,7 @@ impl ::core::default::Default for RSAPUBKEY { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct SCHANNEL_ALG { pub dwUse: u32, - pub Algid: u32, + pub Algid: ALG_ID, pub cBits: u32, pub dwFlags: u32, pub dwReserved: u32, @@ -28019,7 +28181,7 @@ impl ::core::default::Default for SIGNER_PROVIDER_INFO_0 { #[cfg(feature = "Win32_Foundation")] pub struct SIGNER_SIGNATURE_INFO { pub cbSize: u32, - pub algidHash: u32, + pub algidHash: ALG_ID, pub dwAttrChoice: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE, pub Anonymous: SIGNER_SIGNATURE_INFO_0, pub psAuthenticated: *mut CRYPT_ATTRIBUTES, @@ -28353,16 +28515,16 @@ pub type PFNCryptStreamOutputCallback = ::core::option::Option ::windows_core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option ::windows_core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option ::windows_core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option ::windows_core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option ::windows_core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option ::windows_core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option ::windows_core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option ::windows_core::HRESULT>; +pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option ::windows_core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CANCEL_ASYNC_RETRIEVAL_FUNC = ::core::option::Option super::super::Foundation::BOOL>; diff --git a/crates/libs/windows/src/Windows/Win32/Security/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/mod.rs index 999c25c6eb3..02723ac648c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/mod.rs @@ -33,18 +33,18 @@ pub mod WinWlx; #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheck(psecuritydescriptor: P0, clienttoken: P1, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: ::core::option::Option<*mut PRIVILEGE_SET>, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheck(psecuritydescriptor: P0, clienttoken: P1, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: ::core::option::Option<*mut PRIVILEGE_SET>, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheck(psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheck(psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheck(psecuritydescriptor.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, genericmapping, ::core::mem::transmute(privilegeset.unwrap_or(::std::ptr::null_mut())), privilegesetlength, grantedaccess, accessstatus).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckAndAuditAlarmA(subsystemname: P0, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: P1, objectname: P2, securitydescriptor: P3, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P4, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheckAndAuditAlarmA(subsystemname: P0, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: P1, objectname: P2, securitydescriptor: P3, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P4, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL, pfgenerateonclose: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -52,13 +52,13 @@ where P3: ::windows_core::IntoParam, P4: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckAndAuditAlarmA(subsystemname.into_param().abi(), ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), desiredaccess, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, pfgenerateonclose).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckAndAuditAlarmW(subsystemname: P0, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: P1, objectname: P2, securitydescriptor: P3, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P4, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL +pub unsafe fn AccessCheckAndAuditAlarmW(subsystemname: P0, handleid: ::core::option::Option<*const ::core::ffi::c_void>, objecttypename: P1, objectname: P2, securitydescriptor: P3, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P4, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL, pfgenerateonclose: *mut super::Foundation::BOOL) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -66,25 +66,25 @@ where P3: ::windows_core::IntoParam, P4: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckAndAuditAlarmW(subsystemname.into_param().abi(), ::core::mem::transmute(handleid.unwrap_or(::std::ptr::null())), objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), desiredaccess, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatus, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByType(psecuritydescriptor: P0, principalselfsid: P1, clienttoken: P2, desiredaccess: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, privilegeset: ::core::option::Option<*mut PRIVILEGE_SET>, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheckByType(psecuritydescriptor: P0, principalselfsid: P1, clienttoken: P2, desiredaccess: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, privilegeset: ::core::option::Option<*mut PRIVILEGE_SET>, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByType(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByType(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByType(psecuritydescriptor.into_param().abi(), principalselfsid.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, ::core::mem::transmute(objecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), objecttypelist.as_deref().map_or(0, |slice| slice.len() as _), genericmapping, ::core::mem::transmute(privilegeset.unwrap_or(::std::ptr::null_mut())), privilegesetlength, grantedaccess, accessstatus).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeAndAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheckByTypeAndAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL, pfgenerateonclose: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -93,7 +93,7 @@ where P4: ::windows_core::IntoParam, P5: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeAndAuditAlarmA( subsystemname.into_param().abi(), handleid, @@ -117,7 +117,7 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeAndAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL +pub unsafe fn AccessCheckByTypeAndAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<&mut [OBJECT_TYPE_LIST]>, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatus: *mut super::Foundation::BOOL, pfgenerateonclose: *mut super::Foundation::BOOL) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -126,7 +126,7 @@ where P4: ::windows_core::IntoParam, P5: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut i32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeAndAuditAlarmW( subsystemname.into_param().abi(), handleid, @@ -161,7 +161,7 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -170,13 +170,13 @@ where P4: ::windows_core::IntoParam, P5: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeResultListAndAuditAlarmA(subsystemname.into_param().abi(), handleid, objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatuslist, pfgenerateonclose).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname: P0, handleid: *const ::core::ffi::c_void, clienttoken: P1, objecttypename: P2, objectname: P3, securitydescriptor: P4, principalselfsid: P5, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P6, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname: P0, handleid: *const ::core::ffi::c_void, clienttoken: P1, objecttypename: P2, objectname: P3, securitydescriptor: P4, principalselfsid: P5, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P6, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, @@ -186,13 +186,13 @@ where P5: ::windows_core::IntoParam, P6: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname.into_param().abi(), handleid, clienttoken.into_param().abi(), objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccess, accessstatuslist, pfgenerateonclose).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname: P0, handleid: *const ::core::ffi::c_void, clienttoken: P1, objecttypename: P2, objectname: P3, securitydescriptor: P4, principalselfsid: P5, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P6, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL +pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname: P0, handleid: *const ::core::ffi::c_void, clienttoken: P1, objecttypename: P2, objectname: P3, securitydescriptor: P4, principalselfsid: P5, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P6, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut super::Foundation::BOOL) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, @@ -202,13 +202,13 @@ where P5: ::windows_core::IntoParam, P6: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname.into_param().abi(), handleid, clienttoken.into_param().abi(), objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccesslist, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL +pub unsafe fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, securitydescriptor: P3, principalselfsid: P4, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: ::core::option::Option<*mut OBJECT_TYPE_LIST>, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: P5, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut super::Foundation::BOOL) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -217,7 +217,7 @@ where P4: ::windows_core::IntoParam, P5: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); AccessCheckByTypeResultListAndAuditAlarmW(subsystemname.into_param().abi(), handleid, objecttypename.into_param().abi(), objectname.into_param().abi(), securitydescriptor.into_param().abi(), principalselfsid.into_param().abi(), desiredaccess, audittype, flags, ::core::mem::transmute(objecttypelist.unwrap_or(::std::ptr::null_mut())), objecttypelistlength, genericmapping, objectcreation.into_param().abi(), grantedaccesslist, accessstatuslist, pfgenerateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -704,11 +704,11 @@ pub unsafe fn GetLengthSid(psid: super::Foundation::PSID) -> u32 { #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetPrivateObjectSecurity(objectdescriptor: P0, securityinformation: u32, resultantdescriptor: PSECURITY_DESCRIPTOR, descriptorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn GetPrivateObjectSecurity(objectdescriptor: P0, securityinformation: OBJECT_SECURITY_INFORMATION, resultantdescriptor: PSECURITY_DESCRIPTOR, descriptorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : u32, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : OBJECT_SECURITY_INFORMATION, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); GetPrivateObjectSecurity(objectdescriptor.into_param().abi(), securityinformation, resultantdescriptor, descriptorlength, returnlength).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -724,21 +724,21 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetSecurityDescriptorDacl(psecuritydescriptor: P0, lpbdaclpresent: *mut i32, pdacl: *mut *mut ACL, lpbdacldefaulted: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn GetSecurityDescriptorDacl(psecuritydescriptor: P0, lpbdaclpresent: *mut super::Foundation::BOOL, pdacl: *mut *mut ACL, lpbdacldefaulted: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut i32, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut super::Foundation:: BOOL, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); GetSecurityDescriptorDacl(psecuritydescriptor.into_param().abi(), lpbdaclpresent, pdacl, lpbdacldefaulted).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetSecurityDescriptorGroup(psecuritydescriptor: P0, pgroup: *mut super::Foundation::PSID, lpbgroupdefaulted: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn GetSecurityDescriptorGroup(psecuritydescriptor: P0, pgroup: *mut super::Foundation::PSID, lpbgroupdefaulted: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); GetSecurityDescriptorGroup(psecuritydescriptor.into_param().abi(), pgroup, lpbgroupdefaulted).ok() } #[doc = "*Required features: `\"Win32_Security\"`*"] @@ -753,11 +753,11 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetSecurityDescriptorOwner(psecuritydescriptor: P0, powner: *mut super::Foundation::PSID, lpbownerdefaulted: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn GetSecurityDescriptorOwner(psecuritydescriptor: P0, powner: *mut super::Foundation::PSID, lpbownerdefaulted: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); GetSecurityDescriptorOwner(psecuritydescriptor.into_param().abi(), powner, lpbownerdefaulted).ok() } #[doc = "*Required features: `\"Win32_Security\"`*"] @@ -772,11 +772,11 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetSecurityDescriptorSacl(psecuritydescriptor: P0, lpbsaclpresent: *mut i32, psacl: *mut *mut ACL, lpbsacldefaulted: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn GetSecurityDescriptorSacl(psecuritydescriptor: P0, lpbsaclpresent: *mut super::Foundation::BOOL, psacl: *mut *mut ACL, lpbsacldefaulted: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut i32, psacl : *mut *mut ACL, lpbsacldefaulted : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut super::Foundation:: BOOL, psacl : *mut *mut ACL, lpbsacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); GetSecurityDescriptorSacl(psecuritydescriptor.into_param().abi(), lpbsaclpresent, psacl, lpbsacldefaulted).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1193,7 +1193,7 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ObjectOpenAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, psecuritydescriptor: P3, clienttoken: P4, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const PRIVILEGE_SET>, objectcreation: P5, accessgranted: P6, generateonclose: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn ObjectOpenAuditAlarmA(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, psecuritydescriptor: P3, clienttoken: P4, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const PRIVILEGE_SET>, objectcreation: P5, accessgranted: P6, generateonclose: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -1203,13 +1203,13 @@ where P5: ::windows_core::IntoParam, P6: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn ObjectOpenAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ObjectOpenAuditAlarmA(subsystemname : ::windows_core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCSTR, objectname : ::windows_core::PCSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); ObjectOpenAuditAlarmA(subsystemname.into_param().abi(), handleid, objecttypename.into_param().abi(), objectname.into_param().abi(), psecuritydescriptor.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into_param().abi(), accessgranted.into_param().abi(), generateonclose).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn ObjectOpenAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, psecuritydescriptor: P3, clienttoken: P4, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const PRIVILEGE_SET>, objectcreation: P5, accessgranted: P6, generateonclose: *mut i32) -> super::Foundation::BOOL +pub unsafe fn ObjectOpenAuditAlarmW(subsystemname: P0, handleid: *const ::core::ffi::c_void, objecttypename: P1, objectname: P2, psecuritydescriptor: P3, clienttoken: P4, desiredaccess: u32, grantedaccess: u32, privileges: ::core::option::Option<*const PRIVILEGE_SET>, objectcreation: P5, accessgranted: P6, generateonclose: *mut super::Foundation::BOOL) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -1219,7 +1219,7 @@ where P5: ::windows_core::IntoParam, P6: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn ObjectOpenAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ObjectOpenAuditAlarmW(subsystemname : ::windows_core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_core::PCWSTR, objectname : ::windows_core::PCWSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); ObjectOpenAuditAlarmW(subsystemname.into_param().abi(), handleid, objecttypename.into_param().abi(), objectname.into_param().abi(), psecuritydescriptor.into_param().abi(), clienttoken.into_param().abi(), desiredaccess, grantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null())), objectcreation.into_param().abi(), accessgranted.into_param().abi(), generateonclose) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1249,11 +1249,11 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn PrivilegeCheck(clienttoken: P0, requiredprivileges: *mut PRIVILEGE_SET, pfresult: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn PrivilegeCheck(clienttoken: P0, requiredprivileges: *mut PRIVILEGE_SET, pfresult: *mut super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut i32) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); PrivilegeCheck(clienttoken.into_param().abi(), requiredprivileges, pfresult).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] @@ -1284,8 +1284,8 @@ where } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] -pub unsafe fn QuerySecurityAccessMask(securityinformation: u32) -> u32 { - ::windows_targets::link!("advapi32.dll" "system" fn QuerySecurityAccessMask(securityinformation : u32, desiredaccess : *mut u32) -> ()); +pub unsafe fn QuerySecurityAccessMask(securityinformation: OBJECT_SECURITY_INFORMATION) -> u32 { + ::windows_targets::link!("advapi32.dll" "system" fn QuerySecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); let mut result__ = ::std::mem::zeroed(); QuerySecurityAccessMask(securityinformation, &mut result__); ::std::mem::transmute(result__) @@ -1338,62 +1338,62 @@ where #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetFileSecurityA(lpfilename: P0, securityinformation: u32, psecuritydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn SetFileSecurityA(lpfilename: P0, securityinformation: OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetFileSecurityA(lpfilename : ::windows_core::PCSTR, securityinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn SetFileSecurityA(lpfilename : ::windows_core::PCSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); SetFileSecurityA(lpfilename.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetFileSecurityW(lpfilename: P0, securityinformation: u32, psecuritydescriptor: P1) -> super::Foundation::BOOL +pub unsafe fn SetFileSecurityW(lpfilename: P0, securityinformation: OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P1) -> super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetFileSecurityW(lpfilename : ::windows_core::PCWSTR, securityinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn SetFileSecurityW(lpfilename : ::windows_core::PCWSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); SetFileSecurityW(lpfilename.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()) } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetKernelObjectSecurity(handle: P0, securityinformation: u32, securitydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn SetKernelObjectSecurity(handle: P0, securityinformation: OBJECT_SECURITY_INFORMATION, securitydescriptor: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : u32, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : OBJECT_SECURITY_INFORMATION, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); SetKernelObjectSecurity(handle.into_param().abi(), securityinformation, securitydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetPrivateObjectSecurity(securityinformation: u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, genericmapping: *const GENERIC_MAPPING, token: P1) -> ::windows_core::Result<()> +pub unsafe fn SetPrivateObjectSecurity(securityinformation: OBJECT_SECURITY_INFORMATION, modificationdescriptor: P0, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, genericmapping: *const GENERIC_MAPPING, token: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetPrivateObjectSecurity(securityinformation : u32, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn SetPrivateObjectSecurity(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); SetPrivateObjectSecurity(securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, genericmapping, token.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetPrivateObjectSecurityEx(securityinformation: u32, modificationdescriptor: P0, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, genericmapping: *const GENERIC_MAPPING, token: P1) -> ::windows_core::Result<()> +pub unsafe fn SetPrivateObjectSecurityEx(securityinformation: OBJECT_SECURITY_INFORMATION, modificationdescriptor: P0, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, genericmapping: *const GENERIC_MAPPING, token: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn SetPrivateObjectSecurityEx(securityinformation : u32, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn SetPrivateObjectSecurityEx(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); SetPrivateObjectSecurityEx(securityinformation, modificationdescriptor.into_param().abi(), objectssecuritydescriptor, autoinheritflags, genericmapping, token.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Security\"`*"] #[inline] -pub unsafe fn SetSecurityAccessMask(securityinformation: u32) -> u32 { - ::windows_targets::link!("advapi32.dll" "system" fn SetSecurityAccessMask(securityinformation : u32, desiredaccess : *mut u32) -> ()); +pub unsafe fn SetSecurityAccessMask(securityinformation: OBJECT_SECURITY_INFORMATION) -> u32 { + ::windows_targets::link!("advapi32.dll" "system" fn SetSecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); let mut result__ = ::std::mem::zeroed(); SetSecurityAccessMask(securityinformation, &mut result__); ::std::mem::transmute(result__) diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index 5756942992c..3b2eedd5657 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -278,23 +278,23 @@ where #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CopyFileExA(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*mut i32>, dwcopyflags: u32) -> ::windows_core::Result<()> +pub unsafe fn CopyFileExA(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*mut super::super::Foundation::BOOL>, dwcopyflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("kernel32.dll" "system" fn CopyFileExA(lpexistingfilename : ::windows_core::PCSTR, lpnewfilename : ::windows_core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut i32, dwcopyflags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn CopyFileExA(lpexistingfilename : ::windows_core::PCSTR, lpnewfilename : ::windows_core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); CopyFileExA(lpexistingfilename.into_param().abi(), lpnewfilename.into_param().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null_mut())), dwcopyflags).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CopyFileExW(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*mut i32>, dwcopyflags: u32) -> ::windows_core::Result<()> +pub unsafe fn CopyFileExW(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*mut super::super::Foundation::BOOL>, dwcopyflags: u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("kernel32.dll" "system" fn CopyFileExW(lpexistingfilename : ::windows_core::PCWSTR, lpnewfilename : ::windows_core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut i32, dwcopyflags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn CopyFileExW(lpexistingfilename : ::windows_core::PCWSTR, lpnewfilename : ::windows_core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *mut super::super::Foundation:: BOOL, dwcopyflags : u32) -> super::super::Foundation:: BOOL); CopyFileExW(lpexistingfilename.into_param().abi(), lpnewfilename.into_param().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null_mut())), dwcopyflags).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -312,25 +312,25 @@ where #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CopyFileTransactedA(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*const i32>, dwcopyflags: u32, htransaction: P2) -> ::windows_core::Result<()> +pub unsafe fn CopyFileTransactedA(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*const super::super::Foundation::BOOL>, dwcopyflags: u32, htransaction: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn CopyFileTransactedA(lpexistingfilename : ::windows_core::PCSTR, lpnewfilename : ::windows_core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const i32, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn CopyFileTransactedA(lpexistingfilename : ::windows_core::PCSTR, lpnewfilename : ::windows_core::PCSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); CopyFileTransactedA(lpexistingfilename.into_param().abi(), lpnewfilename.into_param().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null())), dwcopyflags, htransaction.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CopyFileTransactedW(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*const i32>, dwcopyflags: u32, htransaction: P2) -> ::windows_core::Result<()> +pub unsafe fn CopyFileTransactedW(lpexistingfilename: P0, lpnewfilename: P1, lpprogressroutine: LPPROGRESS_ROUTINE, lpdata: ::core::option::Option<*const ::core::ffi::c_void>, pbcancel: ::core::option::Option<*const super::super::Foundation::BOOL>, dwcopyflags: u32, htransaction: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn CopyFileTransactedW(lpexistingfilename : ::windows_core::PCWSTR, lpnewfilename : ::windows_core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const i32, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn CopyFileTransactedW(lpexistingfilename : ::windows_core::PCWSTR, lpnewfilename : ::windows_core::PCWSTR, lpprogressroutine : LPPROGRESS_ROUTINE, lpdata : *const ::core::ffi::c_void, pbcancel : *const super::super::Foundation:: BOOL, dwcopyflags : u32, htransaction : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); CopyFileTransactedW(lpexistingfilename.into_param().abi(), lpnewfilename.into_param().abi(), lpprogressroutine, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbcancel.unwrap_or(::std::ptr::null())), dwcopyflags, htransaction.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -1552,11 +1552,11 @@ where #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetFileBandwidthReservation(hfile: P0, lpperiodmilliseconds: *mut u32, lpbytesperperiod: *mut u32, pdiscardable: *mut i32, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn GetFileBandwidthReservation(hfile: P0, lpperiodmilliseconds: *mut u32, lpbytesperperiod: *mut u32, pdiscardable: *mut super::super::Foundation::BOOL, lptransfersize: *mut u32, lpnumoutstandingrequests: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn GetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, lpperiodmilliseconds : *mut u32, lpbytesperperiod : *mut u32, pdiscardable : *mut i32, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn GetFileBandwidthReservation(hfile : super::super::Foundation:: HANDLE, lpperiodmilliseconds : *mut u32, lpbytesperperiod : *mut u32, pdiscardable : *mut super::super::Foundation:: BOOL, lptransfersize : *mut u32, lpnumoutstandingrequests : *mut u32) -> super::super::Foundation:: BOOL); GetFileBandwidthReservation(hfile.into_param().abi(), lpperiodmilliseconds, lpbytesperperiod, pdiscardable, lptransfersize, lpnumoutstandingrequests).ok() } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`*"] @@ -11472,33 +11472,41 @@ impl ::core::default::Default for EFS_HASH_BLOB { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] +#[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(feature = "Win32_Security_Cryptography")] pub struct EFS_KEY_INFO { pub dwVersion: u32, pub Entropy: u32, - pub Algorithm: u32, + pub Algorithm: super::super::Security::Cryptography::ALG_ID, pub KeyLength: u32, } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for EFS_KEY_INFO {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::clone::Clone for EFS_KEY_INFO { fn clone(&self) -> Self { *self } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::fmt::Debug for EFS_KEY_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("EFS_KEY_INFO").field("dwVersion", &self.dwVersion).field("Entropy", &self.Entropy).field("Algorithm", &self.Algorithm).field("KeyLength", &self.KeyLength).finish() } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::windows_core::TypeKind for EFS_KEY_INFO { type TypeKind = ::windows_core::CopyType; } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::PartialEq for EFS_KEY_INFO { fn eq(&self, other: &Self) -> bool { self.dwVersion == other.dwVersion && self.Entropy == other.Entropy && self.Algorithm == other.Algorithm && self.KeyLength == other.KeyLength } } +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::cmp::Eq for EFS_KEY_INFO {} +#[cfg(feature = "Win32_Security_Cryptography")] impl ::core::default::Default for EFS_KEY_INFO { fn default() -> Self { unsafe { ::core::mem::zeroed() } @@ -18149,7 +18157,7 @@ impl ::core::default::Default for WOF_FILE_COMPRESSION_INFO_V1 { } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -pub type CACHE_ACCESS_CHECK = ::core::option::Option super::super::Foundation::BOOL>; +pub type CACHE_ACCESS_CHECK = ::core::option::Option super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] pub type CACHE_DESTROY_CALLBACK = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs index 422ff2a6718..ed5510698e3 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs @@ -3614,7 +3614,7 @@ pub const JET_errStartingRestoreLogTooHigh: i32 = -554i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub const JET_errStreamingDataNotLogged: i32 = -549i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] -pub const JET_errSuccess: u32 = 0u32; +pub const JET_errSuccess: i32 = 0i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] pub const JET_errSystemParameterConflict: i32 = -1087i32; #[doc = "*Required features: `\"Win32_Storage_Jet\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs new file mode 100644 index 00000000000..c424e9e4131 --- /dev/null +++ b/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs @@ -0,0 +1,13317 @@ +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const FIRMWARE_ACTIVATION_HISTORY_ENTRY_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_MFND_CHILD_CONTROLLER_EVENT_LOG_PAGEGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x98bcce18_a5f0_bf35_a544_d97f259d669c); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_DEVICE_CAPABILITIESGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0d054297_e1d1_98c9_5d49_584b913c05b7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_ERROR_RECOVERY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_ERROR_RECOVERYGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORYGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x769a796d_dab4_a3f6_e24d_b28aacf31cd1); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_LATENCY_MONITOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_LATENCY_MONITORGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8cc07a92_84d0_9c6c_7043_e6d4585ed485); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_SMART_INFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_SMART_INFORMATIONGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_CONFIGURATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_CONFIGURATIONGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd244006_e07e_83e6_c047_54fa9d2ae054); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_HISTORY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_TCG_HISTORYGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x704b513e_09c6_9490_274e_d0969690d788); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_OCP_DEVICE_UNSUPPORTED_REQUIREMENTSGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e9c722f_2399_bb2c_6348_32d0b798bbc7); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_ERROR_RECOVERY: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_ERROR_RECOVERYGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2131d944_30fe_ae34_ab4d_fd3dba83195a); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_SMART_ATTRIBUTES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const GUID_WCS_DEVICE_SMART_ATTRIBUTESGuid: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2810afc5_bfea_a4f2_9c4f_6f7cc914d5af); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_FR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_FR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_FR_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_INFR_WRITE_INFR_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_NONE: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_ONE_TIME_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_SPECULATIVE_READ: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_TYPICAL: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_FREQUENCY_WILL_BE_OVERWRITTEN: NVME_ACCESS_FREQUENCIES = NVME_ACCESS_FREQUENCIES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_IDLE: NVME_ACCESS_LATENCIES = NVME_ACCESS_LATENCIES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_LOW: NVME_ACCESS_LATENCIES = NVME_ACCESS_LATENCIES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_NONE: NVME_ACCESS_LATENCIES = NVME_ACCESS_LATENCIES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ACCESS_LATENCY_NORMAL: NVME_ACCESS_LATENCIES = NVME_ACCESS_LATENCIES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_ABORT: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_ASYNC_EVENT_REQUEST: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_CREATE_IO_CQ: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_CREATE_IO_SQ: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DELETE_IO_CQ: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DELETE_IO_SQ: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DEVICE_SELF_TEST: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(20i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DIRECTIVE_RECEIVE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(26i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DIRECTIVE_SEND: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_DOORBELL_BUFFER_CONFIG: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(124i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_ACTIVATE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_COMMIT: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FIRMWARE_IMAGE_DOWNLOAD: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_FORMAT_NVM: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_FEATURES: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_LBA_STATUS: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(134i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_GET_LOG_PAGE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_IDENTIFY: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NAMESPACE_ATTACHMENT: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NAMESPACE_MANAGEMENT: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NVME_MI_RECEIVE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(30i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_NVME_MI_SEND: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(29i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SANITIZE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(132i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SECURITY_RECEIVE: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(130i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SECURITY_SEND: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_SET_FEATURES: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ADMIN_COMMAND_VIRTUALIZATION_MANAGEMENT: NVME_ADMIN_COMMANDS = NVME_ADMIN_COMMANDS(28i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_AMS_ROUND_ROBIN: NVME_AMS_OPTION = NVME_AMS_OPTION(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_AMS_WEIGHTED_ROUND_ROBIN_URGENT: NVME_AMS_OPTION = NVME_AMS_OPTION(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_DIAG_FAILURE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_FIRMWARE_IMAGE_LOAD_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_INVALID_DOORBELL_WRITE_VALUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_INVALID_SUBMISSION_QUEUE: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_PERSISTENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_ERROR_TRANSIENT_INTERNAL_DEVICE_ERROR: NVME_ASYNC_EVENT_ERROR_STATUS_CODES = NVME_ASYNC_EVENT_ERROR_STATUS_CODES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_ERROR_STATUS: NVME_ASYNC_EVENT_TYPES = NVME_ASYNC_EVENT_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_HEALTH_STATUS: NVME_ASYNC_EVENT_TYPES = NVME_ASYNC_EVENT_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_IO_COMMAND_SET_STATUS: NVME_ASYNC_EVENT_TYPES = NVME_ASYNC_EVENT_TYPES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_NOTICE: NVME_ASYNC_EVENT_TYPES = NVME_ASYNC_EVENT_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC: NVME_ASYNC_EVENT_TYPES = NVME_ASYNC_EVENT_TYPES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_DEVICE_PANIC: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_RESERVED: NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES = NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_NVM_SUBSYSTEM_RELIABILITY: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = NVME_ASYNC_EVENT_HEALTH_STATUS_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_SPARE_BELOW_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = NVME_ASYNC_EVENT_HEALTH_STATUS_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_HEALTH_TEMPERATURE_THRESHOLD: NVME_ASYNC_EVENT_HEALTH_STATUS_CODES = NVME_ASYNC_EVENT_HEALTH_STATUS_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SANITIZE_OPERATION_COMPLETED_WITH_UNEXPECTED_DEALLOCATION: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_IO_CMD_SET_RESERVATION_LOG_PAGE_AVAILABLE: NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES = NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ASYMMETRIC_ACCESS_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ENDURANCE_GROUP_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_FIRMWARE_ACTIVATION_STARTING: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_LBA_STATUS_INFORMATION_ALERT: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_NAMESPACE_ATTRIBUTE_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_PREDICTABLE_LATENCY_EVENT_AGGREGATE_LOG_CHANGE: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_TELEMETRY_LOG_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ASYNC_NOTICE_ZONE_DESCRIPTOR_CHANGED: NVME_ASYNC_EVENT_NOTICE_CODES = NVME_ASYNC_EVENT_NOTICE_CODES(239i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_ABRUPT_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_NORMAL_SHUTDOWN: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CC_SHN_NO_NOTIFICATION: NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS = NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_16MB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_1MB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_256MB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_4GB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_4KB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_64GB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CMBSZ_SIZE_UNITS_64KB: NVME_CMBSZ_SIZE_UNITS = NVME_CMBSZ_SIZE_UNITS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_NONE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_CONTROLLER: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMIT_SINGLE_PER_NAMESPACE: NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS = NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_KEY_VALUE: NVME_COMMAND_SET_IDENTIFIERS = NVME_COMMAND_SET_IDENTIFIERS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_NVM: NVME_COMMAND_SET_IDENTIFIERS = NVME_COMMAND_SET_IDENTIFIERS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_COMMAND_SET_ZONED_NAMESPACE: NVME_COMMAND_SET_IDENTIFIERS = NVME_COMMAND_SET_IDENTIFIERS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_CHIPSET_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_DISPLAY_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_FIRMWARE_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_HOST_DETERMINED_FAILURE_RECORD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_FILENAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_OPERATING_SYSTEM_NAME_AND_BUILD: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_CONTROLLER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_PREBOOT_DRIVER_VERSION: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_SYSTEM_PROCESSOR_MODEL: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CONTROLLER_METADATA_SYSTEM_PRODUCT_NAME: NVME_CONTROLLER_METADATA_ELEMENT_TYPES = NVME_CONTROLLER_METADATA_ELEMENT_TYPES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_ADMIN_COMMAND_SET_ONLY: NVME_CSS_COMMAND_SETS = NVME_CSS_COMMAND_SETS(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_ALL_SUPPORTED_IO_COMMAND_SET: NVME_CSS_COMMAND_SETS = NVME_CSS_COMMAND_SETS(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSS_NVM_COMMAND_SET: NVME_CSS_COMMAND_SETS = NVME_CSS_COMMAND_SETS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_NO_SHUTDOWN: NVME_CSTS_SHST_SHUTDOWN_STATUS = NVME_CSTS_SHST_SHUTDOWN_STATUS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_SHUTDOWN_COMPLETED: NVME_CSTS_SHST_SHUTDOWN_STATUS = NVME_CSTS_SHST_SHUTDOWN_STATUS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_CSTS_SHST_SHUTDOWN_IN_PROCESS: NVME_CSTS_SHST_SHUTDOWN_STATUS = NVME_CSTS_SHST_SHUTDOWN_STATUS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS = NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_ALLOCATE_RESOURCES: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_GET_STATUS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATION_RETURN_PARAMETERS: NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS = NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_IDENTIFY_OPERATION_ENABLE_DIRECTIVE: NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS = NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_IDENTIFIER: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_SEND_STREAMS_OPERATION_RELEASE_RESOURCES: NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS = NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_TYPE_IDENTIFY: NVME_DIRECTIVE_TYPES = NVME_DIRECTIVE_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_DIRECTIVE_TYPE_STREAMS: NVME_DIRECTIVE_TYPES = NVME_DIRECTIVE_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_CPU_CONTROLLER_HANG: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_CRITICAL: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_DRAM_CORRUPTION_NONCRITICAL: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_HW_MALFUNCTION: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_LOGICAL_FW_ERROR: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_CORRUPTION: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_NAND_HANG: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_PLP_DEFECT: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_DEVICE_PANIC_SRAM_CORRUPTION: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_MAX: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(65535i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_RESERVED0: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ERROR_INJECTION_TYPE_RESERVED1: NVME_ERROR_INJECTION_TYPES = NVME_ERROR_INJECTION_TYPES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_EXTENDED_HOST_IDENTIFIER_SIZE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ARBITRATION: NVME_FEATURES = NVME_FEATURES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ASYNC_EVENT_CONFIG: NVME_FEATURES = NVME_FEATURES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_AUTONOMOUS_POWER_STATE_TRANSITION: NVME_FEATURES = NVME_FEATURES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CLEAR_FW_UPDATE_HISTORY: NVME_FEATURES = NVME_FEATURES(193i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS: NVME_FEATURES = NVME_FEATURES(195i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_CONTROLLER_METADATA: NVME_FEATURES = NVME_FEATURES(126i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENABLE_IEEE1667_SILO: NVME_FEATURES = NVME_FEATURES(196i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENDURANCE_GROUP_EVENT_CONFIG: NVME_FEATURES = NVME_FEATURES(24i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ENHANCED_CONTROLLER_METADATA: NVME_FEATURES = NVME_FEATURES(125i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ERROR_INJECTION: NVME_FEATURES = NVME_FEATURES(192i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_ERROR_RECOVERY: NVME_FEATURES = NVME_FEATURES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_BEHAVIOR_SUPPORT: NVME_FEATURES = NVME_FEATURES(22i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_CONTROLLED_THERMAL_MANAGEMENT: NVME_FEATURES = NVME_FEATURES(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_HOST_MEMORY_BUFFER: NVME_FEATURES = NVME_FEATURES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_INTERRUPT_COALESCING: NVME_FEATURES = NVME_FEATURES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_INTERRUPT_VECTOR_CONFIG: NVME_FEATURES = NVME_FEATURES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_IO_COMMAND_SET_PROFILE: NVME_FEATURES = NVME_FEATURES(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_KEEP_ALIVE: NVME_FEATURES = NVME_FEATURES(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_LBA_RANGE_TYPE: NVME_FEATURES = NVME_FEATURES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_LBA_STATUS_INFORMATION_REPORT_INTERVAL: NVME_FEATURES = NVME_FEATURES(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NAMESPACE_METADATA: NVME_FEATURES = NVME_FEATURES(127i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NONOPERATIONAL_POWER_STATE: NVME_FEATURES = NVME_FEATURES(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NUMBER_OF_QUEUES: NVME_FEATURES = NVME_FEATURES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_HOST_IDENTIFIER: NVME_FEATURES = NVME_FEATURES(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_NAMESPACE_WRITE_PROTECTION_CONFIG: NVME_FEATURES = NVME_FEATURES(132i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_RESERVATION_NOTIFICATION_MASK: NVME_FEATURES = NVME_FEATURES(130i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_RESERVATION_PERSISTANCE: NVME_FEATURES = NVME_FEATURES(131i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_NVM_SOFTWARE_PROGRESS_MARKER: NVME_FEATURES = NVME_FEATURES(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PLP_HEALTH_MONITOR: NVME_FEATURES = NVME_FEATURES(197i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_POWER_MANAGEMENT: NVME_FEATURES = NVME_FEATURES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_CONFIG: NVME_FEATURES = NVME_FEATURES(19i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_PREDICTABLE_LATENCY_MODE_WINDOW: NVME_FEATURES = NVME_FEATURES(20i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_READONLY_WRITETHROUGH_MODE: NVME_FEATURES = NVME_FEATURES(194i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_READ_RECOVERY_LEVEL_CONFIG: NVME_FEATURES = NVME_FEATURES(18i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_SANITIZE_CONFIG: NVME_FEATURES = NVME_FEATURES(23i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_TEMPERATURE_THRESHOLD: NVME_FEATURES = NVME_FEATURES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_TIMESTAMP: NVME_FEATURES = NVME_FEATURES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_CURRENT: NVME_FEATURE_VALUE_CODES = NVME_FEATURE_VALUE_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_DEFAULT: NVME_FEATURE_VALUE_CODES = NVME_FEATURE_VALUE_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_SAVED: NVME_FEATURE_VALUE_CODES = NVME_FEATURE_VALUE_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VALUE_SUPPORTED_CAPABILITIES: NVME_FEATURE_VALUE_CODES = NVME_FEATURE_VALUE_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_VOLATILE_WRITE_CACHE: NVME_FEATURES = NVME_FEATURES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FEATURE_WRITE_ATOMICITY: NVME_FEATURES = NVME_FEATURES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = NVME_FIRMWARE_ACTIVATE_ACTIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT: NVME_FIRMWARE_ACTIVATE_ACTIONS = NVME_FIRMWARE_ACTIVATE_ACTIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = NVME_FIRMWARE_ACTIVATE_ACTIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FIRMWARE_ACTIVATE_ACTION_DOWNLOAD_TO_SLOT_AND_ACTIVATE_IMMEDIATE: NVME_FIRMWARE_ACTIVATE_ACTIONS = NVME_FIRMWARE_ACTIVATE_ACTIONS(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_FIRST_CMD: NVME_FUSED_OPERATION_CODES = NVME_FUSED_OPERATION_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_NORMAL: NVME_FUSED_OPERATION_CODES = NVME_FUSED_OPERATION_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_FUSED_OPERATION_SECOND_CMD: NVME_FUSED_OPERATION_CODES = NVME_FUSED_OPERATION_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_IDENTIFIER_SIZE: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_ADD_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = NVME_HOST_METADATA_ELEMENT_ACTIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_ADD_REPLACE_ENTRY: NVME_HOST_METADATA_ELEMENT_ACTIONS = NVME_HOST_METADATA_ELEMENT_ACTIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_HOST_METADATA_DELETE_ENTRY_MULTIPLE: NVME_HOST_METADATA_ELEMENT_ACTIONS = NVME_HOST_METADATA_ELEMENT_ACTIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_CSI: NVME_IDENTIFIER_TYPE = NVME_IDENTIFIER_TYPE(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_CSI_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = NVME_IDENTIFIER_TYPE_LENGTH(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_EUI64: NVME_IDENTIFIER_TYPE = NVME_IDENTIFIER_TYPE(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_EUI64_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = NVME_IDENTIFIER_TYPE_LENGTH(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_NGUID: NVME_IDENTIFIER_TYPE = NVME_IDENTIFIER_TYPE(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_NGUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = NVME_IDENTIFIER_TYPE_LENGTH(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_UUID: NVME_IDENTIFIER_TYPE = NVME_IDENTIFIER_TYPE(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFIER_TYPE_UUID_LENGTH: NVME_IDENTIFIER_TYPE_LENGTH = NVME_IDENTIFIER_TYPE_LENGTH(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACES: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ACTIVE_NAMESPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(27i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMESPACE_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ALLOCATED_NAMSPACE_LIST_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(26i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NSID: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(18i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_CONTROLLER_LIST_OF_NVM_SUBSYSTEM: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(19i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DESCRIPTOR_NAMESPACE_SIZE: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_DOMAIN_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(24i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_ENDURANCE_GROUP_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(28i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_NAMESPACE_GRANULARITY_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(22i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_NVM_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_PRIMARY_CONTROLLER_CAPABILITIES: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(20i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SECONDARY_CONTROLLER_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_SPECIFIC_NAMESPACE_IO_COMMAND_SET: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IDENTIFY_CNS_UUID_LIST: NVME_IDENTIFY_CNS_CODES = NVME_IDENTIFY_CNS_CODES(23i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_COMBINATION_REJECTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(43i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(44i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_NOT_ENABLED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(42i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_IO_COMMAND_SET_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(41i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_CACHE: NVME_LBA_RANGE_TYPES = NVME_LBA_RANGE_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_FILESYSTEM: NVME_LBA_RANGE_TYPES = NVME_LBA_RANGE_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_PAGE_SWAP_FILE: NVME_LBA_RANGE_TYPES = NVME_LBA_RANGE_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_RAID: NVME_LBA_RANGE_TYPES = NVME_LBA_RANGE_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LBA_RANGE_TYPE_RESERVED: NVME_LBA_RANGE_TYPES = NVME_LBA_RANGE_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ASYMMETRIC_NAMESPACE_ACCESS: NVME_LOG_PAGES = NVME_LOG_PAGES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_CHANGED_NAMESPACE_LIST: NVME_LOG_PAGES = NVME_LOG_PAGES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_CHANGED_ZONE_LIST: NVME_LOG_PAGES = NVME_LOG_PAGES(191i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_COMMAND_EFFECTS: NVME_LOG_PAGES = NVME_LOG_PAGES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_DEVICE_SELF_TEST: NVME_LOG_PAGES = NVME_LOG_PAGES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ENDURANCE_GROUP_EVENT_AGGREGATE: NVME_LOG_PAGES = NVME_LOG_PAGES(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ENDURANCE_GROUP_INFORMATION: NVME_LOG_PAGES = NVME_LOG_PAGES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_ERROR_INFO: NVME_LOG_PAGES = NVME_LOG_PAGES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_FIRMWARE_SLOT_INFO: NVME_LOG_PAGES = NVME_LOG_PAGES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_HEALTH_INFO: NVME_LOG_PAGES = NVME_LOG_PAGES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_LBA_STATUS_INFORMATION: NVME_LOG_PAGES = NVME_LOG_PAGES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_CAPABILITIES: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(196i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_ERROR_RECOVERY: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(193i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_DEVICE_SMART_INFORMATION: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(192i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_FIRMWARE_ACTIVATION_HISTORY: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(194i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_LATENCY_MONITOR: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(195i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_TCG_CONFIGURATION: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(200i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_TCG_HISTORY: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(201i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_OCP_UNSUPPORTED_REQUIREMENTS: NVME_VENDOR_LOG_PAGES = NVME_VENDOR_LOG_PAGES(197i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PERSISTENT_EVENT_LOG: NVME_LOG_PAGES = NVME_LOG_PAGES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_EVENT_AGGREGATE: NVME_LOG_PAGES = NVME_LOG_PAGES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_PREDICTABLE_LATENCY_NVM_SET: NVME_LOG_PAGES = NVME_LOG_PAGES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_RESERVATION_NOTIFICATION: NVME_LOG_PAGES = NVME_LOG_PAGES(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_SANITIZE_STATUS: NVME_LOG_PAGES = NVME_LOG_PAGES(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_TELEMETRY_CTLR_INITIATED: NVME_LOG_PAGES = NVME_LOG_PAGES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_LOG_PAGE_TELEMETRY_HOST_INITIATED: NVME_LOG_PAGES = NVME_LOG_PAGES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MAX_HOST_IDENTIFIER_SIZE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MAX_LOG_SIZE: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_ADDITIONALLY_MODIFIED_AFTER_SANITIZE_NOT_DEFINED: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_ADDITIONALLY_MOFIDIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_MEDIA_NOT_ADDITIONALLY_MODIFIED_AFTER_SANITIZE: NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE = NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_ALL: u32 = 4294967295u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = NVME_NAMESPACE_METADATA_ELEMENT_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_1: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = NVME_NAMESPACE_METADATA_ELEMENT_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_OPERATING_SYSTEM_NAMESPACE_NAME_QUALIFIER_2: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = NVME_NAMESPACE_METADATA_ELEMENT_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NAMESPACE_METADATA_PREBOOT_NAMESPACE_NAME: NVME_NAMESPACE_METADATA_ELEMENT_TYPES = NVME_NAMESPACE_METADATA_ELEMENT_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_COMPARE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_COPY: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_DATASET_MANAGEMENT: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_FLUSH: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_READ: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_ACQUIRE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_REGISTER: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_RELEASE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_RESERVATION_REPORT: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_VERIFY: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE_UNCORRECTABLE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_WRITE_ZEROES: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_APPEND: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(125i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_RECEIVE: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(122i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_COMMAND_ZONE_MANAGEMENT_SEND: NVME_NVM_COMMANDS = NVME_NVM_COMMANDS(121i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_HIGH: NVME_NVM_QUEUE_PRIORITIES = NVME_NVM_QUEUE_PRIORITIES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_LOW: NVME_NVM_QUEUE_PRIORITIES = NVME_NVM_QUEUE_PRIORITIES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_MEDIUM: NVME_NVM_QUEUE_PRIORITIES = NVME_NVM_QUEUE_PRIORITIES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_NVM_QUEUE_PRIORITY_URGENT: NVME_NVM_QUEUE_PRIORITIES = NVME_NVM_QUEUE_PRIORITIES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_CAPABILITIES_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_VERSION_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_SMART_INFORMATION_LOG_VERSION_3: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_TCG_HISTORY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_CHANGE_NAMESPACE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FIRMWARE_COMMIT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_FORMAT_NVM_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_MAX: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(255i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_NVM_SUBSYSTEM_HARDWARE_ERROR: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_POWER_ON_OR_RESET: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED0: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED1_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(221i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_BEGIN: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(224i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_RESERVED2_END: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(255i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_COMPLETION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SANITIZE_START: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SET_FEATURE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_SMART_HEALTH_LOG_SNAPSHOT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TCG_DEFINED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(223i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TELEMETRY_LOG_CREATED: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_THERMAL_EXCURSION: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_TIMESTAMP_CHANGE: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PERSISTENT_EVENT_TYPE_VENDOR_SPECIFIC_EVENT: NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES = NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(222i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_NOT_ENABLED: NVME_PROTECTION_INFORMATION_TYPES = NVME_PROTECTION_INFORMATION_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE1: NVME_PROTECTION_INFORMATION_TYPES = NVME_PROTECTION_INFORMATION_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE2: NVME_PROTECTION_INFORMATION_TYPES = NVME_PROTECTION_INFORMATION_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_PROTECTION_INFORMATION_TYPE3: NVME_PROTECTION_INFORMATION_TYPES = NVME_PROTECTION_INFORMATION_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_ACQUIRE: NVME_RESERVATION_ACQUIRE_ACTIONS = NVME_RESERVATION_ACQUIRE_ACTIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT: NVME_RESERVATION_ACQUIRE_ACTIONS = NVME_RESERVATION_ACQUIRE_ACTIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_ACQUIRE_ACTION_PREEMPT_AND_ABORT: NVME_RESERVATION_ACQUIRE_ACTIONS = NVME_RESERVATION_ACQUIRE_ACTIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_EMPTY_LOG_PAGE: NVME_RESERVATION_NOTIFICATION_TYPES = NVME_RESERVATION_NOTIFICATION_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_PREEMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = NVME_RESERVATION_NOTIFICATION_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_REGISTRATION_RELEASED: NVME_RESERVATION_NOTIFICATION_TYPES = NVME_RESERVATION_NOTIFICATION_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_NOTIFICATION_TYPE_RESERVATION_PREEPMPTED: NVME_RESERVATION_NOTIFICATION_TYPES = NVME_RESERVATION_NOTIFICATION_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_REGISTER: NVME_RESERVATION_REGISTER_ACTIONS = NVME_RESERVATION_REGISTER_ACTIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_REPLACE: NVME_RESERVATION_REGISTER_ACTIONS = NVME_RESERVATION_REGISTER_ACTIONS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_ACTION_UNREGISTER: NVME_RESERVATION_REGISTER_ACTIONS = NVME_RESERVATION_REGISTER_ACTIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_NO_CHANGE: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_RESERVED: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_0: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_REGISTER_PTPL_STATE_SET_TO_1: NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES = NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_RELEASE_ACTION_CLEAR: NVME_RESERVATION_RELEASE_ACTIONS = NVME_RESERVATION_RELEASE_ACTIONS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_RELEASE_ACTION_RELEASE: NVME_RESERVATION_RELEASE_ACTIONS = NVME_RESERVATION_RELEASE_ACTIONS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_EXCLUSIVE_ACCESS_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_RESERVED: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_ALL_REGISTRANTS: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_RESERVATION_TYPE_WRITE_EXCLUSIVE_REGISTRANTS_ONLY: NVME_RESERVATION_TYPES = NVME_RESERVATION_TYPES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_EXIT_FAILURE_MODE: NVME_SANITIZE_ACTION = NVME_SANITIZE_ACTION(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_RESERVED: NVME_SANITIZE_ACTION = NVME_SANITIZE_ACTION(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_BLOCK_ERASE_SANITIZE: NVME_SANITIZE_ACTION = NVME_SANITIZE_ACTION(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_CRYPTO_ERASE_SANITIZE: NVME_SANITIZE_ACTION = NVME_SANITIZE_ACTION(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_ACTION_START_OVERWRITE_SANITIZE: NVME_SANITIZE_ACTION = NVME_SANITIZE_ACTION(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_FAILED: NVME_SANITIZE_OPERATION_STATUS = NVME_SANITIZE_OPERATION_STATUS(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_IN_PROGRESS: NVME_SANITIZE_OPERATION_STATUS = NVME_SANITIZE_OPERATION_STATUS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_NONE: NVME_SANITIZE_OPERATION_STATUS = NVME_SANITIZE_OPERATION_STATUS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_SUCCEEDED: NVME_SANITIZE_OPERATION_STATUS = NVME_SANITIZE_OPERATION_STATUS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SANITIZE_OPERATION_SUCCEEDED_WITH_FORCED_DEALLOCATION: NVME_SANITIZE_OPERATION_STATUS = NVME_SANITIZE_OPERATION_STATUS(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_CRYPTOGRAPHIC: NVME_SECURE_ERASE_SETTINGS = NVME_SECURE_ERASE_SETTINGS(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_NONE: NVME_SECURE_ERASE_SETTINGS = NVME_SECURE_ERASE_SETTINGS(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_SECURE_ERASE_USER_DATA: NVME_SECURE_ERASE_SETTINGS = NVME_SECURE_ERASE_SETTINGS(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSC: ZONE_STATE = ZONE_STATE(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSE: ZONE_STATE = ZONE_STATE(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSEO: ZONE_STATE = ZONE_STATE(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSF: ZONE_STATE = ZONE_STATE(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSIO: ZONE_STATE = ZONE_STATE(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSO: ZONE_STATE = ZONE_STATE(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATE_ZSRO: ZONE_STATE = ZONE_STATE(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ABORT_COMMAND_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ANA_ATTACH_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(37i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ASYNC_EVENT_REQUEST_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ATOMIC_WRITE_UNIT_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(20i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_BOOT_PARTITION_WRITE_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(30i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_FUSED_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_FAILED_MISSING_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_POWER_LOSS_NOTIFICATION: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_PREEMPT_ABORT: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(27i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORTED_DUE_TO_SQ_DELETION: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ABORT_REQUESTED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_ID_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMMAND_SEQUENCE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_COMPLETION_QUEUE_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_CONTROLLER_LIST_INVALID: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(28i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DATA_TRANSFER_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DEVICE_SELF_TEST_IN_PROGRESS: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(29i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DIRECTIVE_ID_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(113i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_DIRECTIVE_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(112i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_ID_NOT_SAVEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_NOT_CHANGEABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FEATURE_NOT_NAMESPACE_SPECIFIC: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_PROHIBITED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(19i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_CONVENTIONAL_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_MAX_TIME_VIOLATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(18i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_NVM_SUBSYSTEM_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FIRMWARE_ACTIVATION_REQUIRES_RESET: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_FORMAT_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(132i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_HOST_IDENTIFIER_INCONSISTENT_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(24i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INTERNAL_DEVICE_ERROR: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_ANA_GROUP_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(36i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_COMMAND_OPCODE: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_CONTROLLER_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(31i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIELD_IN_COMMAND: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIRMWARE_IMAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FIRMWARE_SLOT: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(10i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_INTERRUPT_VECTOR: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(8i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_LOG_PAGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(9i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NAMESPACE_OR_FORMAT: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(11i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NUMBER_OF_CONTROLLER_RESOURCES: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(33i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_NUMBER_OF_SGL_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(14i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_QUEUE_DELETION: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(12i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_QUEUE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_RESOURCE_IDENTIFIER: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(34i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_SECONDARY_CONTROLLER_STATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(32i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_SGL_LAST_SEGMENT_DESCR: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(13i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_INVALID_USE_OF_CONTROLLER_MEMORY_BUFFER: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(18i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_EXPIRED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_KEEP_ALIVE_TIMEOUT_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(26i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_MAX_QUEUE_SIZE_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_METADATA_SGL_LENGTH_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_ALREADY_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(24i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_IDENTIFIER_UNAVAILABLE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(22i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_INSUFFICIENT_CAPACITY: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_IS_PRIVATE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(25i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_NOT_ATTACHED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(26i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NAMESPACE_THIN_PROVISIONING_NOT_SUPPORTED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(27i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_ACCESS_DENIED: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(134i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_ATTEMPTED_WRITE_TO_READ_ONLY_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(130i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_CAPACITY_EXCEEDED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_COMMAND_SIZE_LIMIT_EXCEEDED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(131i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_COMPARE_FAILURE: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(133i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_CONFLICTING_ATTRIBUTES: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_DEALLOCATED_OR_UNWRITTEN_LOGICAL_BLOCK: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(135i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_APPLICATION_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(131i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_GUARD_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(130i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_END_TO_END_REFERENCE_TAG_CHECK_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(132i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_INVALID_PROTECTION_INFORMATION: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_LBA_OUT_OF_RANGE: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_NAMESPACE_NOT_READY: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(130i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_RESERVATION_CONFLICT: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(131i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_UNRECOVERED_READ_ERROR: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(129i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_NVM_WRITE_FAULT: NVME_STATUS_MEDIA_ERROR_CODES = NVME_STATUS_MEDIA_ERROR_CODES(128i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_OPERATION_DENIED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(21i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_OVERLAPPING_RANGE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(20i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_PRP_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(19i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_RESERVED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(23i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_FAILED: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(28i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_IN_PROGRESS: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(29i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SANITIZE_PROHIBITED_ON_PERSISTENT_MEMORY: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(35i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_DATA_BLOCK_GRANULARITY_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(30i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_DESCR_TYPE_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(17i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SGL_OFFSET_INVALID: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(22i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_STREAM_RESOURCE_ALLOCATION_FAILED: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(127i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_SUCCESS_COMPLETION: NVME_STATUS_GENERIC_COMMAND_CODES = NVME_STATUS_GENERIC_COMMAND_CODES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_COMMAND_SPECIFIC: NVME_STATUS_TYPES = NVME_STATUS_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_GENERIC_COMMAND: NVME_STATUS_TYPES = NVME_STATUS_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_MEDIA_ERROR: NVME_STATUS_TYPES = NVME_STATUS_TYPES(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_TYPE_VENDOR_SPECIFIC: NVME_STATUS_TYPES = NVME_STATUS_TYPES(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_BOUNDARY_ERROR: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(184i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_FULL: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(185i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_FORMAT: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(127i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_STATE_TRANSITION: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(191i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_INVALID_WRITE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(188i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_OFFLINE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(187i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_READ_ONLY: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(186i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_TOO_MANY_ACTIVE: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(189i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STATUS_ZONE_TOO_MANY_OPEN: NVME_STATUS_COMMAND_SPECIFIC_CODES = NVME_STATUS_COMMAND_SPECIFIC_CODES(190i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_GET_STATUS_MAX_IDS: u32 = 65535u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_ID_MAX: u32 = 65535u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_STREAMS_ID_MIN: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TELEMETRY_DATA_BLOCK_SIZE: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TEMPERATURE_OVER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = NVME_TEMPERATURE_THRESHOLD_TYPES(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_TEMPERATURE_UNDER_THRESHOLD: NVME_TEMPERATURE_THRESHOLD_TYPES = NVME_TEMPERATURE_THRESHOLD_TYPES(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_WCS_DEVICE_ERROR_RECOVERY_LOG_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_VERSION_2: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_RECEIVE_EXTENDED_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = NVME_ZONE_RECEIVE_ACTION(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_RECEIVE_REPORT_ZONES: NVME_ZONE_RECEIVE_ACTION = NVME_ZONE_RECEIVE_ACTION(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_CLOSE: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_FINISH: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_OFFLINE: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_OPEN: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_RESET: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZONE_SEND_SET_ZONE_DESCRIPTOR: NVME_ZONE_SEND_ACTION = NVME_ZONE_SEND_ACTION(16i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_ALL_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_CLOSED_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_EMPTY_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_EO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_FULL_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_IO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_OFFLINE_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(7i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVME_ZRA_RO_STATE_ZONES: NVME_ZONE_RECEIVE_ACTION_SPECIFIC = NVME_ZONE_RECEIVE_ACTION_SPECIFIC(6i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecovery1Max: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecovery2Max: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(15i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryControllerReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryDeviceReplacement: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryFormatNVM: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryNoAction: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(0i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPERST: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPcieFunctionReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPcieHotReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryPowerCycle: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(4i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoverySanitize: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(5i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoverySubsystemReset: NVME_WCS_DEVICE_RECOVERY_ACTION2 = NVME_WCS_DEVICE_RECOVERY_ACTION2(1i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryVendorAnalysis: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(3i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const NVMeDeviceRecoveryVendorSpecificCommand: NVME_WCS_DEVICE_RECOVERY_ACTION1 = NVME_WCS_DEVICE_RECOVERY_ACTION1(2i32); +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub const TCG_HISTORY_ENTRY_VERSION_1: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ACCESS_FREQUENCIES(pub i32); +impl ::core::marker::Copy for NVME_ACCESS_FREQUENCIES {} +impl ::core::clone::Clone for NVME_ACCESS_FREQUENCIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ACCESS_FREQUENCIES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ACCESS_FREQUENCIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ACCESS_FREQUENCIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ACCESS_FREQUENCIES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ACCESS_LATENCIES(pub i32); +impl ::core::marker::Copy for NVME_ACCESS_LATENCIES {} +impl ::core::clone::Clone for NVME_ACCESS_LATENCIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ACCESS_LATENCIES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ACCESS_LATENCIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ACCESS_LATENCIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ACCESS_LATENCIES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ADMIN_COMMANDS(pub i32); +impl ::core::marker::Copy for NVME_ADMIN_COMMANDS {} +impl ::core::clone::Clone for NVME_ADMIN_COMMANDS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ADMIN_COMMANDS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_COMMANDS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ADMIN_COMMANDS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ADMIN_COMMANDS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_AMS_OPTION(pub i32); +impl ::core::marker::Copy for NVME_AMS_OPTION {} +impl ::core::clone::Clone for NVME_AMS_OPTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_AMS_OPTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_AMS_OPTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_AMS_OPTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_AMS_OPTION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_ERROR_STATUS_CODES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_ERROR_STATUS_CODES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_ERROR_STATUS_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_ERROR_STATUS_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_ERROR_STATUS_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_ERROR_STATUS_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_ERROR_STATUS_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_HEALTH_STATUS_CODES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_HEALTH_STATUS_CODES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_HEALTH_STATUS_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_HEALTH_STATUS_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_HEALTH_STATUS_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_HEALTH_STATUS_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_HEALTH_STATUS_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_IO_COMMAND_SET_STATUS_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_NOTICE_CODES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_NOTICE_CODES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_NOTICE_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_NOTICE_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_NOTICE_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_NOTICE_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_NOTICE_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_TYPES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_TYPES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES(pub i32); +impl ::core::marker::Copy for NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES {} +impl ::core::clone::Clone for NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ASYNC_EVENT_TYPE_VENDOR_SPECIFIC_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS(pub i32); +impl ::core::marker::Copy for NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS {} +impl ::core::clone::Clone for NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_CC_SHN_SHUTDOWN_NOTIFICATIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_CMBSZ_SIZE_UNITS(pub i32); +impl ::core::marker::Copy for NVME_CMBSZ_SIZE_UNITS {} +impl ::core::clone::Clone for NVME_CMBSZ_SIZE_UNITS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_CMBSZ_SIZE_UNITS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_CMBSZ_SIZE_UNITS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_CMBSZ_SIZE_UNITS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_CMBSZ_SIZE_UNITS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS(pub i32); +impl ::core::marker::Copy for NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_COMMAND_EFFECT_SBUMISSION_EXECUTION_LIMITS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_COMMAND_SET_IDENTIFIERS(pub i32); +impl ::core::marker::Copy for NVME_COMMAND_SET_IDENTIFIERS {} +impl ::core::clone::Clone for NVME_COMMAND_SET_IDENTIFIERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_COMMAND_SET_IDENTIFIERS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_SET_IDENTIFIERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_COMMAND_SET_IDENTIFIERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_COMMAND_SET_IDENTIFIERS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_CONTROLLER_METADATA_ELEMENT_TYPES(pub i32); +impl ::core::marker::Copy for NVME_CONTROLLER_METADATA_ELEMENT_TYPES {} +impl ::core::clone::Clone for NVME_CONTROLLER_METADATA_ELEMENT_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_CONTROLLER_METADATA_ELEMENT_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_METADATA_ELEMENT_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_CONTROLLER_METADATA_ELEMENT_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_CONTROLLER_METADATA_ELEMENT_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_CSS_COMMAND_SETS(pub i32); +impl ::core::marker::Copy for NVME_CSS_COMMAND_SETS {} +impl ::core::clone::Clone for NVME_CSS_COMMAND_SETS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_CSS_COMMAND_SETS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_CSS_COMMAND_SETS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_CSS_COMMAND_SETS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_CSS_COMMAND_SETS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_CSTS_SHST_SHUTDOWN_STATUS(pub i32); +impl ::core::marker::Copy for NVME_CSTS_SHST_SHUTDOWN_STATUS {} +impl ::core::clone::Clone for NVME_CSTS_SHST_SHUTDOWN_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_CSTS_SHST_SHUTDOWN_STATUS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_CSTS_SHST_SHUTDOWN_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_CSTS_SHST_SHUTDOWN_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_CSTS_SHST_SHUTDOWN_STATUS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS(pub i32); +impl ::core::marker::Copy for NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_DIRECTIVE_RECEIVE_IDENTIFY_OPERATIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS(pub i32); +impl ::core::marker::Copy for NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_DIRECTIVE_RECEIVE_STREAMS_OPERATIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS(pub i32); +impl ::core::marker::Copy for NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_DIRECTIVE_SEND_IDENTIFY_OPERATIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS(pub i32); +impl ::core::marker::Copy for NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_DIRECTIVE_SEND_STREAMS_OPERATIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_DIRECTIVE_TYPES(pub i32); +impl ::core::marker::Copy for NVME_DIRECTIVE_TYPES {} +impl ::core::clone::Clone for NVME_DIRECTIVE_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_DIRECTIVE_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_DIRECTIVE_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ERROR_INJECTION_TYPES(pub i32); +impl ::core::marker::Copy for NVME_ERROR_INJECTION_TYPES {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ERROR_INJECTION_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INJECTION_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ERROR_INJECTION_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ERROR_INJECTION_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_FEATURES(pub i32); +impl ::core::marker::Copy for NVME_FEATURES {} +impl ::core::clone::Clone for NVME_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_FEATURES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_FEATURES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_FEATURES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_FEATURE_VALUE_CODES(pub i32); +impl ::core::marker::Copy for NVME_FEATURE_VALUE_CODES {} +impl ::core::clone::Clone for NVME_FEATURE_VALUE_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_FEATURE_VALUE_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_FEATURE_VALUE_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_FEATURE_VALUE_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_FEATURE_VALUE_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_FIRMWARE_ACTIVATE_ACTIONS(pub i32); +impl ::core::marker::Copy for NVME_FIRMWARE_ACTIVATE_ACTIONS {} +impl ::core::clone::Clone for NVME_FIRMWARE_ACTIVATE_ACTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_FIRMWARE_ACTIVATE_ACTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_FIRMWARE_ACTIVATE_ACTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_FIRMWARE_ACTIVATE_ACTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_FIRMWARE_ACTIVATE_ACTIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_FUSED_OPERATION_CODES(pub i32); +impl ::core::marker::Copy for NVME_FUSED_OPERATION_CODES {} +impl ::core::clone::Clone for NVME_FUSED_OPERATION_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_FUSED_OPERATION_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_FUSED_OPERATION_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_FUSED_OPERATION_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_FUSED_OPERATION_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_HOST_METADATA_ELEMENT_ACTIONS(pub i32); +impl ::core::marker::Copy for NVME_HOST_METADATA_ELEMENT_ACTIONS {} +impl ::core::clone::Clone for NVME_HOST_METADATA_ELEMENT_ACTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_HOST_METADATA_ELEMENT_ACTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_HOST_METADATA_ELEMENT_ACTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_HOST_METADATA_ELEMENT_ACTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_HOST_METADATA_ELEMENT_ACTIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_IDENTIFIER_TYPE(pub i32); +impl ::core::marker::Copy for NVME_IDENTIFIER_TYPE {} +impl ::core::clone::Clone for NVME_IDENTIFIER_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_IDENTIFIER_TYPE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFIER_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_IDENTIFIER_TYPE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_IDENTIFIER_TYPE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_IDENTIFIER_TYPE_LENGTH(pub i32); +impl ::core::marker::Copy for NVME_IDENTIFIER_TYPE_LENGTH {} +impl ::core::clone::Clone for NVME_IDENTIFIER_TYPE_LENGTH { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_IDENTIFIER_TYPE_LENGTH { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFIER_TYPE_LENGTH { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_IDENTIFIER_TYPE_LENGTH { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_IDENTIFIER_TYPE_LENGTH").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_IDENTIFY_CNS_CODES(pub i32); +impl ::core::marker::Copy for NVME_IDENTIFY_CNS_CODES {} +impl ::core::clone::Clone for NVME_IDENTIFY_CNS_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_IDENTIFY_CNS_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CNS_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CNS_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_IDENTIFY_CNS_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_LBA_RANGE_TYPES(pub i32); +impl ::core::marker::Copy for NVME_LBA_RANGE_TYPES {} +impl ::core::clone::Clone for NVME_LBA_RANGE_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_LBA_RANGE_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_LBA_RANGE_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_LBA_RANGE_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_LBA_RANGE_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_LOG_PAGES(pub i32); +impl ::core::marker::Copy for NVME_LOG_PAGES {} +impl ::core::clone::Clone for NVME_LOG_PAGES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_LOG_PAGES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_LOG_PAGES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_LOG_PAGES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_LOG_PAGES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_NAMESPACE_METADATA_ELEMENT_TYPES(pub i32); +impl ::core::marker::Copy for NVME_NAMESPACE_METADATA_ELEMENT_TYPES {} +impl ::core::clone::Clone for NVME_NAMESPACE_METADATA_ELEMENT_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_NAMESPACE_METADATA_ELEMENT_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_NAMESPACE_METADATA_ELEMENT_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_NAMESPACE_METADATA_ELEMENT_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_NAMESPACE_METADATA_ELEMENT_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE(pub i32); +impl ::core::marker::Copy for NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE {} +impl ::core::clone::Clone for NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_NO_DEALLOCATE_MODIFIES_MEDIA_AFTER_SANITIZE").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_NVM_COMMANDS(pub i32); +impl ::core::marker::Copy for NVME_NVM_COMMANDS {} +impl ::core::clone::Clone for NVME_NVM_COMMANDS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_NVM_COMMANDS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_NVM_COMMANDS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_NVM_COMMANDS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_NVM_COMMANDS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_NVM_QUEUE_PRIORITIES(pub i32); +impl ::core::marker::Copy for NVME_NVM_QUEUE_PRIORITIES {} +impl ::core::clone::Clone for NVME_NVM_QUEUE_PRIORITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_NVM_QUEUE_PRIORITIES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_NVM_QUEUE_PRIORITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_NVM_QUEUE_PRIORITIES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_NVM_QUEUE_PRIORITIES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES(pub i32); +impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES {} +impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_PERSISTENT_EVENT_LOG_EVENT_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_PROTECTION_INFORMATION_TYPES(pub i32); +impl ::core::marker::Copy for NVME_PROTECTION_INFORMATION_TYPES {} +impl ::core::clone::Clone for NVME_PROTECTION_INFORMATION_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_PROTECTION_INFORMATION_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_PROTECTION_INFORMATION_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_PROTECTION_INFORMATION_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_PROTECTION_INFORMATION_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_ACQUIRE_ACTIONS(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_ACQUIRE_ACTIONS {} +impl ::core::clone::Clone for NVME_RESERVATION_ACQUIRE_ACTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_ACQUIRE_ACTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_ACQUIRE_ACTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_ACQUIRE_ACTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_ACQUIRE_ACTIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_NOTIFICATION_TYPES(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_NOTIFICATION_TYPES {} +impl ::core::clone::Clone for NVME_RESERVATION_NOTIFICATION_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_NOTIFICATION_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_NOTIFICATION_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_NOTIFICATION_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_NOTIFICATION_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_REGISTER_ACTIONS(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_REGISTER_ACTIONS {} +impl ::core::clone::Clone for NVME_RESERVATION_REGISTER_ACTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_REGISTER_ACTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REGISTER_ACTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_REGISTER_ACTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_REGISTER_ACTIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES {} +impl ::core::clone::Clone for NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_REGISTER_PTPL_STATE_CHANGES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_RELEASE_ACTIONS(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_RELEASE_ACTIONS {} +impl ::core::clone::Clone for NVME_RESERVATION_RELEASE_ACTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_RELEASE_ACTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_RELEASE_ACTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_RELEASE_ACTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_RELEASE_ACTIONS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_RESERVATION_TYPES(pub i32); +impl ::core::marker::Copy for NVME_RESERVATION_TYPES {} +impl ::core::clone::Clone for NVME_RESERVATION_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_RESERVATION_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_RESERVATION_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_RESERVATION_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_SANITIZE_ACTION(pub i32); +impl ::core::marker::Copy for NVME_SANITIZE_ACTION {} +impl ::core::clone::Clone for NVME_SANITIZE_ACTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_SANITIZE_ACTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_SANITIZE_ACTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_SANITIZE_ACTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_SANITIZE_ACTION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_SANITIZE_OPERATION_STATUS(pub i32); +impl ::core::marker::Copy for NVME_SANITIZE_OPERATION_STATUS {} +impl ::core::clone::Clone for NVME_SANITIZE_OPERATION_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_SANITIZE_OPERATION_STATUS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_SANITIZE_OPERATION_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_SANITIZE_OPERATION_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_SANITIZE_OPERATION_STATUS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_SECURE_ERASE_SETTINGS(pub i32); +impl ::core::marker::Copy for NVME_SECURE_ERASE_SETTINGS {} +impl ::core::clone::Clone for NVME_SECURE_ERASE_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_SECURE_ERASE_SETTINGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_SECURE_ERASE_SETTINGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_SECURE_ERASE_SETTINGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_SECURE_ERASE_SETTINGS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_STATUS_COMMAND_SPECIFIC_CODES(pub i32); +impl ::core::marker::Copy for NVME_STATUS_COMMAND_SPECIFIC_CODES {} +impl ::core::clone::Clone for NVME_STATUS_COMMAND_SPECIFIC_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_STATUS_COMMAND_SPECIFIC_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_STATUS_COMMAND_SPECIFIC_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_STATUS_COMMAND_SPECIFIC_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_STATUS_COMMAND_SPECIFIC_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_STATUS_GENERIC_COMMAND_CODES(pub i32); +impl ::core::marker::Copy for NVME_STATUS_GENERIC_COMMAND_CODES {} +impl ::core::clone::Clone for NVME_STATUS_GENERIC_COMMAND_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_STATUS_GENERIC_COMMAND_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_STATUS_GENERIC_COMMAND_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_STATUS_GENERIC_COMMAND_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_STATUS_GENERIC_COMMAND_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_STATUS_MEDIA_ERROR_CODES(pub i32); +impl ::core::marker::Copy for NVME_STATUS_MEDIA_ERROR_CODES {} +impl ::core::clone::Clone for NVME_STATUS_MEDIA_ERROR_CODES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_STATUS_MEDIA_ERROR_CODES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_STATUS_MEDIA_ERROR_CODES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_STATUS_MEDIA_ERROR_CODES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_STATUS_MEDIA_ERROR_CODES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_STATUS_TYPES(pub i32); +impl ::core::marker::Copy for NVME_STATUS_TYPES {} +impl ::core::clone::Clone for NVME_STATUS_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_STATUS_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_STATUS_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_STATUS_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_STATUS_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_TEMPERATURE_THRESHOLD_TYPES(pub i32); +impl ::core::marker::Copy for NVME_TEMPERATURE_THRESHOLD_TYPES {} +impl ::core::clone::Clone for NVME_TEMPERATURE_THRESHOLD_TYPES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_TEMPERATURE_THRESHOLD_TYPES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_TEMPERATURE_THRESHOLD_TYPES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_TEMPERATURE_THRESHOLD_TYPES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_TEMPERATURE_THRESHOLD_TYPES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_VENDOR_LOG_PAGES(pub i32); +impl ::core::marker::Copy for NVME_VENDOR_LOG_PAGES {} +impl ::core::clone::Clone for NVME_VENDOR_LOG_PAGES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_VENDOR_LOG_PAGES { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_VENDOR_LOG_PAGES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_VENDOR_LOG_PAGES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_VENDOR_LOG_PAGES").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_WCS_DEVICE_RECOVERY_ACTION1(pub i32); +impl ::core::marker::Copy for NVME_WCS_DEVICE_RECOVERY_ACTION1 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RECOVERY_ACTION1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_WCS_DEVICE_RECOVERY_ACTION1 { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_RECOVERY_ACTION1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_RECOVERY_ACTION1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_WCS_DEVICE_RECOVERY_ACTION1").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_WCS_DEVICE_RECOVERY_ACTION2(pub i32); +impl ::core::marker::Copy for NVME_WCS_DEVICE_RECOVERY_ACTION2 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RECOVERY_ACTION2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_WCS_DEVICE_RECOVERY_ACTION2 { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_RECOVERY_ACTION2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_RECOVERY_ACTION2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_WCS_DEVICE_RECOVERY_ACTION2").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ZONE_RECEIVE_ACTION(pub i32); +impl ::core::marker::Copy for NVME_ZONE_RECEIVE_ACTION {} +impl ::core::clone::Clone for NVME_ZONE_RECEIVE_ACTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ZONE_RECEIVE_ACTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ZONE_RECEIVE_ACTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ZONE_RECEIVE_ACTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ZONE_RECEIVE_ACTION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ZONE_RECEIVE_ACTION_SPECIFIC(pub i32); +impl ::core::marker::Copy for NVME_ZONE_RECEIVE_ACTION_SPECIFIC {} +impl ::core::clone::Clone for NVME_ZONE_RECEIVE_ACTION_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ZONE_RECEIVE_ACTION_SPECIFIC { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ZONE_RECEIVE_ACTION_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ZONE_RECEIVE_ACTION_SPECIFIC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ZONE_RECEIVE_ACTION_SPECIFIC").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct NVME_ZONE_SEND_ACTION(pub i32); +impl ::core::marker::Copy for NVME_ZONE_SEND_ACTION {} +impl ::core::clone::Clone for NVME_ZONE_SEND_ACTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for NVME_ZONE_SEND_ACTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for NVME_ZONE_SEND_ACTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for NVME_ZONE_SEND_ACTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("NVME_ZONE_SEND_ACTION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct ZONE_STATE(pub i32); +impl ::core::marker::Copy for ZONE_STATE {} +impl ::core::clone::Clone for ZONE_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for ZONE_STATE { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for ZONE_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for ZONE_STATE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("ZONE_STATE").field(&self.0).finish() + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct ACTIVE_LATENCY_CONFIGURATION { + pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for ACTIVE_LATENCY_CONFIGURATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for ACTIVE_LATENCY_CONFIGURATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union ACTIVE_LATENCY_CONFIGURATION_0 { + pub Anonymous: ACTIVE_LATENCY_CONFIGURATION_0_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0 {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for ACTIVE_LATENCY_CONFIGURATION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for ACTIVE_LATENCY_CONFIGURATION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct ACTIVE_LATENCY_CONFIGURATION_0_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for ACTIVE_LATENCY_CONFIGURATION_0_0 {} +impl ::core::clone::Clone for ACTIVE_LATENCY_CONFIGURATION_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for ACTIVE_LATENCY_CONFIGURATION_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for ACTIVE_LATENCY_CONFIGURATION_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct BUCKET_COUNTER { + pub Reserved: u32, + pub Trim: u32, + pub Write: u32, + pub Read: u32, +} +impl ::core::marker::Copy for BUCKET_COUNTER {} +impl ::core::clone::Clone for BUCKET_COUNTER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for BUCKET_COUNTER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for BUCKET_COUNTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct DEBUG_BIT_FIELD { + pub _bitfield: u16, +} +impl ::core::marker::Copy for DEBUG_BIT_FIELD {} +impl ::core::clone::Clone for DEBUG_BIT_FIELD { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for DEBUG_BIT_FIELD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for DEBUG_BIT_FIELD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct DSSD_POWER_STATE_DESCRIPTOR { + pub _bitfield: u8, +} +impl ::core::marker::Copy for DSSD_POWER_STATE_DESCRIPTOR {} +impl ::core::clone::Clone for DSSD_POWER_STATE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for DSSD_POWER_STATE_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("DSSD_POWER_STATE_DESCRIPTOR").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for DSSD_POWER_STATE_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for DSSD_POWER_STATE_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for DSSD_POWER_STATE_DESCRIPTOR {} +impl ::core::default::Default for DSSD_POWER_STATE_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct FIRMWARE_ACTIVATION_HISTORY_ENTRY { + pub VersionNumber: u8, + pub Length: u8, + pub Reserved0: u16, + pub ActivationCount: u16, + pub Timestamp: u64, + pub Reserved1: u64, + pub PowerCycleCount: u64, + pub PreviousFirmware: u64, + pub NewFirmware: u64, + pub SlotNumber: u8, + pub CommitActionType: u8, + pub Result: u16, + pub Reserved2: [u8; 14], +} +impl ::core::marker::Copy for FIRMWARE_ACTIVATION_HISTORY_ENTRY {} +impl ::core::clone::Clone for FIRMWARE_ACTIVATION_HISTORY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for FIRMWARE_ACTIVATION_HISTORY_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for FIRMWARE_ACTIVATION_HISTORY_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_MONITOR_FEATURE_STATUS { + pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for LATENCY_MONITOR_FEATURE_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for LATENCY_MONITOR_FEATURE_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union LATENCY_MONITOR_FEATURE_STATUS_0 { + pub Anonymous: LATENCY_MONITOR_FEATURE_STATUS_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0 {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for LATENCY_MONITOR_FEATURE_STATUS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for LATENCY_MONITOR_FEATURE_STATUS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_MONITOR_FEATURE_STATUS_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for LATENCY_MONITOR_FEATURE_STATUS_0_0 {} +impl ::core::clone::Clone for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("LATENCY_MONITOR_FEATURE_STATUS_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for LATENCY_MONITOR_FEATURE_STATUS_0_0 {} +impl ::core::default::Default for LATENCY_MONITOR_FEATURE_STATUS_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_STAMP { + pub Trim3: u64, + pub Write3: u64, + pub Read3: u64, + pub Trim2: u64, + pub Write2: u64, + pub Read2: u64, + pub Trim1: u64, + pub Write1: u64, + pub Read1: u64, + pub Trim0: u64, + pub Write0: u64, + pub Read0: u64, +} +impl ::core::marker::Copy for LATENCY_STAMP {} +impl ::core::clone::Clone for LATENCY_STAMP { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for LATENCY_STAMP { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for LATENCY_STAMP { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct LATENCY_STAMP_UNITS { + pub _bitfield: u16, +} +impl ::core::marker::Copy for LATENCY_STAMP_UNITS {} +impl ::core::clone::Clone for LATENCY_STAMP_UNITS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for LATENCY_STAMP_UNITS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for LATENCY_STAMP_UNITS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct MEASURED_LATENCY { + pub Trim3: u16, + pub Write3: u16, + pub Read3: u16, + pub Trim2: u16, + pub Write2: u16, + pub Read2: u16, + pub Trim1: u16, + pub Write1: u16, + pub Read1: u16, + pub Trim0: u16, + pub Write0: u16, + pub Read0: u16, +} +impl ::core::marker::Copy for MEASURED_LATENCY {} +impl ::core::clone::Clone for MEASURED_LATENCY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for MEASURED_LATENCY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for MEASURED_LATENCY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ACTIVE_NAMESPACE_ID_LIST { + pub NSID: [u32; 1024], +} +impl ::core::marker::Copy for NVME_ACTIVE_NAMESPACE_ID_LIST {} +impl ::core::clone::Clone for NVME_ACTIVE_NAMESPACE_ID_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ACTIVE_NAMESPACE_ID_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ACTIVE_NAMESPACE_ID_LIST").field("NSID", &self.NSID).finish() + } +} +impl ::windows_core::TypeKind for NVME_ACTIVE_NAMESPACE_ID_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ACTIVE_NAMESPACE_ID_LIST { + fn eq(&self, other: &Self) -> bool { + self.NSID == other.NSID + } +} +impl ::core::cmp::Eq for NVME_ACTIVE_NAMESPACE_ID_LIST {} +impl ::core::default::Default for NVME_ACTIVE_NAMESPACE_ID_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + pub Anonymous: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS {} +impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::clone::Clone for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::default::Default for NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_QUEUE_ATTRIBUTES { + pub Anonymous: NVME_ADMIN_QUEUE_ATTRIBUTES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES {} +impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_QUEUE_ATTRIBUTES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ADMIN_QUEUE_ATTRIBUTES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_ADMIN_QUEUE_ATTRIBUTES_0 {} +impl ::core::clone::Clone for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ADMIN_QUEUE_ATTRIBUTES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ADMIN_QUEUE_ATTRIBUTES_0 {} +impl ::core::default::Default for NVME_ADMIN_QUEUE_ATTRIBUTES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + pub Anonymous: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS {} +impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::clone::Clone for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 {} +impl ::core::default::Default for NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + pub _bitfield: u32, + pub Reserved1: u32, +} +impl ::core::marker::Copy for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY {} +impl ::core::clone::Clone for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_AUTO_POWER_STATE_TRANSITION_ENTRY").field("_bitfield", &self._bitfield).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY {} +impl ::core::default::Default for NVME_AUTO_POWER_STATE_TRANSITION_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + pub Anonymous: NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::default::Default for NVME_CDW0_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_ERROR_INJECTION { + pub Anonymous: NVME_CDW0_FEATURE_ERROR_INJECTION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_ERROR_INJECTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW0_FEATURE_ERROR_INJECTION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_ERROR_INJECTION_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW0_FEATURE_ERROR_INJECTION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW0_FEATURE_ERROR_INJECTION_0 {} +impl ::core::default::Default for NVME_CDW0_FEATURE_ERROR_INJECTION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + pub Anonymous: NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::clone::Clone for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::default::Default for NVME_CDW0_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW0_RESERVATION_PERSISTENCE { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW0_RESERVATION_PERSISTENCE {} +impl ::core::clone::Clone for NVME_CDW0_RESERVATION_PERSISTENCE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW0_RESERVATION_PERSISTENCE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW0_RESERVATION_PERSISTENCE").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW0_RESERVATION_PERSISTENCE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW0_RESERVATION_PERSISTENCE { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW0_RESERVATION_PERSISTENCE {} +impl ::core::default::Default for NVME_CDW0_RESERVATION_PERSISTENCE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_ABORT { + pub Anonymous: NVME_CDW10_ABORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_ABORT {} +impl ::core::clone::Clone for NVME_CDW10_ABORT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_ABORT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_ABORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ABORT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_ABORT_0 {} +impl ::core::clone::Clone for NVME_CDW10_ABORT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_ABORT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_ABORT_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_ABORT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_ABORT_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_ABORT_0 {} +impl ::core::default::Default for NVME_CDW10_ABORT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_CREATE_IO_QUEUE { + pub Anonymous: NVME_CDW10_CREATE_IO_QUEUE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE {} +impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_CREATE_IO_QUEUE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_CREATE_IO_QUEUE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_CREATE_IO_QUEUE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_CREATE_IO_QUEUE_0 {} +impl ::core::clone::Clone for NVME_CDW10_CREATE_IO_QUEUE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_CREATE_IO_QUEUE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_CREATE_IO_QUEUE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_CREATE_IO_QUEUE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_CREATE_IO_QUEUE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_CREATE_IO_QUEUE_0 {} +impl ::core::default::Default for NVME_CDW10_CREATE_IO_QUEUE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_DATASET_MANAGEMENT { + pub Anonymous: NVME_CDW10_DATASET_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_DATASET_MANAGEMENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_DATASET_MANAGEMENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DATASET_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DATASET_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW10_DATASET_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_DATASET_MANAGEMENT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_DATASET_MANAGEMENT_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_DATASET_MANAGEMENT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_DATASET_MANAGEMENT_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_DATASET_MANAGEMENT_0 {} +impl ::core::default::Default for NVME_CDW10_DATASET_MANAGEMENT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DIRECTIVE_RECEIVE { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_DIRECTIVE_RECEIVE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_DIRECTIVE_RECEIVE").field("NUMD", &self.NUMD).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_DIRECTIVE_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_DIRECTIVE_RECEIVE { + fn eq(&self, other: &Self) -> bool { + self.NUMD == other.NUMD + } +} +impl ::core::cmp::Eq for NVME_CDW10_DIRECTIVE_RECEIVE {} +impl ::core::default::Default for NVME_CDW10_DIRECTIVE_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_DIRECTIVE_SEND { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW10_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_DIRECTIVE_SEND { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_DIRECTIVE_SEND").field("NUMD", &self.NUMD).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_DIRECTIVE_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_DIRECTIVE_SEND { + fn eq(&self, other: &Self) -> bool { + self.NUMD == other.NUMD + } +} +impl ::core::cmp::Eq for NVME_CDW10_DIRECTIVE_SEND {} +impl ::core::default::Default for NVME_CDW10_DIRECTIVE_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_FIRMWARE_ACTIVATE { + pub Anonymous: NVME_CDW10_FIRMWARE_ACTIVATE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_FIRMWARE_ACTIVATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_FIRMWARE_ACTIVATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FIRMWARE_ACTIVATE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_ACTIVATE_0 {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_FIRMWARE_ACTIVATE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_FIRMWARE_ACTIVATE_0 {} +impl ::core::default::Default for NVME_CDW10_FIRMWARE_ACTIVATE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FIRMWARE_DOWNLOAD { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FIRMWARE_DOWNLOAD {} +impl ::core::clone::Clone for NVME_CDW10_FIRMWARE_DOWNLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_FIRMWARE_DOWNLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_FIRMWARE_DOWNLOAD").field("NUMD", &self.NUMD).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_FIRMWARE_DOWNLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_FIRMWARE_DOWNLOAD { + fn eq(&self, other: &Self) -> bool { + self.NUMD == other.NUMD + } +} +impl ::core::cmp::Eq for NVME_CDW10_FIRMWARE_DOWNLOAD {} +impl ::core::default::Default for NVME_CDW10_FIRMWARE_DOWNLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_FORMAT_NVM { + pub Anonymous: NVME_CDW10_FORMAT_NVM_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM {} +impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_FORMAT_NVM { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_FORMAT_NVM { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_FORMAT_NVM_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_FORMAT_NVM_0 {} +impl ::core::clone::Clone for NVME_CDW10_FORMAT_NVM_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_FORMAT_NVM_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_FORMAT_NVM_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_FORMAT_NVM_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_FORMAT_NVM_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_FORMAT_NVM_0 {} +impl ::core::default::Default for NVME_CDW10_FORMAT_NVM_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_FEATURES { + pub Anonymous: NVME_CDW10_GET_FEATURES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES {} +impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_GET_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_FEATURES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_FEATURES_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_FEATURES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_GET_FEATURES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_GET_FEATURES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_FEATURES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_GET_FEATURES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_GET_FEATURES_0 {} +impl ::core::default::Default for NVME_CDW10_GET_FEATURES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_LOG_PAGE { + pub Anonymous: NVME_CDW10_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_LOG_PAGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_GET_LOG_PAGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_GET_LOG_PAGE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_GET_LOG_PAGE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_LOG_PAGE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_GET_LOG_PAGE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_GET_LOG_PAGE_0 {} +impl ::core::default::Default for NVME_CDW10_GET_LOG_PAGE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_GET_LOG_PAGE_V13 { + pub Anonymous: NVME_CDW10_GET_LOG_PAGE_V13_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_LOG_PAGE_V13 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_GET_LOG_PAGE_V13 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_GET_LOG_PAGE_V13_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_GET_LOG_PAGE_V13_0 {} +impl ::core::clone::Clone for NVME_CDW10_GET_LOG_PAGE_V13_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_GET_LOG_PAGE_V13_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_GET_LOG_PAGE_V13_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_GET_LOG_PAGE_V13_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_GET_LOG_PAGE_V13_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_GET_LOG_PAGE_V13_0 {} +impl ::core::default::Default for NVME_CDW10_GET_LOG_PAGE_V13_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_IDENTIFY { + pub Anonymous: NVME_CDW10_IDENTIFY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_IDENTIFY {} +impl ::core::clone::Clone for NVME_CDW10_IDENTIFY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_IDENTIFY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_IDENTIFY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_IDENTIFY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_IDENTIFY_0 {} +impl ::core::clone::Clone for NVME_CDW10_IDENTIFY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_IDENTIFY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_IDENTIFY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_IDENTIFY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_IDENTIFY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_IDENTIFY_0 {} +impl ::core::default::Default for NVME_CDW10_IDENTIFY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_ACQUIRE { + pub Anonymous: NVME_CDW10_RESERVATION_ACQUIRE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_ACQUIRE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_RESERVATION_ACQUIRE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_ACQUIRE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_ACQUIRE_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_ACQUIRE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_RESERVATION_ACQUIRE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_RESERVATION_ACQUIRE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_ACQUIRE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_RESERVATION_ACQUIRE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_RESERVATION_ACQUIRE_0 {} +impl ::core::default::Default for NVME_CDW10_RESERVATION_ACQUIRE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_REGISTER { + pub Anonymous: NVME_CDW10_RESERVATION_REGISTER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_REGISTER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_RESERVATION_REGISTER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_REGISTER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REGISTER_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REGISTER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_RESERVATION_REGISTER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_RESERVATION_REGISTER_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_REGISTER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_RESERVATION_REGISTER_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_RESERVATION_REGISTER_0 {} +impl ::core::default::Default for NVME_CDW10_RESERVATION_REGISTER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_RELEASE { + pub Anonymous: NVME_CDW10_RESERVATION_RELEASE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_RELEASE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_RESERVATION_RELEASE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_RELEASE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_RELEASE_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_RELEASE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_RESERVATION_RELEASE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_RESERVATION_RELEASE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_RELEASE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_RESERVATION_RELEASE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_RESERVATION_RELEASE_0 {} +impl ::core::default::Default for NVME_CDW10_RESERVATION_RELEASE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_RESERVATION_REPORT { + pub Anonymous: NVME_CDW10_RESERVATION_REPORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_REPORT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_RESERVATION_REPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_RESERVATION_REPORT_0 { + pub NUMD: u32, +} +impl ::core::marker::Copy for NVME_CDW10_RESERVATION_REPORT_0 {} +impl ::core::clone::Clone for NVME_CDW10_RESERVATION_REPORT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_RESERVATION_REPORT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_RESERVATION_REPORT_0").field("NUMD", &self.NUMD).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_RESERVATION_REPORT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_RESERVATION_REPORT_0 { + fn eq(&self, other: &Self) -> bool { + self.NUMD == other.NUMD + } +} +impl ::core::cmp::Eq for NVME_CDW10_RESERVATION_REPORT_0 {} +impl ::core::default::Default for NVME_CDW10_RESERVATION_REPORT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SANITIZE { + pub Anonymous: NVME_CDW10_SANITIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SANITIZE {} +impl ::core::clone::Clone for NVME_CDW10_SANITIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SANITIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_SANITIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SANITIZE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SANITIZE_0 {} +impl ::core::clone::Clone for NVME_CDW10_SANITIZE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_SANITIZE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_SANITIZE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SANITIZE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_SANITIZE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_SANITIZE_0 {} +impl ::core::default::Default for NVME_CDW10_SANITIZE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SECURITY_SEND_RECEIVE { + pub Anonymous: NVME_CDW10_SECURITY_SEND_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SECURITY_SEND_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_SECURITY_SEND_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SECURITY_SEND_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_SECURITY_SEND_RECEIVE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_SECURITY_SEND_RECEIVE_0 {} +impl ::core::default::Default for NVME_CDW10_SECURITY_SEND_RECEIVE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW10_SET_FEATURES { + pub Anonymous: NVME_CDW10_SET_FEATURES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES {} +impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SET_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW10_SET_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_SET_FEATURES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW10_SET_FEATURES_0 {} +impl ::core::clone::Clone for NVME_CDW10_SET_FEATURES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_SET_FEATURES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_SET_FEATURES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_SET_FEATURES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_SET_FEATURES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW10_SET_FEATURES_0 {} +impl ::core::default::Default for NVME_CDW10_SET_FEATURES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_APPEND { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_ZONE_APPEND { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_ZONE_APPEND").field("SLBA", &self.SLBA).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_ZONE_APPEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_ZONE_APPEND { + fn eq(&self, other: &Self) -> bool { + self.SLBA == other.SLBA + } +} +impl ::core::cmp::Eq for NVME_CDW10_ZONE_APPEND {} +impl ::core::default::Default for NVME_CDW10_ZONE_APPEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_ZONE_MANAGEMENT_RECEIVE").field("SLBA", &self.SLBA).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + fn eq(&self, other: &Self) -> bool { + self.SLBA == other.SLBA + } +} +impl ::core::cmp::Eq for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE {} +impl ::core::default::Default for NVME_CDW10_ZONE_MANAGEMENT_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW10_ZONE_MANAGEMENT_SEND { + pub SLBA: u64, +} +impl ::core::marker::Copy for NVME_CDW10_ZONE_MANAGEMENT_SEND {} +impl ::core::clone::Clone for NVME_CDW10_ZONE_MANAGEMENT_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW10_ZONE_MANAGEMENT_SEND { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW10_ZONE_MANAGEMENT_SEND").field("SLBA", &self.SLBA).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW10_ZONE_MANAGEMENT_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW10_ZONE_MANAGEMENT_SEND { + fn eq(&self, other: &Self) -> bool { + self.SLBA == other.SLBA + } +} +impl ::core::cmp::Eq for NVME_CDW10_ZONE_MANAGEMENT_SEND {} +impl ::core::default::Default for NVME_CDW10_ZONE_MANAGEMENT_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_CREATE_IO_CQ { + pub Anonymous: NVME_CDW11_CREATE_IO_CQ_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_CREATE_IO_CQ { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_CREATE_IO_CQ { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_CREATE_IO_CQ_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_CQ_0 {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_CQ_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_CREATE_IO_CQ_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_CREATE_IO_CQ_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_CREATE_IO_CQ_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_CREATE_IO_CQ_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_CREATE_IO_CQ_0 {} +impl ::core::default::Default for NVME_CDW11_CREATE_IO_CQ_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_CREATE_IO_SQ { + pub Anonymous: NVME_CDW11_CREATE_IO_SQ_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_CREATE_IO_SQ { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_CREATE_IO_SQ { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_CREATE_IO_SQ_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_CREATE_IO_SQ_0 {} +impl ::core::clone::Clone for NVME_CDW11_CREATE_IO_SQ_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_CREATE_IO_SQ_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_CREATE_IO_SQ_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_CREATE_IO_SQ_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_CREATE_IO_SQ_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_CREATE_IO_SQ_0 {} +impl ::core::default::Default for NVME_CDW11_CREATE_IO_SQ_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DATASET_MANAGEMENT { + pub Anonymous: NVME_CDW11_DATASET_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DATASET_MANAGEMENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_DATASET_MANAGEMENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DATASET_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DATASET_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW11_DATASET_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_DATASET_MANAGEMENT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_DATASET_MANAGEMENT_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DATASET_MANAGEMENT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_DATASET_MANAGEMENT_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_DATASET_MANAGEMENT_0 {} +impl ::core::default::Default for NVME_CDW11_DATASET_MANAGEMENT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DIRECTIVE_RECEIVE { + pub Anonymous: NVME_CDW11_DIRECTIVE_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DIRECTIVE_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_DIRECTIVE_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DIRECTIVE_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_DIRECTIVE_RECEIVE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_DIRECTIVE_RECEIVE_0 {} +impl ::core::default::Default for NVME_CDW11_DIRECTIVE_RECEIVE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_DIRECTIVE_SEND { + pub Anonymous: NVME_CDW11_DIRECTIVE_SEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DIRECTIVE_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_DIRECTIVE_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_DIRECTIVE_SEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_DIRECTIVE_SEND_0 {} +impl ::core::clone::Clone for NVME_CDW11_DIRECTIVE_SEND_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_DIRECTIVE_SEND_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_DIRECTIVE_SEND_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_DIRECTIVE_SEND_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_DIRECTIVE_SEND_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_DIRECTIVE_SEND_0 {} +impl ::core::default::Default for NVME_CDW11_DIRECTIVE_SEND_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURES { + pub NumberOfQueues: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES, + pub InterruptCoalescing: NVME_CDW11_FEATURE_INTERRUPT_COALESCING, + pub InterruptVectorConfig: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG, + pub LbaRangeType: NVME_CDW11_FEATURE_LBA_RANGE_TYPE, + pub Arbitration: NVME_CDW11_FEATURE_ARBITRATION, + pub VolatileWriteCache: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE, + pub AsyncEventConfig: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG, + pub PowerManagement: NVME_CDW11_FEATURE_POWER_MANAGEMENT, + pub AutoPowerStateTransition: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION, + pub TemperatureThreshold: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD, + pub ErrorRecovery: NVME_CDW11_FEATURE_ERROR_RECOVERY, + pub HostMemoryBuffer: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER, + pub WriteAtomicityNormal: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL, + pub NonOperationalPowerState: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE, + pub IoCommandSetProfile: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE, + pub ErrorInjection: NVME_CDW0_FEATURE_ERROR_INJECTION, + pub HostIdentifier: NVME_CDW11_FEATURE_HOST_IDENTIFIER, + pub ReservationPersistence: NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE, + pub ReservationNotificationMask: NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK, + pub GetHostMetadata: NVME_CDW11_FEATURE_GET_HOST_METADATA, + pub SetHostMetadata: NVME_CDW11_FEATURE_SET_HOST_METADATA, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURES {} +impl ::core::clone::Clone for NVME_CDW11_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ARBITRATION { + pub Anonymous: NVME_CDW11_FEATURE_ARBITRATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ARBITRATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_ARBITRATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ARBITRATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ARBITRATION_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ARBITRATION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_ARBITRATION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_ARBITRATION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ARBITRATION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_ARBITRATION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_ARBITRATION_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_ARBITRATION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + pub Anonymous: NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_ASYNC_EVENT_CONFIG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + pub Anonymous: NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_AUTO_POWER_STATE_TRANSITION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + pub Anonymous: NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_CLEAR_FW_UPDATE_HISTORY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + pub Anonymous: NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_CLEAR_PCIE_CORRECTABLE_ERROR_COUNTERS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + pub Anonymous: NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_ENABLE_IEEE1667_SILO_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_ERROR_RECOVERY { + pub Anonymous: NVME_CDW11_FEATURE_ERROR_RECOVERY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ERROR_RECOVERY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_ERROR_RECOVERY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_ERROR_RECOVERY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_ERROR_RECOVERY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_GET_HOST_METADATA { + pub Anonymous: NVME_CDW11_FEATURE_GET_HOST_METADATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_GET_HOST_METADATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_GET_HOST_METADATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_GET_HOST_METADATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_GET_HOST_METADATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_HOST_IDENTIFIER { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_IDENTIFIER {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_HOST_IDENTIFIER").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_HOST_IDENTIFIER {} +impl ::core::default::Default for NVME_CDW11_FEATURE_HOST_IDENTIFIER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_HOST_MEMORY_BUFFER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_INTERRUPT_COALESCING { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_INTERRUPT_COALESCING_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + pub Anonymous: NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_INTERRUPT_VECTOR_CONFIG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + pub Anonymous: NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_IO_COMMAND_SET_PROFILE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + pub Anonymous: NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_LBA_RANGE_TYPE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_LBA_RANGE_TYPE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + pub Anonymous: NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_NON_OPERATIONAL_POWER_STATE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + pub Anonymous: NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_NUMBER_OF_QUEUES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_POWER_MANAGEMENT { + pub Anonymous: NVME_CDW11_FEATURE_POWER_MANAGEMENT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_POWER_MANAGEMENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_POWER_MANAGEMENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_POWER_MANAGEMENT_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_POWER_MANAGEMENT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + pub Anonymous: NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_READONLY_WRITETHROUGH_MODE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK {} +impl ::core::default::Default for NVME_CDW11_FEATURE_RESERVATION_NOTIFICATION_MASK { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE {} +impl ::core::default::Default for NVME_CDW11_FEATURE_RESERVATION_PERSISTENCE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_SET_HOST_METADATA { + pub Anonymous: NVME_CDW11_FEATURE_SET_HOST_METADATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_SET_HOST_METADATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_SET_HOST_METADATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_SET_HOST_METADATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_SET_HOST_METADATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + pub Anonymous: NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_SUPPORTED_CAPABILITY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + pub Anonymous: NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_TEMPERATURE_THRESHOLD_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + pub Anonymous: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + pub Anonymous: NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 {} +impl ::core::clone::Clone for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 {} +impl ::core::default::Default for NVME_CDW11_FEATURE_WRITE_ATOMICITY_NORMAL_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_FIRMWARE_DOWNLOAD { + pub OFST: u32, +} +impl ::core::marker::Copy for NVME_CDW11_FIRMWARE_DOWNLOAD {} +impl ::core::clone::Clone for NVME_CDW11_FIRMWARE_DOWNLOAD { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_FIRMWARE_DOWNLOAD { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_FIRMWARE_DOWNLOAD").field("OFST", &self.OFST).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_FIRMWARE_DOWNLOAD { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_FIRMWARE_DOWNLOAD { + fn eq(&self, other: &Self) -> bool { + self.OFST == other.OFST + } +} +impl ::core::cmp::Eq for NVME_CDW11_FIRMWARE_DOWNLOAD {} +impl ::core::default::Default for NVME_CDW11_FIRMWARE_DOWNLOAD { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_GET_LOG_PAGE { + pub Anonymous: NVME_CDW11_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_GET_LOG_PAGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_GET_LOG_PAGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW11_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_GET_LOG_PAGE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_GET_LOG_PAGE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_GET_LOG_PAGE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_GET_LOG_PAGE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_GET_LOG_PAGE_0 {} +impl ::core::default::Default for NVME_CDW11_GET_LOG_PAGE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_IDENTIFY { + pub Anonymous1: NVME_CDW11_IDENTIFY_0, + pub Anonymous2: NVME_CDW11_IDENTIFY_1, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_IDENTIFY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_IDENTIFY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_IDENTIFY_0 { + pub NVMSETID: u16, + pub Reserved: u16, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_0 {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_IDENTIFY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_IDENTIFY_0").field("NVMSETID", &self.NVMSETID).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_IDENTIFY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_IDENTIFY_0 { + fn eq(&self, other: &Self) -> bool { + self.NVMSETID == other.NVMSETID && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_CDW11_IDENTIFY_0 {} +impl ::core::default::Default for NVME_CDW11_IDENTIFY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_IDENTIFY_1 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_IDENTIFY_1 {} +impl ::core::clone::Clone for NVME_CDW11_IDENTIFY_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_IDENTIFY_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_IDENTIFY_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_IDENTIFY_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_IDENTIFY_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_IDENTIFY_1 {} +impl ::core::default::Default for NVME_CDW11_IDENTIFY_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_RESERVATION_REPORT { + pub Anonymous: NVME_CDW11_RESERVATION_REPORT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT {} +impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_RESERVATION_REPORT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_RESERVATION_REPORT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_RESERVATION_REPORT_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW11_RESERVATION_REPORT_0 {} +impl ::core::clone::Clone for NVME_CDW11_RESERVATION_REPORT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_RESERVATION_REPORT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_RESERVATION_REPORT_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_RESERVATION_REPORT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_RESERVATION_REPORT_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW11_RESERVATION_REPORT_0 {} +impl ::core::default::Default for NVME_CDW11_RESERVATION_REPORT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW11_SANITIZE { + pub Anonymous: NVME_CDW11_SANITIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SANITIZE {} +impl ::core::clone::Clone for NVME_CDW11_SANITIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW11_SANITIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW11_SANITIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SANITIZE_0 { + pub OVRPAT: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SANITIZE_0 {} +impl ::core::clone::Clone for NVME_CDW11_SANITIZE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_SANITIZE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_SANITIZE_0").field("OVRPAT", &self.OVRPAT).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_SANITIZE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_SANITIZE_0 { + fn eq(&self, other: &Self) -> bool { + self.OVRPAT == other.OVRPAT + } +} +impl ::core::cmp::Eq for NVME_CDW11_SANITIZE_0 {} +impl ::core::default::Default for NVME_CDW11_SANITIZE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SECURITY_RECEIVE { + pub AL: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SECURITY_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW11_SECURITY_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_SECURITY_RECEIVE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_SECURITY_RECEIVE").field("AL", &self.AL).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_SECURITY_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_SECURITY_RECEIVE { + fn eq(&self, other: &Self) -> bool { + self.AL == other.AL + } +} +impl ::core::cmp::Eq for NVME_CDW11_SECURITY_RECEIVE {} +impl ::core::default::Default for NVME_CDW11_SECURITY_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW11_SECURITY_SEND { + pub TL: u32, +} +impl ::core::marker::Copy for NVME_CDW11_SECURITY_SEND {} +impl ::core::clone::Clone for NVME_CDW11_SECURITY_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW11_SECURITY_SEND { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW11_SECURITY_SEND").field("TL", &self.TL).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW11_SECURITY_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW11_SECURITY_SEND { + fn eq(&self, other: &Self) -> bool { + self.TL == other.TL + } +} +impl ::core::cmp::Eq for NVME_CDW11_SECURITY_SEND {} +impl ::core::default::Default for NVME_CDW11_SECURITY_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_RECEIVE { + pub AllocateResources: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + pub Anonymous: NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_SEND { + pub EnableDirective: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + pub Anonymous: NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 {} +impl ::core::clone::Clone for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 {} +impl ::core::default::Default for NVME_CDW12_DIRECTIVE_SEND_IDENTIFY_ENABLE_DIRECTIVE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_FEATURES { + pub HostMemoryBuffer: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURES {} +impl ::core::clone::Clone for NVME_CDW12_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HSIZE: u32, +} +impl ::core::marker::Copy for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0").field("HSIZE", &self.HSIZE).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + fn eq(&self, other: &Self) -> bool { + self.HSIZE == other.HSIZE + } +} +impl ::core::cmp::Eq for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::default::Default for NVME_CDW12_FEATURE_HOST_MEMORY_BUFFER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_GET_LOG_PAGE { + pub LPOL: u32, +} +impl ::core::marker::Copy for NVME_CDW12_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW12_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_GET_LOG_PAGE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_GET_LOG_PAGE").field("LPOL", &self.LPOL).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_GET_LOG_PAGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_GET_LOG_PAGE { + fn eq(&self, other: &Self) -> bool { + self.LPOL == other.LPOL + } +} +impl ::core::cmp::Eq for NVME_CDW12_GET_LOG_PAGE {} +impl ::core::default::Default for NVME_CDW12_GET_LOG_PAGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_READ_WRITE { + pub Anonymous: NVME_CDW12_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW12_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_READ_WRITE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_READ_WRITE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_READ_WRITE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW12_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_READ_WRITE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_READ_WRITE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_READ_WRITE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_READ_WRITE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW12_READ_WRITE_0 {} +impl ::core::default::Default for NVME_CDW12_READ_WRITE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW12_ZONE_APPEND { + pub Anonymous: NVME_CDW12_ZONE_APPEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW12_ZONE_APPEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW12_ZONE_APPEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW12_ZONE_APPEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW12_ZONE_APPEND_0 {} +impl ::core::clone::Clone for NVME_CDW12_ZONE_APPEND_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW12_ZONE_APPEND_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW12_ZONE_APPEND_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW12_ZONE_APPEND_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW12_ZONE_APPEND_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW12_ZONE_APPEND_0 {} +impl ::core::default::Default for NVME_CDW12_ZONE_APPEND_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_FEATURES { + pub HostMemoryBuffer: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURES {} +impl ::core::clone::Clone for NVME_CDW13_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW13_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW13_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::default::Default for NVME_CDW13_FEATURE_HOST_MEMORY_BUFFER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_GET_LOG_PAGE { + pub LPOU: u32, +} +impl ::core::marker::Copy for NVME_CDW13_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW13_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_GET_LOG_PAGE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_GET_LOG_PAGE").field("LPOU", &self.LPOU).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_GET_LOG_PAGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_GET_LOG_PAGE { + fn eq(&self, other: &Self) -> bool { + self.LPOU == other.LPOU + } +} +impl ::core::cmp::Eq for NVME_CDW13_GET_LOG_PAGE {} +impl ::core::default::Default for NVME_CDW13_GET_LOG_PAGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_READ_WRITE { + pub Anonymous: NVME_CDW13_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW13_READ_WRITE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW13_READ_WRITE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_READ_WRITE_0 { + pub DSM: NVME_CDW13_READ_WRITE_0_0, + pub Reserved: u8, + pub DSPEC: u16, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_READ_WRITE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_READ_WRITE_0").field("DSM", &self.DSM).field("Reserved", &self.Reserved).field("DSPEC", &self.DSPEC).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_READ_WRITE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_READ_WRITE_0 { + fn eq(&self, other: &Self) -> bool { + self.DSM == other.DSM && self.Reserved == other.Reserved && self.DSPEC == other.DSPEC + } +} +impl ::core::cmp::Eq for NVME_CDW13_READ_WRITE_0 {} +impl ::core::default::Default for NVME_CDW13_READ_WRITE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_READ_WRITE_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_CDW13_READ_WRITE_0_0 {} +impl ::core::clone::Clone for NVME_CDW13_READ_WRITE_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_READ_WRITE_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_READ_WRITE_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_READ_WRITE_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_READ_WRITE_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW13_READ_WRITE_0_0 {} +impl ::core::default::Default for NVME_CDW13_READ_WRITE_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 {} +impl ::core::default::Default for NVME_CDW13_ZONE_MANAGEMENT_RECEIVE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW13_ZONE_MANAGEMENT_SEND { + pub Anonymous: NVME_CDW13_ZONE_MANAGEMENT_SEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW13_ZONE_MANAGEMENT_SEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW13_ZONE_MANAGEMENT_SEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 {} +impl ::core::clone::Clone for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW13_ZONE_MANAGEMENT_SEND_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 {} +impl ::core::default::Default for NVME_CDW13_ZONE_MANAGEMENT_SEND_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_FEATURES { + pub HostMemoryBuffer: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURES {} +impl ::core::clone::Clone for NVME_CDW14_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW14_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW14_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HMDLUA: u32, +} +impl ::core::marker::Copy for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0").field("HMDLUA", &self.HMDLUA).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + fn eq(&self, other: &Self) -> bool { + self.HMDLUA == other.HMDLUA + } +} +impl ::core::cmp::Eq for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::default::Default for NVME_CDW14_FEATURE_HOST_MEMORY_BUFFER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW14_GET_LOG_PAGE { + pub Anonymous: NVME_CDW14_GET_LOG_PAGE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE {} +impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW14_GET_LOG_PAGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW14_GET_LOG_PAGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW14_GET_LOG_PAGE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW14_GET_LOG_PAGE_0 {} +impl ::core::clone::Clone for NVME_CDW14_GET_LOG_PAGE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW14_GET_LOG_PAGE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW14_GET_LOG_PAGE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW14_GET_LOG_PAGE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW14_GET_LOG_PAGE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW14_GET_LOG_PAGE_0 {} +impl ::core::default::Default for NVME_CDW14_GET_LOG_PAGE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_FEATURES { + pub HostMemoryBuffer: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURES {} +impl ::core::clone::Clone for NVME_CDW15_FEATURES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW15_FEATURES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW15_FEATURES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + pub Anonymous: NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER {} +impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + pub HMDLEC: u32, +} +impl ::core::marker::Copy for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::clone::Clone for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0").field("HMDLEC", &self.HMDLEC).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + fn eq(&self, other: &Self) -> bool { + self.HMDLEC == other.HMDLEC + } +} +impl ::core::cmp::Eq for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 {} +impl ::core::default::Default for NVME_CDW15_FEATURE_HOST_MEMORY_BUFFER_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_READ_WRITE { + pub Anonymous: NVME_CDW15_READ_WRITE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_READ_WRITE {} +impl ::core::clone::Clone for NVME_CDW15_READ_WRITE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW15_READ_WRITE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW15_READ_WRITE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_READ_WRITE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW15_READ_WRITE_0 {} +impl ::core::clone::Clone for NVME_CDW15_READ_WRITE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW15_READ_WRITE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW15_READ_WRITE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW15_READ_WRITE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW15_READ_WRITE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW15_READ_WRITE_0 {} +impl ::core::default::Default for NVME_CDW15_READ_WRITE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CDW15_ZONE_APPEND { + pub Anonymous: NVME_CDW15_ZONE_APPEND_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND {} +impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CDW15_ZONE_APPEND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CDW15_ZONE_APPEND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CDW15_ZONE_APPEND_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CDW15_ZONE_APPEND_0 {} +impl ::core::clone::Clone for NVME_CDW15_ZONE_APPEND_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CDW15_ZONE_APPEND_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CDW15_ZONE_APPEND_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CDW15_ZONE_APPEND_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CDW15_ZONE_APPEND_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CDW15_ZONE_APPEND_0 {} +impl ::core::default::Default for NVME_CDW15_ZONE_APPEND_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CHANGED_NAMESPACE_LIST_LOG { + pub NSID: [u32; 1024], +} +impl ::core::marker::Copy for NVME_CHANGED_NAMESPACE_LIST_LOG {} +impl ::core::clone::Clone for NVME_CHANGED_NAMESPACE_LIST_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CHANGED_NAMESPACE_LIST_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CHANGED_NAMESPACE_LIST_LOG").field("NSID", &self.NSID).finish() + } +} +impl ::windows_core::TypeKind for NVME_CHANGED_NAMESPACE_LIST_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CHANGED_NAMESPACE_LIST_LOG { + fn eq(&self, other: &Self) -> bool { + self.NSID == other.NSID + } +} +impl ::core::cmp::Eq for NVME_CHANGED_NAMESPACE_LIST_LOG {} +impl ::core::default::Default for NVME_CHANGED_NAMESPACE_LIST_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CHANGED_ZONE_LIST_LOG { + pub ZoneIdentifiersCount: u16, + pub Reserved: [u8; 6], + pub ZoneIdentifier: [u64; 511], +} +impl ::core::marker::Copy for NVME_CHANGED_ZONE_LIST_LOG {} +impl ::core::clone::Clone for NVME_CHANGED_ZONE_LIST_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CHANGED_ZONE_LIST_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CHANGED_ZONE_LIST_LOG").field("ZoneIdentifiersCount", &self.ZoneIdentifiersCount).field("Reserved", &self.Reserved).field("ZoneIdentifier", &self.ZoneIdentifier).finish() + } +} +impl ::windows_core::TypeKind for NVME_CHANGED_ZONE_LIST_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CHANGED_ZONE_LIST_LOG { + fn eq(&self, other: &Self) -> bool { + self.ZoneIdentifiersCount == other.ZoneIdentifiersCount && self.Reserved == other.Reserved && self.ZoneIdentifier == other.ZoneIdentifier + } +} +impl ::core::cmp::Eq for NVME_CHANGED_ZONE_LIST_LOG {} +impl ::core::default::Default for NVME_CHANGED_ZONE_LIST_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND { + pub CDW0: NVME_COMMAND_DWORD0, + pub NSID: u32, + pub Reserved0: [u32; 2], + pub MPTR: u64, + pub PRP1: u64, + pub PRP2: u64, + pub u: NVME_COMMAND_0, +} +impl ::core::marker::Copy for NVME_COMMAND {} +impl ::core::clone::Clone for NVME_COMMAND { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_0 { + pub GENERAL: NVME_COMMAND_0_9, + pub IDENTIFY: NVME_COMMAND_0_12, + pub ABORT: NVME_COMMAND_0_0, + pub GETFEATURES: NVME_COMMAND_0_10, + pub SETFEATURES: NVME_COMMAND_0_21, + pub GETLOGPAGE: NVME_COMMAND_0_11, + pub CREATEIOCQ: NVME_COMMAND_0_1, + pub CREATEIOSQ: NVME_COMMAND_0_2, + pub DATASETMANAGEMENT: NVME_COMMAND_0_3, + pub SECURITYSEND: NVME_COMMAND_0_20, + pub SECURITYRECEIVE: NVME_COMMAND_0_19, + pub FIRMWAREDOWNLOAD: NVME_COMMAND_0_7, + pub FIRMWAREACTIVATE: NVME_COMMAND_0_6, + pub FORMATNVM: NVME_COMMAND_0_8, + pub DIRECTIVERECEIVE: NVME_COMMAND_0_4, + pub DIRECTIVESEND: NVME_COMMAND_0_5, + pub SANITIZE: NVME_COMMAND_0_18, + pub READWRITE: NVME_COMMAND_0_13, + pub RESERVATIONACQUIRE: NVME_COMMAND_0_14, + pub RESERVATIONREGISTER: NVME_COMMAND_0_15, + pub RESERVATIONRELEASE: NVME_COMMAND_0_16, + pub RESERVATIONREPORT: NVME_COMMAND_0_17, + pub ZONEMANAGEMENTSEND: NVME_COMMAND_0_24, + pub ZONEMANAGEMENTRECEIVE: NVME_COMMAND_0_23, + pub ZONEAPPEND: NVME_COMMAND_0_22, +} +impl ::core::marker::Copy for NVME_COMMAND_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_0 { + pub CDW10: NVME_CDW10_ABORT, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_1 { + pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, + pub CDW11: NVME_CDW11_CREATE_IO_CQ, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_1 {} +impl ::core::clone::Clone for NVME_COMMAND_0_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_2 { + pub CDW10: NVME_CDW10_CREATE_IO_QUEUE, + pub CDW11: NVME_CDW11_CREATE_IO_SQ, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_2 {} +impl ::core::clone::Clone for NVME_COMMAND_0_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_3 { + pub CDW10: NVME_CDW10_DATASET_MANAGEMENT, + pub CDW11: NVME_CDW11_DATASET_MANAGEMENT, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_3 {} +impl ::core::clone::Clone for NVME_COMMAND_0_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_4 { + pub CDW10: NVME_CDW10_DIRECTIVE_RECEIVE, + pub CDW11: NVME_CDW11_DIRECTIVE_RECEIVE, + pub CDW12: NVME_CDW12_DIRECTIVE_RECEIVE, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_4 {} +impl ::core::clone::Clone for NVME_COMMAND_0_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_5 { + pub CDW10: NVME_CDW10_DIRECTIVE_SEND, + pub CDW11: NVME_CDW11_DIRECTIVE_SEND, + pub CDW12: NVME_CDW12_DIRECTIVE_SEND, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_5 {} +impl ::core::clone::Clone for NVME_COMMAND_0_5 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_5 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_5 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_6 { + pub CDW10: NVME_CDW10_FIRMWARE_ACTIVATE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_6 {} +impl ::core::clone::Clone for NVME_COMMAND_0_6 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_6 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_6 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_7 { + pub CDW10: NVME_CDW10_FIRMWARE_DOWNLOAD, + pub CDW11: NVME_CDW11_FIRMWARE_DOWNLOAD, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_7 {} +impl ::core::clone::Clone for NVME_COMMAND_0_7 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMMAND_0_7 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMMAND_0_7").field("CDW10", &self.CDW10).field("CDW11", &self.CDW11).field("CDW12", &self.CDW12).field("CDW13", &self.CDW13).field("CDW14", &self.CDW14).field("CDW15", &self.CDW15).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_7 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMMAND_0_7 { + fn eq(&self, other: &Self) -> bool { + self.CDW10 == other.CDW10 && self.CDW11 == other.CDW11 && self.CDW12 == other.CDW12 && self.CDW13 == other.CDW13 && self.CDW14 == other.CDW14 && self.CDW15 == other.CDW15 + } +} +impl ::core::cmp::Eq for NVME_COMMAND_0_7 {} +impl ::core::default::Default for NVME_COMMAND_0_7 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_8 { + pub CDW10: NVME_CDW10_FORMAT_NVM, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_8 {} +impl ::core::clone::Clone for NVME_COMMAND_0_8 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_8 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_8 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_9 { + pub CDW10: u32, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_9 {} +impl ::core::clone::Clone for NVME_COMMAND_0_9 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMMAND_0_9 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMMAND_0_9").field("CDW10", &self.CDW10).field("CDW11", &self.CDW11).field("CDW12", &self.CDW12).field("CDW13", &self.CDW13).field("CDW14", &self.CDW14).field("CDW15", &self.CDW15).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_9 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMMAND_0_9 { + fn eq(&self, other: &Self) -> bool { + self.CDW10 == other.CDW10 && self.CDW11 == other.CDW11 && self.CDW12 == other.CDW12 && self.CDW13 == other.CDW13 && self.CDW14 == other.CDW14 && self.CDW15 == other.CDW15 + } +} +impl ::core::cmp::Eq for NVME_COMMAND_0_9 {} +impl ::core::default::Default for NVME_COMMAND_0_9 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_10 { + pub CDW10: NVME_CDW10_GET_FEATURES, + pub CDW11: NVME_CDW11_FEATURES, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_10 {} +impl ::core::clone::Clone for NVME_COMMAND_0_10 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_10 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_10 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_11 { + pub Anonymous: NVME_COMMAND_0_11_0, + pub CDW11: NVME_CDW11_GET_LOG_PAGE, + pub CDW12: NVME_CDW12_GET_LOG_PAGE, + pub CDW13: NVME_CDW13_GET_LOG_PAGE, + pub CDW14: NVME_CDW14_GET_LOG_PAGE, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_11 {} +impl ::core::clone::Clone for NVME_COMMAND_0_11 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_11 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_11 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_0_11_0 { + pub CDW10: NVME_CDW10_GET_LOG_PAGE, + pub CDW10_V13: NVME_CDW10_GET_LOG_PAGE_V13, +} +impl ::core::marker::Copy for NVME_COMMAND_0_11_0 {} +impl ::core::clone::Clone for NVME_COMMAND_0_11_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_11_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_11_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_12 { + pub CDW10: NVME_CDW10_IDENTIFY, + pub CDW11: NVME_CDW11_IDENTIFY, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_12 {} +impl ::core::clone::Clone for NVME_COMMAND_0_12 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_12 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_12 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_13 { + pub LBALOW: u32, + pub LBAHIGH: u32, + pub CDW12: NVME_CDW12_READ_WRITE, + pub CDW13: NVME_CDW13_READ_WRITE, + pub CDW14: u32, + pub CDW15: NVME_CDW15_READ_WRITE, +} +impl ::core::marker::Copy for NVME_COMMAND_0_13 {} +impl ::core::clone::Clone for NVME_COMMAND_0_13 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_13 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_13 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_14 { + pub CDW10: NVME_CDW10_RESERVATION_ACQUIRE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_14 {} +impl ::core::clone::Clone for NVME_COMMAND_0_14 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_14 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_14 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_15 { + pub CDW10: NVME_CDW10_RESERVATION_REGISTER, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_15 {} +impl ::core::clone::Clone for NVME_COMMAND_0_15 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_15 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_15 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_16 { + pub CDW10: NVME_CDW10_RESERVATION_RELEASE, + pub CDW11: u32, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_16 {} +impl ::core::clone::Clone for NVME_COMMAND_0_16 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_16 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_16 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_17 { + pub CDW10: NVME_CDW10_RESERVATION_REPORT, + pub CDW11: NVME_CDW11_RESERVATION_REPORT, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_17 {} +impl ::core::clone::Clone for NVME_COMMAND_0_17 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_17 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_17 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_18 { + pub CDW10: NVME_CDW10_SANITIZE, + pub CDW11: NVME_CDW11_SANITIZE, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_18 {} +impl ::core::clone::Clone for NVME_COMMAND_0_18 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_18 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_18 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_19 { + pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, + pub CDW11: NVME_CDW11_SECURITY_RECEIVE, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_19 {} +impl ::core::clone::Clone for NVME_COMMAND_0_19 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_19 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_19 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_20 { + pub CDW10: NVME_CDW10_SECURITY_SEND_RECEIVE, + pub CDW11: NVME_CDW11_SECURITY_SEND, + pub CDW12: u32, + pub CDW13: u32, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_20 {} +impl ::core::clone::Clone for NVME_COMMAND_0_20 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_20 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_20 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_21 { + pub CDW10: NVME_CDW10_SET_FEATURES, + pub CDW11: NVME_CDW11_FEATURES, + pub CDW12: NVME_CDW12_FEATURES, + pub CDW13: NVME_CDW13_FEATURES, + pub CDW14: NVME_CDW14_FEATURES, + pub CDW15: NVME_CDW15_FEATURES, +} +impl ::core::marker::Copy for NVME_COMMAND_0_21 {} +impl ::core::clone::Clone for NVME_COMMAND_0_21 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_21 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_21 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_22 { + pub CDW1011: NVME_CDW10_ZONE_APPEND, + pub CDW12: NVME_CDW12_ZONE_APPEND, + pub CDW13: u32, + pub ILBRT: u32, + pub CDW15: NVME_CDW15_ZONE_APPEND, +} +impl ::core::marker::Copy for NVME_COMMAND_0_22 {} +impl ::core::clone::Clone for NVME_COMMAND_0_22 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_22 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_22 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_23 { + pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_RECEIVE, + pub DWORDCOUNT: u32, + pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_RECEIVE, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_23 {} +impl ::core::clone::Clone for NVME_COMMAND_0_23 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_23 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_23 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_0_24 { + pub CDW1011: NVME_CDW10_ZONE_MANAGEMENT_SEND, + pub CDW12: u32, + pub CDW13: NVME_CDW13_ZONE_MANAGEMENT_SEND, + pub CDW14: u32, + pub CDW15: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_0_24 {} +impl ::core::clone::Clone for NVME_COMMAND_0_24 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_0_24 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_0_24 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_DWORD0 { + pub Anonymous: NVME_COMMAND_DWORD0_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_DWORD0 {} +impl ::core::clone::Clone for NVME_COMMAND_DWORD0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_DWORD0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_DWORD0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_DWORD0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_DWORD0_0 {} +impl ::core::clone::Clone for NVME_COMMAND_DWORD0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMMAND_DWORD0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMMAND_DWORD0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_DWORD0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMMAND_DWORD0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMMAND_DWORD0_0 {} +impl ::core::default::Default for NVME_COMMAND_DWORD0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_EFFECTS_DATA { + pub Anonymous: NVME_COMMAND_EFFECTS_DATA_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_EFFECTS_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_EFFECTS_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_EFFECTS_DATA_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_DATA_0 {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMMAND_EFFECTS_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMMAND_EFFECTS_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_EFFECTS_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMMAND_EFFECTS_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMMAND_EFFECTS_DATA_0 {} +impl ::core::default::Default for NVME_COMMAND_EFFECTS_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_EFFECTS_LOG { + pub ACS: [NVME_COMMAND_EFFECTS_DATA; 256], + pub IOCS: [NVME_COMMAND_EFFECTS_DATA; 256], + pub Reserved: [u8; 2048], +} +impl ::core::marker::Copy for NVME_COMMAND_EFFECTS_LOG {} +impl ::core::clone::Clone for NVME_COMMAND_EFFECTS_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_EFFECTS_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_EFFECTS_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMMAND_STATUS { + pub Anonymous: NVME_COMMAND_STATUS_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_COMMAND_STATUS {} +impl ::core::clone::Clone for NVME_COMMAND_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMMAND_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMMAND_STATUS_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_COMMAND_STATUS_0 {} +impl ::core::clone::Clone for NVME_COMMAND_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMMAND_STATUS_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMMAND_STATUS_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMMAND_STATUS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMMAND_STATUS_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMMAND_STATUS_0 {} +impl ::core::default::Default for NVME_COMMAND_STATUS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST {} +impl ::core::default::Default for NVME_COMPLETION_DW0_ASYNC_EVENT_REQUEST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + pub Anonymous: NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES").field("Anonymous", &self.Anonymous).field("AsUlong", &self.AsUlong).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn eq(&self, other: &Self) -> bool { + self.Anonymous == other.Anonymous && self.AsUlong == other.AsUlong + } +} +impl ::core::cmp::Eq for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES {} +impl ::core::default::Default for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 {} +impl ::core::default::Default for NVME_COMPLETION_DW0_DIRECTIVE_RECEIVE_STREAMS_ALLOCATE_RESOURCES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY { + pub DW0: u32, + pub DW1: u32, + pub DW2: NVME_COMPLETION_ENTRY_0, + pub DW3: NVME_COMPLETION_ENTRY_1, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMPLETION_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_ENTRY_0 { + pub Anonymous: NVME_COMPLETION_ENTRY_0_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_ENTRY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMPLETION_ENTRY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY_0_0 { + pub SQHD: u16, + pub SQID: u16, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_0_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMPLETION_ENTRY_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMPLETION_ENTRY_0_0").field("SQHD", &self.SQHD).field("SQID", &self.SQID).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_ENTRY_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMPLETION_ENTRY_0_0 { + fn eq(&self, other: &Self) -> bool { + self.SQHD == other.SQHD && self.SQID == other.SQID + } +} +impl ::core::cmp::Eq for NVME_COMPLETION_ENTRY_0_0 {} +impl ::core::default::Default for NVME_COMPLETION_ENTRY_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_ENTRY_1 { + pub Anonymous: NVME_COMPLETION_ENTRY_1_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_ENTRY_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMPLETION_ENTRY_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_ENTRY_1_0 { + pub CID: u16, + pub Status: NVME_COMMAND_STATUS, +} +impl ::core::marker::Copy for NVME_COMPLETION_ENTRY_1_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_ENTRY_1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_ENTRY_1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMPLETION_ENTRY_1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + pub Anonymous: NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL {} +impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_COMPLETION_QUEUE_HEAD_DOORBELL { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 {} +impl ::core::clone::Clone for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 {} +impl ::core::default::Default for NVME_COMPLETION_QUEUE_HEAD_DOORBELL_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTEXT_ATTRIBUTES { + pub Anonymous: NVME_CONTEXT_ATTRIBUTES_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES {} +impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTEXT_ATTRIBUTES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTEXT_ATTRIBUTES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTEXT_ATTRIBUTES_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTEXT_ATTRIBUTES_0 {} +impl ::core::clone::Clone for NVME_CONTEXT_ATTRIBUTES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTEXT_ATTRIBUTES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTEXT_ATTRIBUTES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTEXT_ATTRIBUTES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTEXT_ATTRIBUTES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTEXT_ATTRIBUTES_0 {} +impl ::core::default::Default for NVME_CONTEXT_ATTRIBUTES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_CAPABILITIES { + pub Anonymous: NVME_CONTROLLER_CAPABILITIES_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES {} +impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_CAPABILITIES_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_CAPABILITIES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_CAPABILITIES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_CAPABILITIES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_CAPABILITIES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_CAPABILITIES_0 {} +impl ::core::default::Default for NVME_CONTROLLER_CAPABILITIES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_CONFIGURATION { + pub Anonymous: NVME_CONTROLLER_CONFIGURATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION {} +impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_CONFIGURATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_CONFIGURATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_CONFIGURATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_CONFIGURATION_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_CONFIGURATION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_CONFIGURATION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_CONFIGURATION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_CONFIGURATION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_CONFIGURATION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_CONFIGURATION_0 {} +impl ::core::default::Default for NVME_CONTROLLER_CONFIGURATION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_LIST { + pub NumberOfIdentifiers: u16, + pub ControllerID: [u16; 2047], +} +impl ::core::marker::Copy for NVME_CONTROLLER_LIST {} +impl ::core::clone::Clone for NVME_CONTROLLER_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_LIST").field("NumberOfIdentifiers", &self.NumberOfIdentifiers).field("ControllerID", &self.ControllerID).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_LIST { + fn eq(&self, other: &Self) -> bool { + self.NumberOfIdentifiers == other.NumberOfIdentifiers && self.ControllerID == other.ControllerID + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_LIST {} +impl ::core::default::Default for NVME_CONTROLLER_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 {} +impl ::core::default::Default for NVME_CONTROLLER_MEMORY_BUFFER_LOCATION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + pub Anonymous: NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_MEMORY_BUFFER_SIZE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 {} +impl ::core::default::Default for NVME_CONTROLLER_MEMORY_BUFFER_SIZE_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_REGISTERS { + pub CAP: NVME_CONTROLLER_CAPABILITIES, + pub VS: NVME_VERSION, + pub INTMS: u32, + pub INTMC: u32, + pub CC: NVME_CONTROLLER_CONFIGURATION, + pub Reserved0: u32, + pub CSTS: NVME_CONTROLLER_STATUS, + pub NSSR: NVME_NVM_SUBSYSTEM_RESET, + pub AQA: NVME_ADMIN_QUEUE_ATTRIBUTES, + pub ASQ: NVME_ADMIN_SUBMISSION_QUEUE_BASE_ADDRESS, + pub ACQ: NVME_ADMIN_COMPLETION_QUEUE_BASE_ADDRESS, + pub CMBLOC: NVME_CONTROLLER_MEMORY_BUFFER_LOCATION, + pub CMBSZ: NVME_CONTROLLER_MEMORY_BUFFER_SIZE, + pub Reserved2: [u32; 944], + pub Reserved3: [u32; 64], + pub Doorbells: [u32; 1], +} +impl ::core::marker::Copy for NVME_CONTROLLER_REGISTERS {} +impl ::core::clone::Clone for NVME_CONTROLLER_REGISTERS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_REGISTERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_REGISTERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_CONTROLLER_STATUS { + pub Anonymous: NVME_CONTROLLER_STATUS_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_STATUS {} +impl ::core::clone::Clone for NVME_CONTROLLER_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_CONTROLLER_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_CONTROLLER_STATUS_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_CONTROLLER_STATUS_0 {} +impl ::core::clone::Clone for NVME_CONTROLLER_STATUS_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_CONTROLLER_STATUS_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_CONTROLLER_STATUS_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_CONTROLLER_STATUS_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_CONTROLLER_STATUS_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_CONTROLLER_STATUS_0 {} +impl ::core::default::Default for NVME_CONTROLLER_STATUS_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG { + pub CurrentOperation: NVME_DEVICE_SELF_TEST_LOG_1, + pub CurrentCompletion: NVME_DEVICE_SELF_TEST_LOG_0, + pub Reserved: [u8; 2], + pub ResultData: [NVME_DEVICE_SELF_TEST_RESULT_DATA; 20], +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_0 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DEVICE_SELF_TEST_LOG_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DEVICE_SELF_TEST_LOG_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DEVICE_SELF_TEST_LOG_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_DEVICE_SELF_TEST_LOG_0 {} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_LOG_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_LOG_1 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_LOG_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DEVICE_SELF_TEST_LOG_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DEVICE_SELF_TEST_LOG_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_LOG_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DEVICE_SELF_TEST_LOG_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_DEVICE_SELF_TEST_LOG_1 {} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_LOG_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA { + pub Status: NVME_DEVICE_SELF_TEST_RESULT_DATA_1, + pub SegmentNumber: u8, + pub ValidDiagnostics: NVME_DEVICE_SELF_TEST_RESULT_DATA_2, + pub Reserved: u8, + pub POH: u64, + pub NSID: u32, + pub FailingLBA: u64, + pub StatusCodeType: NVME_DEVICE_SELF_TEST_RESULT_DATA_0, + pub StatusCode: u8, + pub VendorSpecific: u16, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_RESULT_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_RESULT_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DEVICE_SELF_TEST_RESULT_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 {} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_RESULT_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DEVICE_SELF_TEST_RESULT_DATA_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 {} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_RESULT_DATA_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 {} +impl ::core::clone::Clone for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DEVICE_SELF_TEST_RESULT_DATA_2").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 {} +impl ::core::default::Default for NVME_DEVICE_SELF_TEST_RESULT_DATA_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + pub DirectivesSupported: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, + pub DirectivesEnabled: NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR, +} +impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS").field("DirectivesSupported", &self.DirectivesSupported).field("DirectivesEnabled", &self.DirectivesEnabled).finish() + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.DirectivesSupported == other.DirectivesSupported && self.DirectivesEnabled == other.DirectivesEnabled + } +} +impl ::core::cmp::Eq for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS {} +impl ::core::default::Default for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + pub _bitfield: u8, + pub Reserved1: [u8; 31], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR").field("_bitfield", &self._bitfield).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR {} +impl ::core::default::Default for NVME_DIRECTIVE_IDENTIFY_RETURN_PARAMETERS_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + pub OpenStreamCount: u16, + pub StreamIdentifiers: [u16; 65535], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA {} +impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA").field("OpenStreamCount", &self.OpenStreamCount).field("StreamIdentifiers", &self.StreamIdentifiers).finish() + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + fn eq(&self, other: &Self) -> bool { + self.OpenStreamCount == other.OpenStreamCount && self.StreamIdentifiers == other.StreamIdentifiers + } +} +impl ::core::cmp::Eq for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA {} +impl ::core::default::Default for NVME_DIRECTIVE_STREAMS_GET_STATUS_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + pub MSL: u16, + pub NSSA: u16, + pub NSSO: u16, + pub Reserved0: [u8; 10], + pub SWS: u32, + pub SGS: u16, + pub NSA: u16, + pub NSO: u16, + pub Reserved1: [u8; 6], +} +impl ::core::marker::Copy for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS {} +impl ::core::clone::Clone for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS").field("MSL", &self.MSL).field("NSSA", &self.NSSA).field("NSSO", &self.NSSO).field("Reserved0", &self.Reserved0).field("SWS", &self.SWS).field("SGS", &self.SGS).field("NSA", &self.NSA).field("NSO", &self.NSO).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + fn eq(&self, other: &Self) -> bool { + self.MSL == other.MSL && self.NSSA == other.NSSA && self.NSSO == other.NSSO && self.Reserved0 == other.Reserved0 && self.SWS == other.SWS && self.SGS == other.SGS && self.NSA == other.NSA && self.NSO == other.NSO && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS {} +impl ::core::default::Default for NVME_DIRECTIVE_STREAMS_RETURN_PARAMETERS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ENDURANCE_GROUP_LOG { + pub Reserved0: u32, + pub AvailableSpareThreshold: u8, + pub PercentageUsed: u8, + pub Reserved1: [u8; 26], + pub EnduranceEstimate: [u8; 16], + pub DataUnitsRead: [u8; 16], + pub DataUnitsWritten: [u8; 16], + pub MediaUnitsWritten: [u8; 16], + pub Reserved2: [u8; 416], +} +impl ::core::marker::Copy for NVME_ENDURANCE_GROUP_LOG {} +impl ::core::clone::Clone for NVME_ENDURANCE_GROUP_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ENDURANCE_GROUP_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ENDURANCE_GROUP_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INFO_LOG { + pub ErrorCount: u64, + pub SQID: u16, + pub CMDID: u16, + pub Status: NVME_COMMAND_STATUS, + pub ParameterErrorLocation: NVME_ERROR_INFO_LOG_0, + pub Lba: u64, + pub NameSpace: u32, + pub VendorInfoAvailable: u8, + pub Reserved0: [u8; 3], + pub CommandSpecificInfo: u64, + pub Reserved1: [u8; 24], +} +impl ::core::marker::Copy for NVME_ERROR_INFO_LOG {} +impl ::core::clone::Clone for NVME_ERROR_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INFO_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ERROR_INFO_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INFO_LOG_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_ERROR_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_ERROR_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ERROR_INFO_LOG_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ERROR_INFO_LOG_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INFO_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ERROR_INFO_LOG_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ERROR_INFO_LOG_0 {} +impl ::core::default::Default for NVME_ERROR_INFO_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INJECTION_ENTRY { + pub Flags: NVME_ERROR_INJECTION_ENTRY_0, + pub Reserved1: u8, + pub ErrorInjectionType: u16, + pub ErrorInjectionTypeSpecific: [u8; 28], +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INJECTION_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ERROR_INJECTION_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_ERROR_INJECTION_ENTRY_0 { + pub Anonymous: NVME_ERROR_INJECTION_ENTRY_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0 {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INJECTION_ENTRY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_ERROR_INJECTION_ENTRY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ERROR_INJECTION_ENTRY_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ERROR_INJECTION_ENTRY_0_0 {} +impl ::core::clone::Clone for NVME_ERROR_INJECTION_ENTRY_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ERROR_INJECTION_ENTRY_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ERROR_INJECTION_ENTRY_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ERROR_INJECTION_ENTRY_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ERROR_INJECTION_ENTRY_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ERROR_INJECTION_ENTRY_0_0 {} +impl ::core::default::Default for NVME_ERROR_INJECTION_ENTRY_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_EXTENDED_REPORT_ZONE_INFO { + pub ZoneCount: u64, + pub Reserved: [u64; 7], + pub Desc: [NVME_ZONE_EXTENDED_REPORT_ZONE_DESC; 1], +} +impl ::core::marker::Copy for NVME_EXTENDED_REPORT_ZONE_INFO {} +impl ::core::clone::Clone for NVME_EXTENDED_REPORT_ZONE_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_EXTENDED_REPORT_ZONE_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_EXTENDED_REPORT_ZONE_INFO").field("ZoneCount", &self.ZoneCount).field("Reserved", &self.Reserved).field("Desc", &self.Desc).finish() + } +} +impl ::windows_core::TypeKind for NVME_EXTENDED_REPORT_ZONE_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_EXTENDED_REPORT_ZONE_INFO { + fn eq(&self, other: &Self) -> bool { + self.ZoneCount == other.ZoneCount && self.Reserved == other.Reserved && self.Desc == other.Desc + } +} +impl ::core::cmp::Eq for NVME_EXTENDED_REPORT_ZONE_INFO {} +impl ::core::default::Default for NVME_EXTENDED_REPORT_ZONE_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FEATURE_HOST_IDENTIFIER_DATA { + pub HOSTID: [u8; 16], +} +impl ::core::marker::Copy for NVME_FEATURE_HOST_IDENTIFIER_DATA {} +impl ::core::clone::Clone for NVME_FEATURE_HOST_IDENTIFIER_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_FEATURE_HOST_IDENTIFIER_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_FEATURE_HOST_IDENTIFIER_DATA").field("HOSTID", &self.HOSTID).finish() + } +} +impl ::windows_core::TypeKind for NVME_FEATURE_HOST_IDENTIFIER_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_FEATURE_HOST_IDENTIFIER_DATA { + fn eq(&self, other: &Self) -> bool { + self.HOSTID == other.HOSTID + } +} +impl ::core::cmp::Eq for NVME_FEATURE_HOST_IDENTIFIER_DATA {} +impl ::core::default::Default for NVME_FEATURE_HOST_IDENTIFIER_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FEATURE_HOST_METADATA_DATA { + pub NumberOfMetadataElementDescriptors: u8, + pub Reserved0: u8, + pub MetadataElementDescriptors: [u8; 4094], +} +impl ::core::marker::Copy for NVME_FEATURE_HOST_METADATA_DATA {} +impl ::core::clone::Clone for NVME_FEATURE_HOST_METADATA_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_FEATURE_HOST_METADATA_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_FEATURE_HOST_METADATA_DATA").field("NumberOfMetadataElementDescriptors", &self.NumberOfMetadataElementDescriptors).field("Reserved0", &self.Reserved0).field("MetadataElementDescriptors", &self.MetadataElementDescriptors).finish() + } +} +impl ::windows_core::TypeKind for NVME_FEATURE_HOST_METADATA_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_FEATURE_HOST_METADATA_DATA { + fn eq(&self, other: &Self) -> bool { + self.NumberOfMetadataElementDescriptors == other.NumberOfMetadataElementDescriptors && self.Reserved0 == other.Reserved0 && self.MetadataElementDescriptors == other.MetadataElementDescriptors + } +} +impl ::core::cmp::Eq for NVME_FEATURE_HOST_METADATA_DATA {} +impl ::core::default::Default for NVME_FEATURE_HOST_METADATA_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FIRMWARE_SLOT_INFO_LOG { + pub AFI: NVME_FIRMWARE_SLOT_INFO_LOG_0, + pub Reserved0: [u8; 7], + pub FRS: [u64; 7], + pub Reserved1: [u8; 448], +} +impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG {} +impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_FIRMWARE_SLOT_INFO_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_FIRMWARE_SLOT_INFO_LOG").field("AFI", &self.AFI).field("Reserved0", &self.Reserved0).field("FRS", &self.FRS).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_FIRMWARE_SLOT_INFO_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_FIRMWARE_SLOT_INFO_LOG { + fn eq(&self, other: &Self) -> bool { + self.AFI == other.AFI && self.Reserved0 == other.Reserved0 && self.FRS == other.FRS && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_FIRMWARE_SLOT_INFO_LOG {} +impl ::core::default::Default for NVME_FIRMWARE_SLOT_INFO_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_FIRMWARE_SLOT_INFO_LOG_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_FIRMWARE_SLOT_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_FIRMWARE_SLOT_INFO_LOG_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_FIRMWARE_SLOT_INFO_LOG_0 {} +impl ::core::default::Default for NVME_FIRMWARE_SLOT_INFO_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HEALTH_INFO_LOG { + pub CriticalWarning: NVME_HEALTH_INFO_LOG_0, + pub Temperature: [u8; 2], + pub AvailableSpare: u8, + pub AvailableSpareThreshold: u8, + pub PercentageUsed: u8, + pub Reserved0: [u8; 26], + pub DataUnitRead: [u8; 16], + pub DataUnitWritten: [u8; 16], + pub HostReadCommands: [u8; 16], + pub HostWrittenCommands: [u8; 16], + pub ControllerBusyTime: [u8; 16], + pub PowerCycle: [u8; 16], + pub PowerOnHours: [u8; 16], + pub UnsafeShutdowns: [u8; 16], + pub MediaErrors: [u8; 16], + pub ErrorInfoLogEntryCount: [u8; 16], + pub WarningCompositeTemperatureTime: u32, + pub CriticalCompositeTemperatureTime: u32, + pub TemperatureSensor1: u16, + pub TemperatureSensor2: u16, + pub TemperatureSensor3: u16, + pub TemperatureSensor4: u16, + pub TemperatureSensor5: u16, + pub TemperatureSensor6: u16, + pub TemperatureSensor7: u16, + pub TemperatureSensor8: u16, + pub Reserved1: [u8; 296], +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_HEALTH_INFO_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_HEALTH_INFO_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_HEALTH_INFO_LOG_0 { + pub Anonymous: NVME_HEALTH_INFO_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0 {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_HEALTH_INFO_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_HEALTH_INFO_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HEALTH_INFO_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_HEALTH_INFO_LOG_0_0 {} +impl ::core::clone::Clone for NVME_HEALTH_INFO_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_HEALTH_INFO_LOG_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_HEALTH_INFO_LOG_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_HEALTH_INFO_LOG_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_HEALTH_INFO_LOG_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_HEALTH_INFO_LOG_0_0 {} +impl ::core::default::Default for NVME_HEALTH_INFO_LOG_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + pub BADD: u64, + pub BSIZE: u32, + pub Reserved: u32, +} +impl ::core::marker::Copy for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY {} +impl ::core::clone::Clone for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY").field("BADD", &self.BADD).field("BSIZE", &self.BSIZE).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + fn eq(&self, other: &Self) -> bool { + self.BADD == other.BADD && self.BSIZE == other.BSIZE && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY {} +impl ::core::default::Default for NVME_HOST_MEMORY_BUFFER_DESCRIPTOR_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + pub _bitfield: u32, + pub EVAL: [u8; 1], +} +impl ::core::marker::Copy for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_HOST_METADATA_ELEMENT_DESCRIPTOR").field("_bitfield", &self._bitfield).field("EVAL", &self.EVAL).finish() + } +} +impl ::windows_core::TypeKind for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield && self.EVAL == other.EVAL + } +} +impl ::core::cmp::Eq for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR {} +impl ::core::default::Default for NVME_HOST_METADATA_ELEMENT_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA { + pub VID: u16, + pub SSVID: u16, + pub SN: [u8; 20], + pub MN: [u8; 40], + pub FR: [u8; 8], + pub RAB: u8, + pub IEEE: [u8; 3], + pub CMIC: NVME_IDENTIFY_CONTROLLER_DATA_3, + pub MDTS: u8, + pub CNTLID: u16, + pub VER: u32, + pub RTD3R: u32, + pub RTD3E: u32, + pub OAES: NVME_IDENTIFY_CONTROLLER_DATA_14, + pub CTRATT: NVME_IDENTIFY_CONTROLLER_DATA_5, + pub RRLS: NVME_IDENTIFY_CONTROLLER_DATA_17, + pub Reserved0: [u8; 9], + pub CNTRLTYPE: u8, + pub FGUID: [u8; 16], + pub CRDT1: u16, + pub CRDT2: u16, + pub CRDT3: u16, + pub Reserved0_1: [u8; 106], + pub ReservedForManagement: [u8; 16], + pub OACS: NVME_IDENTIFY_CONTROLLER_DATA_13, + pub ACL: u8, + pub AERL: u8, + pub FRMW: NVME_IDENTIFY_CONTROLLER_DATA_7, + pub LPA: NVME_IDENTIFY_CONTROLLER_DATA_10, + pub ELPE: u8, + pub NPSS: u8, + pub AVSCC: NVME_IDENTIFY_CONTROLLER_DATA_2, + pub APSTA: NVME_IDENTIFY_CONTROLLER_DATA_1, + pub WCTEMP: u16, + pub CCTEMP: u16, + pub MTFA: u16, + pub HMPRE: u32, + pub HMMIN: u32, + pub TNVMCAP: [u8; 16], + pub UNVMCAP: [u8; 16], + pub RPMBS: NVME_IDENTIFY_CONTROLLER_DATA_16, + pub EDSTT: u16, + pub DSTO: u8, + pub FWUG: u8, + pub KAS: u16, + pub HCTMA: NVME_IDENTIFY_CONTROLLER_DATA_9, + pub MNTMT: u16, + pub MXTMT: u16, + pub SANICAP: NVME_IDENTIFY_CONTROLLER_DATA_18, + pub HMMINDS: u32, + pub HMMAXD: u16, + pub NSETIDMAX: u16, + pub ENDGIDMAX: u16, + pub ANATT: u8, + pub ANACAP: NVME_IDENTIFY_CONTROLLER_DATA_0, + pub ANAGRPMAX: u32, + pub NANAGRPID: u32, + pub PELS: u32, + pub Reserved1: [u8; 156], + pub SQES: NVME_IDENTIFY_CONTROLLER_DATA_20, + pub CQES: NVME_IDENTIFY_CONTROLLER_DATA_4, + pub MAXCMD: u16, + pub NN: u32, + pub ONCS: NVME_IDENTIFY_CONTROLLER_DATA_15, + pub FUSES: NVME_IDENTIFY_CONTROLLER_DATA_8, + pub FNA: NVME_IDENTIFY_CONTROLLER_DATA_6, + pub VWC: NVME_IDENTIFY_CONTROLLER_DATA_21, + pub AWUN: u16, + pub AWUPF: u16, + pub NVSCC: NVME_IDENTIFY_CONTROLLER_DATA_11, + pub NWPC: NVME_IDENTIFY_CONTROLLER_DATA_12, + pub ACWU: u16, + pub Reserved4: [u8; 2], + pub SGLS: NVME_IDENTIFY_CONTROLLER_DATA_19, + pub MNAN: u32, + pub Reserved6: [u8; 224], + pub SUBNQN: [u8; 256], + pub Reserved7: [u8; 768], + pub Reserved8: [u8; 256], + pub PDS: [NVME_POWER_STATE_DESC; 32], + pub VS: [u8; 1024], +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA") + .field("VID", &self.VID) + .field("SSVID", &self.SSVID) + .field("SN", &self.SN) + .field("MN", &self.MN) + .field("FR", &self.FR) + .field("RAB", &self.RAB) + .field("IEEE", &self.IEEE) + .field("CMIC", &self.CMIC) + .field("MDTS", &self.MDTS) + .field("CNTLID", &self.CNTLID) + .field("VER", &self.VER) + .field("RTD3R", &self.RTD3R) + .field("RTD3E", &self.RTD3E) + .field("OAES", &self.OAES) + .field("CTRATT", &self.CTRATT) + .field("RRLS", &self.RRLS) + .field("Reserved0", &self.Reserved0) + .field("CNTRLTYPE", &self.CNTRLTYPE) + .field("FGUID", &self.FGUID) + .field("CRDT1", &self.CRDT1) + .field("CRDT2", &self.CRDT2) + .field("CRDT3", &self.CRDT3) + .field("Reserved0_1", &self.Reserved0_1) + .field("ReservedForManagement", &self.ReservedForManagement) + .field("OACS", &self.OACS) + .field("ACL", &self.ACL) + .field("AERL", &self.AERL) + .field("FRMW", &self.FRMW) + .field("LPA", &self.LPA) + .field("ELPE", &self.ELPE) + .field("NPSS", &self.NPSS) + .field("AVSCC", &self.AVSCC) + .field("APSTA", &self.APSTA) + .field("WCTEMP", &self.WCTEMP) + .field("CCTEMP", &self.CCTEMP) + .field("MTFA", &self.MTFA) + .field("HMPRE", &self.HMPRE) + .field("HMMIN", &self.HMMIN) + .field("TNVMCAP", &self.TNVMCAP) + .field("UNVMCAP", &self.UNVMCAP) + .field("RPMBS", &self.RPMBS) + .field("EDSTT", &self.EDSTT) + .field("DSTO", &self.DSTO) + .field("FWUG", &self.FWUG) + .field("KAS", &self.KAS) + .field("HCTMA", &self.HCTMA) + .field("MNTMT", &self.MNTMT) + .field("MXTMT", &self.MXTMT) + .field("SANICAP", &self.SANICAP) + .field("HMMINDS", &self.HMMINDS) + .field("HMMAXD", &self.HMMAXD) + .field("NSETIDMAX", &self.NSETIDMAX) + .field("ENDGIDMAX", &self.ENDGIDMAX) + .field("ANATT", &self.ANATT) + .field("ANACAP", &self.ANACAP) + .field("ANAGRPMAX", &self.ANAGRPMAX) + .field("NANAGRPID", &self.NANAGRPID) + .field("PELS", &self.PELS) + .field("Reserved1", &self.Reserved1) + .field("SQES", &self.SQES) + .field("CQES", &self.CQES) + .field("MAXCMD", &self.MAXCMD) + .field("NN", &self.NN) + .field("ONCS", &self.ONCS) + .field("FUSES", &self.FUSES) + .field("FNA", &self.FNA) + .field("VWC", &self.VWC) + .field("AWUN", &self.AWUN) + .field("AWUPF", &self.AWUPF) + .field("NVSCC", &self.NVSCC) + .field("NWPC", &self.NWPC) + .field("ACWU", &self.ACWU) + .field("Reserved4", &self.Reserved4) + .field("SGLS", &self.SGLS) + .field("MNAN", &self.MNAN) + .field("Reserved6", &self.Reserved6) + .field("SUBNQN", &self.SUBNQN) + .field("Reserved7", &self.Reserved7) + .field("Reserved8", &self.Reserved8) + .field("PDS", &self.PDS) + .field("VS", &self.VS) + .finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA { + fn eq(&self, other: &Self) -> bool { + self.VID == other.VID + && self.SSVID == other.SSVID + && self.SN == other.SN + && self.MN == other.MN + && self.FR == other.FR + && self.RAB == other.RAB + && self.IEEE == other.IEEE + && self.CMIC == other.CMIC + && self.MDTS == other.MDTS + && self.CNTLID == other.CNTLID + && self.VER == other.VER + && self.RTD3R == other.RTD3R + && self.RTD3E == other.RTD3E + && self.OAES == other.OAES + && self.CTRATT == other.CTRATT + && self.RRLS == other.RRLS + && self.Reserved0 == other.Reserved0 + && self.CNTRLTYPE == other.CNTRLTYPE + && self.FGUID == other.FGUID + && self.CRDT1 == other.CRDT1 + && self.CRDT2 == other.CRDT2 + && self.CRDT3 == other.CRDT3 + && self.Reserved0_1 == other.Reserved0_1 + && self.ReservedForManagement == other.ReservedForManagement + && self.OACS == other.OACS + && self.ACL == other.ACL + && self.AERL == other.AERL + && self.FRMW == other.FRMW + && self.LPA == other.LPA + && self.ELPE == other.ELPE + && self.NPSS == other.NPSS + && self.AVSCC == other.AVSCC + && self.APSTA == other.APSTA + && self.WCTEMP == other.WCTEMP + && self.CCTEMP == other.CCTEMP + && self.MTFA == other.MTFA + && self.HMPRE == other.HMPRE + && self.HMMIN == other.HMMIN + && self.TNVMCAP == other.TNVMCAP + && self.UNVMCAP == other.UNVMCAP + && self.RPMBS == other.RPMBS + && self.EDSTT == other.EDSTT + && self.DSTO == other.DSTO + && self.FWUG == other.FWUG + && self.KAS == other.KAS + && self.HCTMA == other.HCTMA + && self.MNTMT == other.MNTMT + && self.MXTMT == other.MXTMT + && self.SANICAP == other.SANICAP + && self.HMMINDS == other.HMMINDS + && self.HMMAXD == other.HMMAXD + && self.NSETIDMAX == other.NSETIDMAX + && self.ENDGIDMAX == other.ENDGIDMAX + && self.ANATT == other.ANATT + && self.ANACAP == other.ANACAP + && self.ANAGRPMAX == other.ANAGRPMAX + && self.NANAGRPID == other.NANAGRPID + && self.PELS == other.PELS + && self.Reserved1 == other.Reserved1 + && self.SQES == other.SQES + && self.CQES == other.CQES + && self.MAXCMD == other.MAXCMD + && self.NN == other.NN + && self.ONCS == other.ONCS + && self.FUSES == other.FUSES + && self.FNA == other.FNA + && self.VWC == other.VWC + && self.AWUN == other.AWUN + && self.AWUPF == other.AWUPF + && self.NVSCC == other.NVSCC + && self.NWPC == other.NWPC + && self.ACWU == other.ACWU + && self.Reserved4 == other.Reserved4 + && self.SGLS == other.SGLS + && self.MNAN == other.MNAN + && self.Reserved6 == other.Reserved6 + && self.SUBNQN == other.SUBNQN + && self.Reserved7 == other.Reserved7 + && self.Reserved8 == other.Reserved8 + && self.PDS == other.PDS + && self.VS == other.VS + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_0 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_1 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_2 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_2").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_2 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_2 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_3 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_3 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_3").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_3 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_3 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_4 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_4 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_4 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_4").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_4 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_4 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_5 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_5 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_5 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_5 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_5").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_5 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_5 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_5 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_5 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_6 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_6 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_6 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_6 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_6").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_6 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_6 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_6 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_6 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_7 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_7 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_7 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_7 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_7").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_7 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_7 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_7 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_7 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_8 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_8 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_8 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_8 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_8").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_8 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_8 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_8 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_8 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_9 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_9 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_9 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_9 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_9").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_9 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_9 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_9 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_9 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_10 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_10 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_10 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_10 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_10").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_10 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_10 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_10 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_10 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_11 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_11 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_11 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_11 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_11").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_11 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_11 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_11 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_11 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_12 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_12 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_12 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_12 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_12").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_12 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_12 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_12 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_12 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_13 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_13 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_13 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_13 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_13").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_13 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_13 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_13 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_13 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_14 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_14 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_14 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_14 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_14").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_14 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_14 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_14 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_14 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_15 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_15 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_15 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_15 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_15").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_15 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_15 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_15 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_15 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_16 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_16 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_16 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_16 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_16").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_16 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_16 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_16 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_16 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_17 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_17 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_17 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_17 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_17").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_17 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_17 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_17 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_17 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_18 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_18 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_18 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_18 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_18").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_18 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_18 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_18 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_18 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_19 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_19 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_19 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_19 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_19").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_19 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_19 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_19 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_19 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_20 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_20 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_20 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_20 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_20").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_20 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_20 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_20 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_20 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_CONTROLLER_DATA_21 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_CONTROLLER_DATA_21 {} +impl ::core::clone::Clone for NVME_IDENTIFY_CONTROLLER_DATA_21 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_CONTROLLER_DATA_21 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_CONTROLLER_DATA_21").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_CONTROLLER_DATA_21 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_CONTROLLER_DATA_21 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_CONTROLLER_DATA_21 {} +impl ::core::default::Default for NVME_IDENTIFY_CONTROLLER_DATA_21 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_IO_COMMAND_SET { + pub IOCommandSetVector: [u64; 512], +} +impl ::core::marker::Copy for NVME_IDENTIFY_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_IO_COMMAND_SET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_IO_COMMAND_SET").field("IOCommandSetVector", &self.IOCommandSetVector).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_IO_COMMAND_SET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_IO_COMMAND_SET { + fn eq(&self, other: &Self) -> bool { + self.IOCommandSetVector == other.IOCommandSetVector + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_IO_COMMAND_SET {} +impl ::core::default::Default for NVME_IDENTIFY_IO_COMMAND_SET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA { + pub NSZE: u64, + pub NCAP: u64, + pub NUSE: u64, + pub NSFEAT: NVME_IDENTIFY_NAMESPACE_DATA_8, + pub NLBAF: u8, + pub FLBAS: NVME_IDENTIFY_NAMESPACE_DATA_3, + pub MC: NVME_IDENTIFY_NAMESPACE_DATA_5, + pub DPC: NVME_IDENTIFY_NAMESPACE_DATA_1, + pub DPS: NVME_IDENTIFY_NAMESPACE_DATA_2, + pub NMIC: NVME_IDENTIFY_NAMESPACE_DATA_6, + pub RESCAP: NVM_RESERVATION_CAPABILITIES, + pub FPI: NVME_IDENTIFY_NAMESPACE_DATA_4, + pub DLFEAT: NVME_IDENTIFY_NAMESPACE_DATA_0, + pub NAWUN: u16, + pub NAWUPF: u16, + pub NACWU: u16, + pub NABSN: u16, + pub NABO: u16, + pub NABSPF: u16, + pub NOIOB: u16, + pub NVMCAP: [u8; 16], + pub NPWG: u16, + pub NPWA: u16, + pub NPDG: u16, + pub NPDA: u16, + pub NOWS: u16, + pub MSSRL: u16, + pub MCL: u32, + pub MSRC: u8, + pub Reserved2: [u8; 11], + pub ANAGRPID: u32, + pub Reserved3: [u8; 3], + pub NSATTR: NVME_IDENTIFY_NAMESPACE_DATA_7, + pub NVMSETID: u16, + pub ENDGID: u16, + pub NGUID: [u8; 16], + pub EUI64: [u8; 8], + pub LBAF: [NVME_LBA_FORMAT; 16], + pub Reserved4: [u8; 192], + pub VS: [u8; 3712], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_0 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_1 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_2 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_2").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_2 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_2 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_3 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_3 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_3").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_3 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_3 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_4 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_4 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_4 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_4").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_4 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_4 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_5 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_5 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_5 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_5 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_5").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_5 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_5 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_5 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_5 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_6 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_6 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_6 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_6 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_6").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_6 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_6 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_6 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_6 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_7 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_7 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_7 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_7 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_7").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_7 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_7 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_7 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_7 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DATA_8 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DATA_8 {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DATA_8 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DATA_8 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DATA_8").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DATA_8 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DATA_8 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DATA_8 {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DATA_8 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + pub NIDT: u8, + pub NIDL: u8, + pub Reserved: [u8; 2], + pub NID: [u8; 1], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NAMESPACE_DESCRIPTOR").field("NIDT", &self.NIDT).field("NIDL", &self.NIDL).field("Reserved", &self.Reserved).field("NID", &self.NID).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self.NIDT == other.NIDT && self.NIDL == other.NIDL && self.Reserved == other.Reserved && self.NID == other.NID + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR {} +impl ::core::default::Default for NVME_IDENTIFY_NAMESPACE_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + pub VSL: u8, + pub WZSL: u8, + pub WUSL: u8, + pub DMRL: u8, + pub DMRSL: u32, + pub DMSL: u64, + pub Reserved: [u8; 4080], +} +impl ::core::marker::Copy for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET").field("VSL", &self.VSL).field("WZSL", &self.WZSL).field("WUSL", &self.WUSL).field("DMRL", &self.DMRL).field("DMRSL", &self.DMRSL).field("DMSL", &self.DMSL).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn eq(&self, other: &Self) -> bool { + self.VSL == other.VSL && self.WZSL == other.WZSL && self.WUSL == other.WUSL && self.DMRL == other.DMRL && self.DMRSL == other.DMRSL && self.DMSL == other.DMSL && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::default::Default for NVME_IDENTIFY_NVM_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + pub ZOC: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1, + pub OZCS: NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0, + pub MAR: u32, + pub MOR: u32, + pub RRL: u32, + pub FRL: u32, + pub Reserved0: [u8; 2796], + pub LBAEF: [NVME_LBA_ZONE_FORMAT; 16], + pub Reserved1: [u8; 768], + pub VS: [u8; 256], +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET").field("ZOC", &self.ZOC).field("OZCS", &self.OZCS).field("MAR", &self.MAR).field("MOR", &self.MOR).field("RRL", &self.RRL).field("FRL", &self.FRL).field("Reserved0", &self.Reserved0).field("LBAEF", &self.LBAEF).field("Reserved1", &self.Reserved1).field("VS", &self.VS).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + fn eq(&self, other: &Self) -> bool { + self.ZOC == other.ZOC && self.OZCS == other.OZCS && self.MAR == other.MAR && self.MOR == other.MOR && self.RRL == other.RRL && self.FRL == other.FRL && self.Reserved0 == other.Reserved0 && self.LBAEF == other.LBAEF && self.Reserved1 == other.Reserved1 && self.VS == other.VS + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET {} +impl ::core::default::Default for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 {} +impl ::core::default::Default for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 {} +impl ::core::clone::Clone for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 {} +impl ::core::default::Default for NVME_IDENTIFY_SPECIFIC_NAMESPACE_IO_COMMAND_SET_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + pub ZASL: u8, + pub Reserved: [u8; 4095], +} +impl ::core::marker::Copy for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::clone::Clone for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET").field("ZASL", &self.ZASL).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn eq(&self, other: &Self) -> bool { + self.ZASL == other.ZASL && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET {} +impl ::core::default::Default for NVME_IDENTIFY_ZNS_SPECIFIC_CONTROLLER_IO_COMMAND_SET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_LBA_FORMAT { + pub Anonymous: NVME_LBA_FORMAT_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_LBA_FORMAT {} +impl ::core::clone::Clone for NVME_LBA_FORMAT { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_LBA_FORMAT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_LBA_FORMAT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_FORMAT_0 { + pub MS: u16, + pub LBADS: u8, + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_LBA_FORMAT_0 {} +impl ::core::clone::Clone for NVME_LBA_FORMAT_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_LBA_FORMAT_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_LBA_FORMAT_0").field("MS", &self.MS).field("LBADS", &self.LBADS).field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_LBA_FORMAT_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_LBA_FORMAT_0 { + fn eq(&self, other: &Self) -> bool { + self.MS == other.MS && self.LBADS == other.LBADS && self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_LBA_FORMAT_0 {} +impl ::core::default::Default for NVME_LBA_FORMAT_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGE { + pub Attributes: NVME_CONTEXT_ATTRIBUTES, + pub LogicalBlockCount: u32, + pub StartingLBA: u64, +} +impl ::core::marker::Copy for NVME_LBA_RANGE {} +impl ::core::clone::Clone for NVME_LBA_RANGE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_LBA_RANGE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_LBA_RANGE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGET_TYPE_ENTRY { + pub Type: u8, + pub Attributes: NVME_LBA_RANGET_TYPE_ENTRY_0, + pub Reserved0: [u8; 14], + pub SLBA: u64, + pub NLB: u64, + pub GUID: [u8; 16], + pub Reserved1: [u8; 16], +} +impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY {} +impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_LBA_RANGET_TYPE_ENTRY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_LBA_RANGET_TYPE_ENTRY").field("Type", &self.Type).field("Attributes", &self.Attributes).field("Reserved0", &self.Reserved0).field("SLBA", &self.SLBA).field("NLB", &self.NLB).field("GUID", &self.GUID).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_LBA_RANGET_TYPE_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_LBA_RANGET_TYPE_ENTRY { + fn eq(&self, other: &Self) -> bool { + self.Type == other.Type && self.Attributes == other.Attributes && self.Reserved0 == other.Reserved0 && self.SLBA == other.SLBA && self.NLB == other.NLB && self.GUID == other.GUID && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_LBA_RANGET_TYPE_ENTRY {} +impl ::core::default::Default for NVME_LBA_RANGET_TYPE_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_RANGET_TYPE_ENTRY_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_LBA_RANGET_TYPE_ENTRY_0 {} +impl ::core::clone::Clone for NVME_LBA_RANGET_TYPE_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_LBA_RANGET_TYPE_ENTRY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_LBA_RANGET_TYPE_ENTRY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_LBA_RANGET_TYPE_ENTRY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_LBA_RANGET_TYPE_ENTRY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_LBA_RANGET_TYPE_ENTRY_0 {} +impl ::core::default::Default for NVME_LBA_RANGET_TYPE_ENTRY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_LBA_ZONE_FORMAT { + pub ZoneSize: u64, + pub ZDES: u8, + pub Reserved: [u8; 7], +} +impl ::core::marker::Copy for NVME_LBA_ZONE_FORMAT {} +impl ::core::clone::Clone for NVME_LBA_ZONE_FORMAT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_LBA_ZONE_FORMAT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_LBA_ZONE_FORMAT").field("ZoneSize", &self.ZoneSize).field("ZDES", &self.ZDES).field("Reserved", &self.Reserved).finish() + } +} +impl ::windows_core::TypeKind for NVME_LBA_ZONE_FORMAT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_LBA_ZONE_FORMAT { + fn eq(&self, other: &Self) -> bool { + self.ZoneSize == other.ZoneSize && self.ZDES == other.ZDES && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_LBA_ZONE_FORMAT {} +impl ::core::default::Default for NVME_LBA_ZONE_FORMAT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_NVM_SUBSYSTEM_RESET { + pub NSSRC: u32, +} +impl ::core::marker::Copy for NVME_NVM_SUBSYSTEM_RESET {} +impl ::core::clone::Clone for NVME_NVM_SUBSYSTEM_RESET { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_NVM_SUBSYSTEM_RESET { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_NVM_SUBSYSTEM_RESET").field("NSSRC", &self.NSSRC).finish() + } +} +impl ::windows_core::TypeKind for NVME_NVM_SUBSYSTEM_RESET { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_NVM_SUBSYSTEM_RESET { + fn eq(&self, other: &Self) -> bool { + self.NSSRC == other.NSSRC + } +} +impl ::core::cmp::Eq for NVME_NVM_SUBSYSTEM_RESET {} +impl ::core::default::Default for NVME_NVM_SUBSYSTEM_RESET { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG { + pub PciePorts: u16, + pub OobMgmtSupport: NVME_OCP_DEVICE_CAPABILITIES_LOG_2, + pub WriteZeroesCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_5, + pub SanitizeCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_3, + pub DatasetMgmtCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_0, + pub WriteUncorrectableCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_4, + pub FusedCommand: NVME_OCP_DEVICE_CAPABILITIES_LOG_1, + pub MinimumValidDSSDPowerState: u16, + pub Reserved0: u8, + pub DssdDescriptors: [DSSD_POWER_STATE_DESCRIPTOR; 127], + pub Reserved1: [u8; 3934], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_1_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_2_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_3_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_4_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + pub Anonymous: NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0, + pub AsUshort: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_5 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_CAPABILITIES_LOG_5_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + pub PanicResetWaitTime: u16, + pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, + pub DeviceRecoveryAction1: u8, + pub PanicId: u64, + pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, + pub VendorSpecificRecoveryCode: u8, + pub Reserved0: [u8; 3], + pub VendorSpecificCommandCDW12: u32, + pub VendorSpecificCommandCDW13: u32, + pub VendorSpecificCommandTimeout: u8, + pub DeviceRecoveryAction2: u8, + pub DeviceRecoveryAction2Timeout: u8, + pub Reserved1: [u8; 463], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_ERROR_RECOVERY_LOG_V2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + pub LID: u8, + pub Reserved0: [u8; 3], + pub ValidNumberOfEntries: u32, + pub Entries: [FIRMWARE_ACTIVATION_HISTORY_ENTRY; 20], + pub Reserved1: [u8; 2790], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_FIRMWARE_ACTIVATION_HISTORY_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + pub FeatureStatus: LATENCY_MONITOR_FEATURE_STATUS, + pub Reserved0: u8, + pub ActiveBucketTimer: u16, + pub ActiveBucketTimerThreshold: u16, + pub ActiveThresholdA: u8, + pub ActiveThresholdB: u8, + pub ActiveThresholdC: u8, + pub ActiveThresholdD: u8, + pub ActiveLatencyConfig: ACTIVE_LATENCY_CONFIGURATION, + pub ActiveLatencyMinimumWindow: u8, + pub Reserved1: [u8; 19], + pub ActiveBucketCounter0: BUCKET_COUNTER, + pub ActiveBucketCounter1: BUCKET_COUNTER, + pub ActiveBucketCounter2: BUCKET_COUNTER, + pub ActiveBucketCounter3: BUCKET_COUNTER, + pub ActiveLatencyStamp: LATENCY_STAMP, + pub ActiveMeasuredLatency: MEASURED_LATENCY, + pub ActiveLatencyStampUnits: LATENCY_STAMP_UNITS, + pub Reserved2: [u8; 22], + pub StaticBucketCounter0: BUCKET_COUNTER, + pub StaticBucketCounter1: BUCKET_COUNTER, + pub StaticBucketCounter2: BUCKET_COUNTER, + pub StaticBucketCounter3: BUCKET_COUNTER, + pub StaticLatencyStamp: LATENCY_STAMP, + pub StaticMeasuredLatency: MEASURED_LATENCY, + pub StaticLatencyStampUnits: LATENCY_STAMP_UNITS, + pub Reserved3: [u8; 22], + pub DebugLogTriggerEnable: DEBUG_BIT_FIELD, + pub DebugLogMeasuredLatency: u16, + pub DebugLogLatencyStamp: u64, + pub DebugLogPointer: u16, + pub DebugCounterTriggerSource: DEBUG_BIT_FIELD, + pub DebugLogStampUnits: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0, + pub Reserved4: [u8; 29], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 {} +impl ::core::default::Default for NVME_OCP_DEVICE_LATENCY_MONITOR_LOG_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + pub MediaUnitsWritten: [u8; 16], + pub MediaUnitsRead: [u8; 16], + pub BadUserNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1, + pub BadSystemNANDBlockCount: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0, + pub XORRecoveryCount: u64, + pub UnrecoverableReadErrorCount: u64, + pub SoftECCErrorCount: u64, + pub EndToEndCorrectionCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2, + pub PercentageSystemDataUsed: u8, + pub RefreshCount: [u8; 7], + pub UserDataEraseCounts: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4, + pub ThermalThrottling: NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3, + pub DSSDSpecVersion: [u8; 6], + pub PCIeCorrectableErrorCount: u64, + pub IncompleteShutdownCount: u32, + pub Reserved1: u32, + pub PercentageFreeBlocks: u8, + pub Reserved2: [u8; 7], + pub CapacitorHealth: u16, + pub NvmeErrata: u8, + pub Reserved3: [u8; 5], + pub UnalignedIOCount: u64, + pub SecurityVersionNumber: u64, + pub NUSE: u64, + pub PLPStartCount: [u8; 16], + pub EnduranceEstimate: [u8; 16], + pub PCIeLinkRetrainingCount: u64, + pub PowerStateChangeCount: u64, + pub Reserved4: [u8; 286], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0").field("RawCount", &self.RawCount).field("Normalized", &self.Normalized).finish() + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + fn eq(&self, other: &Self) -> bool { + self.RawCount == other.RawCount && self.Normalized == other.Normalized + } +} +impl ::core::cmp::Eq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 {} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1").field("RawCount", &self.RawCount).field("Normalized", &self.Normalized).finish() + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + fn eq(&self, other: &Self) -> bool { + self.RawCount == other.RawCount && self.Normalized == other.Normalized + } +} +impl ::core::cmp::Eq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 {} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + pub DetectedCounts: u32, + pub CorrectedCounts: u32, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + pub EventCount: u8, + pub Status: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3").field("EventCount", &self.EventCount).field("Status", &self.Status).finish() + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + fn eq(&self, other: &Self) -> bool { + self.EventCount == other.EventCount && self.Status == other.Status + } +} +impl ::core::cmp::Eq for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 {} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + pub MaximumCount: u32, + pub MinimumCount: u32, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_SMART_INFORMATION_LOG_V3_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + pub State: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0, + pub Reserved0: [u8; 3], + pub LSPActivationCount: u8, + pub TPRevertCount: u8, + pub LSPRevertCount: u8, + pub LOCount: u8, + pub SUMLOCount: u8, + pub RPLOCount: u8, + pub NPLOCount: u8, + pub RLLOCount: u8, + pub WLLOCount: u8, + pub RULOCount: u8, + pub WULOCount: u8, + pub Reserved1: u8, + pub SIDAuthTryCount: u32, + pub SIDAuthTryLimit: u32, + pub ResetCount: u32, + pub ResetLockCount: u32, + pub Reserved2: [u8; 462], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + pub Anonymous: NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 {} +impl ::core::default::Default for NVME_OCP_DEVICE_TCG_CONFIGURATION_LOG_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_TCG_HISTORY_LOG { + pub LID: u8, + pub Reserved0: [u8; 3], + pub HistoryEntryCount: u32, + pub HistoryEntries: [TCG_HISTORY_ENTRY; 84], + pub Reserved1: [u8; 38], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_TCG_HISTORY_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_TCG_HISTORY_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_TCG_HISTORY_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_TCG_HISTORY_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + pub UnsupportedCount: u16, + pub Reserved0: [u8; 14], + pub UnsupportedReqList: [UNSUPPORTED_REQUIREMENT; 253], + pub Reserved1: [u8; 14], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG {} +impl ::core::clone::Clone for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_OCP_DEVICE_UNSUPPORTED_REQUIREMENTS_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + pub EventType: u8, + pub EventTypeRevision: u8, + pub EventHeaderLength: u8, + pub Reserved0: u8, + pub ControllerIdentifier: u16, + pub EventTimestamp: u64, + pub Reserved1: [u8; 6], + pub VendorSpecificInformationLength: u16, + pub EventLength: u16, +} +impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER {} +impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_PERSISTENT_EVENT_LOG_EVENT_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PERSISTENT_EVENT_LOG_HEADER { + pub LogIdentifier: u8, + pub Reserved0: [u8; 3], + pub TotalNumberOfEvents: u32, + pub TotalLogLength: u64, + pub LogRevision: u8, + pub Reserved1: u8, + pub LogHeaderLength: u16, + pub Timestamp: u64, + pub PowerOnHours: [u8; 16], + pub PowerCycleCount: u64, + pub PciVendorId: u16, + pub PciSubsystemVendorId: u16, + pub SerialNumber: [u8; 20], + pub ModelNumber: [u8; 40], + pub NVMSubsystemNVMeQualifiedName: [u8; 256], + pub Reserved: [u8; 108], + pub SupportedEventsBitmap: [u8; 32], +} +impl ::core::marker::Copy for NVME_PERSISTENT_EVENT_LOG_HEADER {} +impl ::core::clone::Clone for NVME_PERSISTENT_EVENT_LOG_HEADER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_PERSISTENT_EVENT_LOG_HEADER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_PERSISTENT_EVENT_LOG_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_POWER_STATE_DESC { + pub MP: u16, + pub Reserved0: u8, + pub _bitfield1: u8, + pub ENLAT: u32, + pub EXLAT: u32, + pub _bitfield2: u8, + pub _bitfield3: u8, + pub _bitfield4: u8, + pub _bitfield5: u8, + pub IDLP: u16, + pub _bitfield6: u8, + pub Reserved7: u8, + pub ACTP: u16, + pub _bitfield7: u8, + pub Reserved9: [u8; 9], +} +impl ::core::marker::Copy for NVME_POWER_STATE_DESC {} +impl ::core::clone::Clone for NVME_POWER_STATE_DESC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_POWER_STATE_DESC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_POWER_STATE_DESC") + .field("MP", &self.MP) + .field("Reserved0", &self.Reserved0) + .field("_bitfield1", &self._bitfield1) + .field("ENLAT", &self.ENLAT) + .field("EXLAT", &self.EXLAT) + .field("_bitfield2", &self._bitfield2) + .field("_bitfield3", &self._bitfield3) + .field("_bitfield4", &self._bitfield4) + .field("_bitfield5", &self._bitfield5) + .field("IDLP", &self.IDLP) + .field("_bitfield6", &self._bitfield6) + .field("Reserved7", &self.Reserved7) + .field("ACTP", &self.ACTP) + .field("_bitfield7", &self._bitfield7) + .field("Reserved9", &self.Reserved9) + .finish() + } +} +impl ::windows_core::TypeKind for NVME_POWER_STATE_DESC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_POWER_STATE_DESC { + fn eq(&self, other: &Self) -> bool { + self.MP == other.MP && self.Reserved0 == other.Reserved0 && self._bitfield1 == other._bitfield1 && self.ENLAT == other.ENLAT && self.EXLAT == other.EXLAT && self._bitfield2 == other._bitfield2 && self._bitfield3 == other._bitfield3 && self._bitfield4 == other._bitfield4 && self._bitfield5 == other._bitfield5 && self.IDLP == other.IDLP && self._bitfield6 == other._bitfield6 && self.Reserved7 == other.Reserved7 && self.ACTP == other.ACTP && self._bitfield7 == other._bitfield7 && self.Reserved9 == other.Reserved9 + } +} +impl ::core::cmp::Eq for NVME_POWER_STATE_DESC {} +impl ::core::default::Default for NVME_POWER_STATE_DESC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_PRP_ENTRY { + pub Anonymous: NVME_PRP_ENTRY_0, + pub AsUlonglong: u64, +} +impl ::core::marker::Copy for NVME_PRP_ENTRY {} +impl ::core::clone::Clone for NVME_PRP_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_PRP_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_PRP_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_PRP_ENTRY_0 { + pub _bitfield: u64, +} +impl ::core::marker::Copy for NVME_PRP_ENTRY_0 {} +impl ::core::clone::Clone for NVME_PRP_ENTRY_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_PRP_ENTRY_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_PRP_ENTRY_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_PRP_ENTRY_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_PRP_ENTRY_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_PRP_ENTRY_0 {} +impl ::core::default::Default for NVME_PRP_ENTRY_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_DATA { + pub CNTLID: u16, + pub RCSTS: NVME_REGISTERED_CONTROLLER_DATA_0, + pub Reserved: [u8; 5], + pub HOSTID: [u8; 8], + pub RKEY: u64, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_REGISTERED_CONTROLLER_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_REGISTERED_CONTROLLER_DATA").field("CNTLID", &self.CNTLID).field("RCSTS", &self.RCSTS).field("Reserved", &self.Reserved).field("HOSTID", &self.HOSTID).field("RKEY", &self.RKEY).finish() + } +} +impl ::windows_core::TypeKind for NVME_REGISTERED_CONTROLLER_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_REGISTERED_CONTROLLER_DATA { + fn eq(&self, other: &Self) -> bool { + self.CNTLID == other.CNTLID && self.RCSTS == other.RCSTS && self.Reserved == other.Reserved && self.HOSTID == other.HOSTID && self.RKEY == other.RKEY + } +} +impl ::core::cmp::Eq for NVME_REGISTERED_CONTROLLER_DATA {} +impl ::core::default::Default for NVME_REGISTERED_CONTROLLER_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_DATA_0 {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_REGISTERED_CONTROLLER_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_REGISTERED_CONTROLLER_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_REGISTERED_CONTROLLER_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_REGISTERED_CONTROLLER_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_REGISTERED_CONTROLLER_DATA_0 {} +impl ::core::default::Default for NVME_REGISTERED_CONTROLLER_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + pub CNTLID: u16, + pub RCSTS: NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0, + pub Reserved: [u8; 5], + pub RKEY: u64, + pub HOSTID: [u8; 16], + pub Reserved1: [u8; 32], +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_REGISTERED_CONTROLLER_EXTENDED_DATA").field("CNTLID", &self.CNTLID).field("RCSTS", &self.RCSTS).field("Reserved", &self.Reserved).field("RKEY", &self.RKEY).field("HOSTID", &self.HOSTID).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + fn eq(&self, other: &Self) -> bool { + self.CNTLID == other.CNTLID && self.RCSTS == other.RCSTS && self.Reserved == other.Reserved && self.RKEY == other.RKEY && self.HOSTID == other.HOSTID && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA {} +impl ::core::default::Default for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 {} +impl ::core::clone::Clone for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 {} +impl ::core::default::Default for NVME_REGISTERED_CONTROLLER_EXTENDED_DATA_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_REPORT_ZONE_INFO { + pub ZoneCount: u64, + pub Reserved: [u64; 7], + pub ZoneDescriptor: [NVME_ZONE_DESCRIPTOR; 1], +} +impl ::core::marker::Copy for NVME_REPORT_ZONE_INFO {} +impl ::core::clone::Clone for NVME_REPORT_ZONE_INFO { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_REPORT_ZONE_INFO { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_REPORT_ZONE_INFO").field("ZoneCount", &self.ZoneCount).field("Reserved", &self.Reserved).field("ZoneDescriptor", &self.ZoneDescriptor).finish() + } +} +impl ::windows_core::TypeKind for NVME_REPORT_ZONE_INFO { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_REPORT_ZONE_INFO { + fn eq(&self, other: &Self) -> bool { + self.ZoneCount == other.ZoneCount && self.Reserved == other.Reserved && self.ZoneDescriptor == other.ZoneDescriptor + } +} +impl ::core::cmp::Eq for NVME_REPORT_ZONE_INFO {} +impl ::core::default::Default for NVME_REPORT_ZONE_INFO { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + pub CRKEY: u64, + pub PRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE").field("CRKEY", &self.CRKEY).field("PRKEY", &self.PRKEY).finish() + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + fn eq(&self, other: &Self) -> bool { + self.CRKEY == other.CRKEY && self.PRKEY == other.PRKEY + } +} +impl ::core::cmp::Eq for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE {} +impl ::core::default::Default for NVME_RESERVATION_ACQUIRE_DATA_STRUCTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_NOTIFICATION_LOG { + pub LogPageCount: u64, + pub LogPageType: u8, + pub AvailableLogPageCount: u8, + pub Reserved0: [u8; 2], + pub NameSpaceId: u32, + pub Reserved1: [u8; 48], +} +impl ::core::marker::Copy for NVME_RESERVATION_NOTIFICATION_LOG {} +impl ::core::clone::Clone for NVME_RESERVATION_NOTIFICATION_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_RESERVATION_NOTIFICATION_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_RESERVATION_NOTIFICATION_LOG").field("LogPageCount", &self.LogPageCount).field("LogPageType", &self.LogPageType).field("AvailableLogPageCount", &self.AvailableLogPageCount).field("Reserved0", &self.Reserved0).field("NameSpaceId", &self.NameSpaceId).field("Reserved1", &self.Reserved1).finish() + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_NOTIFICATION_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_RESERVATION_NOTIFICATION_LOG { + fn eq(&self, other: &Self) -> bool { + self.LogPageCount == other.LogPageCount && self.LogPageType == other.LogPageType && self.AvailableLogPageCount == other.AvailableLogPageCount && self.Reserved0 == other.Reserved0 && self.NameSpaceId == other.NameSpaceId && self.Reserved1 == other.Reserved1 + } +} +impl ::core::cmp::Eq for NVME_RESERVATION_NOTIFICATION_LOG {} +impl ::core::default::Default for NVME_RESERVATION_NOTIFICATION_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + pub CRKEY: u64, + pub NRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_REGISTER_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_RESERVATION_REGISTER_DATA_STRUCTURE").field("CRKEY", &self.CRKEY).field("NRKEY", &self.NRKEY).finish() + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + fn eq(&self, other: &Self) -> bool { + self.CRKEY == other.CRKEY && self.NRKEY == other.NRKEY + } +} +impl ::core::cmp::Eq for NVME_RESERVATION_REGISTER_DATA_STRUCTURE {} +impl ::core::default::Default for NVME_RESERVATION_REGISTER_DATA_STRUCTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + pub CRKEY: u64, +} +impl ::core::marker::Copy for NVME_RESERVATION_RELEASE_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_RESERVATION_RELEASE_DATA_STRUCTURE").field("CRKEY", &self.CRKEY).finish() + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + fn eq(&self, other: &Self) -> bool { + self.CRKEY == other.CRKEY + } +} +impl ::core::cmp::Eq for NVME_RESERVATION_RELEASE_DATA_STRUCTURE {} +impl ::core::default::Default for NVME_RESERVATION_RELEASE_DATA_STRUCTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, + pub RegisteredControllersData: [NVME_REGISTERED_CONTROLLER_DATA; 1], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_RESERVATION_REPORT_STATUS_DATA_STRUCTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + pub Header: NVME_RESERVATION_REPORT_STATUS_HEADER, + pub Reserved1: [u8; 40], + pub RegisteredControllersExtendedData: [NVME_REGISTERED_CONTROLLER_EXTENDED_DATA; 1], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_RESERVATION_REPORT_STATUS_EXTENDED_DATA_STRUCTURE { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_RESERVATION_REPORT_STATUS_HEADER { + pub GEN: u32, + pub RTYPE: u8, + pub REGCTL: u16, + pub Reserved: [u8; 2], + pub PTPLS: u8, + pub Reserved1: [u8; 14], +} +impl ::core::marker::Copy for NVME_RESERVATION_REPORT_STATUS_HEADER {} +impl ::core::clone::Clone for NVME_RESERVATION_REPORT_STATUS_HEADER { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_RESERVATION_REPORT_STATUS_HEADER { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_RESERVATION_REPORT_STATUS_HEADER { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SANITIZE_STATUS { + pub _bitfield: u16, +} +impl ::core::marker::Copy for NVME_SANITIZE_STATUS {} +impl ::core::clone::Clone for NVME_SANITIZE_STATUS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_SANITIZE_STATUS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_SANITIZE_STATUS").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_SANITIZE_STATUS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_SANITIZE_STATUS { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_SANITIZE_STATUS {} +impl ::core::default::Default for NVME_SANITIZE_STATUS { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SANITIZE_STATUS_LOG { + pub SPROG: u16, + pub SSTAT: NVME_SANITIZE_STATUS, + pub SCDW10: u32, + pub EstimatedTimeForOverwrite: u32, + pub EstimatedTimeForBlockErase: u32, + pub EstimatedTimeForCryptoErase: u32, + pub EstimatedTimeForOverwriteWithNoDeallocateMediaModification: u32, + pub EstimatedTimeForBlockEraseWithNoDeallocateMediaModification: u32, + pub EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification: u32, + pub Reserved: [u8; 480], +} +impl ::core::marker::Copy for NVME_SANITIZE_STATUS_LOG {} +impl ::core::clone::Clone for NVME_SANITIZE_STATUS_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_SANITIZE_STATUS_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_SANITIZE_STATUS_LOG") + .field("SPROG", &self.SPROG) + .field("SSTAT", &self.SSTAT) + .field("SCDW10", &self.SCDW10) + .field("EstimatedTimeForOverwrite", &self.EstimatedTimeForOverwrite) + .field("EstimatedTimeForBlockErase", &self.EstimatedTimeForBlockErase) + .field("EstimatedTimeForCryptoErase", &self.EstimatedTimeForCryptoErase) + .field("EstimatedTimeForOverwriteWithNoDeallocateMediaModification", &self.EstimatedTimeForOverwriteWithNoDeallocateMediaModification) + .field("EstimatedTimeForBlockEraseWithNoDeallocateMediaModification", &self.EstimatedTimeForBlockEraseWithNoDeallocateMediaModification) + .field("EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification", &self.EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification) + .field("Reserved", &self.Reserved) + .finish() + } +} +impl ::windows_core::TypeKind for NVME_SANITIZE_STATUS_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_SANITIZE_STATUS_LOG { + fn eq(&self, other: &Self) -> bool { + self.SPROG == other.SPROG && self.SSTAT == other.SSTAT && self.SCDW10 == other.SCDW10 && self.EstimatedTimeForOverwrite == other.EstimatedTimeForOverwrite && self.EstimatedTimeForBlockErase == other.EstimatedTimeForBlockErase && self.EstimatedTimeForCryptoErase == other.EstimatedTimeForCryptoErase && self.EstimatedTimeForOverwriteWithNoDeallocateMediaModification == other.EstimatedTimeForOverwriteWithNoDeallocateMediaModification && self.EstimatedTimeForBlockEraseWithNoDeallocateMediaModification == other.EstimatedTimeForBlockEraseWithNoDeallocateMediaModification && self.EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification == other.EstimatedTimeForCryptoEraseWithNoDeallocateMediaModification && self.Reserved == other.Reserved + } +} +impl ::core::cmp::Eq for NVME_SANITIZE_STATUS_LOG {} +impl ::core::default::Default for NVME_SANITIZE_STATUS_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SCSI_NAME_STRING { + pub PCIVendorID: [u8; 4], + pub ModelNumber: [u8; 40], + pub NamespaceID: [u8; 4], + pub SerialNumber: [u8; 20], +} +impl ::core::marker::Copy for NVME_SCSI_NAME_STRING {} +impl ::core::clone::Clone for NVME_SCSI_NAME_STRING { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_SCSI_NAME_STRING { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_SCSI_NAME_STRING").field("PCIVendorID", &self.PCIVendorID).field("ModelNumber", &self.ModelNumber).field("NamespaceID", &self.NamespaceID).field("SerialNumber", &self.SerialNumber).finish() + } +} +impl ::windows_core::TypeKind for NVME_SCSI_NAME_STRING { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_SCSI_NAME_STRING { + fn eq(&self, other: &Self) -> bool { + self.PCIVendorID == other.PCIVendorID && self.ModelNumber == other.ModelNumber && self.NamespaceID == other.NamespaceID && self.SerialNumber == other.SerialNumber + } +} +impl ::core::cmp::Eq for NVME_SCSI_NAME_STRING {} +impl ::core::default::Default for NVME_SCSI_NAME_STRING { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SET_ATTRIBUTES_ENTRY { + pub Identifier: u16, + pub ENDGID: u16, + pub Reserved1: u32, + pub Random4KBReadTypical: u32, + pub OptimalWriteSize: u32, + pub TotalCapacity: [u8; 16], + pub UnallocatedCapacity: [u8; 16], + pub Reserved2: [u8; 80], +} +impl ::core::marker::Copy for NVME_SET_ATTRIBUTES_ENTRY {} +impl ::core::clone::Clone for NVME_SET_ATTRIBUTES_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_SET_ATTRIBUTES_ENTRY { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_SET_ATTRIBUTES_ENTRY").field("Identifier", &self.Identifier).field("ENDGID", &self.ENDGID).field("Reserved1", &self.Reserved1).field("Random4KBReadTypical", &self.Random4KBReadTypical).field("OptimalWriteSize", &self.OptimalWriteSize).field("TotalCapacity", &self.TotalCapacity).field("UnallocatedCapacity", &self.UnallocatedCapacity).field("Reserved2", &self.Reserved2).finish() + } +} +impl ::windows_core::TypeKind for NVME_SET_ATTRIBUTES_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_SET_ATTRIBUTES_ENTRY { + fn eq(&self, other: &Self) -> bool { + self.Identifier == other.Identifier && self.ENDGID == other.ENDGID && self.Reserved1 == other.Reserved1 && self.Random4KBReadTypical == other.Random4KBReadTypical && self.OptimalWriteSize == other.OptimalWriteSize && self.TotalCapacity == other.TotalCapacity && self.UnallocatedCapacity == other.UnallocatedCapacity && self.Reserved2 == other.Reserved2 + } +} +impl ::core::cmp::Eq for NVME_SET_ATTRIBUTES_ENTRY {} +impl ::core::default::Default for NVME_SET_ATTRIBUTES_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + pub Anonymous: NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL {} +impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 {} +impl ::core::clone::Clone for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 {} +impl ::core::default::Default for NVME_SUBMISSION_QUEUE_TAIL_DOORBELL_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + pub LogIdentifier: u8, + pub Reserved0: [u8; 4], + pub OrganizationID: [u8; 3], + pub Area1LastBlock: u16, + pub Area2LastBlock: u16, + pub Area3LastBlock: u16, + pub Reserved1: [u8; 2], + pub Area4LastBlock: u32, + pub Reserved2: [u8; 362], + pub ControllerInitiatedDataAvailable: u8, + pub ControllerInitiatedDataGenerationNumber: u8, + pub ReasonIdentifier: [u8; 128], +} +impl ::core::marker::Copy for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG {} +impl ::core::clone::Clone for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_TELEMETRY_CONTROLLER_INITIATED_LOG") + .field("LogIdentifier", &self.LogIdentifier) + .field("Reserved0", &self.Reserved0) + .field("OrganizationID", &self.OrganizationID) + .field("Area1LastBlock", &self.Area1LastBlock) + .field("Area2LastBlock", &self.Area2LastBlock) + .field("Area3LastBlock", &self.Area3LastBlock) + .field("Reserved1", &self.Reserved1) + .field("Area4LastBlock", &self.Area4LastBlock) + .field("Reserved2", &self.Reserved2) + .field("ControllerInitiatedDataAvailable", &self.ControllerInitiatedDataAvailable) + .field("ControllerInitiatedDataGenerationNumber", &self.ControllerInitiatedDataGenerationNumber) + .field("ReasonIdentifier", &self.ReasonIdentifier) + .finish() + } +} +impl ::windows_core::TypeKind for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + fn eq(&self, other: &Self) -> bool { + self.LogIdentifier == other.LogIdentifier && self.Reserved0 == other.Reserved0 && self.OrganizationID == other.OrganizationID && self.Area1LastBlock == other.Area1LastBlock && self.Area2LastBlock == other.Area2LastBlock && self.Area3LastBlock == other.Area3LastBlock && self.Reserved1 == other.Reserved1 && self.Area4LastBlock == other.Area4LastBlock && self.Reserved2 == other.Reserved2 && self.ControllerInitiatedDataAvailable == other.ControllerInitiatedDataAvailable && self.ControllerInitiatedDataGenerationNumber == other.ControllerInitiatedDataGenerationNumber && self.ReasonIdentifier == other.ReasonIdentifier + } +} +impl ::core::cmp::Eq for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG {} +impl ::core::default::Default for NVME_TELEMETRY_CONTROLLER_INITIATED_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_TELEMETRY_HOST_INITIATED_LOG { + pub LogIdentifier: u8, + pub Reserved0: [u8; 4], + pub OrganizationID: [u8; 3], + pub Area1LastBlock: u16, + pub Area2LastBlock: u16, + pub Area3LastBlock: u16, + pub Reserved1: [u8; 2], + pub Area4LastBlock: u32, + pub Reserved2: [u8; 361], + pub HostInitiatedDataGenerationNumber: u8, + pub ControllerInitiatedDataAvailable: u8, + pub ControllerInitiatedDataGenerationNumber: u8, + pub ReasonIdentifier: [u8; 128], +} +impl ::core::marker::Copy for NVME_TELEMETRY_HOST_INITIATED_LOG {} +impl ::core::clone::Clone for NVME_TELEMETRY_HOST_INITIATED_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_TELEMETRY_HOST_INITIATED_LOG { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_TELEMETRY_HOST_INITIATED_LOG") + .field("LogIdentifier", &self.LogIdentifier) + .field("Reserved0", &self.Reserved0) + .field("OrganizationID", &self.OrganizationID) + .field("Area1LastBlock", &self.Area1LastBlock) + .field("Area2LastBlock", &self.Area2LastBlock) + .field("Area3LastBlock", &self.Area3LastBlock) + .field("Reserved1", &self.Reserved1) + .field("Area4LastBlock", &self.Area4LastBlock) + .field("Reserved2", &self.Reserved2) + .field("HostInitiatedDataGenerationNumber", &self.HostInitiatedDataGenerationNumber) + .field("ControllerInitiatedDataAvailable", &self.ControllerInitiatedDataAvailable) + .field("ControllerInitiatedDataGenerationNumber", &self.ControllerInitiatedDataGenerationNumber) + .field("ReasonIdentifier", &self.ReasonIdentifier) + .finish() + } +} +impl ::windows_core::TypeKind for NVME_TELEMETRY_HOST_INITIATED_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_TELEMETRY_HOST_INITIATED_LOG { + fn eq(&self, other: &Self) -> bool { + self.LogIdentifier == other.LogIdentifier && self.Reserved0 == other.Reserved0 && self.OrganizationID == other.OrganizationID && self.Area1LastBlock == other.Area1LastBlock && self.Area2LastBlock == other.Area2LastBlock && self.Area3LastBlock == other.Area3LastBlock && self.Reserved1 == other.Reserved1 && self.Area4LastBlock == other.Area4LastBlock && self.Reserved2 == other.Reserved2 && self.HostInitiatedDataGenerationNumber == other.HostInitiatedDataGenerationNumber && self.ControllerInitiatedDataAvailable == other.ControllerInitiatedDataAvailable && self.ControllerInitiatedDataGenerationNumber == other.ControllerInitiatedDataGenerationNumber && self.ReasonIdentifier == other.ReasonIdentifier + } +} +impl ::core::cmp::Eq for NVME_TELEMETRY_HOST_INITIATED_LOG {} +impl ::core::default::Default for NVME_TELEMETRY_HOST_INITIATED_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_VERSION { + pub Anonymous: NVME_VERSION_0, + pub AsUlong: u32, +} +impl ::core::marker::Copy for NVME_VERSION {} +impl ::core::clone::Clone for NVME_VERSION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_VERSION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_VERSION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_VERSION_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_VERSION_0 {} +impl ::core::clone::Clone for NVME_VERSION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_VERSION_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_VERSION_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_VERSION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_VERSION_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_VERSION_0 {} +impl ::core::default::Default for NVME_VERSION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_CAPABILITIES { + pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_WCS_DEVICE_CAPABILITIES_0 { + pub Anonymous: NVME_WCS_DEVICE_CAPABILITIES_0_0, + pub AsULONG: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_CAPABILITIES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_CAPABILITIES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_CAPABILITIES_0_0 { + pub _bitfield: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_CAPABILITIES_0_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_WCS_DEVICE_CAPABILITIES_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_WCS_DEVICE_CAPABILITIES_0_0 {} +impl ::core::default::Default for NVME_WCS_DEVICE_CAPABILITIES_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + pub PanicResetWaitTime: u16, + pub PanicResetAction: NVME_WCS_DEVICE_RESET_ACTION, + pub DriveRecoveryAction: u8, + pub PanicId: u64, + pub DeviceCapabilitiesA: NVME_WCS_DEVICE_CAPABILITIES, + pub VendorSpecificRecoveryCode: u8, + pub Reserved0: [u8; 3], + pub VendorSpecificCommandCDW12: u32, + pub VendorSpecificCommandCDW13: u32, + pub Reserved1: [u8; 466], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_ERROR_RECOVERY_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_RESET_ACTION { + pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_RESET_ACTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_RESET_ACTION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVME_WCS_DEVICE_RESET_ACTION_0 { + pub Anonymous: NVME_WCS_DEVICE_RESET_ACTION_0_0, + pub AsUCHAR: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_RESET_ACTION_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_RESET_ACTION_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_RESET_ACTION_0_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_RESET_ACTION_0_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_WCS_DEVICE_RESET_ACTION_0_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_WCS_DEVICE_RESET_ACTION_0_0 {} +impl ::core::default::Default for NVME_WCS_DEVICE_RESET_ACTION_0_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + pub VersionSpecificData: [u8; 494], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + pub MediaUnitsWritten: [u8; 16], + pub MediaUnitsRead: [u8; 16], + pub BadUserNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1, + pub BadSystemNANDBlockCount: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0, + pub XORRecoveryCount: u64, + pub UnrecoverableReadErrorCount: u64, + pub SoftECCErrorCount: u64, + pub EndToEndCorrectionCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2, + pub PercentageSystemDataUsed: u8, + pub RefreshCount: [u8; 7], + pub UserDataEraseCounts: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4, + pub ThermalThrottling: NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3, + pub Reserved0: [u8; 6], + pub PCIeCorrectableErrorCount: u64, + pub IncompleteShutdownCount: u32, + pub Reserved1: u32, + pub PercentageFreeBlocks: u8, + pub Reserved2: [u8; 7], + pub CapacitorHealth: u16, + pub Reserved3: [u8; 6], + pub UnalignedIOCount: u64, + pub SecurityVersionNumber: u64, + pub NUSE: u64, + pub PLPStartCount: [u8; 16], + pub EnduranceEstimate: [u8; 16], + pub Reserved4: [u8; 302], + pub LogPageVersionNumber: u16, + pub LogPageGUID: ::windows_core::GUID, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0").field("RawCount", &self.RawCount).field("Normalized", &self.Normalized).finish() + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + fn eq(&self, other: &Self) -> bool { + self.RawCount == other.RawCount && self.Normalized == other.Normalized + } +} +impl ::core::cmp::Eq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 {} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + pub RawCount: [u8; 6], + pub Normalized: [u8; 2], +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1").field("RawCount", &self.RawCount).field("Normalized", &self.Normalized).finish() + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + fn eq(&self, other: &Self) -> bool { + self.RawCount == other.RawCount && self.Normalized == other.Normalized + } +} +impl ::core::cmp::Eq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 {} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + pub DetectedCounts: u32, + pub CorrectedCounts: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + pub EventCount: u8, + pub Status: u8, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3").field("EventCount", &self.EventCount).field("Status", &self.Status).finish() + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + fn eq(&self, other: &Self) -> bool { + self.EventCount == other.EventCount && self.Status == other.Status + } +} +impl ::core::cmp::Eq for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 {} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_3 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + pub MaximumCount: u32, + pub MinimumCount: u32, +} +impl ::core::marker::Copy for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 {} +impl ::core::clone::Clone for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVME_WCS_DEVICE_SMART_ATTRIBUTES_LOG_V2_4 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR { + pub Anonymous1: NVME_ZONE_DESCRIPTOR_0, + pub Anonymous2: NVME_ZONE_DESCRIPTOR_1, + pub ZA: NVME_ZONE_DESCRIPTOR_2, + pub Reserved3: [u8; 5], + pub ZCAP: u64, + pub ZSLBA: u64, + pub WritePointer: u64, + pub Reserved4: [u8; 32], +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_DESCRIPTOR { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_DESCRIPTOR").field("Anonymous1", &self.Anonymous1).field("Anonymous2", &self.Anonymous2).field("ZA", &self.ZA).field("Reserved3", &self.Reserved3).field("ZCAP", &self.ZCAP).field("ZSLBA", &self.ZSLBA).field("WritePointer", &self.WritePointer).field("Reserved4", &self.Reserved4).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_DESCRIPTOR { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_DESCRIPTOR { + fn eq(&self, other: &Self) -> bool { + self.Anonymous1 == other.Anonymous1 && self.Anonymous2 == other.Anonymous2 && self.ZA == other.ZA && self.Reserved3 == other.Reserved3 && self.ZCAP == other.ZCAP && self.ZSLBA == other.ZSLBA && self.WritePointer == other.WritePointer && self.Reserved4 == other.Reserved4 + } +} +impl ::core::cmp::Eq for NVME_ZONE_DESCRIPTOR {} +impl ::core::default::Default for NVME_ZONE_DESCRIPTOR { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_0 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_DESCRIPTOR_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_DESCRIPTOR_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_DESCRIPTOR_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_DESCRIPTOR_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ZONE_DESCRIPTOR_0 {} +impl ::core::default::Default for NVME_ZONE_DESCRIPTOR_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_1 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_1 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_1 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_DESCRIPTOR_1 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_DESCRIPTOR_1").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_DESCRIPTOR_1 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_DESCRIPTOR_1 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ZONE_DESCRIPTOR_1 {} +impl ::core::default::Default for NVME_ZONE_DESCRIPTOR_1 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_2 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_2 {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_2 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_DESCRIPTOR_2 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_DESCRIPTOR_2").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_DESCRIPTOR_2 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_DESCRIPTOR_2 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVME_ZONE_DESCRIPTOR_2 {} +impl ::core::default::Default for NVME_ZONE_DESCRIPTOR_2 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_DESCRIPTOR_EXTENSION { + pub ZoneDescriptorExtensionInfo: [u8; 64], +} +impl ::core::marker::Copy for NVME_ZONE_DESCRIPTOR_EXTENSION {} +impl ::core::clone::Clone for NVME_ZONE_DESCRIPTOR_EXTENSION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_DESCRIPTOR_EXTENSION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_DESCRIPTOR_EXTENSION").field("ZoneDescriptorExtensionInfo", &self.ZoneDescriptorExtensionInfo).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_DESCRIPTOR_EXTENSION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_DESCRIPTOR_EXTENSION { + fn eq(&self, other: &Self) -> bool { + self.ZoneDescriptorExtensionInfo == other.ZoneDescriptorExtensionInfo + } +} +impl ::core::cmp::Eq for NVME_ZONE_DESCRIPTOR_EXTENSION {} +impl ::core::default::Default for NVME_ZONE_DESCRIPTOR_EXTENSION { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + pub ZoneDescriptor: NVME_ZONE_DESCRIPTOR, + pub ZoneDescriptorExtension: [NVME_ZONE_DESCRIPTOR_EXTENSION; 1], +} +impl ::core::marker::Copy for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC {} +impl ::core::clone::Clone for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVME_ZONE_EXTENDED_REPORT_ZONE_DESC").field("ZoneDescriptor", &self.ZoneDescriptor).field("ZoneDescriptorExtension", &self.ZoneDescriptorExtension).finish() + } +} +impl ::windows_core::TypeKind for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + fn eq(&self, other: &Self) -> bool { + self.ZoneDescriptor == other.ZoneDescriptor && self.ZoneDescriptorExtension == other.ZoneDescriptorExtension + } +} +impl ::core::cmp::Eq for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC {} +impl ::core::default::Default for NVME_ZONE_EXTENDED_REPORT_ZONE_DESC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub union NVM_RESERVATION_CAPABILITIES { + pub Anonymous: NVM_RESERVATION_CAPABILITIES_0, + pub AsUchar: u8, +} +impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES {} +impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for NVM_RESERVATION_CAPABILITIES { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for NVM_RESERVATION_CAPABILITIES { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVM_RESERVATION_CAPABILITIES_0 { + pub _bitfield: u8, +} +impl ::core::marker::Copy for NVM_RESERVATION_CAPABILITIES_0 {} +impl ::core::clone::Clone for NVM_RESERVATION_CAPABILITIES_0 { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVM_RESERVATION_CAPABILITIES_0 { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVM_RESERVATION_CAPABILITIES_0").field("_bitfield", &self._bitfield).finish() + } +} +impl ::windows_core::TypeKind for NVM_RESERVATION_CAPABILITIES_0 { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVM_RESERVATION_CAPABILITIES_0 { + fn eq(&self, other: &Self) -> bool { + self._bitfield == other._bitfield + } +} +impl ::core::cmp::Eq for NVM_RESERVATION_CAPABILITIES_0 {} +impl ::core::default::Default for NVM_RESERVATION_CAPABILITIES_0 { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct NVM_SET_LIST { + pub IdentifierCount: u8, + pub Reserved: [u8; 127], + pub Entry: [NVME_SET_ATTRIBUTES_ENTRY; 1], +} +impl ::core::marker::Copy for NVM_SET_LIST {} +impl ::core::clone::Clone for NVM_SET_LIST { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for NVM_SET_LIST { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("NVM_SET_LIST").field("IdentifierCount", &self.IdentifierCount).field("Reserved", &self.Reserved).field("Entry", &self.Entry).finish() + } +} +impl ::windows_core::TypeKind for NVM_SET_LIST { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for NVM_SET_LIST { + fn eq(&self, other: &Self) -> bool { + self.IdentifierCount == other.IdentifierCount && self.Reserved == other.Reserved && self.Entry == other.Entry + } +} +impl ::core::cmp::Eq for NVM_SET_LIST {} +impl ::core::default::Default for NVM_SET_LIST { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_ACTIVATE_METHOD_SPECIFIC { + pub RangeStartLengthPolicy: u8, +} +impl ::core::marker::Copy for TCG_ACTIVATE_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_ACTIVATE_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for TCG_ACTIVATE_METHOD_SPECIFIC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("TCG_ACTIVATE_METHOD_SPECIFIC").field("RangeStartLengthPolicy", &self.RangeStartLengthPolicy).finish() + } +} +impl ::windows_core::TypeKind for TCG_ACTIVATE_METHOD_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for TCG_ACTIVATE_METHOD_SPECIFIC { + fn eq(&self, other: &Self) -> bool { + self.RangeStartLengthPolicy == other.RangeStartLengthPolicy + } +} +impl ::core::cmp::Eq for TCG_ACTIVATE_METHOD_SPECIFIC {} +impl ::core::default::Default for TCG_ACTIVATE_METHOD_SPECIFIC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_ASSIGN_METHOD_SPECIFIC { + pub NamespaceId: u32, +} +impl ::core::marker::Copy for TCG_ASSIGN_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_ASSIGN_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for TCG_ASSIGN_METHOD_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for TCG_ASSIGN_METHOD_SPECIFIC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_AUTH_METHOD_SPECIFIC { + pub AuthorityId: u64, + pub TriesCount: u8, +} +impl ::core::marker::Copy for TCG_AUTH_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_AUTH_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for TCG_AUTH_METHOD_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for TCG_AUTH_METHOD_SPECIFIC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_BLOCKSID_METHOD_SPECIFIC { + pub ClearEvents: u8, +} +impl ::core::marker::Copy for TCG_BLOCKSID_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_BLOCKSID_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for TCG_BLOCKSID_METHOD_SPECIFIC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("TCG_BLOCKSID_METHOD_SPECIFIC").field("ClearEvents", &self.ClearEvents).finish() + } +} +impl ::windows_core::TypeKind for TCG_BLOCKSID_METHOD_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for TCG_BLOCKSID_METHOD_SPECIFIC { + fn eq(&self, other: &Self) -> bool { + self.ClearEvents == other.ClearEvents + } +} +impl ::core::cmp::Eq for TCG_BLOCKSID_METHOD_SPECIFIC {} +impl ::core::default::Default for TCG_BLOCKSID_METHOD_SPECIFIC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C, packed(1))] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_HISTORY_ENTRY { + pub VersionNumber: u8, + pub EntryLength: u8, + pub PowerCycleCount: u16, + pub TcgCommandCount: u32, + pub TcgCommandCompletionTS: u64, + pub InvokingId: u64, + pub MethodId: u64, + pub ComId: u16, + pub ProtocolId: u8, + pub TcgStatus: u8, + pub ProcessTime: u16, + pub CommandSpecific: [u8; 10], +} +impl ::core::marker::Copy for TCG_HISTORY_ENTRY {} +impl ::core::clone::Clone for TCG_HISTORY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +impl ::windows_core::TypeKind for TCG_HISTORY_ENTRY { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::default::Default for TCG_HISTORY_ENTRY { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct TCG_REACTIVATE_METHOD_SPECIFIC { + pub RangeStartLengthPolicy: u8, +} +impl ::core::marker::Copy for TCG_REACTIVATE_METHOD_SPECIFIC {} +impl ::core::clone::Clone for TCG_REACTIVATE_METHOD_SPECIFIC { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for TCG_REACTIVATE_METHOD_SPECIFIC { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("TCG_REACTIVATE_METHOD_SPECIFIC").field("RangeStartLengthPolicy", &self.RangeStartLengthPolicy).finish() + } +} +impl ::windows_core::TypeKind for TCG_REACTIVATE_METHOD_SPECIFIC { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for TCG_REACTIVATE_METHOD_SPECIFIC { + fn eq(&self, other: &Self) -> bool { + self.RangeStartLengthPolicy == other.RangeStartLengthPolicy + } +} +impl ::core::cmp::Eq for TCG_REACTIVATE_METHOD_SPECIFIC {} +impl ::core::default::Default for TCG_REACTIVATE_METHOD_SPECIFIC { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Nvme\"`*"] +pub struct UNSUPPORTED_REQUIREMENT { + pub ReqId: [u8; 16], +} +impl ::core::marker::Copy for UNSUPPORTED_REQUIREMENT {} +impl ::core::clone::Clone for UNSUPPORTED_REQUIREMENT { + fn clone(&self) -> Self { + *self + } +} +impl ::core::fmt::Debug for UNSUPPORTED_REQUIREMENT { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_struct("UNSUPPORTED_REQUIREMENT").field("ReqId", &self.ReqId).finish() + } +} +impl ::windows_core::TypeKind for UNSUPPORTED_REQUIREMENT { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::cmp::PartialEq for UNSUPPORTED_REQUIREMENT { + fn eq(&self, other: &Self) -> bool { + self.ReqId == other.ReqId + } +} +impl ::core::cmp::Eq for UNSUPPORTED_REQUIREMENT {} +impl ::core::default::Default for UNSUPPORTED_REQUIREMENT { + fn default() -> Self { + unsafe { ::core::mem::zeroed() } + } +} diff --git a/crates/libs/windows/src/Windows/Win32/Storage/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/mod.rs index ba988b07ee4..bbea1e0773f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/mod.rs @@ -26,6 +26,8 @@ pub mod InstallableFileSystems; pub mod IscsiDisc; #[cfg(feature = "Win32_Storage_Jet")] pub mod Jet; +#[cfg(feature = "Win32_Storage_Nvme")] +pub mod Nvme; #[cfg(feature = "Win32_Storage_OfflineFiles")] pub mod OfflineFiles; #[cfg(feature = "Win32_Storage_OperationRecorder")] diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 8d62ffaea8c..6ea09ea34b7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -170,10 +170,10 @@ pub unsafe fn CreateActCtxW(pactctx: *const ACTCTXW) -> ::windows_core::Result(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: P0, lptargetname: P1, lpsourceoptionsname: P2, lptargetoptionsname: P3, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: u32, lpdeltaname: P4) -> super::super::Foundation::BOOL +pub unsafe fn CreateDeltaA(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: P0, lptargetname: P1, lpsourceoptionsname: P2, lptargetoptionsname: P3, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: super::super::Security::Cryptography::ALG_ID, lpdeltaname: P4) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -181,20 +181,20 @@ where P3: ::windows_core::IntoParam<::windows_core::PCSTR>, P4: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaA(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_core::PCSTR, lptargetname : ::windows_core::PCSTR, lpsourceoptionsname : ::windows_core::PCSTR, lptargetoptionsname : ::windows_core::PCSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdeltaname : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaA(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_core::PCSTR, lptargetname : ::windows_core::PCSTR, lpsourceoptionsname : ::windows_core::PCSTR, lptargetoptionsname : ::windows_core::PCSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdeltaname : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); CreateDeltaA(filetypeset, setflags, resetflags, lpsourcename.into_param().abi(), lptargetname.into_param().abi(), lpsourceoptionsname.into_param().abi(), lptargetoptionsname.into_param().abi(), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdeltaname.into_param().abi()) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn CreateDeltaB(filetypeset: i64, setflags: i64, resetflags: i64, source: DELTA_INPUT, target: DELTA_INPUT, sourceoptions: DELTA_INPUT, targetoptions: DELTA_INPUT, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: u32, lpdelta: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL { - ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaB(filetypeset : i64, setflags : i64, resetflags : i64, source : DELTA_INPUT, target : DELTA_INPUT, sourceoptions : DELTA_INPUT, targetoptions : DELTA_INPUT, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdelta : *mut DELTA_OUTPUT) -> super::super::Foundation:: BOOL); +pub unsafe fn CreateDeltaB(filetypeset: i64, setflags: i64, resetflags: i64, source: DELTA_INPUT, target: DELTA_INPUT, sourceoptions: DELTA_INPUT, targetoptions: DELTA_INPUT, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: super::super::Security::Cryptography::ALG_ID, lpdelta: *mut DELTA_OUTPUT) -> super::super::Foundation::BOOL { + ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaB(filetypeset : i64, setflags : i64, resetflags : i64, source : DELTA_INPUT, target : DELTA_INPUT, sourceoptions : DELTA_INPUT, targetoptions : DELTA_INPUT, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdelta : *mut DELTA_OUTPUT) -> super::super::Foundation:: BOOL); CreateDeltaB(filetypeset, setflags, resetflags, ::core::mem::transmute(source), ::core::mem::transmute(target), ::core::mem::transmute(sourceoptions), ::core::mem::transmute(targetoptions), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdelta) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn CreateDeltaW(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: P0, lptargetname: P1, lpsourceoptionsname: P2, lptargetoptionsname: P3, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: u32, lpdeltaname: P4) -> super::super::Foundation::BOOL +pub unsafe fn CreateDeltaW(filetypeset: i64, setflags: i64, resetflags: i64, lpsourcename: P0, lptargetname: P1, lpsourceoptionsname: P2, lptargetoptionsname: P3, globaloptions: DELTA_INPUT, lptargetfiletime: ::core::option::Option<*const super::super::Foundation::FILETIME>, hashalgid: super::super::Security::Cryptography::ALG_ID, lpdeltaname: P4) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -202,7 +202,7 @@ where P3: ::windows_core::IntoParam<::windows_core::PCWSTR>, P4: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaW(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_core::PCWSTR, lptargetname : ::windows_core::PCWSTR, lpsourceoptionsname : ::windows_core::PCWSTR, lptargetoptionsname : ::windows_core::PCWSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : u32, lpdeltaname : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("msdelta.dll" "system" fn CreateDeltaW(filetypeset : i64, setflags : i64, resetflags : i64, lpsourcename : ::windows_core::PCWSTR, lptargetname : ::windows_core::PCWSTR, lpsourceoptionsname : ::windows_core::PCWSTR, lptargetoptionsname : ::windows_core::PCWSTR, globaloptions : DELTA_INPUT, lptargetfiletime : *const super::super::Foundation:: FILETIME, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpdeltaname : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); CreateDeltaW(filetypeset, setflags, resetflags, lpsourcename.into_param().abi(), lptargetname.into_param().abi(), lpsourceoptionsname.into_param().abi(), lptargetoptionsname.into_param().abi(), ::core::mem::transmute(globaloptions), ::core::mem::transmute(lptargetfiletime.unwrap_or(::std::ptr::null())), hashalgid, lpdeltaname.into_param().abi()) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -362,8 +362,8 @@ pub unsafe fn GetCurrentActCtx(lphactctx: *mut super::super::Foundation::HANDLE) ::windows_targets::link!("kernel32.dll" "system" fn GetCurrentActCtx(lphactctx : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); GetCurrentActCtx(lphactctx).ok() } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn GetDeltaInfoA(lpdeltaname: P0, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL where @@ -372,15 +372,15 @@ where ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaInfoA(lpdeltaname : ::windows_core::PCSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); GetDeltaInfoA(lpdeltaname.into_param().abi(), lpheaderinfo) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn GetDeltaInfoB(delta: DELTA_INPUT, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL { ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaInfoB(delta : DELTA_INPUT, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); GetDeltaInfoB(::core::mem::transmute(delta), lpheaderinfo) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] pub unsafe fn GetDeltaInfoW(lpdeltaname: P0, lpheaderinfo: *mut DELTA_HEADER_INFO) -> super::super::Foundation::BOOL where @@ -389,31 +389,31 @@ where ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaInfoW(lpdeltaname : ::windows_core::PCWSTR, lpheaderinfo : *mut DELTA_HEADER_INFO) -> super::super::Foundation:: BOOL); GetDeltaInfoW(lpdeltaname.into_param().abi(), lpheaderinfo) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn GetDeltaSignatureA(filetypeset: i64, hashalgid: u32, lpsourcename: P0, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL +pub unsafe fn GetDeltaSignatureA(filetypeset: i64, hashalgid: super::super::Security::Cryptography::ALG_ID, lpsourcename: P0, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureA(filetypeset : i64, hashalgid : u32, lpsourcename : ::windows_core::PCSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureA(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpsourcename : ::windows_core::PCSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); GetDeltaSignatureA(filetypeset, hashalgid, lpsourcename.into_param().abi(), lphash) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn GetDeltaSignatureB(filetypeset: i64, hashalgid: u32, source: DELTA_INPUT, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL { - ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureB(filetypeset : i64, hashalgid : u32, source : DELTA_INPUT, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); +pub unsafe fn GetDeltaSignatureB(filetypeset: i64, hashalgid: super::super::Security::Cryptography::ALG_ID, source: DELTA_INPUT, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL { + ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureB(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, source : DELTA_INPUT, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); GetDeltaSignatureB(filetypeset, hashalgid, ::core::mem::transmute(source), lphash) } -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] #[inline] -pub unsafe fn GetDeltaSignatureW(filetypeset: i64, hashalgid: u32, lpsourcename: P0, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL +pub unsafe fn GetDeltaSignatureW(filetypeset: i64, hashalgid: super::super::Security::Cryptography::ALG_ID, lpsourcename: P0, lphash: *mut DELTA_HASH) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureW(filetypeset : i64, hashalgid : u32, lpsourcename : ::windows_core::PCWSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("msdelta.dll" "system" fn GetDeltaSignatureW(filetypeset : i64, hashalgid : super::super::Security::Cryptography:: ALG_ID, lpsourcename : ::windows_core::PCWSTR, lphash : *mut DELTA_HASH) -> super::super::Foundation:: BOOL); GetDeltaSignatureW(filetypeset, hashalgid, lpsourcename.into_param().abi(), lphash) } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] @@ -11140,44 +11140,44 @@ impl ::core::default::Default for DELTA_HASH { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] +#[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] pub struct DELTA_HEADER_INFO { pub FileTypeSet: i64, pub FileType: i64, pub Flags: i64, pub TargetSize: usize, pub TargetFileTime: super::super::Foundation::FILETIME, - pub TargetHashAlgId: u32, + pub TargetHashAlgId: super::super::Security::Cryptography::ALG_ID, pub TargetHash: DELTA_HASH, } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::marker::Copy for DELTA_HEADER_INFO {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::clone::Clone for DELTA_HEADER_INFO { fn clone(&self) -> Self { *self } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::fmt::Debug for DELTA_HEADER_INFO { fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { f.debug_struct("DELTA_HEADER_INFO").field("FileTypeSet", &self.FileTypeSet).field("FileType", &self.FileType).field("Flags", &self.Flags).field("TargetSize", &self.TargetSize).field("TargetFileTime", &self.TargetFileTime).field("TargetHashAlgId", &self.TargetHashAlgId).field("TargetHash", &self.TargetHash).finish() } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::windows_core::TypeKind for DELTA_HEADER_INFO { type TypeKind = ::windows_core::CopyType; } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::PartialEq for DELTA_HEADER_INFO { fn eq(&self, other: &Self) -> bool { self.FileTypeSet == other.FileTypeSet && self.FileType == other.FileType && self.Flags == other.Flags && self.TargetSize == other.TargetSize && self.TargetFileTime == other.TargetFileTime && self.TargetHashAlgId == other.TargetHashAlgId && self.TargetHash == other.TargetHash } } -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::cmp::Eq for DELTA_HEADER_INFO {} -#[cfg(feature = "Win32_Foundation")] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] impl ::core::default::Default for DELTA_HEADER_INFO { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs index b050e78474c..6c03ffe1868 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -4587,8 +4587,12 @@ pub struct IServerSecurity_Vtbl { #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IServiceProvider(::windows_core::IUnknown); impl IServiceProvider { - pub unsafe fn QueryService(&self, guidservice: *const ::windows_core::GUID, riid: *const ::windows_core::GUID, ppvobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).QueryService)(::windows_core::Interface::as_raw(self), guidservice, riid, ppvobject).ok() + pub unsafe fn QueryService(&self, guidservice: *const ::windows_core::GUID) -> ::windows_core::Result + where + T: ::windows_core::ComInterface, + { + let mut result__ = ::std::ptr::null_mut(); + (::windows_core::Interface::vtable(self).QueryService)(::windows_core::Interface::as_raw(self), guidservice, &::IID, &mut result__).from_abi(result__) } } ::windows_core::imp::interface_hierarchy!(IServiceProvider, ::windows_core::IUnknown); 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 3f9c375e0a4..4d24cc8435f 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 @@ -488,8 +488,8 @@ where #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn GetThreadWaitChain(wcthandle: *const ::core::ffi::c_void, context: usize, flags: WAIT_CHAIN_THREAD_OPTIONS, threadid: u32, nodecount: *mut u32, nodeinfoarray: *mut WAITCHAIN_NODE_INFO, iscycle: *mut i32) -> ::windows_core::Result<()> { - ::windows_targets::link!("advapi32.dll" "system" fn GetThreadWaitChain(wcthandle : *const ::core::ffi::c_void, context : usize, flags : WAIT_CHAIN_THREAD_OPTIONS, threadid : u32, nodecount : *mut u32, nodeinfoarray : *mut WAITCHAIN_NODE_INFO, iscycle : *mut i32) -> super::super::super::Foundation:: BOOL); +pub unsafe fn GetThreadWaitChain(wcthandle: *const ::core::ffi::c_void, context: usize, flags: WAIT_CHAIN_THREAD_OPTIONS, threadid: u32, nodecount: *mut u32, nodeinfoarray: *mut WAITCHAIN_NODE_INFO, iscycle: *mut super::super::super::Foundation::BOOL) -> ::windows_core::Result<()> { + ::windows_targets::link!("advapi32.dll" "system" fn GetThreadWaitChain(wcthandle : *const ::core::ffi::c_void, context : usize, flags : WAIT_CHAIN_THREAD_OPTIONS, threadid : u32, nodecount : *mut u32, nodeinfoarray : *mut WAITCHAIN_NODE_INFO, iscycle : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); GetThreadWaitChain(wcthandle, context, flags, threadid, nodecount, nodeinfoarray, iscycle).ok() } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] @@ -19105,7 +19105,7 @@ pub type PTRANSLATE_ADDRESS_ROUTINE64 = ::core::option::Option i32>; #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWAITCHAINCALLBACK = ::core::option::Option ()>; +pub type PWAITCHAINCALLBACK = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type SYMADDSOURCESTREAM = ::core::option::Option super::super::super::Foundation::BOOL>; diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index 1cea6c968b7..7dc6b59c681 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -4680,9 +4680,9 @@ impl IGPMWMIFilterCollection_Vtbl { #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry", feature = "Win32_UI_Controls"))] pub trait IGroupPolicyObject_Impl: Sized { fn New(&self, pszdomainname: &::windows_core::PCWSTR, pszdisplayname: &::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::Result<()>; - fn OpenDSGPO(&self, pszpath: &::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::Result<()>; - fn OpenLocalMachineGPO(&self, dwflags: u32) -> ::windows_core::Result<()>; - fn OpenRemoteMachineGPO(&self, pszcomputername: &::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::Result<()>; + fn OpenDSGPO(&self, pszpath: &::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()>; + fn OpenLocalMachineGPO(&self, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()>; + fn OpenRemoteMachineGPO(&self, pszcomputername: &::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()>; fn Save(&self, bmachine: super::super::Foundation::BOOL, badd: super::super::Foundation::BOOL, pguidextension: *mut ::windows_core::GUID, pguid: *mut ::windows_core::GUID) -> ::windows_core::Result<()>; fn Delete(&self) -> ::windows_core::Result<()>; fn GetName(&self, pszname: ::windows_core::PWSTR, cchmaxlength: i32) -> ::windows_core::Result<()>; @@ -4691,9 +4691,9 @@ pub trait IGroupPolicyObject_Impl: Sized { fn GetPath(&self, pszpath: ::windows_core::PWSTR, cchmaxlength: i32) -> ::windows_core::Result<()>; fn GetDSPath(&self, dwsection: u32, pszpath: ::windows_core::PWSTR, cchmaxpath: i32) -> ::windows_core::Result<()>; fn GetFileSysPath(&self, dwsection: u32, pszpath: ::windows_core::PWSTR, cchmaxpath: i32) -> ::windows_core::Result<()>; - fn GetRegistryKey(&self, dwsection: u32, hkey: *mut super::Registry::HKEY) -> ::windows_core::Result<()>; - fn GetOptions(&self, dwoptions: *mut u32) -> ::windows_core::Result<()>; - fn SetOptions(&self, dwoptions: u32, dwmask: u32) -> ::windows_core::Result<()>; + fn GetRegistryKey(&self, dwsection: GPO_SECTION, hkey: *mut super::Registry::HKEY) -> ::windows_core::Result<()>; + fn GetOptions(&self, dwoptions: *mut GPO_OPTIONS) -> ::windows_core::Result<()>; + fn SetOptions(&self, dwoptions: GPO_OPTIONS, dwmask: u32) -> ::windows_core::Result<()>; fn GetType(&self, gpotype: *mut GROUP_POLICY_OBJECT_TYPE) -> ::windows_core::Result<()>; fn GetMachineName(&self, pszname: ::windows_core::PWSTR, cchmaxlength: i32) -> ::windows_core::Result<()>; fn GetPropertySheetPages(&self, hpages: *mut *mut super::super::UI::Controls::HPROPSHEETPAGE, upagecount: *mut u32) -> ::windows_core::Result<()>; @@ -4708,17 +4708,17 @@ impl IGroupPolicyObject_Vtbl { let this = (*this).get_impl(); this.New(::core::mem::transmute(&pszdomainname), ::core::mem::transmute(&pszdisplayname), ::core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn OpenDSGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszpath: ::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn OpenDSGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszpath: ::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.OpenDSGPO(::core::mem::transmute(&pszpath), ::core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn OpenLocalMachineGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn OpenLocalMachineGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.OpenLocalMachineGPO(::core::mem::transmute_copy(&dwflags)).into() } - unsafe extern "system" fn OpenRemoteMachineGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszcomputername: ::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn OpenRemoteMachineGPO, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pszcomputername: ::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.OpenRemoteMachineGPO(::core::mem::transmute(&pszcomputername), ::core::mem::transmute_copy(&dwflags)).into() @@ -4763,17 +4763,17 @@ impl IGroupPolicyObject_Vtbl { let this = (*this).get_impl(); this.GetFileSysPath(::core::mem::transmute_copy(&dwsection), ::core::mem::transmute_copy(&pszpath), ::core::mem::transmute_copy(&cchmaxpath)).into() } - unsafe extern "system" fn GetRegistryKey, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwsection: u32, hkey: *mut super::Registry::HKEY) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetRegistryKey, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwsection: GPO_SECTION, hkey: *mut super::Registry::HKEY) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetRegistryKey(::core::mem::transmute_copy(&dwsection), ::core::mem::transmute_copy(&hkey)).into() } - unsafe extern "system" fn GetOptions, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoptions: *mut u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetOptions, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoptions: *mut GPO_OPTIONS) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.GetOptions(::core::mem::transmute_copy(&dwoptions)).into() } - unsafe extern "system" fn SetOptions, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoptions: u32, dwmask: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn SetOptions, Impl: IGroupPolicyObject_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoptions: GPO_OPTIONS, dwmask: u32) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.SetOptions(::core::mem::transmute_copy(&dwoptions), ::core::mem::transmute_copy(&dwmask)).into() diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index b7c15b89b2b..17502678a2f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -244,21 +244,22 @@ where #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RsopAccessCheckByType(psecuritydescriptor: P0, pprincipalselfsid: P1, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pobjecttypelist: ::core::option::Option<&[super::super::Security::OBJECT_TYPE_LIST]>, pgenericmapping: *const super::super::Security::GENERIC_MAPPING, pprivilegeset: ::core::option::Option<*const super::super::Security::PRIVILEGE_SET>, pdwprivilegesetlength: ::core::option::Option<*const u32>, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RsopAccessCheckByType(psecuritydescriptor: P0, pprincipalselfsid: P1, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pobjecttypelist: ::core::option::Option<&[super::super::Security::OBJECT_TYPE_LIST]>, pgenericmapping: *const super::super::Security::GENERIC_MAPPING, pprivilegeset: ::core::option::Option<*const super::super::Security::PRIVILEGE_SET>, pdwprivilegesetlength: ::core::option::Option<*const u32>, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("userenv.dll" "system" fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pprincipalselfsid : super::super::Foundation:: PSID, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, pgenericmapping : *const super::super::Security:: GENERIC_MAPPING, pprivilegeset : *const super::super::Security:: PRIVILEGE_SET, pdwprivilegesetlength : *const u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut i32) -> ::windows_core::HRESULT); + ::windows_targets::link!("userenv.dll" "system" fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, pprincipalselfsid : super::super::Foundation:: PSID, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pobjecttypelist : *const super::super::Security:: OBJECT_TYPE_LIST, objecttypelistlength : u32, pgenericmapping : *const super::super::Security:: GENERIC_MAPPING, pprivilegeset : *const super::super::Security:: PRIVILEGE_SET, pdwprivilegesetlength : *const u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_core::HRESULT); RsopAccessCheckByType(psecuritydescriptor.into_param().abi(), pprincipalselfsid.into_param().abi(), prsoptoken, dwdesiredaccessmask, ::core::mem::transmute(pobjecttypelist.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pobjecttypelist.as_deref().map_or(0, |slice| slice.len() as _), pgenericmapping, ::core::mem::transmute(pprivilegeset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdwprivilegesetlength.unwrap_or(::std::ptr::null())), pdwgrantedaccessmask, pbaccessstatus).ok() } -#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RsopFileAccessCheck(pszfilename: P0, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_core::Result<()> +pub unsafe fn RsopFileAccessCheck(pszfilename: P0, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut super::super::Foundation::BOOL) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("userenv.dll" "system" fn RsopFileAccessCheck(pszfilename : ::windows_core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut i32) -> ::windows_core::HRESULT); + ::windows_targets::link!("userenv.dll" "system" fn RsopFileAccessCheck(pszfilename : ::windows_core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_core::HRESULT); RsopFileAccessCheck(pszfilename.into_param().abi(), prsoptoken, dwdesiredaccessmask, pdwgrantedaccessmask, pbaccessstatus).ok() } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Wmi\"`*"] @@ -4740,16 +4741,16 @@ impl IGroupPolicyObject { { (::windows_core::Interface::vtable(self).New)(::windows_core::Interface::as_raw(self), pszdomainname.into_param().abi(), pszdisplayname.into_param().abi(), dwflags).ok() } - pub unsafe fn OpenDSGPO(&self, pszpath: P0, dwflags: u32) -> ::windows_core::Result<()> + pub unsafe fn OpenDSGPO(&self, pszpath: P0, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { (::windows_core::Interface::vtable(self).OpenDSGPO)(::windows_core::Interface::as_raw(self), pszpath.into_param().abi(), dwflags).ok() } - pub unsafe fn OpenLocalMachineGPO(&self, dwflags: u32) -> ::windows_core::Result<()> { + pub unsafe fn OpenLocalMachineGPO(&self, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).OpenLocalMachineGPO)(::windows_core::Interface::as_raw(self), dwflags).ok() } - pub unsafe fn OpenRemoteMachineGPO(&self, pszcomputername: P0, dwflags: u32) -> ::windows_core::Result<()> + pub unsafe fn OpenRemoteMachineGPO(&self, pszcomputername: P0, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { @@ -4790,13 +4791,13 @@ impl IGroupPolicyObject { } #[doc = "*Required features: `\"Win32_System_Registry\"`*"] #[cfg(feature = "Win32_System_Registry")] - pub unsafe fn GetRegistryKey(&self, dwsection: u32, hkey: *mut super::Registry::HKEY) -> ::windows_core::Result<()> { + pub unsafe fn GetRegistryKey(&self, dwsection: GPO_SECTION, hkey: *mut super::Registry::HKEY) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetRegistryKey)(::windows_core::Interface::as_raw(self), dwsection, hkey).ok() } - pub unsafe fn GetOptions(&self, dwoptions: *mut u32) -> ::windows_core::Result<()> { + pub unsafe fn GetOptions(&self, dwoptions: *mut GPO_OPTIONS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetOptions)(::windows_core::Interface::as_raw(self), dwoptions).ok() } - pub unsafe fn SetOptions(&self, dwoptions: u32, dwmask: u32) -> ::windows_core::Result<()> { + pub unsafe fn SetOptions(&self, dwoptions: GPO_OPTIONS, dwmask: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetOptions)(::windows_core::Interface::as_raw(self), dwoptions, dwmask).ok() } pub unsafe fn GetType(&self, gpotype: *mut GROUP_POLICY_OBJECT_TYPE) -> ::windows_core::Result<()> { @@ -4823,9 +4824,9 @@ unsafe impl ::windows_core::ComInterface for IGroupPolicyObject { pub struct IGroupPolicyObject_Vtbl { pub base__: ::windows_core::IUnknown_Vtbl, pub New: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszdomainname: ::windows_core::PCWSTR, pszdisplayname: ::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::HRESULT, - pub OpenDSGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: ::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::HRESULT, - pub OpenLocalMachineGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: u32) -> ::windows_core::HRESULT, - pub OpenRemoteMachineGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszcomputername: ::windows_core::PCWSTR, dwflags: u32) -> ::windows_core::HRESULT, + pub OpenDSGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszpath: ::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT, + pub OpenLocalMachineGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT, + pub OpenRemoteMachineGPO: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszcomputername: ::windows_core::PCWSTR, dwflags: GPO_OPEN_FLAGS) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_Foundation")] pub Save: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bmachine: super::super::Foundation::BOOL, badd: super::super::Foundation::BOOL, pguidextension: *mut ::windows_core::GUID, pguid: *mut ::windows_core::GUID) -> ::windows_core::HRESULT, #[cfg(not(feature = "Win32_Foundation"))] @@ -4838,11 +4839,11 @@ pub struct IGroupPolicyObject_Vtbl { pub GetDSPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwsection: u32, pszpath: ::windows_core::PWSTR, cchmaxpath: i32) -> ::windows_core::HRESULT, pub GetFileSysPath: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwsection: u32, pszpath: ::windows_core::PWSTR, cchmaxpath: i32) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_System_Registry")] - pub GetRegistryKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwsection: u32, hkey: *mut super::Registry::HKEY) -> ::windows_core::HRESULT, + pub GetRegistryKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwsection: GPO_SECTION, hkey: *mut super::Registry::HKEY) -> ::windows_core::HRESULT, #[cfg(not(feature = "Win32_System_Registry"))] GetRegistryKey: usize, - pub GetOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoptions: *mut u32) -> ::windows_core::HRESULT, - pub SetOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoptions: u32, dwmask: u32) -> ::windows_core::HRESULT, + pub GetOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoptions: *mut GPO_OPTIONS) -> ::windows_core::HRESULT, + pub SetOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoptions: GPO_OPTIONS, dwmask: u32) -> ::windows_core::HRESULT, pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, gpotype: *mut GROUP_POLICY_OBJECT_TYPE) -> ::windows_core::HRESULT, pub GetMachineName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszname: ::windows_core::PWSTR, cchmaxlength: i32) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_UI_Controls")] @@ -4889,6 +4890,8 @@ pub struct IRSOPInformation_Vtbl { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const ABSENT: APPSTATE = APPSTATE(0i32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const ADMXCOMMENTS_EXTENSION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6c5a2a86_9eb3_42b9_aa83_a7371ba011b9); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const APPNAME: INSTALLSPECTYPE = INSTALLSPECTYPE(1i32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const ASSIGNED: APPSTATE = APPSTATE(1i32); @@ -5083,19 +5086,19 @@ pub const GPO_LIST_FLAG_NO_WMIFILTERS: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GPO_LIST_FLAG_SITEONLY: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPEN_LOAD_REGISTRY: u32 = 1u32; +pub const GPO_OPEN_LOAD_REGISTRY: GPO_OPEN_FLAGS = GPO_OPEN_FLAGS(1u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPEN_READ_ONLY: u32 = 2u32; +pub const GPO_OPEN_READ_ONLY: GPO_OPEN_FLAGS = GPO_OPEN_FLAGS(2u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPTION_DISABLE_MACHINE: u32 = 2u32; +pub const GPO_OPTION_DISABLE_MACHINE: GPO_OPTIONS = GPO_OPTIONS(2u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_OPTION_DISABLE_USER: u32 = 1u32; +pub const GPO_OPTION_DISABLE_USER: GPO_OPTIONS = GPO_OPTIONS(1u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_MACHINE: u32 = 2u32; +pub const GPO_SECTION_MACHINE: GPO_SECTION = GPO_SECTION(2u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_ROOT: u32 = 0u32; +pub const GPO_SECTION_ROOT: GPO_SECTION = GPO_SECTION(0u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] -pub const GPO_SECTION_USER: u32 = 1u32; +pub const GPO_SECTION_USER: GPO_SECTION = GPO_SECTION(1u32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GP_DLLNAME: ::windows_core::PCWSTR = ::windows_core::w!("DllName"); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] @@ -5121,6 +5124,8 @@ pub const GP_PROCESSGROUPPOLICY: ::windows_core::PCWSTR = ::windows_core::w!("Pr #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const GP_REQUIRESSUCCESSFULREGISTRY: ::windows_core::PCWSTR = ::windows_core::w!("RequiresSuccessfulRegistry"); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GROUP_POLICY_TRIGGER_EVENT_PROVIDER_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xbd2f4252_5e1e_49fc_9a30_f3978ad89ee2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_ASSIGNED: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_ORPHANED: u32 = 32u32; @@ -5135,6 +5140,8 @@ pub const LOCALSTATE_UNINSTALLED: u32 = 64u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const LOCALSTATE_UNINSTALL_UNMANAGED: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MACHINE_POLICY_PRESENT_TRIGGER_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x659fcae6_5bdb_4da9_b1ff_ca2a178d46e0); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const MANAGED_APPS_FROMCATEGORY: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const MANAGED_APPS_INFOLEVEL_DEFAULT: u32 = 65536u32; @@ -5179,6 +5186,8 @@ pub const PT_TEMPORARY: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const PUBLISHED: APPSTATE = APPSTATE(2i32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const REGISTRY_EXTENSION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x35378eac_683f_11d2_a89a_00c04fbbcfa2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RP_FORCE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RP_SYNC: u32 = 2u32; @@ -5215,6 +5224,8 @@ pub const RSOP_TEMPNAMESPACE_EXISTS: u32 = 4u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const RSOP_USER_ACCESS_DENIED: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const USER_POLICY_PRESENT_TRIGGER_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x54fb46c8_f089_464c_b1fd_59d1b62c3b50); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const backupMostRecent: GPMSearchProperty = GPMSearchProperty(9i32); #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] pub const gpoComputerExtensions: GPMSearchProperty = GPMSearchProperty(5i32); @@ -5650,6 +5661,108 @@ impl ::core::fmt::Debug for GPO_LINK { #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GPO_OPEN_FLAGS(pub u32); +impl ::core::marker::Copy for GPO_OPEN_FLAGS {} +impl ::core::clone::Clone for GPO_OPEN_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GPO_OPEN_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GPO_OPEN_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GPO_OPEN_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GPO_OPEN_FLAGS").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GPO_OPTIONS(pub u32); +impl ::core::marker::Copy for GPO_OPTIONS {} +impl ::core::clone::Clone for GPO_OPTIONS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GPO_OPTIONS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GPO_OPTIONS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GPO_OPTIONS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GPO_OPTIONS").field(&self.0).finish() + } +} +impl GPO_OPTIONS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for GPO_OPTIONS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for GPO_OPTIONS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for GPO_OPTIONS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for GPO_OPTIONS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for GPO_OPTIONS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct GPO_SECTION(pub u32); +impl ::core::marker::Copy for GPO_SECTION {} +impl ::core::clone::Clone for GPO_SECTION { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for GPO_SECTION { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for GPO_SECTION { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for GPO_SECTION { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("GPO_SECTION").field(&self.0).finish() + } +} +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct GROUP_POLICY_HINT_TYPE(pub i32); impl ::core::marker::Copy for GROUP_POLICY_HINT_TYPE {} impl ::core::clone::Clone for GROUP_POLICY_HINT_TYPE { diff --git a/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs index 74fa9d1a113..d7a363a816a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Memory/mod.rs @@ -758,11 +758,11 @@ where #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn SetProcessWorkingSetSizeEx(hprocess: P0, dwminimumworkingsetsize: usize, dwmaximumworkingsetsize: usize, flags: u32) -> ::windows_core::Result<()> +pub unsafe fn SetProcessWorkingSetSizeEx(hprocess: P0, dwminimumworkingsetsize: usize, dwmaximumworkingsetsize: usize, flags: SETPROCESSWORKINGSETSIZEEX_FLAGS) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn SetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, dwminimumworkingsetsize : usize, dwmaximumworkingsetsize : usize, flags : u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn SetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, dwminimumworkingsetsize : usize, dwmaximumworkingsetsize : usize, flags : SETPROCESSWORKINGSETSIZEEX_FLAGS) -> super::super::Foundation:: BOOL); SetProcessWorkingSetSizeEx(hprocess.into_param().abi(), dwminimumworkingsetsize, dwmaximumworkingsetsize, flags).ok() } #[doc = "*Required features: `\"Win32_System_Memory\"`, `\"Win32_Foundation\"`*"] @@ -1163,6 +1163,14 @@ pub const PAGE_WRITECOMBINE: PAGE_PROTECTION_FLAGS = PAGE_PROTECTION_FLAGS(1024u #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const PAGE_WRITECOPY: PAGE_PROTECTION_FLAGS = PAGE_PROTECTION_FLAGS(8u32); #[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = SETPROCESSWORKINGSETSIZEEX_FLAGS(8u32); +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = SETPROCESSWORKINGSETSIZEEX_FLAGS(4u32); +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = SETPROCESSWORKINGSETSIZEEX_FLAGS(2u32); +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = SETPROCESSWORKINGSETSIZEEX_FLAGS(1u32); +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const SECTION_ALL_ACCESS: SECTION_FLAGS = SECTION_FLAGS(983071u32); #[doc = "*Required features: `\"Win32_System_Memory\"`*"] pub const SECTION_EXTEND_SIZE: SECTION_FLAGS = SECTION_FLAGS(16u32); @@ -1739,6 +1747,62 @@ impl ::core::ops::Not for SECTION_FLAGS { #[doc = "*Required features: `\"Win32_System_Memory\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct SETPROCESSWORKINGSETSIZEEX_FLAGS(pub u32); +impl ::core::marker::Copy for SETPROCESSWORKINGSETSIZEEX_FLAGS {} +impl ::core::clone::Clone for SETPROCESSWORKINGSETSIZEEX_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for SETPROCESSWORKINGSETSIZEEX_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for SETPROCESSWORKINGSETSIZEEX_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for SETPROCESSWORKINGSETSIZEEX_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("SETPROCESSWORKINGSETSIZEEX_FLAGS").field(&self.0).finish() + } +} +impl SETPROCESSWORKINGSETSIZEEX_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for SETPROCESSWORKINGSETSIZEEX_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for SETPROCESSWORKINGSETSIZEEX_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for SETPROCESSWORKINGSETSIZEEX_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for SETPROCESSWORKINGSETSIZEEX_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for SETPROCESSWORKINGSETSIZEEX_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_System_Memory\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct UNMAP_VIEW_OF_FILE_FLAGS(pub u32); impl ::core::marker::Copy for UNMAP_VIEW_OF_FILE_FLAGS {} impl ::core::clone::Clone for UNMAP_VIEW_OF_FILE_FLAGS { diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index 805b880a8ea..8693da251e4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -297,12 +297,12 @@ where #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Security\"`*"] #[cfg(feature = "Win32_Security")] #[inline] -pub unsafe fn MQSetQueueSecurity(lpwcsformatname: P0, securityinformation: u32, psecuritydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn MQSetQueueSecurity(lpwcsformatname: P0, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("mqrt.dll" "system" fn MQSetQueueSecurity(lpwcsformatname : ::windows_core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> ::windows_core::HRESULT); + ::windows_targets::link!("mqrt.dll" "system" fn MQSetQueueSecurity(lpwcsformatname : ::windows_core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> ::windows_core::HRESULT); MQSetQueueSecurity(lpwcsformatname.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_System_Com\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs index 99fa6cf668c..86e723e4b09 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs @@ -403,11 +403,11 @@ where #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RegGetKeySecurity(hkey: P0, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn RegGetKeySecurity(hkey: P0, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn RegGetKeySecurity(hkey : HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn RegGetKeySecurity(hkey : HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::Foundation:: WIN32_ERROR); RegGetKeySecurity(hkey.into_param().abi(), securityinformation, psecuritydescriptor, lpcbsecuritydescriptor).ok() } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] @@ -840,12 +840,12 @@ where #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn RegSetKeySecurity(hkey: P0, securityinformation: u32, psecuritydescriptor: P1) -> ::windows_core::Result<()> +pub unsafe fn RegSetKeySecurity(hkey: P0, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { - ::windows_targets::link!("advapi32.dll" "system" fn RegSetKeySecurity(hkey : HKEY, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); + ::windows_targets::link!("advapi32.dll" "system" fn RegSetKeySecurity(hkey : HKEY, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: WIN32_ERROR); RegSetKeySecurity(hkey.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Registry\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index 0f8052840db..6d2a76eb7c3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -236,23 +236,23 @@ pub unsafe fn WTSGetChildSessionId(psessionid: *mut u32) -> super::super::Founda #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn WTSGetListenerSecurityA(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn WTSGetListenerSecurityA(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("wtsapi32.dll" "system" fn WTSGetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wtsapi32.dll" "system" fn WTSGetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); WTSGetListenerSecurityA(hserver.into_param().abi(), preserved, reserved, plistenername.into_param().abi(), securityinformation, psecuritydescriptor, nlength, lpnlengthneeded).ok() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn WTSGetListenerSecurityW(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: u32, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn WTSGetListenerSecurityW(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: super::super::Security::PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("wtsapi32.dll" "system" fn WTSGetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wtsapi32.dll" "system" fn WTSGetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::super::Foundation:: BOOL); WTSGetListenerSecurityW(hserver.into_param().abi(), preserved, reserved, plistenername.into_param().abi(), securityinformation, psecuritydescriptor, nlength, lpnlengthneeded).ok() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] @@ -432,25 +432,25 @@ where #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn WTSSetListenerSecurityA(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: u32, psecuritydescriptor: P2) -> ::windows_core::Result<()> +pub unsafe fn WTSSetListenerSecurityA(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("wtsapi32.dll" "system" fn WTSSetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wtsapi32.dll" "system" fn WTSSetListenerSecurityA(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); WTSSetListenerSecurityA(hserver.into_param().abi(), preserved, reserved, plistenername.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn WTSSetListenerSecurityW(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: u32, psecuritydescriptor: P2) -> ::windows_core::Result<()> +pub unsafe fn WTSSetListenerSecurityW(hserver: P0, preserved: *const ::core::ffi::c_void, reserved: u32, plistenername: P1, securityinformation: super::super::Security::OBJECT_SECURITY_INFORMATION, psecuritydescriptor: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, P2: ::windows_core::IntoParam, { - ::windows_targets::link!("wtsapi32.dll" "system" fn WTSSetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("wtsapi32.dll" "system" fn WTSSetListenerSecurityW(hserver : super::super::Foundation:: HANDLE, preserved : *const ::core::ffi::c_void, reserved : u32, plistenername : ::windows_core::PCWSTR, securityinformation : super::super::Security:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> super::super::Foundation:: BOOL); WTSSetListenerSecurityW(hserver.into_param().abi(), preserved, reserved, plistenername.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs index dc14dca1138..9708a27bfbf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -3636,7 +3636,7 @@ pub struct WSMAN_PLUGIN_REQUEST { pub locale: ::windows_core::PCWSTR, pub resourceUri: ::windows_core::PCWSTR, pub operationInfo: *mut WSMAN_OPERATION_INFO, - pub shutdownNotification: i32, + pub shutdownNotification: super::super::Foundation::BOOL, pub shutdownNotificationHandle: super::super::Foundation::HANDLE, pub dataLocale: ::windows_core::PCWSTR, } diff --git a/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs index 608a1b0593c..fe361aa239c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RestartManager/mod.rs @@ -1,53 +1,57 @@ #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmAddFilter(dwsessionhandle: u32, strmodulename: P0, pprocess: ::core::option::Option<*const RM_UNIQUE_PROCESS>, strserviceshortname: P1, filteraction: RM_FILTER_ACTION) -> u32 +pub unsafe fn RmAddFilter(dwsessionhandle: u32, strmodulename: P0, pprocess: ::core::option::Option<*const RM_UNIQUE_PROCESS>, strserviceshortname: P1, filteraction: RM_FILTER_ACTION) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmAddFilter(dwsessionhandle : u32, strmodulename : ::windows_core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_core::PCWSTR, filteraction : RM_FILTER_ACTION) -> u32); - RmAddFilter(dwsessionhandle, strmodulename.into_param().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into_param().abi(), filteraction) + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmAddFilter(dwsessionhandle : u32, strmodulename : ::windows_core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_core::PCWSTR, filteraction : RM_FILTER_ACTION) -> super::super::Foundation:: WIN32_ERROR); + RmAddFilter(dwsessionhandle, strmodulename.into_param().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into_param().abi(), filteraction).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmCancelCurrentTask(dwsessionhandle: u32) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmCancelCurrentTask(dwsessionhandle : u32) -> u32); - RmCancelCurrentTask(dwsessionhandle) +pub unsafe fn RmCancelCurrentTask(dwsessionhandle: u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmCancelCurrentTask(dwsessionhandle : u32) -> super::super::Foundation:: WIN32_ERROR); + RmCancelCurrentTask(dwsessionhandle).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmEndSession(dwsessionhandle: u32) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmEndSession(dwsessionhandle : u32) -> u32); - RmEndSession(dwsessionhandle) +pub unsafe fn RmEndSession(dwsessionhandle: u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmEndSession(dwsessionhandle : u32) -> super::super::Foundation:: WIN32_ERROR); + RmEndSession(dwsessionhandle).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmGetFilterList(dwsessionhandle: u32, pbfilterbuf: ::core::option::Option<&mut [u8]>, cbfilterbufneeded: *mut u32) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmGetFilterList(dwsessionhandle : u32, pbfilterbuf : *mut u8, cbfilterbuf : u32, cbfilterbufneeded : *mut u32) -> u32); - RmGetFilterList(dwsessionhandle, ::core::mem::transmute(pbfilterbuf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbfilterbuf.as_deref().map_or(0, |slice| slice.len() as _), cbfilterbufneeded) +pub unsafe fn RmGetFilterList(dwsessionhandle: u32, pbfilterbuf: ::core::option::Option<&mut [u8]>, cbfilterbufneeded: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmGetFilterList(dwsessionhandle : u32, pbfilterbuf : *mut u8, cbfilterbuf : u32, cbfilterbufneeded : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + RmGetFilterList(dwsessionhandle, ::core::mem::transmute(pbfilterbuf.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pbfilterbuf.as_deref().map_or(0, |slice| slice.len() as _), cbfilterbufneeded).ok() } #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmGetList(dwsessionhandle: u32, pnprocinfoneeded: *mut u32, pnprocinfo: *mut u32, rgaffectedapps: ::core::option::Option<*mut RM_PROCESS_INFO>, lpdwrebootreasons: *mut u32) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmGetList(dwsessionhandle : u32, pnprocinfoneeded : *mut u32, pnprocinfo : *mut u32, rgaffectedapps : *mut RM_PROCESS_INFO, lpdwrebootreasons : *mut u32) -> u32); - RmGetList(dwsessionhandle, pnprocinfoneeded, pnprocinfo, ::core::mem::transmute(rgaffectedapps.unwrap_or(::std::ptr::null_mut())), lpdwrebootreasons) +pub unsafe fn RmGetList(dwsessionhandle: u32, pnprocinfoneeded: *mut u32, pnprocinfo: *mut u32, rgaffectedapps: ::core::option::Option<*mut RM_PROCESS_INFO>, lpdwrebootreasons: *mut u32) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmGetList(dwsessionhandle : u32, pnprocinfoneeded : *mut u32, pnprocinfo : *mut u32, rgaffectedapps : *mut RM_PROCESS_INFO, lpdwrebootreasons : *mut u32) -> super::super::Foundation:: WIN32_ERROR); + RmGetList(dwsessionhandle, pnprocinfoneeded, pnprocinfo, ::core::mem::transmute(rgaffectedapps.unwrap_or(::std::ptr::null_mut())), lpdwrebootreasons).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmJoinSession(psessionhandle: *mut u32, strsessionkey: P0) -> u32 +pub unsafe fn RmJoinSession(psessionhandle: *mut u32, strsessionkey: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmJoinSession(psessionhandle : *mut u32, strsessionkey : ::windows_core::PCWSTR) -> u32); - RmJoinSession(psessionhandle, strsessionkey.into_param().abi()) + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmJoinSession(psessionhandle : *mut u32, strsessionkey : ::windows_core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); + RmJoinSession(psessionhandle, strsessionkey.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmRegisterResources(dwsessionhandle: u32, rgsfilenames: ::core::option::Option<&[::windows_core::PCWSTR]>, rgapplications: ::core::option::Option<&[RM_UNIQUE_PROCESS]>, rgsservicenames: ::core::option::Option<&[::windows_core::PCWSTR]>) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRegisterResources(dwsessionhandle : u32, nfiles : u32, rgsfilenames : *const ::windows_core::PCWSTR, napplications : u32, rgapplications : *const RM_UNIQUE_PROCESS, nservices : u32, rgsservicenames : *const ::windows_core::PCWSTR) -> u32); +pub unsafe fn RmRegisterResources(dwsessionhandle: u32, rgsfilenames: ::core::option::Option<&[::windows_core::PCWSTR]>, rgapplications: ::core::option::Option<&[RM_UNIQUE_PROCESS]>, rgsservicenames: ::core::option::Option<&[::windows_core::PCWSTR]>) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRegisterResources(dwsessionhandle : u32, nfiles : u32, rgsfilenames : *const ::windows_core::PCWSTR, napplications : u32, rgapplications : *const RM_UNIQUE_PROCESS, nservices : u32, rgsservicenames : *const ::windows_core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); RmRegisterResources( dwsessionhandle, rgsfilenames.as_deref().map_or(0, |slice| slice.len() as _), @@ -57,35 +61,39 @@ pub unsafe fn RmRegisterResources(dwsessionhandle: u32, rgsfilenames: ::core::op rgsservicenames.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rgsservicenames.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ) + .ok() } #[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmRemoveFilter(dwsessionhandle: u32, strmodulename: P0, pprocess: ::core::option::Option<*const RM_UNIQUE_PROCESS>, strserviceshortname: P1) -> u32 +pub unsafe fn RmRemoveFilter(dwsessionhandle: u32, strmodulename: P0, pprocess: ::core::option::Option<*const RM_UNIQUE_PROCESS>, strserviceshortname: P1) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRemoveFilter(dwsessionhandle : u32, strmodulename : ::windows_core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_core::PCWSTR) -> u32); - RmRemoveFilter(dwsessionhandle, strmodulename.into_param().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into_param().abi()) + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRemoveFilter(dwsessionhandle : u32, strmodulename : ::windows_core::PCWSTR, pprocess : *const RM_UNIQUE_PROCESS, strserviceshortname : ::windows_core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); + RmRemoveFilter(dwsessionhandle, strmodulename.into_param().abi(), ::core::mem::transmute(pprocess.unwrap_or(::std::ptr::null())), strserviceshortname.into_param().abi()).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmRestart(dwsessionhandle: u32, dwrestartflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRestart(dwsessionhandle : u32, dwrestartflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> u32); - RmRestart(dwsessionhandle, dwrestartflags, fnstatus) +pub unsafe fn RmRestart(dwsessionhandle: u32, dwrestartflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmRestart(dwsessionhandle : u32, dwrestartflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> super::super::Foundation:: WIN32_ERROR); + RmRestart(dwsessionhandle, dwrestartflags, fnstatus).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmShutdown(dwsessionhandle: u32, lactionflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmShutdown(dwsessionhandle : u32, lactionflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> u32); - RmShutdown(dwsessionhandle, lactionflags, fnstatus) +pub unsafe fn RmShutdown(dwsessionhandle: u32, lactionflags: u32, fnstatus: RM_WRITE_STATUS_CALLBACK) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmShutdown(dwsessionhandle : u32, lactionflags : u32, fnstatus : RM_WRITE_STATUS_CALLBACK) -> super::super::Foundation:: WIN32_ERROR); + RmShutdown(dwsessionhandle, lactionflags, fnstatus).ok() } -#[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] +#[doc = "*Required features: `\"Win32_System_RestartManager\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn RmStartSession(psessionhandle: *mut u32, dwsessionflags: u32, strsessionkey: ::windows_core::PWSTR) -> u32 { - ::windows_targets::link!("rstrtmgr.dll" "system" fn RmStartSession(psessionhandle : *mut u32, dwsessionflags : u32, strsessionkey : ::windows_core::PWSTR) -> u32); - RmStartSession(psessionhandle, dwsessionflags, ::core::mem::transmute(strsessionkey)) +pub unsafe fn RmStartSession(psessionhandle: *mut u32, dwsessionflags: u32, strsessionkey: ::windows_core::PWSTR) -> ::windows_core::Result<()> { + ::windows_targets::link!("rstrtmgr.dll" "system" fn RmStartSession(psessionhandle : *mut u32, dwsessionflags : u32, strsessionkey : ::windows_core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); + RmStartSession(psessionhandle, dwsessionflags, ::core::mem::transmute(strsessionkey)).ok() } #[doc = "*Required features: `\"Win32_System_RestartManager\"`*"] pub const CCH_RM_MAX_APP_NAME: u32 = 255u32; diff --git a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs index 63410949567..c7143bc7d9a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs @@ -1,3 +1,9 @@ +#[doc = "*Required features: `\"Win32_System_Restore\"`*"] +#[inline] +pub unsafe fn SRRemoveRestorePoint(dwrpnum: u32) -> u32 { + ::windows_targets::link!("srclient.dll" "system" fn SRRemoveRestorePoint(dwrpnum : u32) -> u32); + SRRemoveRestorePoint(dwrpnum) +} #[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] @@ -191,20 +197,25 @@ impl ::core::default::Default for RESTOREPOINTINFOW { } } #[repr(C, packed(1))] -#[doc = "*Required features: `\"Win32_System_Restore\"`*"] +#[doc = "*Required features: `\"Win32_System_Restore\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] pub struct STATEMGRSTATUS { - pub nStatus: u32, + pub nStatus: super::super::Foundation::WIN32_ERROR, pub llSequenceNumber: i64, } +#[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for STATEMGRSTATUS {} +#[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for STATEMGRSTATUS { fn clone(&self) -> Self { *self } } +#[cfg(feature = "Win32_Foundation")] impl ::windows_core::TypeKind for STATEMGRSTATUS { type TypeKind = ::windows_core::CopyType; } +#[cfg(feature = "Win32_Foundation")] impl ::core::default::Default for STATEMGRSTATUS { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs index b1f4eb13779..abf5866cdf9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -12263,6 +12263,8 @@ pub const DBPROP_USERNAME: DBPROPENUM = DBPROPENUM(118i32); #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBPROP_Unicode: u32 = 6u32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const DBQUERYGUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49691c90_7e17_101a_a91c_08002b2ecda9); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBRANGE_EXCLUDENULLS: DBRANGEENUM = DBRANGEENUM(4i32); #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const DBRANGE_EXCLUSIVEEND: DBRANGEENUM = DBRANGEENUM(2i32); @@ -15141,6 +15143,10 @@ pub const PRTH_S_TRY_IMPERSONATING: i32 = 266789i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PRTH_S_USE_ROSEBUD: i32 = 266772i32; #[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const PSGUID_CHARACTERIZATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x560c36c0_503a_11cf_baa1_00004c752a9a); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] +pub const PSGUID_QUERY_METADATA: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x624c9360_93d0_11cf_a787_00004c752752); +#[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PSGUID_STORAGE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb725f130_47ef_101a_a5f1_02608c9eebac); #[doc = "*Required features: `\"Win32_System_Search\"`*"] pub const PWPROP_OSPVALUE: u32 = 2u32; diff --git a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs index b6d60b680a9..bc2f53ab728 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs @@ -21,7 +21,7 @@ where #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ChangeServiceConfigA(hservice: P0, dwservicetype: u32, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: P1, lploadordergroup: P2, lpdwtagid: ::core::option::Option<*mut u32>, lpdependencies: P3, lpservicestartname: P4, lppassword: P5, lpdisplayname: P6) -> ::windows_core::Result<()> +pub unsafe fn ChangeServiceConfigA(hservice: P0, dwservicetype: ENUM_SERVICE_TYPE, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: P1, lploadordergroup: P2, lpdwtagid: ::core::option::Option<*mut u32>, lpdependencies: P3, lpservicestartname: P4, lppassword: P5, lpdisplayname: P6) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCSTR>, @@ -31,13 +31,13 @@ where P5: ::windows_core::IntoParam<::windows_core::PCSTR>, P6: ::windows_core::IntoParam<::windows_core::PCSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn ChangeServiceConfigA(hservice : super::super::Security:: SC_HANDLE, dwservicetype : u32, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_core::PCSTR, lploadordergroup : ::windows_core::PCSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_core::PCSTR, lpservicestartname : ::windows_core::PCSTR, lppassword : ::windows_core::PCSTR, lpdisplayname : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ChangeServiceConfigA(hservice : super::super::Security:: SC_HANDLE, dwservicetype : ENUM_SERVICE_TYPE, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_core::PCSTR, lploadordergroup : ::windows_core::PCSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_core::PCSTR, lpservicestartname : ::windows_core::PCSTR, lppassword : ::windows_core::PCSTR, lpdisplayname : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); ChangeServiceConfigA(hservice.into_param().abi(), dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into_param().abi(), lploadordergroup.into_param().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into_param().abi(), lpservicestartname.into_param().abi(), lppassword.into_param().abi(), lpdisplayname.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] -pub unsafe fn ChangeServiceConfigW(hservice: P0, dwservicetype: u32, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: P1, lploadordergroup: P2, lpdwtagid: ::core::option::Option<*mut u32>, lpdependencies: P3, lpservicestartname: P4, lppassword: P5, lpdisplayname: P6) -> ::windows_core::Result<()> +pub unsafe fn ChangeServiceConfigW(hservice: P0, dwservicetype: ENUM_SERVICE_TYPE, dwstarttype: SERVICE_START_TYPE, dwerrorcontrol: SERVICE_ERROR, lpbinarypathname: P1, lploadordergroup: P2, lpdwtagid: ::core::option::Option<*mut u32>, lpdependencies: P3, lpservicestartname: P4, lppassword: P5, lpdisplayname: P6) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -47,7 +47,7 @@ where P5: ::windows_core::IntoParam<::windows_core::PCWSTR>, P6: ::windows_core::IntoParam<::windows_core::PCWSTR>, { - ::windows_targets::link!("advapi32.dll" "system" fn ChangeServiceConfigW(hservice : super::super::Security:: SC_HANDLE, dwservicetype : u32, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_core::PCWSTR, lploadordergroup : ::windows_core::PCWSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_core::PCWSTR, lpservicestartname : ::windows_core::PCWSTR, lppassword : ::windows_core::PCWSTR, lpdisplayname : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("advapi32.dll" "system" fn ChangeServiceConfigW(hservice : super::super::Security:: SC_HANDLE, dwservicetype : ENUM_SERVICE_TYPE, dwstarttype : SERVICE_START_TYPE, dwerrorcontrol : SERVICE_ERROR, lpbinarypathname : ::windows_core::PCWSTR, lploadordergroup : ::windows_core::PCWSTR, lpdwtagid : *mut u32, lpdependencies : ::windows_core::PCWSTR, lpservicestartname : ::windows_core::PCWSTR, lppassword : ::windows_core::PCWSTR, lpdisplayname : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); ChangeServiceConfigW(hservice.into_param().abi(), dwservicetype, dwstarttype, dwerrorcontrol, lpbinarypathname.into_param().abi(), lploadordergroup.into_param().abi(), ::core::mem::transmute(lpdwtagid.unwrap_or(::std::ptr::null_mut())), lpdependencies.into_param().abi(), lpservicestartname.into_param().abi(), lppassword.into_param().abi(), lpdisplayname.into_param().abi()).ok() } #[doc = "*Required features: `\"Win32_System_Services\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs index caf066e658c..e0a78d46682 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Shutdown/mod.rs @@ -146,18 +146,32 @@ where ShutdownBlockReasonQuery(hwnd.into_param().abi(), ::core::mem::transmute(pwszbuff), pcchbuff).ok() } #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_ARSO: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(67108864u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_BOOTOPTIONS: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(16777216u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_CHECK_SAFE_FOR_SERVER: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(134217728u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_FORCE: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(4u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_FORCEIFHUNG: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(16u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_HYBRID_SHUTDOWN: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(4194304u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_LOGOFF: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(0u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_POWEROFF: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(8u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_QUICKRESOLVE: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(32u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_REBOOT: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(2u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_RESTARTAPPS: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(64u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const EWX_SHUTDOWN: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(1u32); #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] +pub const EWX_SYSTEM_INITIATED: EXIT_WINDOWS_FLAGS = EXIT_WINDOWS_FLAGS(268435456u32); +#[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const MAX_NUM_REASONS: u32 = 256u32; #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] pub const MAX_REASON_BUGID_LEN: u32 = 32u32; @@ -342,6 +356,39 @@ impl ::core::fmt::Debug for EXIT_WINDOWS_FLAGS { f.debug_tuple("EXIT_WINDOWS_FLAGS").field(&self.0).finish() } } +impl EXIT_WINDOWS_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for EXIT_WINDOWS_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for EXIT_WINDOWS_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for EXIT_WINDOWS_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for EXIT_WINDOWS_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for EXIT_WINDOWS_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} #[doc = "*Required features: `\"Win32_System_Shutdown\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs index 8c0323b671e..bde94635215 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs @@ -119,8 +119,6 @@ pub const ALERT_SYSTEM_WARNING: ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV(2u32); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const ALL_POWERSCHEMES_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68a1e95e_13ea_41e1_8011_0c496ca490b0); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const ALL_PROCESSOR_GROUPS: u32 = 65535u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const ANYSIZE_ARRAY: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const APPCOMMAND_BASS_BOOST: APPCOMMAND_ID = APPCOMMAND_ID(20u32); @@ -475,6 +473,8 @@ pub const CompatibilityInformationInActivationContext: ACTIVATION_CONTEXT_INFO_C #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const CriticalError: SERVICE_ERROR_TYPE = SERVICE_ERROR_TYPE(3i32); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] +pub const DECIMAL_NEG: u8 = 128u8; +#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const DEDICATED_MEMORY_CACHE_ELIGIBLE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const DEVICEFAMILYDEVICEFORM_KEY: ::windows_core::PCWSTR = ::windows_core::w!("\\Registry\\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM"); @@ -1107,12 +1107,6 @@ pub const GUID_DEVICE_POWER_POLICY_VIDEO_BRIGHTNESS: ::windows_core::GUID = ::wi #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DEVICE_POWER_POLICY_VIDEO_DIM_BRIGHTNESS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf1fbfde2_a960_4165_9f88_50667911ce96); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMP: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMR: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const GUID_DEVINTERFACE_DMS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553); -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DISCONNECTED_STANDBY_MODE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x68afb2d9_ee95_47a8_8f50_4115088073b1); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const GUID_DISK_ADAPTIVE_POWERDOWN: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x396a32e1_499a_40b2_9124_a96afe707667); @@ -3095,44 +3089,8 @@ pub const PERFSTATE_POLICY_CHANGE_ROCKET: u32 = 2u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PERFSTATE_POLICY_CHANGE_SINGLE: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ALPHA_BYTE_INSTRUCTIONS: u32 = 5u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_NEON_INSTRUCTIONS_AVAILABLE: u32 = 19u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V82_DP_INSTRUCTIONS_AVAILABLE: u32 = 43u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE: u32 = 44u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ARM_V83_LRCPC_INSTRUCTIONS_AVAILABLE: u32 = 45u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX2_INSTRUCTIONS_AVAILABLE: u32 = 40u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE: u32 = 41u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_AVX_INSTRUCTIONS_AVAILABLE: u32 = 39u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_ERMS_AVAILABLE: u32 = 42u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_MONITORX_INSTRUCTION_AVAILABLE: u32 = 35u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_NON_TEMPORAL_LEVEL_ALL: u32 = 0u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_PPC_MOVEMEM_64BIT_OK: u32 = 4u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDPID_INSTRUCTION_AVAILABLE: u32 = 33u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDRAND_INSTRUCTION_AVAILABLE: u32 = 28u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_RDTSCP_INSTRUCTION_AVAILABLE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE: u32 = 37u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE: u32 = 38u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSE_DAZ_MODE_AVAILABLE: u32 = 11u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE: u32 = 36u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_TEMPORAL_LEVEL_1: u32 = 1u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PF_TEMPORAL_LEVEL_2: u32 = 2u32; @@ -3509,14 +3467,6 @@ pub const PowerMonitorOff: MONITOR_DISPLAY_STATE = MONITOR_DISPLAY_STATE(0i32); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const PowerMonitorOn: MONITOR_DISPLAY_STATE = MONITOR_DISPLAY_STATE(1i32); #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE: u32 = 8u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] -pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const QUOTA_LIMITS_USE_DEFAULT_LIMITS: u32 = 16u32; #[doc = "*Required features: `\"Win32_System_SystemServices\"`*"] pub const READ_THREAD_PROFILING_FLAG_DISPATCHING: u32 = 1u32; diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs index d91a4d88f90..eaf283f4568 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -205,6 +205,17 @@ where #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] +pub unsafe fn CancelTimerQueueTimer(timerqueue: P0, timer: P1) -> super::super::Foundation::BOOL +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam, +{ + ::windows_targets::link!("kernel32.dll" "system" fn CancelTimerQueueTimer(timerqueue : super::super::Foundation:: HANDLE, timer : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); + CancelTimerQueueTimer(timerqueue.into_param().abi(), timer.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] pub unsafe fn CancelWaitableTimer(htimer: P0) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, @@ -695,6 +706,27 @@ pub unsafe fn CreateUmsThreadContext(lpumsthread: *mut *mut ::core::ffi::c_void) #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] #[inline] +pub unsafe fn CreateWaitableTimerA(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, bmanualreset: P0, lptimername: P1) -> super::super::Foundation::HANDLE +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCSTR>, +{ + ::windows_targets::link!("kernel32.dll" "system" fn CreateWaitableTimerA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, bmanualreset : super::super::Foundation:: BOOL, lptimername : ::windows_core::PCSTR) -> super::super::Foundation:: HANDLE); + CreateWaitableTimerA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), bmanualreset.into_param().abi(), lptimername.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] +pub unsafe fn CreateWaitableTimerExA(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, lptimername: P0, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE +where + P0: ::windows_core::IntoParam<::windows_core::PCSTR>, +{ + ::windows_targets::link!("kernel32.dll" "system" fn CreateWaitableTimerExA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, lptimername : ::windows_core::PCSTR, dwflags : u32, dwdesiredaccess : u32) -> super::super::Foundation:: HANDLE); + CreateWaitableTimerExA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), lptimername.into_param().abi(), dwflags, dwdesiredaccess) +} +#[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +#[inline] pub unsafe fn CreateWaitableTimerExW(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, lptimername: P0, dwflags: u32, dwdesiredaccess: u32) -> ::windows_core::Result where P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, @@ -1721,6 +1753,17 @@ where #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] +pub unsafe fn OpenWaitableTimerA(dwdesiredaccess: u32, binherithandle: P0, lptimername: P1) -> super::super::Foundation::HANDLE +where + P0: ::windows_core::IntoParam, + P1: ::windows_core::IntoParam<::windows_core::PCSTR>, +{ + ::windows_targets::link!("kernel32.dll" "system" fn OpenWaitableTimerA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lptimername : ::windows_core::PCSTR) -> super::super::Foundation:: HANDLE); + OpenWaitableTimerA(dwdesiredaccess, binherithandle.into_param().abi(), lptimername.into_param().abi()) +} +#[doc = "*Required features: `\"Win32_System_Threading\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +#[inline] pub unsafe fn OpenWaitableTimerW(dwdesiredaccess: SYNCHRONIZATION_ACCESS_RIGHTS, binherithandle: P0, lptimername: P1) -> ::windows_core::Result where P0: ::windows_core::IntoParam, @@ -3060,6 +3103,8 @@ pub struct RTWQASYNCRESULT_Vtbl { #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const ABOVE_NORMAL_PRIORITY_CLASS: PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS(32768u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const ALL_PROCESSOR_GROUPS: u16 = 65535u16; +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const AVRT_PRIORITY_CRITICAL: AVRT_PRIORITY = AVRT_PRIORITY(2i32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const AVRT_PRIORITY_HIGH: AVRT_PRIORITY = AVRT_PRIORITY(1i32); @@ -3178,6 +3223,8 @@ pub const NORMAL_PRIORITY_CLASS: PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_3DNOW_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(7u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ALPHA_BYTE_INSTRUCTIONS: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(5u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_64BIT_LOADSTORE_ATOMIC: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(25u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(24u32); @@ -3186,8 +3233,16 @@ pub const PF_ARM_EXTERNAL_CACHE_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEAT #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(27u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_NEON_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(19u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(34u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V82_DP_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(43u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(44u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ARM_V83_LRCPC_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(45u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(31u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(30u32); @@ -3196,6 +3251,12 @@ pub const PF_ARM_V8_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEA #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_ARM_VFP_32_REGISTERS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(18u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX2_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(40u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(41u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_AVX_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(39u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_CHANNELS_ENABLED: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(16u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_COMPARE64_EXCHANGE128: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(15u32); @@ -3204,6 +3265,8 @@ pub const PF_COMPARE_EXCHANGE128: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(14 #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_COMPARE_EXCHANGE_DOUBLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(2u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_ERMS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(42u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_FASTFAIL_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(23u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_FLOATING_POINT_EMULATED: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(1u32); @@ -3212,10 +3275,20 @@ pub const PF_FLOATING_POINT_PRECISION_ERRATA: PROCESSOR_FEATURE_ID = PROCESSOR_F #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_MMX_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(3u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_MONITORX_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(35u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_NX_ENABLED: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(12u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_PAE_ENABLED: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(9u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_PPC_MOVEMEM_64BIT_OK: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(4u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDPID_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(33u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDRAND_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(28u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_RDTSCP_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(32u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_RDTSC_INSTRUCTION_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(8u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_RDWRFSGSBASE_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(22u32); @@ -3224,6 +3297,14 @@ pub const PF_SECOND_LEVEL_ADDRESS_TRANSLATION: PROCESSOR_FEATURE_ID = PROCESSOR_ #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_SSE3_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(13u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(37u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(38u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSE_DAZ_MODE_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(11u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] +pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(36u32); +#[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_VIRT_FIRMWARE_ENABLED: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(21u32); #[doc = "*Required features: `\"Win32_System_Threading\"`*"] pub const PF_XMMI64_INSTRUCTIONS_AVAILABLE: PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID(10u32); diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index beb07fe20e4..feddc91b2f1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -68,17 +68,6 @@ where ::windows_targets::link!("kernel32.dll" "system" fn CancelDeviceWakeupRequest(hdevice : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); CancelDeviceWakeupRequest(hdevice.into_param().abi()) } -#[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn CancelTimerQueueTimer(timerqueue: P0, timer: P1) -> super::super::Foundation::BOOL -where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, -{ - ::windows_targets::link!("kernel32.dll" "system" fn CancelTimerQueueTimer(timerqueue : super::super::Foundation:: HANDLE, timer : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); - CancelTimerQueueTimer(timerqueue.into_param().abi(), timer.into_param().abi()) -} #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn CloseINFEngine(hinf: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> { @@ -97,27 +86,6 @@ pub unsafe fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecounterv ::windows_targets::link!("api-ms-win-core-realtime-l1-1-2.dll" "system" fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue : u64, lpauxiliarycountervalue : *mut u64, lpconversionerror : *mut u64) -> ::windows_core::HRESULT); ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue, lpauxiliarycountervalue, ::core::mem::transmute(lpconversionerror.unwrap_or(::std::ptr::null_mut()))).ok() } -#[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -#[inline] -pub unsafe fn CreateWaitableTimerA(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, bmanualreset: P0, lptimername: P1) -> super::super::Foundation::HANDLE -where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCSTR>, -{ - ::windows_targets::link!("kernel32.dll" "system" fn CreateWaitableTimerA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, bmanualreset : super::super::Foundation:: BOOL, lptimername : ::windows_core::PCSTR) -> super::super::Foundation:: HANDLE); - CreateWaitableTimerA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), bmanualreset.into_param().abi(), lptimername.into_param().abi()) -} -#[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] -#[inline] -pub unsafe fn CreateWaitableTimerExA(lptimerattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, lptimername: P0, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE -where - P0: ::windows_core::IntoParam<::windows_core::PCSTR>, -{ - ::windows_targets::link!("kernel32.dll" "system" fn CreateWaitableTimerExA(lptimerattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, lptimername : ::windows_core::PCSTR, dwflags : u32, dwdesiredaccess : u32) -> super::super::Foundation:: HANDLE); - CreateWaitableTimerExA(::core::mem::transmute(lptimerattributes.unwrap_or(::std::ptr::null())), lptimername.into_param().abi(), dwflags, dwdesiredaccess) -} #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32 { @@ -993,17 +961,6 @@ where ::windows_targets::link!("kernel32.dll" "system" fn OpenSemaphoreA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lpname : ::windows_core::PCSTR) -> super::super::Foundation:: HANDLE); OpenSemaphoreA(dwdesiredaccess, binherithandle.into_param().abi(), lpname.into_param().abi()) } -#[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -#[inline] -pub unsafe fn OpenWaitableTimerA(dwdesiredaccess: u32, binherithandle: P0, lptimername: P1) -> super::super::Foundation::HANDLE -where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCSTR>, -{ - ::windows_targets::link!("kernel32.dll" "system" fn OpenWaitableTimerA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lptimername : ::windows_core::PCSTR) -> super::super::Foundation:: HANDLE); - OpenWaitableTimerA(dwdesiredaccess, binherithandle.into_param().abi(), lptimername.into_param().abi()) -} #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`*"] #[inline] pub unsafe fn QueryAuxiliaryCounterFrequency() -> ::windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index f8e51671533..ff56c7b210c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -4740,34 +4740,34 @@ impl IWbemRefresher_Vtbl { } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] pub trait IWbemServices_Impl: Sized { - fn OpenNamespace(&self, strnamespace: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppworkingnamespace: *mut ::core::option::Option, ppresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn OpenNamespace(&self, strnamespace: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppworkingnamespace: *mut ::core::option::Option, ppresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; fn CancelAsyncCall(&self, psink: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn QueryObjectSink(&self, lflags: i32) -> ::windows_core::Result; - fn GetObject(&self, strobjectpath: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppobject: *mut ::core::option::Option, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn GetObjectAsync(&self, strobjectpath: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn PutClass(&self, pobject: ::core::option::Option<&IWbemClassObject>, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn PutClassAsync(&self, pobject: ::core::option::Option<&IWbemClassObject>, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn DeleteClass(&self, strclass: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn DeleteClassAsync(&self, strclass: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn CreateClassEnum(&self, strsuperclass: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; - fn CreateClassEnumAsync(&self, strsuperclass: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn PutInstance(&self, pinst: ::core::option::Option<&IWbemClassObject>, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn PutInstanceAsync(&self, pinst: ::core::option::Option<&IWbemClassObject>, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn DeleteInstance(&self, strobjectpath: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn DeleteInstanceAsync(&self, strobjectpath: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn CreateInstanceEnum(&self, strfilter: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; - fn CreateInstanceEnumAsync(&self, strfilter: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn QueryObjectSink(&self, lflags: WBEM_GENERIC_FLAG_TYPE) -> ::windows_core::Result; + fn GetObject(&self, strobjectpath: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppobject: *mut ::core::option::Option, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn GetObjectAsync(&self, strobjectpath: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn PutClass(&self, pobject: ::core::option::Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn PutClassAsync(&self, pobject: ::core::option::Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn DeleteClass(&self, strclass: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn DeleteClassAsync(&self, strclass: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn CreateClassEnum(&self, strsuperclass: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; + fn CreateClassEnumAsync(&self, strsuperclass: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn PutInstance(&self, pinst: ::core::option::Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn PutInstanceAsync(&self, pinst: ::core::option::Option<&IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn DeleteInstance(&self, strobjectpath: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn DeleteInstanceAsync(&self, strobjectpath: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn CreateInstanceEnum(&self, strfilter: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; + fn CreateInstanceEnumAsync(&self, strfilter: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; fn ExecQuery(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; - fn ExecQueryAsync(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn ExecNotificationQuery(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; - fn ExecNotificationQueryAsync(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; - fn ExecMethod(&self, strobjectpath: &::windows_core::BSTR, strmethodname: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, pinparams: ::core::option::Option<&IWbemClassObject>, ppoutparams: *mut ::core::option::Option, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; - fn ExecMethodAsync(&self, strobjectpath: &::windows_core::BSTR, strmethodname: &::windows_core::BSTR, lflags: i32, pctx: ::core::option::Option<&IWbemContext>, pinparams: ::core::option::Option<&IWbemClassObject>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn ExecQueryAsync(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn ExecNotificationQuery(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>) -> ::windows_core::Result; + fn ExecNotificationQueryAsync(&self, strquerylanguage: &::windows_core::BSTR, strquery: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; + fn ExecMethod(&self, strobjectpath: &::windows_core::BSTR, strmethodname: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, pinparams: ::core::option::Option<&IWbemClassObject>, ppoutparams: *mut ::core::option::Option, ppcallresult: *mut ::core::option::Option) -> ::windows_core::Result<()>; + fn ExecMethodAsync(&self, strobjectpath: &::windows_core::BSTR, strmethodname: &::windows_core::BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: ::core::option::Option<&IWbemContext>, pinparams: ::core::option::Option<&IWbemClassObject>, presponsehandler: ::core::option::Option<&IWbemObjectSink>) -> ::windows_core::Result<()>; } impl ::windows_core::RuntimeName for IWbemServices {} impl IWbemServices_Vtbl { pub const fn new, Impl: IWbemServices_Impl, const OFFSET: isize>() -> IWbemServices_Vtbl { - unsafe extern "system" fn OpenNamespace, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strnamespace: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppworkingnamespace: *mut *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn OpenNamespace, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strnamespace: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppworkingnamespace: *mut *mut ::core::ffi::c_void, ppresult: *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.OpenNamespace(::core::mem::transmute(&strnamespace), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppworkingnamespace), ::core::mem::transmute_copy(&ppresult)).into() @@ -4777,7 +4777,7 @@ impl IWbemServices_Vtbl { let this = (*this).get_impl(); this.CancelAsyncCall(::windows_core::from_raw_borrowed(&psink)).into() } - unsafe extern "system" fn QueryObjectSink, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lflags: i32, ppresponsehandler: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryObjectSink, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, ppresponsehandler: *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(); match this.QueryObjectSink(::core::mem::transmute_copy(&lflags)) { @@ -4788,37 +4788,37 @@ impl IWbemServices_Vtbl { ::core::result::Result::Err(err) => err.into(), } } - unsafe extern "system" fn GetObject, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppobject: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetObject, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppobject: *mut *mut ::core::ffi::c_void, ppcallresult: *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.GetObject(::core::mem::transmute(&strobjectpath), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppobject), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn GetObjectAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn GetObjectAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.GetObjectAsync(::core::mem::transmute(&strobjectpath), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn PutClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn PutClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *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.PutClass(::windows_core::from_raw_borrowed(&pobject), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn PutClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn PutClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.PutClassAsync(::windows_core::from_raw_borrowed(&pobject), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn DeleteClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn DeleteClass, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *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.DeleteClass(::core::mem::transmute(&strclass), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn DeleteClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn DeleteClassAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.DeleteClassAsync(::core::mem::transmute(&strclass), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn CreateClassEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn CreateClassEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *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(); match this.CreateClassEnum(::core::mem::transmute(&strsuperclass), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx)) { @@ -4829,32 +4829,32 @@ impl IWbemServices_Vtbl { ::core::result::Result::Err(err) => err.into(), } } - unsafe extern "system" fn CreateClassEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn CreateClassEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.CreateClassEnumAsync(::core::mem::transmute(&strsuperclass), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn PutInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn PutInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *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.PutInstance(::windows_core::from_raw_borrowed(&pinst), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn PutInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn PutInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.PutInstanceAsync(::windows_core::from_raw_borrowed(&pinst), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn DeleteInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn DeleteInstance, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *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.DeleteInstance(::core::mem::transmute(&strobjectpath), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn DeleteInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn DeleteInstanceAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.DeleteInstanceAsync(::core::mem::transmute(&strobjectpath), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn CreateInstanceEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceEnum, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *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(); match this.CreateInstanceEnum(::core::mem::transmute(&strfilter), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx)) { @@ -4865,7 +4865,7 @@ impl IWbemServices_Vtbl { ::core::result::Result::Err(err) => err.into(), } } - unsafe extern "system" fn CreateInstanceEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn CreateInstanceEnumAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.CreateInstanceEnumAsync(::core::mem::transmute(&strfilter), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() @@ -4881,12 +4881,12 @@ impl IWbemServices_Vtbl { ::core::result::Result::Err(err) => err.into(), } } - unsafe extern "system" fn ExecQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn ExecQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.ExecQueryAsync(::core::mem::transmute(&strquerylanguage), ::core::mem::transmute(&strquery), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn ExecNotificationQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQuery, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *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(); match this.ExecNotificationQuery(::core::mem::transmute(&strquerylanguage), ::core::mem::transmute(&strquery), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx)) { @@ -4897,17 +4897,17 @@ impl IWbemServices_Vtbl { ::core::result::Result::Err(err) => err.into(), } } - unsafe extern "system" fn ExecNotificationQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn ExecNotificationQueryAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *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.ExecNotificationQueryAsync(::core::mem::transmute(&strquerylanguage), ::core::mem::transmute(&strquery), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&presponsehandler)).into() } - unsafe extern "system" fn ExecMethod, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, ppoutparams: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn ExecMethod, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, ppoutparams: *mut *mut ::core::ffi::c_void, ppcallresult: *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.ExecMethod(::core::mem::transmute(&strobjectpath), ::core::mem::transmute(&strmethodname), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&pinparams), ::core::mem::transmute_copy(&ppoutparams), ::core::mem::transmute_copy(&ppcallresult)).into() } - unsafe extern "system" fn ExecMethodAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn ExecMethodAsync, Impl: IWbemServices_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, presponsehandler: *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.ExecMethodAsync(::core::mem::transmute(&strobjectpath), ::core::mem::transmute(&strmethodname), ::core::mem::transmute_copy(&lflags), ::windows_core::from_raw_borrowed(&pctx), ::windows_core::from_raw_borrowed(&pinparams), ::windows_core::from_raw_borrowed(&presponsehandler)).into() diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index 5dd36521a12..fd79ba26b64 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -5310,7 +5310,7 @@ pub struct IWbemRefresher_Vtbl { #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] pub struct IWbemServices(::windows_core::IUnknown); impl IWbemServices { - pub unsafe fn OpenNamespace(&self, strnamespace: P0, lflags: i32, pctx: P1, ppworkingnamespace: ::core::option::Option<*mut ::core::option::Option>, ppresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn OpenNamespace(&self, strnamespace: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppworkingnamespace: ::core::option::Option<*mut ::core::option::Option>, ppresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5323,18 +5323,18 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).CancelAsyncCall)(::windows_core::Interface::as_raw(self), psink.into_param().abi()).ok() } - pub unsafe fn QueryObjectSink(&self, lflags: i32) -> ::windows_core::Result { + pub unsafe fn QueryObjectSink(&self, lflags: WBEM_GENERIC_FLAG_TYPE) -> ::windows_core::Result { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).QueryObjectSink)(::windows_core::Interface::as_raw(self), lflags, &mut result__).from_abi(result__) } - pub unsafe fn GetObject(&self, strobjectpath: P0, lflags: i32, pctx: P1, ppobject: ::core::option::Option<*mut ::core::option::Option>, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn GetObject(&self, strobjectpath: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppobject: ::core::option::Option<*mut ::core::option::Option>, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, { (::windows_core::Interface::vtable(self).GetObject)(::windows_core::Interface::as_raw(self), strobjectpath.into_param().abi(), lflags, pctx.into_param().abi(), ::core::mem::transmute(ppobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn GetObjectAsync(&self, strobjectpath: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn GetObjectAsync(&self, strobjectpath: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5342,14 +5342,14 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).GetObjectAsync)(::windows_core::Interface::as_raw(self), strobjectpath.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn PutClass(&self, pobject: P0, lflags: i32, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn PutClass(&self, pobject: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { (::windows_core::Interface::vtable(self).PutClass)(::windows_core::Interface::as_raw(self), pobject.into_param().abi(), lflags, pctx.into_param().abi(), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn PutClassAsync(&self, pobject: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn PutClassAsync(&self, pobject: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5357,14 +5357,14 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).PutClassAsync)(::windows_core::Interface::as_raw(self), pobject.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn DeleteClass(&self, strclass: P0, lflags: i32, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn DeleteClass(&self, strclass: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, { (::windows_core::Interface::vtable(self).DeleteClass)(::windows_core::Interface::as_raw(self), strclass.into_param().abi(), lflags, pctx.into_param().abi(), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn DeleteClassAsync(&self, strclass: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn DeleteClassAsync(&self, strclass: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5372,7 +5372,7 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).DeleteClassAsync)(::windows_core::Interface::as_raw(self), strclass.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn CreateClassEnum(&self, strsuperclass: P0, lflags: i32, pctx: P1) -> ::windows_core::Result + pub unsafe fn CreateClassEnum(&self, strsuperclass: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1) -> ::windows_core::Result where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5380,7 +5380,7 @@ impl IWbemServices { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).CreateClassEnum)(::windows_core::Interface::as_raw(self), strsuperclass.into_param().abi(), lflags, pctx.into_param().abi(), &mut result__).from_abi(result__) } - pub unsafe fn CreateClassEnumAsync(&self, strsuperclass: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn CreateClassEnumAsync(&self, strsuperclass: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5388,14 +5388,14 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).CreateClassEnumAsync)(::windows_core::Interface::as_raw(self), strsuperclass.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn PutInstance(&self, pinst: P0, lflags: i32, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn PutInstance(&self, pinst: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { (::windows_core::Interface::vtable(self).PutInstance)(::windows_core::Interface::as_raw(self), pinst.into_param().abi(), lflags, pctx.into_param().abi(), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn PutInstanceAsync(&self, pinst: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn PutInstanceAsync(&self, pinst: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, @@ -5403,14 +5403,14 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).PutInstanceAsync)(::windows_core::Interface::as_raw(self), pinst.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn DeleteInstance(&self, strobjectpath: P0, lflags: i32, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn DeleteInstance(&self, strobjectpath: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, { (::windows_core::Interface::vtable(self).DeleteInstance)(::windows_core::Interface::as_raw(self), strobjectpath.into_param().abi(), lflags, pctx.into_param().abi(), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn DeleteInstanceAsync(&self, strobjectpath: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn DeleteInstanceAsync(&self, strobjectpath: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5418,7 +5418,7 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).DeleteInstanceAsync)(::windows_core::Interface::as_raw(self), strobjectpath.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn CreateInstanceEnum(&self, strfilter: P0, lflags: i32, pctx: P1) -> ::windows_core::Result + pub unsafe fn CreateInstanceEnum(&self, strfilter: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1) -> ::windows_core::Result where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5426,7 +5426,7 @@ impl IWbemServices { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).CreateInstanceEnum)(::windows_core::Interface::as_raw(self), strfilter.into_param().abi(), lflags, pctx.into_param().abi(), &mut result__).from_abi(result__) } - pub unsafe fn CreateInstanceEnumAsync(&self, strfilter: P0, lflags: i32, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> + pub unsafe fn CreateInstanceEnumAsync(&self, strfilter: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, presponsehandler: P2) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam, @@ -5443,7 +5443,7 @@ impl IWbemServices { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).ExecQuery)(::windows_core::Interface::as_raw(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), lflags, pctx.into_param().abi(), &mut result__).from_abi(result__) } - pub unsafe fn ExecQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: i32, pctx: P2, presponsehandler: P3) -> ::windows_core::Result<()> + pub unsafe fn ExecQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, presponsehandler: P3) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam<::windows_core::BSTR>, @@ -5452,7 +5452,7 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).ExecQueryAsync)(::windows_core::Interface::as_raw(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn ExecNotificationQuery(&self, strquerylanguage: P0, strquery: P1, lflags: i32, pctx: P2) -> ::windows_core::Result + pub unsafe fn ExecNotificationQuery(&self, strquerylanguage: P0, strquery: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2) -> ::windows_core::Result where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam<::windows_core::BSTR>, @@ -5461,7 +5461,7 @@ impl IWbemServices { let mut result__ = ::std::mem::zeroed(); (::windows_core::Interface::vtable(self).ExecNotificationQuery)(::windows_core::Interface::as_raw(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), lflags, pctx.into_param().abi(), &mut result__).from_abi(result__) } - pub unsafe fn ExecNotificationQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: i32, pctx: P2, presponsehandler: P3) -> ::windows_core::Result<()> + pub unsafe fn ExecNotificationQueryAsync(&self, strquerylanguage: P0, strquery: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, presponsehandler: P3) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam<::windows_core::BSTR>, @@ -5470,7 +5470,7 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).ExecNotificationQueryAsync)(::windows_core::Interface::as_raw(self), strquerylanguage.into_param().abi(), strquery.into_param().abi(), lflags, pctx.into_param().abi(), presponsehandler.into_param().abi()).ok() } - pub unsafe fn ExecMethod(&self, strobjectpath: P0, strmethodname: P1, lflags: i32, pctx: P2, pinparams: P3, ppoutparams: ::core::option::Option<*mut ::core::option::Option>, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> + pub unsafe fn ExecMethod(&self, strobjectpath: P0, strmethodname: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, pinparams: P3, ppoutparams: ::core::option::Option<*mut ::core::option::Option>, ppcallresult: ::core::option::Option<*mut ::core::option::Option>) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam<::windows_core::BSTR>, @@ -5479,7 +5479,7 @@ impl IWbemServices { { (::windows_core::Interface::vtable(self).ExecMethod)(::windows_core::Interface::as_raw(self), strobjectpath.into_param().abi(), strmethodname.into_param().abi(), lflags, pctx.into_param().abi(), pinparams.into_param().abi(), ::core::mem::transmute(ppoutparams.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcallresult.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn ExecMethodAsync(&self, strobjectpath: P0, strmethodname: P1, lflags: i32, pctx: P2, pinparams: P3, presponsehandler: P4) -> ::windows_core::Result<()> + pub unsafe fn ExecMethodAsync(&self, strobjectpath: P0, strmethodname: P1, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P2, pinparams: P3, presponsehandler: P4) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam<::windows_core::BSTR>, P1: ::windows_core::IntoParam<::windows_core::BSTR>, @@ -5501,29 +5501,29 @@ unsafe impl ::windows_core::ComInterface for IWbemServices { #[doc(hidden)] pub struct IWbemServices_Vtbl { pub base__: ::windows_core::IUnknown_Vtbl, - pub OpenNamespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strnamespace: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppworkingnamespace: *mut *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub OpenNamespace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strnamespace: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppworkingnamespace: *mut *mut ::core::ffi::c_void, ppresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub CancelAsyncCall: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psink: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub QueryObjectSink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lflags: i32, ppresponsehandler: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub GetObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppobject: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub GetObjectAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub PutClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub PutClassAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub DeleteClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub DeleteClassAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub CreateClassEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub CreateClassEnumAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub PutInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub PutInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub DeleteInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub DeleteInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub CreateInstanceEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub CreateInstanceEnumAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub QueryObjectSink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, ppresponsehandler: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub GetObject: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppobject: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub GetObjectAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub PutClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub PutClassAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pobject: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub DeleteClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub DeleteClassAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub CreateClassEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub CreateClassEnumAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strsuperclass: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub PutInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub PutInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinst: *mut ::core::ffi::c_void, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub DeleteInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub DeleteInstanceAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub CreateInstanceEnum: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub CreateInstanceEnumAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strfilter: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, pub ExecQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub ExecQueryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub ExecNotificationQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub ExecNotificationQueryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub ExecMethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, ppoutparams: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, - pub ExecMethodAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: i32, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub ExecQueryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub ExecNotificationQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub ExecNotificationQueryAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strquerylanguage: ::std::mem::MaybeUninit<::windows_core::BSTR>, strquery: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub ExecMethod: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, ppoutparams: *mut *mut ::core::ffi::c_void, ppcallresult: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + pub ExecMethodAsync: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, strobjectpath: ::std::mem::MaybeUninit<::windows_core::BSTR>, strmethodname: ::std::mem::MaybeUninit<::windows_core::BSTR>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: *mut ::core::ffi::c_void, pinparams: *mut ::core::ffi::c_void, presponsehandler: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, } #[doc = "*Required features: `\"Win32_System_Wmi\"`*"] #[repr(transparent)] diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index 9fbbd0de520..0369ea6f9f2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -138,8 +138,8 @@ pub unsafe fn CMGetNamedProfileInfo(hprofile: isize, pnamedprofileinfo: *mut NAM #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn CMIsProfileValid(hprofile: isize, lpbvalid: *mut i32) -> super::super::Foundation::BOOL { - ::windows_targets::link!("icm32.dll" "system" fn CMIsProfileValid(hprofile : isize, lpbvalid : *mut i32) -> super::super::Foundation:: BOOL); +pub unsafe fn CMIsProfileValid(hprofile: isize, lpbvalid: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL { + ::windows_targets::link!("icm32.dll" "system" fn CMIsProfileValid(hprofile : isize, lpbvalid : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); CMIsProfileValid(hprofile, lpbvalid) } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"Win32_Foundation\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index 3da977b9508..4941d4cd9fa 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -500,17 +500,23 @@ pub const FR_HIDEUPDOWN: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(16384u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_HIDEWHOLEWORD: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHALEFHAMZA: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(2147483648u32); +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_MATCHCASE: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(4u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHDIAC: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(536870912u32); +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] +pub const FR_MATCHKASHIDA: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(1073741824u32); +#[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOMATCHCASE: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(2048u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOUPDOWN: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(1024u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_NOWHOLEWORD: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(4096u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_NOWRAPAROUND: u32 = 524288u32; +pub const FR_NOWRAPAROUND: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(524288u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_RAW: u32 = 131072u32; +pub const FR_RAW: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_REPLACE: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(16u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] @@ -518,11 +524,11 @@ pub const FR_REPLACEALL: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(32u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_SHOWHELP: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(128u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_SHOWWRAPAROUND: u32 = 262144u32; +pub const FR_SHOWWRAPAROUND: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(262144u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const FR_WHOLEWORD: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(2u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] -pub const FR_WRAPAROUND: u32 = 1048576u32; +pub const FR_WRAPAROUND: FINDREPLACE_FLAGS = FINDREPLACE_FLAGS(1048576u32); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] pub const HELPMSGSTRING: ::windows_core::PCWSTR = ::windows_core::w!("commdlg_help"); #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index 6d372cc20e5..b953a7e37f8 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -6341,12 +6341,6 @@ pub const ES_SUNKEN: u32 = 16384u32; #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const ES_VERTICAL: u32 = 4194304u32; #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const FR_MATCHALEFHAMZA: u32 = 2147483648u32; -#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const FR_MATCHDIAC: u32 = 536870912u32; -#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const FR_MATCHKASHIDA: u32 = 1073741824u32; -#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const GCMF_GRIPPER: u32 = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const GCMF_MOUSEMENU: u32 = 8192u32; @@ -6535,17 +6529,17 @@ pub const PC_OVERFLOW: u32 = 3u32; #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFA_CENTER: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(3u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_FULL_GLYPHS: u32 = 8u32; +pub const PFA_FULL_GLYPHS: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(8u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_FULL_INTERLETTER: u32 = 6u32; +pub const PFA_FULL_INTERLETTER: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(6u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_FULL_INTERWORD: u32 = 4u32; +pub const PFA_FULL_INTERWORD: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(4u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_FULL_NEWSPAPER: u32 = 5u32; +pub const PFA_FULL_NEWSPAPER: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(5u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_FULL_SCALED: u32 = 7u32; +pub const PFA_FULL_SCALED: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(7u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFA_JUSTIFY: u32 = 4u32; +pub const PFA_JUSTIFY: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(4u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFA_LEFT: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(1u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] @@ -6553,65 +6547,71 @@ pub const PFA_RIGHT: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(2u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_ALIGNMENT: PARAFORMAT_MASK = PARAFORMAT_MASK(8u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_BORDER: u32 = 2048u32; +pub const PFM_ALL: PARAFORMAT_MASK = PARAFORMAT_MASK(2147549247u32); +#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] +pub const PFM_ALL2: PARAFORMAT_MASK = PARAFORMAT_MASK(3506437631u32); +#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] +pub const PFM_BORDER: PARAFORMAT_MASK = PARAFORMAT_MASK(2048u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_BOX: u32 = 67108864u32; +pub const PFM_BOX: PARAFORMAT_MASK = PARAFORMAT_MASK(67108864u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_COLLAPSED: u32 = 16777216u32; +pub const PFM_COLLAPSED: PARAFORMAT_MASK = PARAFORMAT_MASK(16777216u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_DONOTHYPHEN: u32 = 4194304u32; +pub const PFM_DONOTHYPHEN: PARAFORMAT_MASK = PARAFORMAT_MASK(4194304u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_KEEP: u32 = 131072u32; +pub const PFM_EFFECTS: PARAFORMAT_MASK = PARAFORMAT_MASK(1358888960u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_KEEPNEXT: u32 = 262144u32; +pub const PFM_KEEP: PARAFORMAT_MASK = PARAFORMAT_MASK(131072u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_LINESPACING: u32 = 256u32; +pub const PFM_KEEPNEXT: PARAFORMAT_MASK = PARAFORMAT_MASK(262144u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_NOLINENUMBER: u32 = 1048576u32; +pub const PFM_LINESPACING: PARAFORMAT_MASK = PARAFORMAT_MASK(256u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_NOWIDOWCONTROL: u32 = 2097152u32; +pub const PFM_NOLINENUMBER: PARAFORMAT_MASK = PARAFORMAT_MASK(1048576u32); +#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] +pub const PFM_NOWIDOWCONTROL: PARAFORMAT_MASK = PARAFORMAT_MASK(2097152u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_NUMBERING: PARAFORMAT_MASK = PARAFORMAT_MASK(32u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_NUMBERINGSTART: u32 = 32768u32; +pub const PFM_NUMBERINGSTART: PARAFORMAT_MASK = PARAFORMAT_MASK(32768u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_NUMBERINGSTYLE: u32 = 8192u32; +pub const PFM_NUMBERINGSTYLE: PARAFORMAT_MASK = PARAFORMAT_MASK(8192u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_NUMBERINGTAB: u32 = 16384u32; +pub const PFM_NUMBERINGTAB: PARAFORMAT_MASK = PARAFORMAT_MASK(16384u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_OFFSET: PARAFORMAT_MASK = PARAFORMAT_MASK(4u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_OFFSETINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(2147483648u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_OUTLINELEVEL: u32 = 33554432u32; +pub const PFM_OUTLINELEVEL: PARAFORMAT_MASK = PARAFORMAT_MASK(33554432u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_PAGEBREAKBEFORE: u32 = 524288u32; +pub const PFM_PAGEBREAKBEFORE: PARAFORMAT_MASK = PARAFORMAT_MASK(524288u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_RESERVED2: u32 = 134217728u32; +pub const PFM_RESERVED2: PARAFORMAT_MASK = PARAFORMAT_MASK(134217728u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_RIGHTINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(2u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_RTLPARA: PARAFORMAT_MASK = PARAFORMAT_MASK(65536u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_SHADING: u32 = 4096u32; +pub const PFM_SHADING: PARAFORMAT_MASK = PARAFORMAT_MASK(4096u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_SIDEBYSIDE: u32 = 8388608u32; +pub const PFM_SIDEBYSIDE: PARAFORMAT_MASK = PARAFORMAT_MASK(8388608u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_SPACEAFTER: u32 = 128u32; +pub const PFM_SPACEAFTER: PARAFORMAT_MASK = PARAFORMAT_MASK(128u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_SPACEBEFORE: u32 = 64u32; +pub const PFM_SPACEBEFORE: PARAFORMAT_MASK = PARAFORMAT_MASK(64u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_STARTINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(1u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_STYLE: u32 = 1024u32; +pub const PFM_STYLE: PARAFORMAT_MASK = PARAFORMAT_MASK(1024u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_TABLE: u32 = 1073741824u32; +pub const PFM_TABLE: PARAFORMAT_MASK = PARAFORMAT_MASK(1073741824u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_TABLEROWDELIMITER: u32 = 268435456u32; +pub const PFM_TABLEROWDELIMITER: PARAFORMAT_MASK = PARAFORMAT_MASK(268435456u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFM_TABSTOPS: PARAFORMAT_MASK = PARAFORMAT_MASK(16u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] -pub const PFM_TEXTWRAPPINGBREAK: u32 = 536870912u32; +pub const PFM_TEXTWRAPPINGBREAK: PARAFORMAT_MASK = PARAFORMAT_MASK(536870912u32); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] pub const PFNS_NEWNUMBER: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(32768u16); #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] @@ -10506,56 +10506,66 @@ impl ::core::default::Default for GETCONTEXTMENUEX { } } #[repr(C, packed(4))] -#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] +#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`*"] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] pub struct GETTEXTEX { pub cb: u32, pub flags: GETTEXTEX_FLAGS, pub codepage: u32, pub lpDefaultChar: ::windows_core::PCSTR, - pub lpUsedDefChar: *mut i32, + pub lpUsedDefChar: *mut super::super::super::Foundation::BOOL, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for GETTEXTEX {} #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for GETTEXTEX { fn clone(&self) -> Self { *self } } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] impl ::windows_core::TypeKind for GETTEXTEX { type TypeKind = ::windows_core::CopyType; } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] +#[cfg(feature = "Win32_Foundation")] impl ::core::default::Default for GETTEXTEX { fn default() -> Self { unsafe { ::core::mem::zeroed() } } } #[repr(C)] -#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`*"] +#[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`*"] #[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] pub struct GETTEXTEX { pub cb: u32, pub flags: GETTEXTEX_FLAGS, pub codepage: u32, pub lpDefaultChar: ::windows_core::PCSTR, - pub lpUsedDefChar: *mut i32, + pub lpUsedDefChar: *mut super::super::super::Foundation::BOOL, } #[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for GETTEXTEX {} #[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] impl ::core::clone::Clone for GETTEXTEX { fn clone(&self) -> Self { *self } } #[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] impl ::windows_core::TypeKind for GETTEXTEX { type TypeKind = ::windows_core::CopyType; } #[cfg(target_arch = "x86")] +#[cfg(feature = "Win32_Foundation")] impl ::core::default::Default for GETTEXTEX { fn default() -> Self { unsafe { ::core::mem::zeroed() } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs index beb0221562c..eb25b6e5d00 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -1543,11 +1543,11 @@ pub unsafe fn ImageList_GetDragImage(ppt: ::core::option::Option<*mut super::sup #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] #[inline] -pub unsafe fn ImageList_GetIcon(himl: P0, i: i32, flags: u32) -> super::WindowsAndMessaging::HICON +pub unsafe fn ImageList_GetIcon(himl: P0, i: i32, flags: IMAGE_LIST_DRAW_STYLE) -> super::WindowsAndMessaging::HICON where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("comctl32.dll" "system" fn ImageList_GetIcon(himl : HIMAGELIST, i : i32, flags : u32) -> super::WindowsAndMessaging:: HICON); + ::windows_targets::link!("comctl32.dll" "system" fn ImageList_GetIcon(himl : HIMAGELIST, i : i32, flags : IMAGE_LIST_DRAW_STYLE) -> super::WindowsAndMessaging:: HICON); ImageList_GetIcon(himl.into_param().abi(), i, flags) } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`*"] @@ -5068,35 +5068,35 @@ pub const LVGA_HEADER_LEFT: LIST_VIEW_GROUP_ALIGN_FLAGS = LIST_VIEW_GROUP_ALIGN_ #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGA_HEADER_RIGHT: LIST_VIEW_GROUP_ALIGN_FLAGS = LIST_VIEW_GROUP_ALIGN_FLAGS(4u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_ALIGN: u32 = 8u32; +pub const LVGF_ALIGN: LVGROUP_MASK = LVGROUP_MASK(8u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_DESCRIPTIONBOTTOM: u32 = 2048u32; +pub const LVGF_DESCRIPTIONBOTTOM: LVGROUP_MASK = LVGROUP_MASK(2048u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_DESCRIPTIONTOP: u32 = 1024u32; +pub const LVGF_DESCRIPTIONTOP: LVGROUP_MASK = LVGROUP_MASK(1024u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_EXTENDEDIMAGE: u32 = 8192u32; +pub const LVGF_EXTENDEDIMAGE: LVGROUP_MASK = LVGROUP_MASK(8192u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_FOOTER: LVGROUP_MASK = LVGROUP_MASK(2u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_GROUPID: u32 = 16u32; +pub const LVGF_GROUPID: LVGROUP_MASK = LVGROUP_MASK(16u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_HEADER: LVGROUP_MASK = LVGROUP_MASK(1u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_ITEMS: u32 = 16384u32; +pub const LVGF_ITEMS: LVGROUP_MASK = LVGROUP_MASK(16384u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_NONE: LVGROUP_MASK = LVGROUP_MASK(0u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGF_STATE: LVGROUP_MASK = LVGROUP_MASK(4u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBSET: u32 = 32768u32; +pub const LVGF_SUBSET: LVGROUP_MASK = LVGROUP_MASK(32768u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBSETITEMS: u32 = 65536u32; +pub const LVGF_SUBSETITEMS: LVGROUP_MASK = LVGROUP_MASK(65536u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_SUBTITLE: u32 = 256u32; +pub const LVGF_SUBTITLE: LVGROUP_MASK = LVGROUP_MASK(256u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_TASK: u32 = 512u32; +pub const LVGF_TASK: LVGROUP_MASK = LVGROUP_MASK(512u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVGF_TITLEIMAGE: u32 = 4096u32; +pub const LVGF_TITLEIMAGE: LVGROUP_MASK = LVGROUP_MASK(4096u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVGGR_GROUP: u32 = 0u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -5254,7 +5254,7 @@ pub const LVIF_STATE: LIST_VIEW_ITEM_FLAGS = LIST_VIEW_ITEM_FLAGS(8u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVIF_TEXT: LIST_VIEW_ITEM_FLAGS = LIST_VIEW_ITEM_FLAGS(1u32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -pub const LVIM_AFTER: LIST_VIEW_INSERT_MARK_FLAGS = LIST_VIEW_INSERT_MARK_FLAGS(1u32); +pub const LVIM_AFTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const LVIR_BOUNDS: u32 = 0u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] @@ -8464,16 +8464,26 @@ pub const TCS_TOOLTIPS: u32 = 16384u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TCS_VERTICAL: u32 = 128u32; #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_ABORT_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(65536i32); +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_CANCEL_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(8i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_CLOSE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(32i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_CONTINUE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(524288i32); +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_HELP_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(1048576i32); +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_IGNORE_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(131072i32); +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_NO_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(4i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_OK_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(1i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_RETRY_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(16i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] +pub const TDCBF_TRYAGAIN_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(262144i32); +#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDCBF_YES_BUTTON: TASKDIALOG_COMMON_BUTTON_FLAGS = TASKDIALOG_COMMON_BUTTON_FLAGS(2i32); #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub const TDE_CONTENT: TASKDIALOG_ELEMENTS = TASKDIALOG_ELEMENTS(0i32); @@ -14853,62 +14863,6 @@ impl ::core::ops::Not for LIST_VIEW_GROUP_STATE_FLAGS { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] -pub struct LIST_VIEW_INSERT_MARK_FLAGS(pub u32); -impl ::core::marker::Copy for LIST_VIEW_INSERT_MARK_FLAGS {} -impl ::core::clone::Clone for LIST_VIEW_INSERT_MARK_FLAGS { - fn clone(&self) -> Self { - *self - } -} -impl ::core::default::Default for LIST_VIEW_INSERT_MARK_FLAGS { - fn default() -> Self { - Self(0) - } -} -impl ::windows_core::TypeKind for LIST_VIEW_INSERT_MARK_FLAGS { - type TypeKind = ::windows_core::CopyType; -} -impl ::core::fmt::Debug for LIST_VIEW_INSERT_MARK_FLAGS { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("LIST_VIEW_INSERT_MARK_FLAGS").field(&self.0).finish() - } -} -impl LIST_VIEW_INSERT_MARK_FLAGS { - pub const fn contains(&self, other: Self) -> bool { - self.0 & other.0 == other.0 - } -} -impl ::core::ops::BitOr for LIST_VIEW_INSERT_MARK_FLAGS { - type Output = Self; - fn bitor(self, other: Self) -> Self { - Self(self.0 | other.0) - } -} -impl ::core::ops::BitAnd for LIST_VIEW_INSERT_MARK_FLAGS { - type Output = Self; - fn bitand(self, other: Self) -> Self { - Self(self.0 & other.0) - } -} -impl ::core::ops::BitOrAssign for LIST_VIEW_INSERT_MARK_FLAGS { - fn bitor_assign(&mut self, other: Self) { - self.0.bitor_assign(other.0) - } -} -impl ::core::ops::BitAndAssign for LIST_VIEW_INSERT_MARK_FLAGS { - fn bitand_assign(&mut self, other: Self) { - self.0.bitand_assign(other.0) - } -} -impl ::core::ops::Not for LIST_VIEW_INSERT_MARK_FLAGS { - type Output = Self; - fn not(self) -> Self { - Self(self.0.not()) - } -} -#[doc = "*Required features: `\"Win32_UI_Controls\"`*"] -#[repr(transparent)] -#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS(pub i32); impl ::core::marker::Copy for LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS {} impl ::core::clone::Clone for LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS { @@ -18339,6 +18293,39 @@ impl ::core::fmt::Debug for TASKDIALOG_COMMON_BUTTON_FLAGS { f.debug_tuple("TASKDIALOG_COMMON_BUTTON_FLAGS").field(&self.0).finish() } } +impl TASKDIALOG_COMMON_BUTTON_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for TASKDIALOG_COMMON_BUTTON_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for TASKDIALOG_COMMON_BUTTON_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for TASKDIALOG_COMMON_BUTTON_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for TASKDIALOG_COMMON_BUTTON_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for TASKDIALOG_COMMON_BUTTON_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] @@ -22402,7 +22389,7 @@ impl ::core::default::Default for LVINSERTGROUPSORTED { #[doc = "*Required features: `\"Win32_UI_Controls\"`*"] pub struct LVINSERTMARK { pub cbSize: u32, - pub dwFlags: LIST_VIEW_INSERT_MARK_FLAGS, + pub dwFlags: u32, pub iItem: i32, pub dwReserved: u32, } @@ -22445,7 +22432,7 @@ pub struct LVITEMA { pub iImage: i32, pub lParam: super::super::Foundation::LPARAM, pub iIndent: i32, - pub iGroupId: LVITEMA_GROUP_ID, + pub iGroupId: i32, pub cColumns: u32, pub puColumns: *mut u32, pub piColFmt: *mut LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS, @@ -22544,7 +22531,7 @@ pub struct LVITEMW { pub iImage: i32, pub lParam: super::super::Foundation::LPARAM, pub iIndent: i32, - pub iGroupId: LVITEMA_GROUP_ID, + pub iGroupId: i32, pub cColumns: u32, pub puColumns: *mut u32, pub piColFmt: *mut LIST_VIEW_ITEM_COLUMN_FORMAT_FLAGS, diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index 2336dd73cd2..495e6d38bbb 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -2158,7 +2158,7 @@ impl ::core::default::Default for MODIFIERS { pub struct MOUSEINPUT { pub dx: i32, pub dy: i32, - pub mouseData: i32, + pub mouseData: u32, pub dwFlags: MOUSE_EVENT_FLAGS, pub time: u32, pub dwExtraInfo: usize, 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 b9bdfb41f48..97499dbb8f2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -7758,7 +7758,7 @@ impl IFileOpenDialog_Vtbl { pub trait IFileOperation_Impl: Sized { fn Advise(&self, pfops: ::core::option::Option<&IFileOperationProgressSink>) -> ::windows_core::Result; fn Unadvise(&self, dwcookie: u32) -> ::windows_core::Result<()>; - fn SetOperationFlags(&self, dwoperationflags: u32) -> ::windows_core::Result<()>; + fn SetOperationFlags(&self, dwoperationflags: FILEOPERATION_FLAGS) -> ::windows_core::Result<()>; fn SetProgressMessage(&self, pszmessage: &::windows_core::PCWSTR) -> ::windows_core::Result<()>; fn SetProgressDialog(&self, popd: ::core::option::Option<&IOperationsProgressDialog>) -> ::windows_core::Result<()>; fn SetProperties(&self, pproparray: ::core::option::Option<&PropertiesSystem::IPropertyChangeArray>) -> ::windows_core::Result<()>; @@ -7798,7 +7798,7 @@ impl IFileOperation_Vtbl { let this = (*this).get_impl(); this.Unadvise(::core::mem::transmute_copy(&dwcookie)).into() } - unsafe extern "system" fn SetOperationFlags, Impl: IFileOperation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoperationflags: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn SetOperationFlags, Impl: IFileOperation_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwoperationflags: FILEOPERATION_FLAGS) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.SetOperationFlags(::core::mem::transmute_copy(&dwoperationflags)).into() @@ -15552,8 +15552,8 @@ impl IShellIconOverlayManager_Vtbl { *iid == ::IID } } -#[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Graphics_GdiPlus", feature = "Win32_System_Com_StructuredStorage"))] pub trait IShellImageData_Impl: Sized { fn Decode(&self, dwflags: u32, cxdesired: u32, cydesired: u32) -> ::windows_core::Result<()>; fn Draw(&self, hdc: super::super::Graphics::Gdi::HDC, prcdest: *mut super::super::Foundation::RECT, prcsrc: *mut super::super::Foundation::RECT) -> ::windows_core::Result<()>; @@ -15576,7 +15576,7 @@ pub trait IShellImageData_Impl: Sized { fn GetDelay(&self, pdwdelay: *mut u32) -> ::windows_core::Result<()>; fn GetProperties(&self, dwmode: u32) -> ::windows_core::Result; fn Rotate(&self, dwangle: u32) -> ::windows_core::Result<()>; - fn Scale(&self, cx: u32, cy: u32, hints: u32) -> ::windows_core::Result<()>; + fn Scale(&self, cx: u32, cy: u32, hints: super::super::Graphics::GdiPlus::InterpolationMode) -> ::windows_core::Result<()>; fn DiscardEdit(&self) -> ::windows_core::Result<()>; fn SetEncoderParams(&self, pbagenc: ::core::option::Option<&super::super::System::Com::StructuredStorage::IPropertyBag>) -> ::windows_core::Result<()>; fn DisplayName(&self, wszname: &::windows_core::PCWSTR, cch: u32) -> ::windows_core::Result<()>; @@ -15586,9 +15586,9 @@ pub trait IShellImageData_Impl: Sized { fn CloneFrame(&self, ppimg: *mut *mut u8) -> ::windows_core::Result<()>; fn ReplaceFrame(&self, pimg: *mut u8) -> ::windows_core::Result<()>; } -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Graphics_GdiPlus", feature = "Win32_System_Com_StructuredStorage"))] impl ::windows_core::RuntimeName for IShellImageData {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Graphics_GdiPlus", feature = "Win32_System_Com_StructuredStorage"))] impl IShellImageData_Vtbl { pub const fn new, Impl: IShellImageData_Impl, const OFFSET: isize>() -> IShellImageData_Vtbl { unsafe extern "system" fn Decode, Impl: IShellImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, dwflags: u32, cxdesired: u32, cydesired: u32) -> ::windows_core::HRESULT { @@ -15702,7 +15702,7 @@ impl IShellImageData_Vtbl { let this = (*this).get_impl(); this.Rotate(::core::mem::transmute_copy(&dwangle)).into() } - unsafe extern "system" fn Scale, Impl: IShellImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cx: u32, cy: u32, hints: u32) -> ::windows_core::HRESULT { + unsafe extern "system" fn Scale, Impl: IShellImageData_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cx: u32, cy: u32, hints: super::super::Graphics::GdiPlus::InterpolationMode) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.Scale(::core::mem::transmute_copy(&cx), ::core::mem::transmute_copy(&cy), ::core::mem::transmute_copy(&hints)).into() 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 81c03559ebf..55c7a22b417 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -16422,7 +16422,7 @@ impl IFileOperation { pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Unadvise)(::windows_core::Interface::as_raw(self), dwcookie).ok() } - pub unsafe fn SetOperationFlags(&self, dwoperationflags: u32) -> ::windows_core::Result<()> { + pub unsafe fn SetOperationFlags(&self, dwoperationflags: FILEOPERATION_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).SetOperationFlags)(::windows_core::Interface::as_raw(self), dwoperationflags).ok() } pub unsafe fn SetProgressMessage(&self, pszmessage: P0) -> ::windows_core::Result<()> @@ -16557,7 +16557,7 @@ pub struct IFileOperation_Vtbl { pub base__: ::windows_core::IUnknown_Vtbl, pub Advise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfops: *mut ::core::ffi::c_void, pdwcookie: *mut u32) -> ::windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwcookie: u32) -> ::windows_core::HRESULT, - pub SetOperationFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoperationflags: u32) -> ::windows_core::HRESULT, + pub SetOperationFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwoperationflags: FILEOPERATION_FLAGS) -> ::windows_core::HRESULT, pub SetProgressMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszmessage: ::windows_core::PCWSTR) -> ::windows_core::HRESULT, pub SetProgressDialog: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, popd: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -16600,7 +16600,7 @@ impl IFileOperation2 { pub unsafe fn Unadvise(&self, dwcookie: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.Unadvise)(::windows_core::Interface::as_raw(self), dwcookie).ok() } - pub unsafe fn SetOperationFlags(&self, dwoperationflags: u32) -> ::windows_core::Result<()> { + pub unsafe fn SetOperationFlags(&self, dwoperationflags: FILEOPERATION_FLAGS) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).base__.SetOperationFlags)(::windows_core::Interface::as_raw(self), dwoperationflags).ok() } pub unsafe fn SetProgressMessage(&self, pszmessage: P0) -> ::windows_core::Result<()> @@ -26186,7 +26186,9 @@ impl IShellImageData { pub unsafe fn Rotate(&self, dwangle: u32) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Rotate)(::windows_core::Interface::as_raw(self), dwangle).ok() } - pub unsafe fn Scale(&self, cx: u32, cy: u32, hints: u32) -> ::windows_core::Result<()> { + #[doc = "*Required features: `\"Win32_Graphics_GdiPlus\"`*"] + #[cfg(feature = "Win32_Graphics_GdiPlus")] + pub unsafe fn Scale(&self, cx: u32, cy: u32, hints: super::super::Graphics::GdiPlus::InterpolationMode) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).Scale)(::windows_core::Interface::as_raw(self), cx, cy, hints).ok() } pub unsafe fn DiscardEdit(&self) -> ::windows_core::Result<()> { @@ -26267,7 +26269,10 @@ pub struct IShellImageData_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] GetProperties: usize, pub Rotate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwangle: u32) -> ::windows_core::HRESULT, - pub Scale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cx: u32, cy: u32, hints: u32) -> ::windows_core::HRESULT, + #[cfg(feature = "Win32_Graphics_GdiPlus")] + pub Scale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cx: u32, cy: u32, hints: super::super::Graphics::GdiPlus::InterpolationMode) -> ::windows_core::HRESULT, + #[cfg(not(feature = "Win32_Graphics_GdiPlus"))] + Scale: usize, pub DiscardEdit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub SetEncoderParams: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbagenc: *mut ::core::ffi::c_void) -> ::windows_core::HRESULT, @@ -39839,69 +39844,71 @@ pub const FOF2_MERGEFOLDERSONCOLLISION: FILE_OPERATION_FLAGS2 = FILE_OPERATION_F #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const FOF2_NONE: FILE_OPERATION_FLAGS2 = FILE_OPERATION_FLAGS2(0i32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_ADDUNDORECORD: u32 = 536870912u32; +pub const FOFX_ADDUNDORECORD: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(536870912u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_COPYASDOWNLOAD: u32 = 1073741824u32; +pub const FOFX_COPYASDOWNLOAD: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(1073741824u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYDESTPATH: u32 = 134217728u32; +pub const FOFX_DONTDISPLAYDESTPATH: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(134217728u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYLOCATIONS: u32 = 2147483648u32; +pub const FOFX_DONTDISPLAYLOCATIONS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(2147483648u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_DONTDISPLAYSOURCEPATH: u32 = 67108864u32; +pub const FOFX_DONTDISPLAYSOURCEPATH: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(67108864u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_EARLYFAILURE: u32 = 1048576u32; +pub const FOFX_EARLYFAILURE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(1048576u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_KEEPNEWERFILE: u32 = 4194304u32; +pub const FOFX_KEEPNEWERFILE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(4194304u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_MOVEACLSACROSSVOLUMES: u32 = 33554432u32; +pub const FOFX_MOVEACLSACROSSVOLUMES: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(33554432u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOCOPYHOOKS: u32 = 8388608u32; +pub const FOFX_NOCOPYHOOKS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(8388608u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOMINIMIZEBOX: u32 = 16777216u32; +pub const FOFX_NOMINIMIZEBOX: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(16777216u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_NOSKIPJUNCTIONS: u32 = 65536u32; +pub const FOFX_NOSKIPJUNCTIONS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(65536u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_PREFERHARDLINK: u32 = 131072u32; +pub const FOFX_PREFERHARDLINK: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(131072u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_PRESERVEFILEEXTENSIONS: u32 = 2097152u32; +pub const FOFX_PRESERVEFILEEXTENSIONS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(2097152u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_RECYCLEONDELETE: u32 = 524288u32; +pub const FOFX_RECYCLEONDELETE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(524288u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_REQUIREELEVATION: u32 = 268435456u32; +pub const FOFX_REQUIREELEVATION: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(268435456u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOFX_SHOWELEVATIONPROMPT: u32 = 262144u32; +pub const FOFX_SHOWELEVATIONPROMPT: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(262144u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_ALLOWUNDO: u32 = 64u32; +pub const FOF_ALLOWUNDO: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(64u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_CONFIRMMOUSE: u32 = 2u32; +pub const FOF_CONFIRMMOUSE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(2u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_FILESONLY: u32 = 128u32; +pub const FOF_FILESONLY: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(128u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_MULTIDESTFILES: u32 = 1u32; +pub const FOF_MULTIDESTFILES: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(1u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCONFIRMATION: u32 = 16u32; +pub const FOF_NOCONFIRMATION: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(16u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCONFIRMMKDIR: u32 = 512u32; +pub const FOF_NOCONFIRMMKDIR: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(512u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOCOPYSECURITYATTRIBS: u32 = 2048u32; +pub const FOF_NOCOPYSECURITYATTRIBS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(2048u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NOERRORUI: u32 = 1024u32; +pub const FOF_NOERRORUI: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(1024u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NORECURSEREPARSE: u32 = 32768u32; +pub const FOF_NORECURSEREPARSE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(32768u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NORECURSION: u32 = 4096u32; +pub const FOF_NORECURSION: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(4096u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_NO_CONNECTED_ELEMENTS: u32 = 8192u32; +pub const FOF_NO_CONNECTED_ELEMENTS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(8192u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_RENAMEONCOLLISION: u32 = 8u32; +pub const FOF_NO_UI: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(1556u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_SILENT: u32 = 4u32; +pub const FOF_RENAMEONCOLLISION: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(8u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_SIMPLEPROGRESS: u32 = 256u32; +pub const FOF_SILENT: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(4u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_WANTMAPPINGHANDLE: u32 = 32u32; +pub const FOF_SIMPLEPROGRESS: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(256u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] -pub const FOF_WANTNUKEWARNING: u32 = 16384u32; +pub const FOF_WANTMAPPINGHANDLE: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(32u32); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const FOF_WANTNUKEWARNING: FILEOPERATION_FLAGS = FILEOPERATION_FLAGS(16384u32); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const FOLDERID_AccountPictures: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x008ca0b1_55b4_4c56_b8a8_4de4b299d3be); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] @@ -42051,6 +42058,48 @@ pub const PROPSTR_EXTENSIONCOMPLETIONSTATE: ::windows_core::PCWSTR = ::windows_c #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PROP_CONTRACT_DELEGATE: ::windows_core::PCWSTR = ::windows_core::w!("ContractDelegate"); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_AUDIO: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64440490_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_BRIEFCASE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x328d8b21_7729_4bfc_954c_902b329d56b0); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_CONTROLPANEL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x305ca226_d286_468e_b848_2b2e8e697b74); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_CUSTOMIMAGEPROPERTIES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x7ecd8b0e_c136_4a9b_9411_4ebd6673ccc3); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DISPLACED: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b174b33_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DOCUMENTSUMMARYINFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd5cdd502_2e9c_101b_9397_08002b2cf9ae); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_DRM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xaeac19e4_89ae_4508_b9b7_bb867abee2ed); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_IMAGEPROPERTIES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x14b81da1_0135_4d31_96d9_6cbfc9671a99); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_IMAGESUMMARYINFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6444048f_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_LIBRARYPROPERTIES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5d76b67f_9b3d_44bb_b6ae_25da4f638a67); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_LINK: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb9b4b3fc_2b51_4a42_b5d8_324146afcf25); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MEDIAFILESUMMARYINFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64440492_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MISC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b174b34_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_MUSIC: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x56a3372e_ce9c_11d2_9f0e_006097c686f6); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_QUERY_D: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x49691c90_7e17_101a_a91c_08002b2ecda9); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SHARE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd8c3986f_813b_449c_845d_87b95d674ade); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SHELLDETAILS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x28636aa6_953d_11d2_b5d6_00c04fd918d0); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_SUMMARYINFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf29f85e0_4ff9_1068_ab91_08002b27b3d9); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_VIDEO: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x64440491_4c8b_11d1_8b70_080036b11a03); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_VOLUME: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9b174b35_40ff_11d2_a27e_00c04fc30871); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +pub const PSGUID_WEBVIEW: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2275480_f782_4291_bd94_f13693513aec); +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PackageDebugSettings: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb1aec16f_2383_4852_b0e9_8f0b1dc66b4d); #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] pub const PasswordCredentialProvider: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x60b78e88_ead8_445c_9cfd_0b87f74ea6cd); @@ -47489,6 +47538,62 @@ impl ::core::ops::Not for FILEOPENDIALOGOPTIONS { #[doc = "*Required features: `\"Win32_UI_Shell\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] +pub struct FILEOPERATION_FLAGS(pub u32); +impl ::core::marker::Copy for FILEOPERATION_FLAGS {} +impl ::core::clone::Clone for FILEOPERATION_FLAGS { + fn clone(&self) -> Self { + *self + } +} +impl ::core::default::Default for FILEOPERATION_FLAGS { + fn default() -> Self { + Self(0) + } +} +impl ::windows_core::TypeKind for FILEOPERATION_FLAGS { + type TypeKind = ::windows_core::CopyType; +} +impl ::core::fmt::Debug for FILEOPERATION_FLAGS { + fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + f.debug_tuple("FILEOPERATION_FLAGS").field(&self.0).finish() + } +} +impl FILEOPERATION_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for FILEOPERATION_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for FILEOPERATION_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for FILEOPERATION_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for FILEOPERATION_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for FILEOPERATION_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} +#[doc = "*Required features: `\"Win32_UI_Shell\"`*"] +#[repr(transparent)] +#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] pub struct FILETYPEATTRIBUTEFLAGS(pub i32); impl ::core::marker::Copy for FILETYPEATTRIBUTEFLAGS {} impl ::core::clone::Clone for FILETYPEATTRIBUTEFLAGS { diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index ca4871d86a1..ea7735166c1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -3842,24 +3842,24 @@ where #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TrackPopupMenu(hmenu: P0, uflags: TRACK_POPUP_MENU_FLAGS, x: i32, y: i32, nreserved: i32, hwnd: P1, prcrect: ::core::option::Option<*const super::super::Foundation::RECT>) -> ::windows_core::Result<()> +pub unsafe fn TrackPopupMenu(hmenu: P0, uflags: TRACK_POPUP_MENU_FLAGS, x: i32, y: i32, nreserved: i32, hwnd: P1, prcrect: ::core::option::Option<*const super::super::Foundation::RECT>) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("user32.dll" "system" fn TrackPopupMenu(hmenu : HMENU, uflags : TRACK_POPUP_MENU_FLAGS, x : i32, y : i32, nreserved : i32, hwnd : super::super::Foundation:: HWND, prcrect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); - TrackPopupMenu(hmenu.into_param().abi(), uflags, x, y, nreserved, hwnd.into_param().abi(), ::core::mem::transmute(prcrect.unwrap_or(::std::ptr::null()))).ok() + TrackPopupMenu(hmenu.into_param().abi(), uflags, x, y, nreserved, hwnd.into_param().abi(), ::core::mem::transmute(prcrect.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] #[inline] -pub unsafe fn TrackPopupMenuEx(hmenu: P0, uflags: u32, x: i32, y: i32, hwnd: P1, lptpm: ::core::option::Option<*const TPMPARAMS>) -> ::windows_core::Result<()> +pub unsafe fn TrackPopupMenuEx(hmenu: P0, uflags: u32, x: i32, y: i32, hwnd: P1, lptpm: ::core::option::Option<*const TPMPARAMS>) -> super::super::Foundation::BOOL where P0: ::windows_core::IntoParam, P1: ::windows_core::IntoParam, { ::windows_targets::link!("user32.dll" "system" fn TrackPopupMenuEx(hmenu : HMENU, uflags : u32, x : i32, y : i32, hwnd : super::super::Foundation:: HWND, lptpm : *const TPMPARAMS) -> super::super::Foundation:: BOOL); - TrackPopupMenuEx(hmenu.into_param().abi(), uflags, x, y, hwnd.into_param().abi(), ::core::mem::transmute(lptpm.unwrap_or(::std::ptr::null()))).ok() + TrackPopupMenuEx(hmenu.into_param().abi(), uflags, x, y, hwnd.into_param().abi(), ::core::mem::transmute(lptpm.unwrap_or(::std::ptr::null()))) } #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -4842,20 +4842,6 @@ pub const EVENT_UIA_PROPID_END: u32 = 30207u32; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const EVENT_UIA_PROPID_START: u32 = 29952u32; #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_ARSO: u32 = 67108864u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_BOOTOPTIONS: u32 = 16777216u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_CHECK_SAFE_FOR_SERVER: u32 = 134217728u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_FORCE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_FORCEIFHUNG: u32 = 16u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_QUICKRESOLVE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] -pub const EWX_SYSTEM_INITIATED: u32 = 268435456u32; -#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const FALT: ACCEL_VIRT_FLAGS = ACCEL_VIRT_FLAGS(16u8); #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] pub const FAPPCOMMAND_KEY: u32 = 0u32; @@ -5319,6 +5305,9 @@ pub const HTZOOM: u32 = 9u32; pub const HWND_BOTTOM: super::super::Foundation::HWND = super::super::Foundation::HWND(1i32 as _); #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] +pub const HWND_BROADCAST: super::super::Foundation::HWND = super::super::Foundation::HWND(65535i32 as _); +#[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] pub const HWND_DESKTOP: super::super::Foundation::HWND = super::super::Foundation::HWND(0i32 as _); #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -10258,6 +10247,39 @@ impl ::core::fmt::Debug for REGISTER_NOTIFICATION_FLAGS { f.debug_tuple("REGISTER_NOTIFICATION_FLAGS").field(&self.0).finish() } } +impl REGISTER_NOTIFICATION_FLAGS { + pub const fn contains(&self, other: Self) -> bool { + self.0 & other.0 == other.0 + } +} +impl ::core::ops::BitOr for REGISTER_NOTIFICATION_FLAGS { + type Output = Self; + fn bitor(self, other: Self) -> Self { + Self(self.0 | other.0) + } +} +impl ::core::ops::BitAnd for REGISTER_NOTIFICATION_FLAGS { + type Output = Self; + fn bitand(self, other: Self) -> Self { + Self(self.0 & other.0) + } +} +impl ::core::ops::BitOrAssign for REGISTER_NOTIFICATION_FLAGS { + fn bitor_assign(&mut self, other: Self) { + self.0.bitor_assign(other.0) + } +} +impl ::core::ops::BitAndAssign for REGISTER_NOTIFICATION_FLAGS { + fn bitand_assign(&mut self, other: Self) { + self.0.bitand_assign(other.0) + } +} +impl ::core::ops::Not for REGISTER_NOTIFICATION_FLAGS { + type Output = Self; + fn not(self) -> Self { + Self(self.0.not()) + } +} #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]