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

# XGameUiShowPlayerProfileCardResult

> XGameUiShowPlayerProfileCardResult

Gets the result of a call to [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

## Syntax

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

### Parameters

*async*   \_In\_\
Type: [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md)\*

A pointer to the [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) object that was passed to [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

### Return value

Type: HRESULT

HRESULT success or error code.

## Remarks

Typically, you specify this function in [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) as the callback function for [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

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

## Requirements

**Header:** XGameUI.h

**Library:** xgameruntime.lib

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

## See also

[XGameUI](https://docs.xbox.com/reference/system/xgameui/xgameui_members.md)


## Related topics

- [XGameUI (API contents)](https://docs.xbox.com/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md)
- [XGameUiShowPlayerProfileCardUiCallback](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerprofilecarduicallback.md)
- [XGameUiSetPlayerProfileCardUiResponse](https://docs.xbox.com/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XGameUiShowPlayerPickerResult](https://docs.xbox.com/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
