Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
HRESULT XGameUiShowWebAuthenticationResultSize(
XAsyncBlock* async,
size_t* bufferSize
)
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 consoles
See also
XGameUI
XGameUiShowWebAuthenticationAsync
XGameUiShowWebAuthenticationResult
XGameUiWebAuthenticationResultData
Asynchronous Programming Model