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

# XblSocialManagerPresenceRecordIsUserPlayingTitle

> XblSocialManagerPresenceRecordIsUserPlayingTitle

# XblSocialManagerPresenceRecordIsUserPlayingTitle

指定したプレゼンス レコードに関連付けられているユーザーが、指定したタイトル ID をプレイしているかどうかを問い合わせます。

## 構文

```cpp theme={null}
bool XblSocialManagerPresenceRecordIsUserPlayingTitle(  
         const XblSocialManagerPresenceRecord* presenceRecord,  
         uint32_t titleId  
)  
```

### パラメーター

*presenceRecord*   \_In\_\
型: [XblSocialManagerPresenceRecord\*](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord)

別のソーシャル マネージャー API から返されたプレゼンス レコード。

*titleId*   \_In\_\
型: uint32\_t

問い合わせ対象のタイトル ID。

### 戻り値

型: bool

ユーザーがそのタイトルをプレイしている場合は true、それ以外の場合は false。

## 要件

**ヘッダー:** social\_manager\_c.h

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

## 関連項目

[social\_manager\_c](/reference/live/xsapi-c/social_manager_c/social_manager_c_members)
