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

# XStoreShowGiftingUIResult

> XStoreShowGiftingUIResult

# XStoreShowGiftingUIResult

[XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) の呼び出し結果を取得します。

## Syntax

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

### Parameters

*async*   \_Inout\_\
型: [XAsyncBlock\*](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md)

[XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) に渡された XAsyncBlock。[XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) を使用して呼び出しの状態をポーリングしたり、呼び出し結果を取得したりできます。詳細については、[XAsyncBlock](https://docs.xbox.com/ja-jp/reference/system/xasync/structs/xasyncblock.md) を参照してください。

### Return value

型: HRESULT

HRESULT の成功またはエラー コード。

S\_OK は、ギフト処理が完了したことを示します。

E\_ABORT は、ユーザーがギフト フローをキャンセルしたことを示します。

## Remarks

この結果関数を使用して [XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) の実行結果を取得できます。そのため、この関数は [XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) の呼び出し後、通常はコールバック関数のコンテキストで呼び出す必要があります。この関数は特に、失敗した場合に UI が表示されなかった理由を調べる際に役立ちます。

使用例については、[XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md) を参照してください。

## Requirements

**ヘッダー:** XStore.h (XGameRuntime.h に含まれる)

**ライブラリ:** xgameruntime.lib

**サポートされているプラットフォーム:** Windows、XBOX One ファミリー本体および XBOX Series 本体

## See also

[XStore](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)\
[XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)


## Related topics

- [XStoreShowGiftingUIAsync](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowgiftinguiasync.md)
- [XStore (API の内容)](https://docs.xbox.com/ja-jp/reference/system/xstore/xstore_members.md)
- [XStoreShowPurchaseUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowpurchaseuiresult.md)
- [XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
- [XStoreShowProductPageUIResult](https://docs.xbox.com/ja-jp/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
