> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblPresenceGetPresenceForMultipleUsersAsync

> XblPresenceGetPresenceForMultipleUsersAsync

# XblPresenceGetPresenceForMultipleUsersAsync

複数のユーザーのプレゼンス情報を取得します。

## 構文

```cpp theme={null}
HRESULT XblPresenceGetPresenceForMultipleUsersAsync(  
         XblContextHandle xblContextHandle,  
         uint64_t* xuids,  
         size_t xuidsCount,  
         XblPresenceQueryFilters* filters,  
         XAsyncBlock* async  
)  
```

### パラメーター

*xblContextHandle*   \_In\_\
型: [XblContextHandle](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

ローカル ユーザーの XBOX Live コンテキスト。

*xuids*   \_In\_\
型: uint64\_t\*

プレゼンスを取得するユーザーの XBOX ユーザー ID。

*xuidsCount*   \_In\_\
型: size\_t

xuids 配列のサイズ。

*filters*   \_In\_opt\_\
型: [XblPresenceQueryFilters\*](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/structs/xblpresencequeryfilters.md)

結果をフィルターするためのオプションのフィルター構造体。

*async*   \_In\_\
型: XAsyncBlock\*

この操作の AsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

XblPresenceGetPresenceForMultipleUsersAsync の呼び出し結果を取得するには、[XblPresenceGetPresenceForMultipleUsersResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersresult.md) を呼び出します。

XblPresenceGetPresenceForMultipleUsersAsync の呼び出し結果を保持するために必要なバッファー サイズを取得するには、[XblPresenceGetPresenceForMultipleUsersResultCount](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersresultcount.md) を呼び出します。

## 要件

**ヘッダー:** presence\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

[presence\_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/presence_c_members.md)


## Related topics

- [XblPresenceGetPresenceForMultipleUsersResult](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersresult.md)
- [XblPresenceGetPresenceForMultipleUsersResultCount](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersresultcount.md)
- [XblPresenceQueryFilters](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/structs/xblpresencequeryfilters.md)
- [ユーザーのプレゼンスの取得](https://docs.xbox.com/ja-jp/services/xbox-services/community/presence/how-to/live-getting-a-users-presence.md)
- [presence_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/presence_c/presence_c_members.md)
