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

# PFAuthenticationValidateEntityTokenGetResult

> 取得成功的 PFAuthenticationValidateEntityTokenAsync 呼叫結果。

取得成功的 PFAuthenticationValidateEntityTokenAsync 呼叫結果。

## 語法

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

### 參數

**`async`**   XAsyncBlock\*<br />*Inout*

用於非同步作業的 XAsyncBlock。

**`bufferSize`**   size\_t

結果物件的緩衝區大小。

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to*(bufferSize,*bufferUsed)*

用於結果值及其欄位的位元組緩衝區。

**`result`**   [PFAuthenticationValidateEntityTokenResponse\*\*](/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationvalidateentitytokenresponse)<br />*library-allocated output*

結果物件的指標。

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

所提供緩衝區中已使用的位元組數。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 備註

result 是 buffer 內的指標，不需要另外釋放。

## 需求

**標頭：** PFAuthentication.h

## 另請參閱

[PFAuthentication 成員](/zh-TW/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

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