diff options
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Gaming/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/Gaming/mod.rs | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Gaming/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Gaming/mod.rs new file mode 100644 index 0000000..6c12763 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Gaming/mod.rs @@ -0,0 +1,174 @@ +#[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; +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; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +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 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\"`*"] +pub const GAMESTATS_OPEN_CREATED: GAMESTATS_OPEN_RESULT = 0i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMESTATS_OPEN_OPENED: GAMESTATS_OPEN_RESULT = 1i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type GAMESTATS_OPEN_TYPE = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMESTATS_OPEN_OPENORCREATE: GAMESTATS_OPEN_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMESTATS_OPEN_OPENONLY: GAMESTATS_OPEN_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type GAME_INSTALL_SCOPE = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GIS_NOT_INSTALLED: GAME_INSTALL_SCOPE = 1i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GIS_CURRENT_USER: GAME_INSTALL_SCOPE = 2i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GIS_ALL_USERS: GAME_INSTALL_SCOPE = 3i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type GAMING_DEVICE_DEVICE_ID = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_DEVICE_ID_NONE: GAMING_DEVICE_DEVICE_ID = 0i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE: GAMING_DEVICE_DEVICE_ID = 1988865574i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_S: GAMING_DEVICE_DEVICE_ID = 712204761i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X: GAMING_DEVICE_DEVICE_ID = 1523980231i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X_DEVKIT: GAMING_DEVICE_DEVICE_ID = 284675555i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type GAMING_DEVICE_VENDOR_ID = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_VENDOR_ID_NONE: GAMING_DEVICE_VENDOR_ID = 0i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const GAMING_DEVICE_VENDOR_ID_MICROSOFT: GAMING_DEVICE_VENDOR_ID = -1024700366i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type KnownGamingPrivileges = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_BROADCAST: KnownGamingPrivileges = 190i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_VIEW_FRIENDS_LIST: KnownGamingPrivileges = 197i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_GAME_DVR: KnownGamingPrivileges = 198i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_SHARE_KINECT_CONTENT: KnownGamingPrivileges = 199i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_MULTIPLAYER_PARTIES: KnownGamingPrivileges = 203i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_COMMUNICATION_VOICE_INGAME: KnownGamingPrivileges = 205i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_COMMUNICATION_VOICE_SKYPE: KnownGamingPrivileges = 206i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_CLOUD_GAMING_MANAGE_SESSION: KnownGamingPrivileges = 207i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_CLOUD_GAMING_JOIN_SESSION: KnownGamingPrivileges = 208i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_CLOUD_SAVED_GAMES: KnownGamingPrivileges = 209i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_SHARE_CONTENT: KnownGamingPrivileges = 211i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_PREMIUM_CONTENT: KnownGamingPrivileges = 214i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_SUBSCRIPTION_CONTENT: KnownGamingPrivileges = 219i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_SOCIAL_NETWORK_SHARING: KnownGamingPrivileges = 220i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_PREMIUM_VIDEO: KnownGamingPrivileges = 224i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_VIDEO_COMMUNICATIONS: KnownGamingPrivileges = 235i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_PURCHASE_CONTENT: KnownGamingPrivileges = 245i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_USER_CREATED_CONTENT: KnownGamingPrivileges = 247i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_PROFILE_VIEWING: KnownGamingPrivileges = 249i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_COMMUNICATIONS: KnownGamingPrivileges = 252i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_MULTIPLAYER_SESSIONS: KnownGamingPrivileges = 254i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XPRIVILEGE_ADD_FRIEND: KnownGamingPrivileges = 255i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type XBL_IDP_AUTH_TOKEN_STATUS = i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_SUCCESS: XBL_IDP_AUTH_TOKEN_STATUS = 0i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_OFFLINE_SUCCESS: XBL_IDP_AUTH_TOKEN_STATUS = 1i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_NO_ACCOUNT_SET: XBL_IDP_AUTH_TOKEN_STATUS = 2i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_LOAD_MSA_ACCOUNT_FAILED: XBL_IDP_AUTH_TOKEN_STATUS = 3i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_XBOX_VETO: XBL_IDP_AUTH_TOKEN_STATUS = 4i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_MSA_INTERRUPT: XBL_IDP_AUTH_TOKEN_STATUS = 5i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_OFFLINE_NO_CONSENT: XBL_IDP_AUTH_TOKEN_STATUS = 6i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_VIEW_NOT_SET: XBL_IDP_AUTH_TOKEN_STATUS = 7i32; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub const XBL_IDP_AUTH_TOKEN_STATUS_UNKNOWN: XBL_IDP_AUTH_TOKEN_STATUS = -1i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub struct GAMING_DEVICE_MODEL_INFORMATION { + pub vendorId: GAMING_DEVICE_VENDOR_ID, + pub deviceId: GAMING_DEVICE_DEVICE_ID, +} +impl ::core::marker::Copy for GAMING_DEVICE_MODEL_INFORMATION {} +impl ::core::clone::Clone for GAMING_DEVICE_MODEL_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type GameUICompletionRoutine = ::core::option::Option<unsafe extern "system" fn(returncode: ::windows_sys::core::HRESULT, context: *const ::core::ffi::c_void) -> ()>; +#[doc = "*Required features: `\"Win32_Gaming\"`*"] +pub type PlayerPickerUICompletionRoutine = ::core::option::Option<unsafe extern "system" fn(returncode: ::windows_sys::core::HRESULT, context: *const ::core::ffi::c_void, selectedxuids: *const ::windows_sys::core::HSTRING, selectedxuidscount: usize) -> ()>; |