> ## 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.

# XGameUiShowPlayerProfileCardResult

> XGameUiShowPlayerProfileCardResult

# XGameUiShowPlayerProfileCardResult

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

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT XGameUiShowPlayerProfileCardResult(  
         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 [XGameUiShowPlayerProfileCardAsync](/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync).

<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 [XGameUiShowPlayerProfileCardAsync](/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync).

You can also retrieve the result by calling this function after `XGameUiShowPlayerProfileCardAsync` 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

- [XGameUI](/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowPlayerProfileCardAsync](/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md)
- [XGameUiShowPlayerProfileCardUiCallback](/reference/system/xgameui/functions/xgameuishowplayerprofilecarduicallback.md)
- [XGameUiSetPlayerProfileCardUiResponse](/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XGameUiShowPlayerPickerResult](/reference/system/xgameui/functions/xgameuishowplayerpickerresult.md)
