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

> IGameInputDevice::AcquireExclusiveRawDeviceAccess

# IGameInputDevice::AcquireExclusiveRawDeviceAccess

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

Obtient un accès exclusif à l'interface d'appareil brute, ce qui empêche d'autres applications de lire les rapports d'appareil bruts.

## Syntaxe

```cpp theme={null}
HRESULT AcquireExclusiveRawDeviceAccess(
    uint64_t timeoutInMicroseconds
);
```

### Paramètres

*timeoutInMicroseconds*   \_In\_\
Type : uint64\_t

Durée, en microsecondes, pendant laquelle attendre l'octroi de l'accès exclusif.

### 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 a été supprimée dans v1 dans le cadre de la simplification du modèle d'accès aux appareils bruts. Dans l'API actuelle, l'accès aux rapports d'appareil bruts est géré par l'interface [IGameInputRawDeviceReport](/fr/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport).

## 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::ReleaseExclusiveRawDeviceAccess](/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess)\
[IGameInputDevice](/fr/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice)


## Related topics

- [IGameInputDevice::AcquireExclusiveRawDeviceAccess](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_acquireexclusiverawdeviceaccess.md)
- [IGameInputDevice::ReleaseExclusiveRawDeviceAccess](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess.md)
