Skip to main content

XStoreShowRateAndReviewUIAsync

Displays a system dialog to pop up to allow the user to provide a review for the current game or decline to do so.

Syntax

Parameters

storeContextHandle   _In_
Type: XStoreContextHandle
The store context handle for the user returned by XStoreCreateContext. async   _Inout_
Type: XAsyncBlock*
An XAsyncBlock defining the asynchronous work being done. The XAsyncBlock can be used to poll for the call’s status and retrieve call results. See XAsyncBlock for more information.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

To retrieve the execution result of this function call XStoreShowRateAndReviewUIResult after calling this function. If the system detects a game is calling this excessively, it will hide the dialog and automatically return CanceledByUser. The following code snippet shows an example of displaying a review dialog.

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
XStoreShowRateAndReviewUIResult
Last modified on August 20, 2026