XStoreQueryAddOnLicensesResult
Retrieves the result of a call to XStoreQueryAddOnLicensesAsync.
Syntax
HRESULT XStoreQueryAddOnLicensesResult(
XAsyncBlock* async,
uint32_t count,
XStoreAddonLicense* addOnLicenses
)
Parameters
async _Inout_
Type: XAsyncBlock*
The XAsyncBlock passed to XStoreQueryAddOnLicensesAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.
count _In_
Type: uint32_t
The number of elements in the array passed into addOnLicenses.
addOnLicenses _Out_writes_(count)
Type: XStoreAddonLicense*
On success this array will contain Durable add-on licenses.
Return value
Type: HRESULT
HRESULT success or error code.
Remarks
This result function allows you to retrieve the execution results of XStoreQueryAddOnLicensesAsync, as well as the add-on license that was called for if the execution was successful. As such, this function should be called after XStoreQueryAddOnLicensesAsync has been called, usually in the context of a callback function.
See XStoreQueryAddonLicensesAsync 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 consoles
See also
XStore
XStoreQueryAddonLicensesAsync
XStoreQueryAddonLicensesResultCount