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

> IGameInputRawDeviceReport::GetDevice

# IGameInputRawDeviceReport::GetDevice

Retrieves the device associated with the raw device report.

## Syntax

```cpp theme={null}
void GetDevice(
    IGameInputDevice** device
);
```

### Parameters

*device*   \_Outptr\_<br />
Type: IGameInputDevice\*\*

The device associated with the raw device report.

### Return value

Type: void

## Remarks

The `IGameInputRawDeviceReport::GetDevice` method returns the device associated with the raw device report.

## Requirements

**Header:** GameInput.h

[Advanced GameInput topics](/build/core-features/common/input/advanced/input-advanced-topics)\
[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::GetRawData](/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdata.md)
- [IGameInputRawDeviceReport::GetReportInfo](/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getreportinfo.md)
- [IGameInputRawDeviceReport::GetRawDataSize](/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getrawdatasize.md)
- [IGameInputRawDeviceReport::SetRawData](/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_setrawdata.md)
