XNetworkingQuerySecurityInformationForUrlAsyncResultSize
Gets the size of the results buffer from an XNetworkingQuerySecurityInformationForUrlAsync call.Syntax
Parameters
asyncBlock _Inout_Type: XAsyncBlock* Pointer to the XAsyncBlock structure that gets passed to the XNetworkingQuerySecurityInformationForUrlAsync 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 size of the results buffer from anXNetworkingQuerySecurityInformationForUrlAsync call. The title should pass the same XAsyncBlock structure that is passed to the query function. The buffer is the underlying buffer used by all the pointers in the security information structure pointer. The title should keep the buffer valid as long as it is using the security information structure pointer. Freeing and cleaning up the buffer also cleans up all memory used by the security information structure 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 consolesSee also
HTTP and Web SocketsXNetworking
