XStoreQueryLicenseTokenResultSize

Gets the size of the result that will be returned by XstoreQueryLicenseTokenResult.

Syntax

HRESULT XStoreQueryLicenseTokenResultSize(  
         XAsyncBlock* async,  
         size_t* size  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The XAsyncBlock block passed to XStoreQueryLicenseTokenAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.

size   _Out_
Type: size_t*

On success contains the size of the result that will be returned by XStoreQueryLicenseTokenResult.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

This result function allows you to retrieve the size of the JSON web Token when XStoreQueryLicenseTokenAsync was called. As such, this function should be called after XStoreQueryLicenseTokenAsync has been called, usually in the context of a callback function. See XStoreQueryLicenseTokenAsync 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
XStoreQueryLicenseTokenAsync
XStoreQueryLicenseTokenResult