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

# XGameUiShowWebAuthenticationResult

> XGameUiShowWebAuthenticationResult

# XGameUiShowWebAuthenticationResult

[XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync) 호출의 결과를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XGameUiShowWebAuthenticationResult(  
         XAsyncBlock* async,  
         size_t bufferSize,  
         void* buffer,  
         XGameUiWebAuthenticationResultData** ptrToBuffer,  
         size_t* bufferUsed  
)  
```

### 매개 변수

*async*   \_Inout\_\
형식: [XAsyncBlock\*](/reference/system/xasync/structs/xasyncblock)

[XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync)에 전달된 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)에 대한 포인터입니다.

*bufferSize*   \_In\_\
형식: size\_t

완료된 인증 요청의 결과 데이터를 받을 버퍼의 크기(바이트)입니다.

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
형식: void*

완료된 인증 요청의 결과 데이터를 받을 버퍼에 대한 포인터입니다. 이 버퍼는 결과 데이터 구조체와 가변 크기 응답 데이터를 담습니다.

*ptrToBuffer*   \_Outptr\_\
형식: [XGameUiWebAuthenticationResultData\*\*](/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata)

결과 데이터 구조체에 대한 참조 포인터입니다. 결과 데이터 구조체는 전달된 *buffer*에 저장됩니다.

*bufferUsed*   \_Out\_opt\_\
형식: size\_t\*

결과 데이터와 가변 응답 데이터를 저장하기 위해 사용된 *buffer*의 바이트 수입니다.

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## 설명

*AsyncBlock* 콜백 내부 또는 *AsyncBlock* 완료 후에 이 메서드를 호출하세요.

이 메서드를 호출하기 전에 [XGameUiShowWebAuthenticationResultSize](/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize)를 호출하여 웹 인증 응답의 결과를 포함하기에 충분한 크기의 메모리 버퍼를 할당할 수 있어야 합니다.

이 메서드를 호출한 후, *buffer*에는 XGameUiWebAuthenticationResultData 구조체와 가변 응답 데이터(결과 데이터 구조체의 *responseCompletionUri* 필드를 통해 액세스 가능)가 모두 포함됩니다.

결과 데이터 처리가 완료되면 *buffer* 메모리 할당을 해제해야 합니다.

이 메서드를 사용하는 방법에 대한 예제는 [XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync)의 코드 예제를 참조하세요.

## 요구 사항

**헤더:** XGameUI.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XGameUI](/reference/system/xgameui/xgameui_members)\
[XGameUiShowWebAuthenticationAsync](/reference/system/xgameui/functions/xgameuishowwebauthenticationasync)\
[XGameUiShowWebAuthenticationResultSize](/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize)\
[XGameUiWebAuthenticationResultData](/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata)\
[비동기 프로그래밍 모델](/build/core-features/common/async/async-programming-model)


## Related topics

- [XGameUiShowWebAuthenticationResultSize](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationresultsize.md)
- [XGameUiShowWebAuthenticationAsync](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationasync.md)
- [XGameUiShowWebAuthenticationWithOptionsAsync](/ko/reference/system/xgameui/functions/xgameuishowwebauthenticationwithoptionsasync.md)
- [XGameUiWebAuthenticationResultData](/ko/reference/system/xgameui/structs/xgameuiwebauthenticationresultdata.md)
- [XGameUiWebAuthenticationOptions](/ko/reference/system/xgameui/enums/xgameuiwebauthenticationoptions.md)
