> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameStreamingTouchControlsStateOperation

> XGameStreamingTouchControlsStateOperation

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

## Syntax

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

### Members

*operationKind*\
Type: [XGameStreamingTouchControlsStateOperationKind](https://docs.xbox.com/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind.md)

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](https://docs.xbox.com/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue.md)

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

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

## Requirements

**Header:** XGameStreaming.h

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

## See also

[XGameStreaming](https://docs.xbox.com/reference/system/xgamestreaming/xgamestreaming_members.md)\
[XGameStreamingTouchControlsStateOperationKind](https://docs.xbox.com/reference/system/xgamestreaming/enums/xgamestreamingtouchcontrolsstateoperationkind.md)\
[XGameStreamingTouchControlsStateValue](https://docs.xbox.com/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue.md)\
[XGameStreamingUpdateTouchControlsState](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstate.md)\
[XGameStreamingUpdateTouchControlsStateOnClient](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreamingupdatetouchcontrolsstateonclient.md)\
[XGameStreamingShowTouchControlsWithStateUpdate](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdate.md)\
[XGameStreamingShowTouchControlsWithStateUpdateOnClient](https://docs.xbox.com/reference/system/xgamestreaming/functions/xgamestreamingshowtouchcontrolswithstateupdateonclient.md)


## Related topics

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