]> git.proxmox.com Git - rustc.git/blobdiff - vendor/windows-sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Devices / HumanInterfaceDevice / mod.rs
index 324dad59dcba158db5d534437930666cf02efc8c..5b38d01cc585de628622bfc434c234f27201c8c6 100644 (file)
@@ -1,4 +1,3 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
 #[link(name = "windows")]
 extern "system" {
     #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`*"]
@@ -194,37 +193,37 @@ impl ::core::clone::Clone for CPOINT {
     }
 }
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DD_KEYBOARD_DEVICE_NAME: &'static str = "\\Device\\KeyboardClass";
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DD_KEYBOARD_DEVICE_NAME_U: &'static str = "\\Device\\KeyboardClass";
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DD_MOUSE_DEVICE_NAME: &'static str = "\\Device\\PointerClass";
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DD_MOUSE_DEVICE_NAME_U: &'static str = "\\Device\\PointerClass";
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_BackgroundAccess: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 8u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_IsReadOnly: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 4u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_ProductId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 6u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_UsageId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 3u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_UsagePage: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 2u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_VendorId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 5u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_VersionNumber: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 7u32 };
-#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"]
-#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
-pub const DEVPKEY_DeviceInterface_HID_WakeScreenOnInputCapable: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 9u32 };
+pub const DD_KEYBOARD_DEVICE_NAME: &str = "\\Device\\KeyboardClass";
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
+pub const DD_KEYBOARD_DEVICE_NAME_U: &str = "\\Device\\KeyboardClass";
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
+pub const DD_MOUSE_DEVICE_NAME: &str = "\\Device\\PointerClass";
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
+pub const DD_MOUSE_DEVICE_NAME_U: &str = "\\Device\\PointerClass";
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_BackgroundAccess: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 8u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_IsReadOnly: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 4u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_ProductId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 6u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_UsageId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 3u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_UsagePage: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 2u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_VendorId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 5u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_VersionNumber: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 7u32 };
+#[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Devices_Properties\"`*"]
+#[cfg(feature = "Win32_Devices_Properties")]
+pub const DEVPKEY_DeviceInterface_HID_WakeScreenOnInputCapable: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID { data1: 3421733648, data2: 18967, data3: 17168, data4: [161, 235, 36, 127, 11, 103, 89, 59] }, pid: 9u32 };
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
 pub const DI8DEVCLASS_ALL: u32 = 0u32;
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
@@ -4325,59 +4324,59 @@ impl ::core::clone::Clone for DIRAMPFORCE {
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
 pub const DIRECTINPUT_HEADER_VERSION: u32 = 2048u32;
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_NOTIFICATION_MSGSTRING: &'static str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
+pub const DIRECTINPUT_NOTIFICATION_MSGSTRING: &str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_NOTIFICATION_MSGSTRINGA: &'static str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
+pub const DIRECTINPUT_NOTIFICATION_MSGSTRINGA: &str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_NOTIFICATION_MSGSTRINGW: &'static str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
+pub const DIRECTINPUT_NOTIFICATION_MSGSTRINGW: &str = "DIRECTINPUT_NOTIFICATION_MSGSTRING";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTAPP: &'static str = "MostRecentApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTAPP: &str = "MostRecentApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTAPPA: &'static str = "MostRecentApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTAPPA: &str = "MostRecentApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTAPPW: &'static str = "MostRecentApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTAPPW: &str = "MostRecentApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPP: &'static str = "MostRecentMapperApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPP: &str = "MostRecentMapperApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPPA: &'static str = "MostRecentMapperApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPPA: &str = "MostRecentMapperApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPPW: &'static str = "MostRecentMapperApplication";
+pub const DIRECTINPUT_REGSTR_KEY_LASTMAPAPPW: &str = "MostRecentMapperApplication";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAG: &'static str = "AppIdFlag";
+pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAG: &str = "AppIdFlag";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAGA: &'static str = "AppIdFlag";
+pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAGA: &str = "AppIdFlag";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAGW: &'static str = "AppIdFlag";
+pub const DIRECTINPUT_REGSTR_VAL_APPIDFLAGW: &str = "AppIdFlag";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_ID: &'static str = "Id";
+pub const DIRECTINPUT_REGSTR_VAL_ID: &str = "Id";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_IDA: &'static str = "Id";
+pub const DIRECTINPUT_REGSTR_VAL_IDA: &str = "Id";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_IDW: &'static str = "Id";
+pub const DIRECTINPUT_REGSTR_VAL_IDW: &str = "Id";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_LASTSTART: &'static str = "MostRecentStart";
+pub const DIRECTINPUT_REGSTR_VAL_LASTSTART: &str = "MostRecentStart";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_LASTSTARTA: &'static str = "MostRecentStart";
+pub const DIRECTINPUT_REGSTR_VAL_LASTSTARTA: &str = "MostRecentStart";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_LASTSTARTW: &'static str = "MostRecentStart";
+pub const DIRECTINPUT_REGSTR_VAL_LASTSTARTW: &str = "MostRecentStart";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_MAPPER: &'static str = "UsesMapper";
+pub const DIRECTINPUT_REGSTR_VAL_MAPPER: &str = "UsesMapper";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_MAPPERA: &'static str = "UsesMapper";
+pub const DIRECTINPUT_REGSTR_VAL_MAPPERA: &str = "UsesMapper";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_MAPPERW: &'static str = "UsesMapper";
+pub const DIRECTINPUT_REGSTR_VAL_MAPPERW: &str = "UsesMapper";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_NAME: &'static str = "Name";
+pub const DIRECTINPUT_REGSTR_VAL_NAME: &str = "Name";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_NAMEA: &'static str = "Name";
+pub const DIRECTINPUT_REGSTR_VAL_NAMEA: &str = "Name";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_NAMEW: &'static str = "Name";
+pub const DIRECTINPUT_REGSTR_VAL_NAMEW: &str = "Name";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_VERSION: &'static str = "Version";
+pub const DIRECTINPUT_REGSTR_VAL_VERSION: &str = "Version";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_VERSIONA: &'static str = "Version";
+pub const DIRECTINPUT_REGSTR_VAL_VERSIONA: &str = "Version";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
-pub const DIRECTINPUT_REGSTR_VAL_VERSIONW: &'static str = "Version";
+pub const DIRECTINPUT_REGSTR_VAL_VERSIONW: &str = "Version";
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]
 pub const DIRECTINPUT_VERSION: u32 = 2048u32;
 #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`*"]