Skip to main content

XStoreQueryPackageUpdatesResultCount

Gets the number of updates retrieved by XStoreQueryPackageUpdatesAsync.

Syntax

Parameters

async   _In_
Type: XAsyncBlock*
The XAsyncBlock passed to XStoreQueryPackageUpdatesAsync. 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 updates 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 XStoreQueryPackageUpdatesAsync was called. As such, this function should be called after XStoreQueryPackageUpdatesAsync has been called, usually in the context of a callback function. See XStoreQueryPackageUpdatesAsync 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
XStoreQueryPackageUpdatesAsync
XStoreQueryPackageUpdatesResult
Last modified on August 20, 2026