XUserGetTokenAndSignatureUtf16ResultSize
Gets the buffer size for holding the results of a call to XUserGetTokenAndSignatureUtf16Async.
Syntax
HRESULT XUserGetTokenAndSignatureUtf16ResultSize(
XAsyncBlock* async,
size_t* bufferSize
)
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, Xbox One family consoles and Xbox Series consoles