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

# IGameInputReading::GetRawReport

> IGameInputReading::GetRawReport

# IGameInputReading::GetRawReport

從裝置輸入擷取原始資料。

## 語法

```cpp theme={null}
bool GetRawReport(
    IGameInputRawDeviceReport** report
)
```

### 參數

*report*   \_Outptr\_result\_maybenull\_<br />
類型：IGameInputRawDeviceReport\*\*

原始資料裝置輸入。

### 傳回值

類型：bool

如果成功擷取原始資料，則傳回 true。

## 備註

輸入報告只能從 `IGameInputReading` 介面上的 `GetRawReport` 方法擷取。它們永遠不會被直接建立。這些報告包含用來產生可從 `IGameInputReading` 介面取得之基本固定格式狀態的原始資料。應用程式可以分析輸入讀數中的原始資料，但無法修改原始資料。如需 GameInput API 的中階與進階使用案例，請參閱[進階 GameInput 主題](/zh-TW/build/core-features/common/input/advanced/input-advanced-topics)。

請注意，只有 Game Input Protocol (GIP) 裝置支援原始報告。

[GameInput 概觀](/zh-TW/build/core-features/common/input/overviews/input-overview)\
[IGameInputReading](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/igameinputreading)

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v3** | 重新推出。 |
| **v1** | 已移除。 |
| **v0** | 推出。 |


## Related topics

- [IGameInputReading::GetInputKind](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [IGameInputReading::GetTimestamp](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_gettimestamp.md)
- [IGameInputReading::GetDevice](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getdevice.md)
- [IGameInputReading::GetSensorsState](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getsensorsstate.md)
- [IGameInputReading::GetGamepadState](/zh-TW/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getgamepadstate.md)
