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

# XGameUiShowPlayerProfileCardResult

Obtient le résultat d'un appel à [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/fr-CA/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

## Syntaxe

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

### Paramètres

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

Pointeur vers l'objet [XAsyncBlock](https://docs.xbox.com/fr-CA/reference/system/xasync/structs/xasyncblock.md) qui a été passé à [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/fr-CA/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Remarques

En général, vous spécifiez cette fonction dans [XAsyncBlock](https://docs.xbox.com/fr-CA/reference/system/xasync/structs/xasyncblock.md) comme fonction de rappel pour [XGameUiShowPlayerProfileCardAsync](https://docs.xbox.com/fr-CA/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md).

Vous pouvez également récupérer le résultat en appelant cette fonction après la fin de `XGameUiShowPlayerProfileCardAsync`.

## Configuration requise

**En-tête :** XGameUI.h

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, Steam Deck, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

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


## Related topics

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