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

# PFAuthenticationServerLoginWithPSNGetResult

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

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

## 구문

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

### 매개 변수

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

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

**`entityTokenResponse`**   [PFAuthenticationEntityTokenResponse\*\*](/ko/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse)<br />*library-allocated output*

추후 결정

**`bufferSize`**   size\_t

결과 개체에 대한 버퍼의 크기입니다.

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

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

**`result`**   [PFAuthenticationLoginResult\*\*](/ko/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\_FEATURE\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_INVALID\_PARAMS, E\_PF\_INVALID\_PSN\_AUTH\_CODE, E\_PF\_INVALID\_PSN\_ISSUER\_ID, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_PSN\_INACCESSIBLE, E\_PF\_PSN\_NEXT\_GEN\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 "Handling PlayFab Errors" 문서 페이지를 참조하세요.

## 설명

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

## 요구 사항

**헤더:** PFAuthentication.h

## 참고 항목

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


## Related topics

- [PFAuthenticationServerLoginWithPSNAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithpsnasync.md)
- [PFAuthenticationServerLoginWithPSNGetResultSize](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithpsngetresultsize.md)
- [PFAuthenticationServerLoginWithCustomIDGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithcustomidgetresult.md)
- [PFAuthenticationServerLoginWithIOSDeviceIDGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidgetresult.md)
- [PFAuthenticationServerLoginWithXboxGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxgetresult.md)
