XStoreCanAcquireLicenseForStoreIdResult
Gets the results for a call to XStoreCanAcquireLicenseForStoreIdAsync.Syntax
Parameters
async _Inout_Type: XAsyncBlock* The
XAsyncBlock that you pass to XStoreCanAcquireLicenseForStoreIdAsync.
Use the XAsyncBlock to poll for the call’s status and retrieve call results.
For more information, see XAsyncBlock.
storeCanAcquireLicense _Out_Type: XStoreCanAcquireLicenseResult* On return, check the result’s status to see if the user can license the product. Call this API for games and durables (with or without packages). It also returns a result if the product can be licensed by using an inserted disc. The result includes which SKU the user can license. For content that users can license by using a disc, the SKU is ‘DISC’.
Return value
Type: HRESULT S_OK on success; otherwise, returns an error code. TheXStoreCanAcquireLicenseForStoreIdResult function returns the following error codes:
Remarks
This function retrieves the execution results of XStoreCanAcquireLicenseForStoreIdAsync, and the preview license that the function calls for if the execution is successful. Call this function after XStoreCanAcquireLicenseForStoreIdAsync, usually in the context of a callback function. For a usage example, see XStoreCanAcquireLicenseForStoreIdAsync.Requirements
Header: XStore.h (included in XGameRuntime.h) Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles, and XBOX Series consolesConceptual documentation
See also
XStoreXStoreCanAcquireLicenseForStoreIdAsync
How to use a durable without a package
Granting players access to add-on content
