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

# XGameUiShowPlayerProfileCardUiCallback

> XGameUiShowPlayerProfileCardUiCallback

# XGameUiShowPlayerProfileCardUiCallback

Signature for a XGameUiShowPlayerProfileCardAsync callback.

## Syntax

```cpp theme={null}
void CALLBACK XGameUiShowPlayerProfileCardUiCallback(
XGameUiCallbackHandle callbackHandle,
XTaskQueueHandle queue,
XUserHandle requestingUser,
uint64_t targetPlayer,
void* context
);
```

### Parameters

*callbackHandle*\
Type: XGameUiCallbackHandle

Handle for this callback invocation.

*queue*\
Type: XTaskQueueHandle

Handle to the task queue that the UI callback was executed on.

*requestingUser*\
Type: XUserHandle

Handle for the user invoking the UI.

*targetPlayer*\
Type: uint64\_t

User ID of the player whose profile card is being shown.

*context*\
Type: void\*

Pointer to dev-provided context.

## Requirements

**Header:** XGameUi.h

**Supported platforms:** Supported only on Steam Deck

## See also

[XGameUI](/reference/system/xgameui/xgameui_members)\
[XGameUiSetUiCallbacks](/reference/system/xgameui/functions/xgameuisetuicallbacks)


## Related topics

- [XGameUiUiCallbacks](/reference/system/xgameui/structs/xgameuiuicallbacks.md)
- [XGameUiShowPlayerProfileCardResult](/reference/system/xgameui/functions/xgameuishowplayerprofilecardresult.md)
- [XGameUiShowPlayerProfileCardAsync](/reference/system/xgameui/functions/xgameuishowplayerprofilecardasync.md)
- [XGameUiSetPlayerProfileCardUiResponse](/reference/system/xgameui/functions/xgameuisetplayerprofilecarduiresponse.md)
- [XGameUiShowPlayerPickerUiCallback](/reference/system/xgameui/functions/xgameuishowplayerpickeruicallback.md)
