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

# PFAuthenticationLoginWithXUserGetResult

> PFAuthenticationLoginWithXUserAsync 호출의 결과를 가져옵니다. PFEntityHandle은 항상 반환되지만, PFAuthenticationLoginResult의 추가 정보는 버퍼가 제공된 경우에만 반환됩니다.

PFAuthenticationLoginWithXUserAsync 호출의 결과를 가져옵니다. PFEntityHandle은 항상 반환되지만, PFAuthenticationLoginResult의 추가 정보는 버퍼가 제공된 경우에만 반환됩니다.

## 구문

```cpp theme={null}
HRESULT PFAuthenticationLoginWithXUserGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    size_t bufferSize,  
    void* buffer,  
    PFAuthenticationLoginResult result,  
    size_t* bufferUsed  
)  
```

### 매개 변수

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

비동기 작업을 위한 XAsyncBlock입니다.

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

다른 PlayFab API 호출을 인증하는 데 사용할 수 있는 PFEntityHandle입니다.

**`bufferSize`**   size\_t

결과 객체를 위한 버퍼의 크기입니다.

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

Login 결과 값 및 해당 필드에 사용되는 바이트 버퍼입니다.

**`result`**   [PFAuthenticationLoginResult](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult)<br />*optional, library-allocated output*

LoginResult 객체에 대한 포인터입니다.

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

제공된 버퍼에서 사용된 바이트 수입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다. 서비스 호출이 실패하면 결과는 E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED, E\_PF\_SIGNED\_REQUEST\_NOT\_ALLOWED, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_REJECTED\_XSTS\_EXCHANGE\_REQUEST, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 “Handling PlayFab Errors” 문서 페이지를 참조하세요.

## 설명

PFAuthenticationLoginWithXUserAsync 호출이 실패하면 entityHandle은 null이 됩니다. 그렇지 않은 경우 더 이상 필요하지 않을 때 PFEntityCloseHandle로 핸들을 닫아야 합니다. 반환된 경우 'result'는 'buffer' 내부의 포인터이며 별도로 해제할 필요가 없습니다.

## 요구 사항

**헤더:** PFAuthentication.h

## 참고 항목

[PFAuthentication 멤버](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithXUserAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxuserasync.md)
- [Services C API 개요 - PFAuthentication.h](/ko/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PlayFab Game Saves용 계정 연결 전략](/ko/services/playfab/player-progression/game-saves/linking.md)
- [PFAuthenticationLoginWithXUserGetResultSize](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresultsize.md)
- [PFAuthenticationLoginWithSteamGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresult.md)
