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

> Obtient la version du microprogramme du périphérique d'entrée.

Obtient la version du microprogramme du périphérique d'entrée.

## Syntaxe

```cpp theme={null}
void GetFirmwareVersion(
    GameInputVersion* version
);
```

### Paramètres

*version*   \_Out\_\
Type : [GameInputVersion](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputversion.md)\*

Reçoit la version du microprogramme du périphérique.

### Valeur de retour

Type : void

## Remarques

Les périphériques ne signalent pas tous une version de microprogramme. Si le périphérique n'en signale aucune, tous les membres de *version* sont définis sur 0.

La version du microprogramme est lue lors de la connexion du périphérique et ne change pas pendant toute la durée de vie de l'objet périphérique.

Dans GameInput v3 et les versions antérieures, ces informations étaient disponibles via le membre `firmwareVersion` de la structure [GameInputDeviceInfo](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md) retournée par [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/fr/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md).

## Configuration requise

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

**Bibliothèque :** gameinput.lib

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

## Voir aussi

[Vue d'ensemble de GameInput](https://docs.xbox.com/fr/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputDevice](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)\
[GameInputVersion](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputversion.md)\
[IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)

## Historique des versions

| Version | Modifications |
| - | - |
| **v4** | Introduite. |


## Related topics

- [IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)
- [GameInputVersion](https://docs.xbox.com/fr/reference/input/gameinput/structs/gameinputversion.md)
- [IGameInputDevice::GetXInputDeviceIndex](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getxinputdeviceindex.md)
- [IGameInputDevice::GetDeviceFamily](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdevicefamily.md)
- [IGameInputDevice::GetDeviceId](https://docs.xbox.com/fr/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceid.md)
