XNetworkingQuerySecurityInformationForUrlUtf16Async 関数からバッファーの結果を取得します。
構文
HRESULT XNetworkingQuerySecurityInformationForUrlUtf16AsyncResult(
XAsyncBlock* asyncBlock,
size_t securityInformationBufferByteCount,
size_t* securityInformationBufferByteCountUsed,
uint8_t* securityInformationBuffer,
XNetworkingSecurityInformation** securityInformation
)
パラメーター
asyncBlock _Inout_
型: XAsyncBlock*
XNetworkingQuerySecurityInformationForUrlUtf16Async 関数に渡される XAsyncBlock 構造体へのポインター。
securityInformationBufferByteCount _In_
型: size_t
結果バッファーに対して割り当てるサイズ (バイト単位)。 このデータは、XNetworkingQuerySecurityInformationForUrlUtf16AsyncResultSize 関数を呼び出して取得します。 または、大きい結果バッファーを事前に割り当てている場合は、その事前割り当て済みバッファーのサイズを渡すことができます。
securityInformationBufferByteCountUsed_Out_opt_
型: size_t*
実際の結果バッファーのサイズ (バイト単位) へのポインター。
securityInformationBuffer_Out_writes_bytes_to_(securityInformationBufferByteCount,*securityInformationBufferByteCountUsed)
型: uint8_t*
拇印の結果を格納するバッファーへのポインター。
securityInformation_Outptr_
型: XNetworkingSecurityInformation**
ネットワーク セキュリティ許可リスト (NSAL) から返される証明書の拇印の一覧へのポインター。
戻り値
型: HRESULT
HRESULT 成功またはエラー コード。
解説
この関数は、XNetworkingQuerySecurityInformationForUrlUtf16Async 関数を呼び出して、バッファーの結果を取得します。 結果バッファーに割り当てられるバイト数は、securityInformationBufferByteCount ポインターを使用して決定されます。 結果バッファーの実際のバイト数は、securityInformationBufferByteCountUsed ポインターを使用して決定されます。 拇印の結果と、NSAL から返される証明書の拇印のリストは、securityInformationBuffer ポインターと securityInformation ポインターによって決定されます。 Microsoft Game Development Kit (GDK) タイトルにあるネットワーク情報については、「ネットワーク情報の取得」を参照してください。
これらのメソッドは、呼び出し元プロセス内のローカル状態を調査して迅速に戻るので、時間に依存するコンテキストから安全に呼び出すことができます。
要件
ヘッダー: XNetworking.h
ライブラリ: xgameruntime.lib
サポートされているプラットフォーム: Windows、Xbox One ファミリー本体、Xbox Series 本体
関連項目
HTTP と Web ソケット
XNetworkingQuerySecurityInformationForUrlAsyncResult
XNetworking