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

# GameInputRawDeviceReportInfo

> GameInputRawDeviceReportInfo

# GameInputRawDeviceReportInfo

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

<a id="syntaxSection" />

## 語法

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

<a id="membersSection" />

### 成員

*kind*<br />
類型：[GameInputRawDeviceReportKind](/zh-TW/reference/input/gameinput/enums/gameinputrawdevicereportkind)

此報告的類型。

*id*<br />
類型：uint32\_t

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

*size*<br />
類型：uint32\_t

此報告的大小。

<a id="remarksSection" />

## 備註

此結構用於 [GameInputDeviceInfo](/zh-TW/reference/input/gameinput/structs/gameinputdeviceinfo) 結構中。

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

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

<a id="requirementsSection" />

## 需求

**標頭：** GameInput.h

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

<a id="seealsoSection" />

## 另請參閱

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

## 版本歷程記錄

| 版本 | 變更 |
| - | - |
| **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

- [GameInputRawDeviceReportInfo](/reference/input/gameinput/structs/gameinputrawdevicereportinfo.md)
- [IGameInputRawDeviceReport::GetReportInfo](/reference/input/gameinput/interfaces/igameinputrawdevicereport/methods/igameinputrawdevicereport_getreportinfo.md)
- [GameInputRawDeviceReportItemInfo](/reference/input/gameinput/deprecated/structs/gameinputrawdevicereportiteminfo.md)
- [GameInputRawDeviceReportKind](/reference/input/gameinput/enums/gameinputrawdevicereportkind.md)
