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

# XStoreShowPurchaseUIResult

> XStoreShowPurchaseUIResult

# XStoreShowPurchaseUIResult

[XStoreShowPurchaseUIAsync](/reference/system/xstore/functions/xstoreshowpurchaseuiasync) 호출의 결과를 가져옵니다.

## 구문

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

### 매개 변수

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

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

### 반환 값

형식: HRESULT

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

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

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

## 설명

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

사용 예시는 [XStoreShowPurchaseUIAsync](/reference/system/xstore/functions/xstoreshowpurchaseuiasync)를 참조하세요.

## 요구 사항

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

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

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

## 참고 항목

[XStore](/reference/system/xstore/xstore_members)\
[XStoreShowPurchaseUIAsync](/reference/system/xstore/functions/xstoreshowpurchaseuiasync)


## Related topics

- [XStoreShowPurchaseUIAsync](/ko/reference/system/xstore/functions/xstoreshowpurchaseuiasync.md)
- [XStore](/ko/reference/system/xstore/xstore_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreGetUserPurchaseIdResult](/ko/reference/system/xstore/functions/xstoregetuserpurchaseidresult.md)
- [XStoreShowGiftingUIResult](/ko/reference/system/xstore/functions/xstoreshowgiftinguiresult.md)
