Skip to main content

XUserGetTokenAndSignatureUtf16ResultSize

Gets the buffer size for holding the results of a call to XUserGetTokenAndSignatureUtf16Async.

Syntax

Parameters

async   _Inout_
Type: XAsyncBlock*
An XAsyncBlock for polling the call’s status and retrieving call results. bufferSize   _Out_
Type: size_t*
Contains the required buffer size.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code. For a list of error codes, see Error Codes.

Remarks

The XUserGetTokenAndSignatureUtf16Async function uses an XUserGetTokenAndSignatureOptions enumeration argument to asynchronously retrieve unicode xtokens and signatures for web requests. To asynchronously retrieve Unicode xtokens and signatures for web requests, call XUserGetTokenAndSignatureUtf16Async. To retrieve the result of calling XUserGetTokenAndSignatureUtf16Async, call XUserGetTokenAndSignatureUtf16Result.

Requirements

Header: XUser.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

See also

XUser XUserGetTokenAndSignatureUtf16Async XUserGetTokenAndSignatureUtf16Result
Last modified on August 20, 2026