IGameInputDevice::CreateRawDeviceReport
建立以 IGameInputRawDeviceReport 執行個體表示的新緩衝區。語法
參數
reportId _In_類型:uint32_t 所建立之 InputRawDeviceReport 介面的裝置定義識別碼。 reportKind _In_
類型:GameInputRawDeviceReportKind 定義要建立的原始裝置報告類型。
GameInputRawDeviceReportKind 列舉只接受 GameInputRawFeatureReport 和 GameInputRawOutputReport 常數的值。
report _COM_Outptr_類型:IGameInputRawDeviceReport** 產生的
IGameInputRawDeviceReport 執行個體。
傳回值
類型:HRESULT 函式結果。備註
CreateRawDeviceReport 方法會建立用來將原始資訊傳送至裝置的緩衝區。此緩衝區以 IGameInputRawDeviceReport 執行個體表示。如需 GameInput API 的中階和進階使用案例,請參閱 GameInput 進階主題。
需求
標頭: GameInput.h 程式庫: xgameruntime.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機 GameInput 概觀IGameInputDevice
