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

# PFAuthenticationAuthenticateGameServerWithCustomIdGetResult

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

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

## 構文

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

### パラメーター

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

非同期操作用の XAsyncBlock。

**`entityHandle`**   PFEntityHandle\*<br />*output*

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

**`newlyCreated`**   bool\*<br />*optional output*

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

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFAuthentication のメンバー](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [Services C API overview - PFAuthentication.h](/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationAuthenticateCustomIdResult](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResultSize](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresultsize.md)
