XGameUiShowWebAuthenticationResultSize
Retrieves the size of the buffer needed to store a previously completed authentication request. This size is variable because the server response can contain an arbitrary amount of data.Syntax
Parameters
async _Inout_Type: XAsyncBlock* A pointer to the XAsyncBlock that was passed to XGameUiShowWebAuthenticationAsync. bufferSize _Out_
Type: size_t* The size, in bytes, of the XGameUiWebAuthenticationResultData returned from the XGameUiShowWebAuthenticationAsync call.
Return value
Type: HRESULT HRESULT success or error code.Remarks
Call this method inside the AsyncBlock callback or after the AsyncBlock is complete. You must call this method so that you can allocate a buffer of sufficient size to contain the result data returned in XGameUiShowWebAuthenticationResult. For an example of how to use this method, see the code example in XGameUiShowWebAuthenticationAsync.Requirements
Header: XGameUI.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
XGameUIXGameUiShowWebAuthenticationAsync
XGameUiShowWebAuthenticationResult
XGameUiWebAuthenticationResultData
Asynchronous Programming Model
