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

# XStoreShowPurchaseUIResult

> XStoreShowPurchaseUIResult

# XStoreShowPurchaseUIResult

[XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md) 호출의 결과를 가져옵니다.

## 구문

```cpp theme={null}
HRESULT XStoreShowPurchaseUIResult(  
         XAsyncBlock* async  
)  
```

### 매개 변수

*async*   \_Inout\_\
형식: [XAsyncBlock\*](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)

[XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)에 전달된 XAsyncBlock입니다. [XAsyncBlock](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)을 사용하여 호출 상태를 폴링하고 호출 결과를 검색할 수 있습니다. 자세한 내용은 [XAsyncBlock](https://docs.xbox.com/ko/reference/system/xasync/structs/xasyncblock.md)을 참조하세요.

### 반환 값

형식: HRESULT

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

S\_OK는 구매가 완료되었음을 나타내지만, 콘텐츠에 대한 액세스 권한을 부여하기 전에 항상 사용자의 라이선스 및 컬렉션 데이터를 새로 고쳐야 합니다.

E\_ABORT는 사용자가 구매 흐름을 취소했음을 나타냅니다.

## 설명

이 결과 함수를 사용하면 [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)의 실행 결과를 검색할 수 있습니다. 따라서 이 함수는 [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)를 호출한 후, 일반적으로 콜백 함수의 컨텍스트에서 호출해야 합니다. 이 함수는 실패한 경우 UI가 표시되지 않은 이유를 파악하는 데 특히 유용할 수 있습니다.

사용 예시는 [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)를 참조하세요.

## 요구 사항

**헤더:** XStore.h (XGameRuntime.h에 포함됨)

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

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 참고 항목

[XStore](https://docs.xbox.com/ko/reference/system/xstore/xstore_members.md)\
[XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)


## Related topics

- [XStoreShowPurchaseUIAsync](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)
- [XStore (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xstore/xstore_members.md)
- [Unity 프로젝트에서 GDK API용 C# 래퍼 사용](https://docs.xbox.com/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreShowGiftingUIResult](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoreshowgiftinguiresult.md)
- [XStoreGetUserPurchaseIdResult](https://docs.xbox.com/ko/reference/system/xstore/functions/xstoregetuserpurchaseidresult.md)
