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

# XblMultiplayerSessionSetClosed

> XblMultiplayerSessionSetClosed

# XblMultiplayerSessionSetClosed

true로 설정하면 세션이 "닫힘" 상태가 되어, 이미 예약이 있는 사용자가 아니면 새 사용자가 참가할 수 없게 됩니다.

## 구문

```cpp theme={null}
void XblMultiplayerSessionSetClosed(  
         XblMultiplayerSessionHandle handle,  
         bool closed  
)  
```

### 매개 변수

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

멀티플레이어 세션에 대한 핸들입니다.

*closed*   \_In\_\
형식: bool

세션을 닫아야 하면 true, 그렇지 않으면 false입니다.

### 반환값

형식: void

## 요구 사항

**헤더:** multiplayer\_c.h

**라이브러리:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 함께 보기

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


## Related topics

- [XblMultiplayerSearchHandleGetSessionClosed](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersearchhandlegetsessionclosed.md)
- [XblMultiplayerSessionSetSessionChangeSubscription](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetsessionchangesubscription.md)
- [XblMultiplayerSessionSetLocked](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetlocked.md)
- [XblMultiplayerSessionConstantsSetMaxMembersInSession](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetmaxmembersinsession.md)
- [XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingtargetsessionconstantsjson.md)
