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

# PFAuthenticationServerLoginWithServerCustomIdGetResult

> PFAuthenticationServerLoginWithServerCustomIdAsync 呼び出しから結果を取得します。PFEntityHandle は常に返されますが、PFAuthenticationLoginResult 内の追加情報はバッファーが指定された場合にのみ返されます。

PFAuthenticationServerLoginWithServerCustomIdAsync 呼び出しから結果を取得します。PFEntityHandle は常に返されますが、PFAuthenticationLoginResult 内の追加情報はバッファーが指定された場合にのみ返されます。

## 構文

```cpp theme={null}
HRESULT PFAuthenticationServerLoginWithServerCustomIdGetResult(  
    XAsyncBlock* async,  
    PFAuthenticationEntityTokenResponse entityTokenResponse,  
    size_t bufferSize,  
    void* buffer,  
    PFAuthenticationLoginResult result,  
    size_t* bufferUsed  
)  
```

### パラメーター

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

非同期操作用の XAsyncBlock。

**`entityTokenResponse`**   [PFAuthenticationEntityTokenResponse](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse.md)\
*library-allocated output*

未定

**`bufferSize`**   size\_t

結果オブジェクト用のバッファーのサイズ。

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

Login の結果値およびそのフィールドに使用されるバイト バッファー。

**`result`**   [PFAuthenticationLoginResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult.md)\
*optional, library-allocated output*

LoginResult オブジェクトへのポインター。

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

指定したバッファーのうち、使用されたバイト数。

### 戻り値

型: HRESULT

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

## 解説

PFAuthenticationServerLoginWithServerCustomIdAsync 呼び出しが失敗した場合、entityHandle は null になります。それ以外の場合、不要になったハンドルは PFEntityCloseHandle で閉じる必要があります。返された場合、'result' は 'buffer' 内を指すポインターであり、個別に解放する必要はありません。

## 要件

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

## 関連項目

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


## Related topics

- [PFAuthenticationServerLoginWithServerCustomIdAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidasync.md)
- [Services C API overview - PFAuthentication.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresultsize.md)
- [Login With Server Custom Id](https://docs.xbox.com/api-reference/authentication/login-with-server-custom-id.md)
- [PFAuthenticationServerLoginWithCustomIDGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithcustomidgetresult.md)
