XblHttpCallGetNetworkErrorCode
Get the network error code of the HTTP call.
Syntax
HRESULT XblHttpCallGetNetworkErrorCode(
XblHttpCallHandle call,
HRESULT* networkErrorCode,
uint32_t* platformNetworkErrorCode
)
Parameters
call _In_
Type: XblHttpCallHandle
The handle of the HTTP call.
networkErrorCode _Out_
Type: HRESULT*
The network error code of the HTTP call. Possible values are S_OK, or E_FAIL.
platformNetworkErrorCode _Out_
Type: uint32_t*
The platform specific network error code of the HTTP call to be used for tracing / debugging.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, or E_FAIL.
Remarks
This can only be called after calling XblHttpCallPerformAsync when the HTTP task is completed.
Requirements
Header: http_call_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib