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

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

titleId 문자열이 기록될 버퍼입니다.

**`titleIdUsed`**   size\_t\*\
*선택적 출력*

null 종결자를 포함하여 버퍼에서 사용된 바이트 수입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 요구 사항

**헤더:** PFEntity.h

## 참고 항목

[PFEntity 멤버](https://docs.xbox.com/ko/services/playfab/api-references/c/pfentity/pfentity_members.md)


## Related topics

- [엔터티 핸들](https://docs.xbox.com/ko/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetTitleIdSize](https://docs.xbox.com/ko/services/playfab/api-references/c/pfentity/functions/pfentitygettitleidsize.md)
- [GET /titles/{titleId}/users/{xuid}/activities API](https://docs.xbox.com/ko/reference/live/rest/uri/multiplayeractivity/swagger-uris/uri-GetActivity.md)
- [POST /titles/{titleId}/activities/query](https://docs.xbox.com/ko/reference/live/rest/uri/multiplayeractivity/swagger-uris/uri-ExternalGetActivityBatch.md)
- [Get Entity Item Review](https://docs.xbox.com/api-reference/catalog/get-entity-item-review.md)
