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

# PFAuthenticationAuthenticateGameServerWithCustomIdGetResult

> PFAuthenticationAuthenticateGameServerWithCustomIdAsync 呼び出しから結果を取得します。

PFAuthenticationAuthenticateGameServerWithCustomIdAsync 呼び出しから結果を取得します。

## 構文

```cpp theme={null}
HRESULT PFAuthenticationAuthenticateGameServerWithCustomIdGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    bool* newlyCreated  
)  
```

### パラメーター

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

非同期操作用の XAsyncBlock。

**`entityHandle`**   PFEntityHandle\*\
*output*

他の PlayFab API 呼び出しの認証に使用できる PFEntityHandle。

**`newlyCreated`**   bool\*\
*optional output*

この認証でアカウントが新規に作成された場合は true、それ以外の場合は false に設定されます。

### 戻り値

型: HRESULT

この API 操作の結果コード。サービス呼び出しが失敗した場合、結果はグローバルな PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 解説

PFAuthenticationAuthenticateGameServerWithCustomIdAsync の呼び出しが失敗した場合、entityHandle は null になります。それ以外の場合、ハンドルは不要になったら PFEntityCloseHandle でクローズする必要があります。

## 要件

**ヘッダー:** PFAuthentication.h

## 関連項目

[PFAuthentication のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [Services C API overview - PFAuthentication.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [Authenticate Game Server With Custom Id](https://docs.xbox.com/api-reference/authentication/authenticate-game-server-with-custom-id.md)
- [PFAuthenticationAuthenticateCustomIdResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
