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

# 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\*<br />*Out\_writes(titleIdSize)*

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

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

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

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

[PFServiceConfig のメンバー](/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Services C API 概要 - PFServiceConfig.h](/ja-jp/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)
- [SDK ライフサイクル](/ja-jp/services/playfab/sdks/c/lifecycle.md)
- [PFServiceConfigGetTitleIdSize](/ja-jp/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggettitleidsize.md)
- [XGameGetXboxTitleId](/ja-jp/reference/system/xgame/functions/xgamegetxboxtitleid.md)
- [MicrosoftGame.config 要素 - TitleId](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-titleid.md)
