Skip to main content

XblSocialRelationshipResultGetRelationships

XblSocialRelationshipResultHandle から XblSocialRelationship オブジェクトの一覧を取得します。

構文

パラメーター

resultHandle   _In_
型: XblSocialRelationshipResultHandle
ソーシャル リレーションシップ結果ハンドル。 relationships   _Out_
型: XblSocialRelationship**
XblSocialRelationship オブジェクトの配列へのポインターを返します。返されたポインターのメモリは、XblSocialRelationshipResultHandle オブジェクトが閉じられるまで有効なままです。 relationshipsCount   _Out_
型: size_t*
relationships 配列内の項目数を返します。

戻り値

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

解説

XblSocialRelationshipResultHandle が不要になったら、必ず XblSocialRelationshipResultCloseHandle を呼び出してください。未処理のハンドルがすべて閉じられると、ソーシャル リレーションシップの結果一覧に関連付けられているメモリが解放されます。

要件

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

関連項目

social_c
最終更新日 2026年8月13日