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

# XGameStreamingTouchControlsStateOperation

Spécifie le type d'opération à utiliser, le chemin d'accès à la variable précise et la valeur d'état à appliquer.

## Syntaxe

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

### Membres

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

Opération spécifiée.

*path*\
Type : const char\*

Chemin d'accès à la variable d'état concernée. Il doit s'agir de l'une des propriétés définies dans la section `state` de l'ensemble de dispositions tactiles.

*value*\
Type : [XGameStreamingTouchControlsStateValue](https://docs.xbox.com/fr-CA/reference/system/xgamestreaming/structs/xgamestreamingtouchcontrolsstatevalue.md)

Valeur qui sera utilisée dans l'opération sur la variable d'état.

## Remarques

Vous utilisez cette structure pour représenter une mise à jour d'une commande de disposition tactile.

Pour effectuer une mise à jour, spécifiez :

1. L'opération. Actuellement, seul le remplacement est pris en charge.
2. Le chemin d'accès à la variable à remplacer.
3. La valeur à appliquer à cette variable.

## Configuration requise

**En-tête :** XGameStreaming.h

**Plateformes prises en charge** : Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

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


## Related topics

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