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

# IGameInputRawDeviceReport::GetDevice

> IGameInputRawDeviceReport::GetDevice

Retrieves the device associated with the raw device report.

## Syntax

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

### Parameters

*device*   \_Outptr\_\

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](https://docs.xbox.com/build/core-features/common/input/advanced/input-advanced-topics.md)\
[Overview of GameInput](https://docs.xbox.com/build/core-features/common/input/overviews/input-overview.md)\
[IGameInputRawDeviceReport](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)

## Version History

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


## Related topics

- [IGameInputRawDeviceReport (Interface contents)](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [IGameInputRawDeviceReport::GetReportInfo](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getreportinfo.md)
- [IGameInputDevice::GetRawDeviceFeature (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md)
- [IGameInputDevice::SetRawDeviceFeature (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [GameInputRawDeviceReportKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputrawdevicereportkind.md)
