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

# XblMultiplayerSessionSessionReference

> XblMultiplayerSessionSessionReference

# XblMultiplayerSessionSessionReference

会话的唯一标识信息。

## 语法

```cpp theme={null}
const XblMultiplayerSessionSessionReference(  
         XblMultiplayerSessionHandle handle  
)  
```

### 参数

*handle*   \_In\_\
类型: [XblMultiplayerSessionHandle](/reference/live/xsapi-c/multiplayer_c/handles/xblmultiplayersessionhandle)

多人游戏会话的句柄。

### 返回值

类型: const

指向多人游戏会话引用的指针。所返回指针的内存在 XblMultiplayerSessionHandle 对象关闭之前始终有效。

## 要求

**头文件:** multiplayer\_c.h

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

## 另请参阅

[multiplayer\_c](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [XblMultiplayerSessionTimeOfSession](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessiontimeofsession.md)
- [XblMultiplayerSessionSessionConstants](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsessionconstants.md)
- [XblMultiplayerSessionSessionProperties](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsessionproperties.md)
- [XblMultiplayerManagerLobbySessionSessionReference](/zh-CN/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagerlobbysessionsessionreference.md)
- [XblMultiplayerManagerGameSessionSessionReference](/zh-CN/reference/live/xsapi-c/multiplayer_manager_c/functions/xblmultiplayermanagergamesessionsessionreference.md)
