XStoreQueryAssociatedProductsResult
取得 XStoreQueryAssociatedProductsAsync 呼叫的結果。語法
參數
async _Inout_類型:XAsyncBlock* 您傳遞給 XStoreQueryAssociatedProductsAsync 的
XAsyncBlock。
使用 XAsyncBlock 來檢查呼叫的狀態並取得結果。
如需詳細資訊,請參閱 XAsyncBlock。
productQueryHandle _Out_類型:XStoreProductQueryHandle* 傳回時,包含代表該查詢的 XStoreProductQueryHandle。 將傳回的 XStoreProductQueryHandle 傳遞給 XStoreEnumerateProductsQuery,以列出查詢所傳回的產品。
傳回值
類型:HRESULT 成功時傳回 S_OK,否則傳回錯誤碼。備註
此結果函式會擷取 XStoreQueryAssociatedProductsAsync 的執行結果。如果執行成功,它會傳回相關聯產品的清單。 請在 XStoreQueryAssociatedProductsAsync 之後呼叫此函式,通常是在回呼函式的內容中呼叫。 如需使用範例,請參閱 XStoreQueryAssociatedProductsAsync。需求
標頭: XStore.h (包含在 XGameRuntime.h 中) 程式庫: xgameruntime.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機概念文件
另請參閱
XStore XStoreQueryAssociatedProductsAsyncXStoreQueryEntitledProductsAsync
XStoreQueryProductsAsync
XStoreQueryProductForCurrentGameAsync
XStoreQueryProductForPackageAsync
基本商店作業
授與玩家附加元件內容的存取權
