Skip to main content

XStoreAcquireLicenseForDurablesResult

Retrieves the result of a call to XStoreAcquireLicenseForDurablesAsync.

Syntax

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 the acquired license handle into XStoreIsLicenseValid to check if the license is valid.

Return value

Type: HRESULT Returns S_OK if successful, or an error code otherwise. XStoreAcquireLicenseForDurablesResult can return the following error codes:

Remarks

Call this function on a time-sensitive thread. The XAsyncBlock structure contains the result of the call. 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

Conceptual documentation

See also

XStore
XAsyncBlock
XStoreAcquireLicenseForDurablesAsync
How to use a durable without a package
Granting players access to add-on content
Last modified on August 20, 2026