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

# PFEntityCloseHandle

> 关闭 PFEntityHandle。

关闭 PFEntityHandle。

## 语法

```cpp theme={null}
void PFEntityCloseHandle(  
    PFEntityHandle entityHandle  
)  
```

### 参数

**`entityHandle`**   PFEntityHandle

要关闭的实体句柄。

### 返回值

类型：void

此 API 操作的结果代码。

## 要求

**头文件：** PFEntity.h

## 另请参阅

[PFEntity 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfentity/pfentity_members.md)


## Related topics

- [PFEntityDuplicateHandle](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfentity/functions/pfentityduplicatehandle.md)
- [PFAuthenticationGetEntityGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityWithSecretKeyGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeygetresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationLoginWithPSNGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
