XStoreQueryLicenseTokenResult
Retrieves the results of a call to XStoreQueryLicenseTokenAsync. See License Tokens Overview for more information.Syntax
Parameters
async _Inout_Type: XAsyncBlock* The XAsyncBlock passed to XStoreQueryLicenseTokenAsync. The XAsyncBlock can be used to poll for the call’s status and retrieve call results. See XAsyncBlock for more information. size _In_
Type: size_t The size of the array passed into result. result _Out_writes_z_(size)
Type: char* On success contains the retrieved license token.
Return value
Type: HRESULT HRESULT success or error code.Remarks
This result function allows you to retrieve the execution results of XStoreQueryLicenseTokenAsync, as well as the JSON web token called for if the execution was successful. As such, this function should be called after XStoreQueryLicenseTokenAsync has been called, usually in the context of a callback function. See XStoreQueryLicenseTokenAsync for a usage example.Requirements
Header: XStore.h (included in XGameRuntime.h) Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
- Granting players access to add-on content
- Using License Tokens to validate licensing on your services
