XGameGetXboxTitleId
Returns the TitleID for the game.Syntax
Parameters
titleId _Out_Type: uint32_t* A pointer to the TitleID of the game.
Return value
Type: HRESULT Returns S_OK if successful; otherwise, returns an error code. For a list of error codes, see Error Codes. If the TitleID is not configured by the game developer in the MicrosoftGame.config file, then the return value is set to HRESULT_FROM_WIN32(ERROR_NOT_FOUND).Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Requirements
Header: XGame.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
MicrosoftGame.configXGame
Setting up sandboxes for XBOX Live development
