Skip to main content

XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize

Gets the size of the results buffer from theXNetworkingQuerySecurityInformationForUrlUtf16Async function.

Syntax

Parameters

asyncBlock   _Inout_
Type: XAsyncBlock*
Pointer to the XAsyncBlock structure that gets passed to theXNetworkingQuerySecurityInformationForUrlUtf16Async function. securityInformationBufferByteCount   _Out_
Type: size_t*
The size, in bytes, of the results buffer.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

This function gets the buffer results by calling the XNetworkingQuerySecurityInformationForUrlUtf16Async function. The number of bytes of the results buffer are determined using the securityInformationBufferByteCount pointer. For network information in Microsoft Game Development Kit (GDK) titles, see Retrieving Network Information. This method interrogates the local state within the calling process and returns quickly, so it is safe to call from time-sensitive contexts.

Requirements

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

See also

HTTP and Web Sockets
XNetworking
Last modified on August 20, 2026