Partager via


XStoreShowRateAndReviewUIResult

Gets the result of a call to XStoreShowRateAndReviewUIAsync.

Syntax

HRESULT XStoreShowRateAndReviewUIResult(  
         XAsyncBlock* async,  
         XStoreRateAndReviewResult* result  
)  

Parameters

async   _Inout_
Type: XAsyncBlock*

The XAsyncBlock passed to XStoreShowRateAndReviewUIAsync. The XAsyncBlock can be used to poll for the call's status and retrieve call results. See XAsyncBlock for more information.

result   _Out_
Type: XStoreRateAndReviewResult*

On success contains the result of the call to XStoreShowRateAndReviewUIAsync.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

This result function allows you to retrieve the execution results of XStoreShowRateAndReviewUIAsync. As such, this function should be called after XStoreShowRateAndReviewUIAsync has been called, usually in the context of a callback function. This function can be particularly useful in figuring out why UI wasn't shown in cases of failure.

See XStoreShowRateAndReviewUIAsync 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
XStoreShowRateAndReviewUIAsync