XStoreAcquireLicenseForDurablesResult
Retrieves the result of a call to XStoreAcquireLicenseForDurablesAsync.
Syntax
HRESULT XStoreAcquireLicenseForDurablesResult(
XAsyncBlock* async,
XStoreLicenseHandle* storeLicenseHandle
)
Parameters
async _Inout_
Type: XAsyncBlock*
The XAsyncBlock
object passed to XStoreAcquireLicenseForDurablesAsync.
storeLicenseHandle _Out_
Type: XStoreLicenseHandle*
On success, contains the handle to the store license. Pass this into XStoreIsLicenseValid to see of the license is valid.
Return value
Type: HRESULT
Returns S_OK upon success, or an error code otherwise.
XStoreAcquireLicenseForDurablesResult
can return the following error codes:
Error code | Description |
---|---|
0x87e10bc6 LM_E_CONTENT_NOT_IN_CATALOG |
The product is not of the appropriate durable type. |
0x803f9006 LM_E_ENTITLED_USER_SIGNED_OUT |
Owner of the product is not signed in. |
Remarks
This function is safe to call on a time-sensitive thread.
The result of the call is contained in the XAsyncBlock structure. You can use the XAsyncBlock object to poll for the function call status, and to retrieve the result. To acquire a license for the specified durable, call XStoreAcquireLicenseForDurablesAsync.
Requirements
Header: XStore.h
Library: xgameruntime.lib
Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles