> ## 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.

# PFEntityGetTitleId

> エンティティ ハンドルに関連付けられた PFServiceConfig の titleId を取得します。

エンティティ ハンドルに関連付けられた PFServiceConfig の titleId を取得します。

## 構文

```cpp theme={null}
HRESULT PFEntityGetTitleId(  
    PFEntityHandle entityHandle,  
    size_t titleIdSize,  
    char* titleIdBuffer,  
    size_t* titleIdUsed  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証呼び出しから返された PFEntityHandle。

**`titleIdSize`**   size\_t

指定されたバッファーのサイズ。必要なサイズは PFEntityGetAPIEndpointSize で取得できます。

**`titleIdBuffer`**   char\*<br />**Out\_writes*(titleIdSize)*

titleId 文字列が書き込まれるバッファー。

**`titleIdUsed`**   size\_t\*<br />*optional output*

null 終端文字を含む、バッファー内で使用されたバイト数。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 要件

**ヘッダー:** PFEntity.h

## 関連項目

[PFEntity のメンバー](/ja-jp/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [エンティティハンドル](/ja-jp/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetTitleIdSize](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygettitleidsize.md)
- [Get Entity Item Review](/api-reference/catalog/get-entity-item-review.md)
- [Get Title Players From Xbox Live IDs](/api-reference/account-management/get-title-players-from-xbox-live-ids.md)
- [Get Title Players From Master Player Account Ids](/api-reference/account-management/get-title-players-from-master-player-account-ids.md)
