Compartir a través de


XGameUiShowAchievementsResult

Gets the result of a call to XGameUiShowAchievementsAsync.

Syntax

HRESULT XGameUiShowAchievementsResult(  
         XAsyncBlock* async  
)  

Parameters

async   _In_
Type: XAsyncBlock*

A pointer to the XAsyncBlock object that was passed to XGameUiShowAchievementsAsync.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

Typically, you specify this function in XAsyncBlock as the callback function for XGameUiShowAchievementsAsync.

You can also retrieve the result by calling this function after XGameUiShowAchievementsAsync completes.

Requirements

Header: XGameUI.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameUI