注意
尚未实现此函数。
从 HID 设备查询功能报告。
语法
HRESULT GetRawDeviceFeature(
uint32_t reportId,
IGameInputRawDeviceReport** report
)
参数
reportId _In_
类型:uint32_t
针对功能报告的设备定义的 ID。
report _COM_Outptr_
类型:IGameInputRawDeviceReport**
返回的功能报告。
返回值
类型:HRESULT
返回 E_NOTIMPL。
备注
IGameInputDevice::GetRawDeviceFeature 和 IGameInputDevice::SetRawDeviceFeature 方法用于通过人机接口设备 (HID) 查询和发送功能报告。 对支持的功能没有限制。 这取决于设备或驱动程序。
注意
这些方法不支持 Xbox One 或 Xbox 360 设备。
要求
头文件:GameInput.h
库:xgameruntime.lib
支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机
另请参阅
高级 GameInput 主题
GameInput 概述
IGameInputDevice::SetRawDeviceFeature
IGameInputDevice