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

# PFServiceConfigGetTitleId

> サービス構成の PlayFab titleId を取得します。

サービス構成の PlayFab titleId を取得します。

## 構文

```cpp theme={null}
HRESULT PFServiceConfigGetTitleId(  
    PFServiceConfigHandle handle,  
    size_t titleIdSize,  
    char* titleId,  
    size_t* titleIdUsed  
)  
```

### パラメーター

**`handle`**   PFServiceConfigHandle

ServiceConfig ハンドル。

**`titleIdSize`**   size\_t

指定するバッファーのサイズ。必要なサイズは PFServiceConfigGetTitleIdSize から取得できます。

**`titleId`**   char\*\
*Out\_writes(titleIdSize)*

titleId の書き込み先バッファー。

**`titleIdUsed`**   size\_t\*\
*optional output*

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

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

[PFServiceConfig のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)


## Related topics

- [Services C API 概要 - PFServiceConfig.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)
- [SDK ライフサイクル](https://docs.xbox.com/ja-jp/services/playfab/sdks/c/lifecycle.md)
- [PFServiceConfigGetTitleIdSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggettitleidsize.md)
- [PFEntityGetTitleId](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygettitleid.md)
- [XGameGetXboxTitleId](https://docs.xbox.com/ja-jp/reference/system/xgame/functions/xgamegetxboxtitleid.md)
