XGameUiShowWebAuthenticationResultSize
擷取儲存先前已完成之驗證要求所需的緩衝區大小。此大小是可變的,因為伺服器回應可能包含任意數量的資料。語法
參數
async _Inout_類型:XAsyncBlock* 指向傳遞給 XGameUiShowWebAuthenticationAsync 之 XAsyncBlock 的指標。 bufferSize _Out_
類型:size_t* 從 XGameUiShowWebAuthenticationAsync 呼叫傳回之 XGameUiWebAuthenticationResultData 的大小 (以位元組為單位)。
傳回值
類型:HRESULT HRESULT 成功或錯誤碼。備註
請在 AsyncBlock 回呼內或 AsyncBlock 完成之後呼叫此方法。您必須呼叫此方法,才能配置大小足以容納 XGameUiShowWebAuthenticationResult 中傳回之結果資料的緩衝區。 如需如何使用此方法的範例,請參閱 XGameUiShowWebAuthenticationAsync 中的程式碼範例。需求
標頭: XGameUI.h 程式庫: xgameruntime.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
XGameUIXGameUiShowWebAuthenticationAsync
XGameUiShowWebAuthenticationResult
XGameUiWebAuthenticationResultData
非同步程式設計模型
