> ## 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::GetRawDeviceFeature (déprécié)

> IGameInputDevice::GetRawDeviceFeature

# IGameInputDevice::GetRawDeviceFeature

> [!WARNING]
>
> **Déconseillé.** Cette méthode a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.

Récupère un rapport de fonctionnalité du périphérique HID brut.

## Syntaxe

```cpp theme={null}
HRESULT GetRawDeviceFeature(
    uint32_t reportId,
    IGameInputRawDeviceReport** report
);
```

### Paramètres

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

L'ID de rapport HID du rapport de fonctionnalité à récupérer.

*report*   \_COM\_Outptr\_\
Type : IGameInputRawDeviceReport\*\*

L'interface [IGameInputRawDeviceReport](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md) retournée.

### Valeur de retour

Type : HRESULT

Résultat de la fonction.

## Remarques

Cette méthode a été supprimée dans v1 et réintroduite dans v3 sous le nom [IGameInputDevice::GetRawDeviceFeature](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md).

## Historique des versions

| Version | Modifications |
| - | - |
| **v3** | Réintroduit avec une signature mise à jour. Consultez [IGameInputDevice::GetRawDeviceFeature](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md). |
| **v1** | Supprimé. |
| **v0** | Introduit. |

## Voir aussi

[Membres déconseillés de l'API GameInput](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInputRawDeviceReport](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)\
[IGameInputDevice](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)


## Related topics

- [IGameInputDevice::SetRawDeviceFeature (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::ExecuteRawDeviceIoControl (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_executerawdeviceiocontrol.md)
- [IGameInputDevice::ReleaseExclusiveRawDeviceAccess (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_releaseexclusiverawdeviceaccess.md)
- [IGameInputDevice::AcquireExclusiveRawDeviceAccess (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_acquireexclusiverawdeviceaccess.md)
- [IGameInputDevice::GetBatteryState (déprécié)](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getbatterystate.md)
