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

# IGameInputDevice::AcquireExclusiveRawDeviceAccess (déconseillé)

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

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](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md).

## Historique des versions

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

## Voir aussi

[Membres obsolètes de l'API GameInput](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInputDevice::ReleaseExclusiveRawDeviceAccess](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess.md)\
[IGameInputDevice](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)


## Related topics

- [IGameInputDevice::ReleaseExclusiveRawDeviceAccess (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess.md)
- [IGameInputDevice::ExecuteRawDeviceIoControl (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_executerawdeviceiocontrol.md)
- [IGameInputDevice::SetRawDeviceFeature (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::GetRawDeviceFeature (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md)
- [IGameInputDevice::PowerOff (déconseillé)](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_poweroff.md)
