> ## 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-TW/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-TW/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

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