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

# GameInputRawDeviceReportInfo

> GameInputRawDeviceReportInfo

# GameInputRawDeviceReportInfo

描述來自輸入裝置之原始資料流的報告。只有 Game Input Protocol (GIP) 裝置支援這些報告。

## 語法

```cpp theme={null}
struct GameInputRawDeviceReportInfo
{
    GameInputRawDeviceReportKind kind;
    uint32_t id;
    uint32_t size;
};
```

### 成員

*kind*\

類型：[GameInputRawDeviceReportKind](https://docs.xbox.com/zh-TW/reference/input/gameinput/enums/gameinputrawdevicereportkind.md)

此報告的類型。

*id*\

類型：uint32\_t

此報告的識別碼。對於 Game Input Protocol (GIP) 裝置，這代表訊息識別碼。

*size*\

類型：uint32\_t

此報告的大小。

## 備註

此結構用於 [GameInputDeviceInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputdeviceinfo.md) 結構中。

如需詳細資訊，請參閱 [IGameInputDevice](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md) 的 [GetDeviceInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md) 方法。

如需 GameInput API 的中階和進階使用案例，請參閱 [GameInput 進階](https://docs.xbox.com/zh-TW/build/core-features/common/input/advanced/input-advanced-topics.md)主題。

## 需求

**標頭：** GameInput.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[GameInput 概觀](https://docs.xbox.com/zh-TW/build/core-features/common/input/overviews/input-overview.md)\
[GameInput](https://docs.xbox.com/zh-TW/reference/input/gameinput/gameinput_members.md)

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **v3** | **重新推出** (存在於 v0，在 v1 和 v2 中不存在)。v3 以上版本已簡化：移除 `itemCount` 和 `items` 指標。只保留 `kind`、`id` 和 `size`。 |
| **v2** | 不存在 (已在 v1 中移除)。 |
| **v1** | 不存在 (已從 v0 移除)。 |
| **v0** | 推出。 |

## 附錄：先前版本

### v0

```cpp theme={null}
struct GameInputRawDeviceReportInfo
{
    GameInputRawDeviceReportKind           kind;
    uint32_t                               id;
    uint32_t                               size;
    uint32_t                               itemCount;
    GameInputRawDeviceItemInfo const*      items;
};
```


## Related topics

- [IGameInputRawDeviceReport::GetReportInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getreportinfo.md)
- [GameInputRawDeviceReportItemInfo (已淘汰)](https://docs.xbox.com/zh-TW/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDeviceReportKind](https://docs.xbox.com/zh-TW/reference/input/gameinput/enums/gameinputrawdevicereportkind.md)
- [GameInput API 成員](https://docs.xbox.com/zh-TW/reference/input/gameinput/gameinput_members.md)
- [GameInputDeviceInfo](https://docs.xbox.com/zh-TW/reference/input/gameinput/structs/gameinputdeviceinfo.md)
