> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInputRawDeviceReport::GetRawDataSize

> IGameInputRawDeviceReport::GetRawDataSize

# IGameInputRawDeviceReport::GetRawDataSize

Retorna o tamanho do buffer do relatório bruto em bytes.

## Sintaxe

```cpp theme={null}
size_t GetRawDataSize();
```

### Parâmetros

Este método não tem parâmetros.

### Valor retornado

Tipo: size\_t

Retorna o tamanho do buffer de dados brutos em bytes para dispositivos GIP (Game Input Protocol). Esta função não é implementada para outros dispositivos e retorna 0.

## Comentários

O método `IGameInputRawDeviceReport::GetRawDataSize` retorna o tamanho do buffer do relatório bruto em bytes.

Para casos de uso intermediários e avançados da API do GameInput, confira [Tópicos avançados do GameInput](/pt-BR/build/core-features/common/input/advanced/input-advanced-topics).

## Requisitos

[Visão geral do GameInput](/pt-BR/build/core-features/common/input/overviews/input-overview)\
[IGameInputRawDeviceReport](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport)

## Histórico de versões

| Versão | Alterações |
| - | - |
| **v3** | Reintroduzido. |
| **v1** | Removido juntamente com a interface IGameInputRawDeviceReport. |
| **v0** | Introduzido. |


## Related topics

- [IGameInputRawDeviceReport](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [IGameInputRawDeviceReport::GetRawData](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdata.md)
- [IGameInputRawDeviceReport::SetRawData](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_setrawdata.md)
- [IGameInputRawDeviceReport::GetReportInfo](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getreportinfo.md)
- [IGameInputRawDeviceReport::GetDevice](/pt-BR/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getdevice.md)
