> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameUiShowAchievementsResult

> XGameUiShowAchievementsResult

# XGameUiShowAchievementsResult

Gets the result of a call to [XGameUiShowAchievementsAsync](/reference/system/xgameui/functions/xgameuishowachievementsasync).

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT XGameUiShowAchievementsResult(  
         XAsyncBlock* async  
)  
```

<a id="parametersSection" />

### Parameters

*async*   \_In\_\
Type: [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)\*

A pointer to the [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) object that was passed to [XGameUiShowAchievementsAsync](/reference/system/xgameui/functions/xgameuishowachievementsasync).

<a id="retvalSection" />

### Return value

Type: HRESULT

HRESULT success or error code.

<a id="remarksSection" />

## Remarks

Typically, you specify this function in [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) as the callback function for [XGameUiShowAchievementsAsync](/reference/system/xgameui/functions/xgameuishowachievementsasync).

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

<a id="requirementsSection" />

## Requirements

**Header:** XGameUI.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[XGameUI](/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUiShowAchievementsAsync](/reference/system/xgameui/functions/xgameuishowachievementsasync.md)
- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowAchievementsUiCallback](/reference/system/xgameui/functions/xgameuishowachievementsuicallback.md)
- [XGameUiShowWebAuthenticationResult](/reference/system/xgameui/functions/xgameuishowwebauthenticationresult.md)
- [XGameUiShowStateShareResult](/reference/system/xgameui/functions/xgameuishowstateshareresult.md)
