Skip to main content

XStoreProductsQueryNextPageAsync

取得查詢結果的下一頁。

語法

參數

productQueryHandle   _In_
類型:XStoreProductQueryHandle
要檢查是否有更多頁面之查詢的控制代碼。第一次呼叫 XStoreProductsQueryHasMorePages 時,這會是 XStoreQueryProductForCurrentGameResult、XStoreQueryProductForPackageResult.md、XStoreQueryEntitledProductsResult、XStoreQueryProductsAsync 或 XStoreQueryProductsResult 所傳回的 XStoreProductQueryHandle。在後續呼叫中,應使用 XStoreProductsQueryNextPageResult 所傳回的查詢控制代碼。 async   _Inout_
類型:XAsyncBlock*
定義正在進行之非同步工作的 XAsyncBlock。XAsyncBlock 可用來輪詢呼叫的狀態並擷取呼叫結果。如需詳細資訊,請參閱 XAsyncBlock。

傳回值

類型:HRESULT HRESULT 成功或錯誤碼。

備註

此函式可用來在使用 XStoreEnumerateProductsQuery 列舉產品查詢之後,查詢其他產品資訊。呼叫此函式之前,您應呼叫 XStoreProductsQueryHasMorePages 檢查是否有其他產品查詢資訊。若要擷取查詢結果的下一頁以及此函式的執行結果,請在呼叫此函式之後呼叫 XStoreProductsQueryNextPageResult。如需使用範例,請參閱 XStoreQueryAssociatedProductsAsync。

需求

標頭: XStore.h (包含在 XGameRuntime.h 中) 程式庫: xgameruntime.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機

另請參閱

XStore
XStoreProductsQueryNextPageResult
XStoreProductsQueryHasMorePages
XStoreEnumerateProductsQuery
Last modified on October 6, 2026