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

# IGameInputDevice::ExecuteRawDeviceIoControl

> IGameInputDevice::ExecuteRawDeviceIoControl

# IGameInputDevice::ExecuteRawDeviceIoControl

<Warning>**Obsolète.** Cette méthode a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.</Warning>

Envoie un code de contrôle d'E/S directement à un appareil HID brut.

## Syntaxe

```cpp theme={null}
HRESULT ExecuteRawDeviceIoControl(
    uint32_t controlCode,
    size_t inputBufferSize,
    const void* inputBuffer,
    size_t outputBufferSize,
    void* outputBuffer,
    size_t* outputSizeWritten
);
```

### Paramètres

*controlCode*   \_In\_\
Type : uint32\_t

Code de contrôle d'E/S à envoyer.

*inputBufferSize*   \_In\_\
Type : size\_t

Taille, en octets, de `inputBuffer`.

*inputBuffer*   \_In\_reads\_bytes\_opt\_(inputBufferSize)\_\
Type : const void\*

Pointeur vers la mémoire tampon des données d'entrée.

*outputBufferSize*   \_In\_\
Type : size\_t

Taille, en octets, de `outputBuffer`.

*outputBuffer*   \_Out\_writes\_bytes\_opt\_(outputBufferSize)\_\
Type : void\*

Pointeur vers la mémoire tampon des données de sortie.

*outputSizeWritten*   \_Out\_opt\_\
Type : size\_t\*

Nombre d'octets écrits dans `outputBuffer`.

### Valeur de retour

Type : HRESULT

Retourne E\_NOTIMPL, car cette méthode n'a jamais été implémentée dans v0.

## Remarques

Cette méthode était disponible lorsqu'un accès exclusif à l'appareil brut avait été obtenu via `AcquireExclusiveRawDeviceAccess`. Elle a été supprimée dans v1 dans le cadre de la simplification du modèle d'accès aux appareils bruts.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimé. |
| **v0** | Introduit. |

## Voir aussi

[Membres obsolètes de l'API GameInput](/fr/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[IGameInputDevice::AcquireExclusiveRawDeviceAccess](/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_acquireexclusiverawdeviceaccess)\
[IGameInputDevice](/fr/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice)


## Related topics

- [IGameInputDevice::ExecuteRawDeviceIoControl](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_executerawdeviceiocontrol.md)
- [IGameInputDevice::SetRawDeviceFeature](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::CreateRawDeviceReport](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_createrawdevicereport.md)
- [IGameInputDevice::SendRawDeviceOutput](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_sendrawdeviceoutput.md)
