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

# IGameInputDevice::SendRawDeviceOutput

> IGameInputDevice::SendRawDeviceOutput

# IGameInputDevice::SendRawDeviceOutput

將原始資料傳送至裝置。

## 語法

```cpp theme={null}
HRESULT SendRawDeviceOutput(
    IGameInputRawDeviceReport* report
)
```

### 參數

*report*   \_In\_<br />
類型：IGameInputRawDeviceReport\*

傳送至裝置的報告。

### 傳回值

類型：HRESULT

函式結果。

## 備註

`SendRawDeviceOutput` 方法會將資料傳送至裝置。對於 XBOX One 裝置，資料會採用 GIP 訊息的形式。如需 GameInput API 的中階和進階使用案例，請參閱 [GameInput 進階主題](/zh-TW/build/core-features/common/input/advanced/input-advanced-topics)。

## 需求

**標頭：** GameInput.h

**程式庫：** xgameruntime.lib

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

## 另請參閱

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

## 版本歷程記錄

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


## Related topics

- [IGameInputDevice](/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)
- [IGameInputRawDeviceReport](/zh-TW/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [IGameInputDevice::CreateRawDeviceReport](/zh-TW/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_createrawdevicereport.md)
- [IGameInputDevice::ExecuteRawDeviceIoControl](/zh-TW/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_executerawdeviceiocontrol.md)
- [IGameInputDevice::SetRawDeviceFeature](/zh-TW/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
