From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs | 123 ++++++++------------- 1 file changed, 47 insertions(+), 76 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs b/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs index 7d2cc4911..6c12763cf 100644 --- a/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs @@ -1,71 +1,38 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CheckGamingPrivilegeSilently(privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, hasprivilege: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CheckGamingPrivilegeSilentlyForUser(user: ::windows_sys::core::IInspectable, privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, hasprivilege: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn CheckGamingPrivilegeWithUI(privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, friendlymessage: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn CheckGamingPrivilegeWithUIForUser(user: ::windows_sys::core::IInspectable, privilegeid: u32, scope: ::windows_sys::core::HSTRING, policy: ::windows_sys::core::HSTRING, friendlymessage: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn GetExpandedResourceExclusiveCpuCount(exclusivecpucount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn GetGamingDeviceModelInformation(information: *mut GAMING_DEVICE_MODEL_INFORMATION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn HasExpandedResources(hasexpandedresources: *mut super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ProcessPendingGameUI(waitforcompletion: super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ReleaseExclusiveCpuSets() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowChangeFriendRelationshipUI(targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowChangeFriendRelationshipUIForUser(user: ::windows_sys::core::IInspectable, targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowCustomizeUserProfileUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowCustomizeUserProfileUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowFindFriendsUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowFindFriendsUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInfoUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInfoUIForUser(user: ::windows_sys::core::IInspectable, titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInviteUI(serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInviteUIForUser(user: ::windows_sys::core::IInspectable, serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInviteUIWithContext(serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, customactivationcontext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowGameInviteUIWithContextForUser(user: ::windows_sys::core::IInspectable, serviceconfigurationid: ::windows_sys::core::HSTRING, sessiontemplatename: ::windows_sys::core::HSTRING, sessionid: ::windows_sys::core::HSTRING, invitationdisplaytext: ::windows_sys::core::HSTRING, customactivationcontext: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowPlayerPickerUI(promptdisplaytext: ::windows_sys::core::HSTRING, xuids: *const ::windows_sys::core::HSTRING, xuidscount: usize, preselectedxuids: *const ::windows_sys::core::HSTRING, preselectedxuidscount: usize, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowPlayerPickerUIForUser(user: ::windows_sys::core::IInspectable, promptdisplaytext: ::windows_sys::core::HSTRING, xuids: *const ::windows_sys::core::HSTRING, xuidscount: usize, preselectedxuids: *const ::windows_sys::core::HSTRING, preselectedxuidscount: usize, minselectioncount: usize, maxselectioncount: usize, completionroutine: PlayerPickerUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowProfileCardUI(targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowProfileCardUIForUser(user: ::windows_sys::core::IInspectable, targetuserxuid: ::windows_sys::core::HSTRING, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowTitleAchievementsUI(titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowTitleAchievementsUIForUser(user: ::windows_sys::core::IInspectable, titleid: u32, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowUserSettingsUI(completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`*"] - pub fn ShowUserSettingsUIForUser(user: ::windows_sys::core::IInspectable, completionroutine: GameUICompletionRoutine, context: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TryCancelPendingGameUI() -> super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] fn CheckGamingPrivilegeSilently ( privilegeid : u32 , scope : :: windows_sys::core::HSTRING , policy : :: windows_sys::core::HSTRING , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] fn CheckGamingPrivilegeSilentlyForUser ( user : :: windows_sys::core::IInspectable , privilegeid : u32 , scope : :: windows_sys::core::HSTRING , policy : :: windows_sys::core::HSTRING , hasprivilege : *mut super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-1.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn CheckGamingPrivilegeWithUI ( privilegeid : u32 , scope : :: windows_sys::core::HSTRING , policy : :: windows_sys::core::HSTRING , friendlymessage : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn CheckGamingPrivilegeWithUIForUser ( user : :: windows_sys::core::IInspectable , privilegeid : u32 , scope : :: windows_sys::core::HSTRING , policy : :: windows_sys::core::HSTRING , friendlymessage : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn GetExpandedResourceExclusiveCpuCount ( exclusivecpucount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-deviceinformation-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn GetGamingDeviceModelInformation ( information : *mut GAMING_DEVICE_MODEL_INFORMATION ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] fn HasExpandedResources ( hasexpandedresources : *mut super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] fn ProcessPendingGameUI ( waitforcompletion : super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-expandedresources-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ReleaseExclusiveCpuSets ( ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowChangeFriendRelationshipUI ( targetuserxuid : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowChangeFriendRelationshipUIForUser ( user : :: windows_sys::core::IInspectable , targetuserxuid : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowCustomizeUserProfileUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowCustomizeUserProfileUIForUser ( user : :: windows_sys::core::IInspectable , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowFindFriendsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowFindFriendsUIForUser ( user : :: windows_sys::core::IInspectable , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInfoUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInfoUIForUser ( user : :: windows_sys::core::IInspectable , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInviteUI ( serviceconfigurationid : :: windows_sys::core::HSTRING , sessiontemplatename : :: windows_sys::core::HSTRING , sessionid : :: windows_sys::core::HSTRING , invitationdisplaytext : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInviteUIForUser ( user : :: windows_sys::core::IInspectable , serviceconfigurationid : :: windows_sys::core::HSTRING , sessiontemplatename : :: windows_sys::core::HSTRING , sessionid : :: windows_sys::core::HSTRING , invitationdisplaytext : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInviteUIWithContext ( serviceconfigurationid : :: windows_sys::core::HSTRING , sessiontemplatename : :: windows_sys::core::HSTRING , sessionid : :: windows_sys::core::HSTRING , invitationdisplaytext : :: windows_sys::core::HSTRING , customactivationcontext : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-3.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowGameInviteUIWithContextForUser ( user : :: windows_sys::core::IInspectable , serviceconfigurationid : :: windows_sys::core::HSTRING , sessiontemplatename : :: windows_sys::core::HSTRING , sessionid : :: windows_sys::core::HSTRING , invitationdisplaytext : :: windows_sys::core::HSTRING , customactivationcontext : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowPlayerPickerUI ( promptdisplaytext : :: windows_sys::core::HSTRING , xuids : *const :: windows_sys::core::HSTRING , xuidscount : usize , preselectedxuids : *const :: windows_sys::core::HSTRING , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowPlayerPickerUIForUser ( user : :: windows_sys::core::IInspectable , promptdisplaytext : :: windows_sys::core::HSTRING , xuids : *const :: windows_sys::core::HSTRING , xuidscount : usize , preselectedxuids : *const :: windows_sys::core::HSTRING , preselectedxuidscount : usize , minselectioncount : usize , maxselectioncount : usize , completionroutine : PlayerPickerUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowProfileCardUI ( targetuserxuid : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowProfileCardUIForUser ( user : :: windows_sys::core::IInspectable , targetuserxuid : :: windows_sys::core::HSTRING , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowTitleAchievementsUI ( titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-2.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowTitleAchievementsUIForUser ( user : :: windows_sys::core::IInspectable , titleid : u32 , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowUserSettingsUI ( completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-4.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`*"] fn ShowUserSettingsUIForUser ( user : :: windows_sys::core::IInspectable , completionroutine : GameUICompletionRoutine , context : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-gaming-tcui-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`*"] fn TryCancelPendingGameUI ( ) -> super::Foundation:: BOOL ); pub type IGameExplorer = *mut ::core::ffi::c_void; pub type IGameExplorer2 = *mut ::core::ffi::c_void; pub type IGameStatistics = *mut ::core::ffi::c_void; @@ -73,14 +40,18 @@ pub type IGameStatisticsMgr = *mut ::core::ffi::c_void; pub type IXblIdpAuthManager = *mut ::core::ffi::c_void; pub type IXblIdpAuthTokenResult = *mut ::core::ffi::c_void; pub type IXblIdpAuthTokenResult2 = *mut ::core::ffi::c_void; -pub const GameExplorer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2589895056, data2: 12340, data3: 19823, data4: [145, 40, 1, 243, 198, 16, 34, 188] }; -pub const GameStatistics: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3687340588, data2: 49372, data3: 18785, data4: [182, 226, 210, 139, 98, 193, 26, 212] }; #[doc = "*Required features: `\"Win32_Gaming\"`*"] -pub const ID_GDF_THUMBNAIL_STR: &str = "__GDF_THUMBNAIL"; +pub const GameExplorer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9a5ea990_3034_4d6f_9128_01f3c61022bc); +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GameStatistics: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdbc85a2c_c0dc_4961_b6e2_d28b62c11ad4); +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const ID_GDF_THUMBNAIL_STR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("__GDF_THUMBNAIL"); +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const ID_GDF_XML_STR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("__GDF_XML"); +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XblIdpAuthManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xce23534b_56d8_4978_86a2_7ee570640468); #[doc = "*Required features: `\"Win32_Gaming\"`*"] -pub const ID_GDF_XML_STR: &str = "__GDF_XML"; -pub const XblIdpAuthManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3458421579, data2: 22232, data3: 18808, data4: [134, 162, 126, 229, 112, 100, 4, 104] }; -pub const XblIdpAuthTokenResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2672374849, data2: 29770, data3: 16652, data4: [174, 43, 154, 34, 247, 199, 115, 31] }; +pub const XblIdpAuthTokenResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9f493441_744a_410c_ae2b_9a22f7c7731f); #[doc = "*Required features: `\"Win32_Gaming\"`*"] pub type GAMESTATS_OPEN_RESULT = i32; #[doc = "*Required features: `\"Win32_Gaming\"`*"] @@ -198,6 +169,6 @@ impl ::core::clone::Clone for GAMING_DEVICE_MODEL_INFORMATION { } } #[doc = "*Required features: `\"Win32_Gaming\"`*"] -pub type GameUICompletionRoutine = ::core::option::Option; +pub type GameUICompletionRoutine = ::core::option::Option ()>; #[doc = "*Required features: `\"Win32_Gaming\"`*"] -pub type PlayerPickerUICompletionRoutine = ::core::option::Option; +pub type PlayerPickerUICompletionRoutine = ::core::option::Option ()>; -- cgit v1.2.3