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

# XStoreQueryPackageUpdatesResult

> XStoreQueryPackageUpdatesResult

# XStoreQueryPackageUpdatesResult

[XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) の呼び出し結果を取得します。

## 構文

```cpp theme={null}
HRESULT XStoreQueryPackageUpdatesResult(  
         XAsyncBlock* async,  
         uint32_t count,  
         XStorePackageUpdate* packageUpdates  
)  
```

### パラメーター

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

[XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync) に渡された XAsyncBlock。[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) は、呼び出しの状態のポーリングと呼び出し結果の取得に使用できます。詳細については、[XAsyncBlock](/reference/system/xasync/structs/xasyncblock) を参照してください。

*count*   \_In\_\
Type: uint32\_t

**packageUpdates** に渡される配列内の要素数。

*packageUpdates*   \_Out\_writes\_(count)\
Type: [XStorePackageUpdate\*](/reference/system/xstore/structs/xstorepackageupdate)

成功時に、取得されたパッケージ更新が格納されます。

### 戻り値

Type: HRESULT

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

## 解説

この結果関数を使用すると、[XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) の実行結果と、実行が成功した場合に呼び出された利用可能な更新のリストを取得できます。したがって、この関数は [XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) の呼び出し後、通常はコールバック関数のコンテキストで呼び出す必要があります。

使用例については、[XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync) を参照してください。

## 要件

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

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

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

## 関連項目

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync)\
[XStoreQueryPackageUpdatesResultCount](/reference/system/xstore/functions/xstorequerypackageupdatesresultcount)


## Related topics

- [XStoreQueryPackageUpdatesResultCount](/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesresultcount.md)
- [XStoreQueryPackageUpdatesAsync](/ja-jp/reference/system/xstore/functions/xstorequerypackageupdatesasync.md)
- [XStore](/ja-jp/reference/system/xstore/xstore_members.md)
- [XStoreQueryGameAndDlcPackageUpdatesResult](/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md)
- [XStoreQueryGameAndDlcPackageUpdatesResultCount](/ja-jp/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresultcount.md)
