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

# XblMultiplayerManagerGameSessionCorrelationId

> XblMultiplayerManagerGameSessionCorrelationId

# XblMultiplayerManagerGameSessionCorrelationId

Retrieves the correlation handle for the game session.

## Syntax

```cpp theme={null}
const char* XblMultiplayerManagerGameSessionCorrelationId(  
)  
```

### Parameters

### Return value

Type: const char\*

The correlation handle for the game session, or null if a game session doesn't exist. The memory for the returned pointer remains valid until the next call to [XblMultiplayerManagerDoWork](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerdowork).

## Remarks

This function retrieves the correlation handle for the game session. The correlation handle serves as an alias for the game session, allowing a game to refer to a game session by using only the correlation handle. The correlation handle can be used to query trace logs for entries that relate to the game session. For more information, see [Multiplayer concepts overview](/services/xbox-services/multiplayer/concepts/live-multiplayer-concepts).

## Requirements

**Header:** multiplayer\_manager\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[multiplayer\_manager\_c](/reference/live/xsapi-c/multiplayer_manager_c/multiplayer_manager_c_members)\
[XblMultiplayerManagerGameSessionSessionReference](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionsessionreference)


## Related topics

- [XblMultiplayerManagerGameSessionSessionReference](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionsessionreference.md)
- [XblMultiplayerManagerGameSessionActive](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionactive.md)
- [XblMultiplayerManagerLobbySessionCorrelationId](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerlobbysessioncorrelationid.md)
- [XblMultiplayerManagerGameSessionIsHost](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionishost.md)
- [XblMultiplayerManagerGameSessionConstants](/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionconstants.md)
