XStoreProductQueryCallback
Game defined callback for a product query.
Syntax
bool XStoreProductQueryCallback(
const XStoreProduct* product,
void* context
)
Parameters
product _In_
Type: XStoreProduct*
Description of the product.
context _In_opt_
Type: void*
Game defined context to pass to the callback.
Return value
Type: bool
Return true to continue enumerating query results; return false otherwise.
Remarks
This game defined function is used to read information from one of an enumerated set of store products. The function must have the same return type and parameters as the definition provided here and is used as a callback for the XStoreEnumerateProductsQuery function. See XStoreQueryAssociatedProductsAsync for a usage example.
Requirements
Header: XStore.h (included in XGameRuntime.h)
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
XStore
XStoreEnumerateProductsQuery
XStoreQueryAssociatedProductsAsync