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