Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of licenses retrieved by XStoreQueryAddonLicensesAsync.
Syntax
HRESULT XStoreQueryAddOnLicensesResultCount(
XAsyncBlock* async,
uint32_t* count
)
Parameters
async _In_
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 _Out_
Type: uint32_t*
On success contains the number of licenses retrieved.
Return value
Type: HRESULT
HRESULT success or error code.
Remarks
This result function allows you to retrieve the number of add-on licenses acquired when XStoreQueryAddonLicensesAsync was called. 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
XStoreQueryAddonLicensesResult