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

# XGameStreamingTouchControlsStateOperation

> XGameStreamingTouchControlsStateOperation

# XGameStreamingTouchControlsStateOperation

Specifies the kind of operation to use, the path to the specific variable, and the state value to be applied.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
typedef struct XGameStreamingTouchControlsStateOperation {
    XGameStreamingTouchControlsStateOperationKind operationKind;
    const char* path;
    XGameStreamingTouchControlsStateValue value;
} XGameStreamingTouchControlsStateOperation
```

<a id="membersSection" />

### Members

*operationKind*\
Type: [XGameStreamingTouchControlsStateOperationKind](/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind)

The operation that is being specified.

*path*\
Type: const char\*

The path to the state variable that is being affected. This should be one of the properties that are defined in the `state` portion of the touch layout bundle.

*value*\
Type: [XGameStreamingTouchControlsStateValue](/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue)

The value that will utilized in the operation on the state variable.

<a id="remarksSection" />

## Remarks

You used this structure to represent an update to a touch layout control.

To perform an update, specify the:

1. Operation. Currently, only replace is supported.
2. Path to the variable to be replaced.
3. Value to be applied to that variable.

<a id="requirementsSection" />

## Requirements

**Header:** XGameStreaming.h

**Supported Platforms**: Windows, XBOX One family consoles and XBOX Series consoles

<a id="seealsoSection" />

## See also

[XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingTouchControlsStateOperationKind](/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind)\
[XGameStreamingTouchControlsStateValue](/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue)\
[XGameStreamingUpdateTouchControlsState](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate)\
[XGameStreamingUpdateTouchControlsStateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient)\
[XGameStreamingShowTouchControlsWithStateUpdate](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate)\
[XGameStreamingShowTouchControlsWithStateUpdateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient)


## Related topics

- [XGameStreamingTouchControlsStateOperationKind](/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind.md)
- [XGameStreamingUpdateTouchControlsState](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)
- [XGameStreamingTouchControlsStateValue](/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue.md)
- [XGameStreamingUpdateTouchControlsStateOnClient](/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)
- [XGameStreamingShowTouchControlsWithStateUpdate](/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md)
