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

> Obtém a versão de firmware do dispositivo de entrada.

Obtém a versão de firmware do dispositivo de entrada.

## Sintaxe

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

### Parâmetros

*version*   \_Out\_\
Tipo: [GameInputVersion](https://docs.xbox.com/pt-BR/reference/input/gameinput/structs/gameinputversion.md)\*

Recebe a versão de firmware do dispositivo.

### Valor retornado

Tipo: void

## Comentários

Nem todos os dispositivos relatam uma versão de firmware. Se o dispositivo não relatar uma, todos os membros de *version* serão definidos como 0.

A versão de firmware é lida quando o dispositivo se conecta e não muda durante o tempo de vida do objeto de dispositivo.

No GameInput v3 e anteriores, essas informações estavam disponíveis no membro `firmwareVersion` da estrutura [GameInputDeviceInfo](https://docs.xbox.com/pt-BR/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md) retornada por [IGameInputDevice::GetDeviceInfo](https://docs.xbox.com/pt-BR/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md).

## Requisitos

**Cabeçalho:** GameInput.h

**Biblioteca:** gameinput.lib

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral do GameInput](https://docs.xbox.com/pt-BR/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputDevice](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)\
[GameInputVersion](https://docs.xbox.com/pt-BR/reference/input/gameinput/structs/gameinputversion.md)\
[IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v4** | Introduzido. |


## Related topics

- [IGameInputDevice::GetHardwareVersion](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_gethardwareversion.md)
- [GameInputVersion](https://docs.xbox.com/pt-BR/reference/input/gameinput/structs/gameinputversion.md)
- [IGameInputDevice::GetRevisionNumber](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getrevisionnumber.md)
- [IGameInputDevice::GetDisplayName](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdisplayname.md)
- [IGameInputDevice::GetDeviceFamily](https://docs.xbox.com/pt-BR/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdevicefamily.md)
