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

# XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson

> XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson

# XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson

Sets the properties of the matchmaking. This should only be set by a client acting as a matchmaking service.

## Syntax

```cpp theme={null}
HRESULT XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson(  
         XblMultiplayerSessionHandle handle,  
         const char* matchmakingTargetSessionConstantsJson  
)  
```

### Parameters

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

Handle to the multiplayer session.

*matchmakingTargetSessionConstantsJson*   \_In\_\
Type: char\*

A JSON string representing the target session constants.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** multiplayer\_c.h

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

## See also

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


## Related topics

- [XblMultiplayerSessionConstantsSetCapabilities](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetcapabilities.md)
- [XblMultiplayerSessionConstantsSetMaxMembersInSession](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetmaxmembersinsession.md)
- [XblMultiplayerSessionConstantsSetTimeouts](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssettimeouts.md)
- [XblMultiplayerSessionConstantsSetVisibility](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetvisibility.md)
- [XblMultiplayerSessionConstantsSetMemberInitialization](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionconstantssetmemberinitialization.md)
