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

# PFAuthenticationValidateEntityTokenGetResult

> 获取成功调用 PFAuthenticationValidateEntityTokenAsync 的结果。

获取成功调用 PFAuthenticationValidateEntityTokenAsync 的结果。

## 语法

```cpp theme={null}
HRESULT PFAuthenticationValidateEntityTokenGetResult(  
    XAsyncBlock* async,  
    size_t bufferSize,  
    void* buffer,  
    PFAuthenticationValidateEntityTokenResponse** result,  
    size_t* bufferUsed  
)  
```

### 参数

**`async`**   XAsyncBlock\*\
*Inout*

用于异步操作的 XAsyncBlock。

**`bufferSize`**   size\_t

用于结果对象的缓冲区大小。

**`buffer`**   void\*\
\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

用于结果值及其字段的字节缓冲区。

**`result`**   [PFAuthenticationValidateEntityTokenResponse\*\*](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationvalidateentitytokenresponse.md)\
*library-allocated output*

指向结果对象的指针。

**`bufferUsed`**   size\_t\*\
*optional output*

所提供缓冲区中已使用的字节数。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 备注

result 是指向 buffer 内的指针，无需单独释放。

## 要求

**头文件：** PFAuthentication.h

## 另请参阅

[PFAuthentication 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationValidateEntityTokenAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokenasync.md)
- [服务 C API 概览 - PFAuthentication.h](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationValidateEntityTokenGetResultSize](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresultsize.md)
- [PFAuthenticationValidateEntityTokenResponse](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationvalidateentitytokenresponse.md)
- [PFAuthenticationValidateEntityTokenRequest](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationvalidateentitytokenrequest.md)
