Skip to main content

XblMultiplayerGetSessionAsync

サーバーから既存のセッション オブジェクトをすべての属性とともに取得します。

構文

パラメーター

xblContext   _In_
型: XblContextHandle
ローカル ユーザーの XBOX Live コンテキスト。 sessionReference   _In_
型: XblMultiplayerSessionReference*
セッションを識別する情報を含む XblMultiplayerSessionReference オブジェクト。 async   _In_
型: XAsyncBlock*
この操作用の AsyncBlock。

戻り値

型: HRESULT この API 操作の HRESULT 戻り値コード。

REST 呼び出し

V102 GET /serviceconfigs//sessionTemplates//sessions/ を呼び出します。

要件

ヘッダー: multiplayer_c.h ライブラリ: Microsoft.Xbox.Services.14x.GDK.C.lib

関連項目

multiplayer_c
最終更新日 2026年8月24日