> ## 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-CA/reference/input/gameinput/structs/gameinputversion.md)\*

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

### Valeur de retour

Type : void

## Remarques

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

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

Dans GameInput v3 et les versions antérieures, ces informations étaient disponibles dans le membre `firmwareVersion` de la structure [GameInputDeviceInfo](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md) retournée par [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/fr-CA/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-CA/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputDevice](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)\
[GameInputVersion](https://docs.xbox.com/fr-CA/reference/input/gameinput/structs/gameinputversion.md)\
[IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)

## Historique des versions

| Version | Modifications |
| - | - |
| **v4** | Introduit. |


## Related topics

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