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

Returns the size of the raw report buffer in bytes.

## Syntax

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

### Parameters

This method has no parameters.

### Return value

Type: size\_t

Returns the size of the raw data buffer in bytes for Game Input Protocol (GIP) devices. This function is unimplemented for other devices and returns 0.

## Remarks

The `IGameInputRawDeviceReport::GetRawDataSize` method returns the size of the raw report buffer in bytes.

For intermediate and advanced use-cases of the GameInput API, see [Advanced GameInput topics](/build/core-features/common/input/advanced/input-advanced-topics).

## Requirements

[Overview of GameInput](/build/core-features/common/input/overviews/input-overview)\
[IGameInputRawDeviceReport](/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport)

## Version History

| Version | Changes                                                     |
| ------- | ----------------------------------------------------------- |
| **v3**  | Re-introduced.                                              |
| **v1**  | Removed along with the IGameInputRawDeviceReport interface. |
| **v0**  | Introduced.                                                 |


## Related topics

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