語法
參數
此方法沒有參數。傳回值
類型:uint32_t 裝置所定義的輸出報告數目;如果裝置沒有輸出報告或未公開原始報告,則為 0。備註
輸出報告是應用程式可以傳送至裝置的原始報告。若要傳送輸出報告,請以報告識別碼和GameInputRawOutputReport 呼叫 CreateRawDeviceReport 來建立報告,使用 IGameInputRawDeviceReport::SetRawData 加以填入,然後將其傳遞給 SendRawDeviceOutput。
使用傳回的值來決定您傳遞給 GetOutputReportInfo 之陣列的大小。在裝置連線期間,輸出報告數目不會變更。
在 GameInput v3 及更早版本中,此資訊可從 IGameInputDevice::GetDeviceInfo 所傳回 GameInputDeviceInfo 結構的 outputReportCount 成員取得。
需求
標頭: GameInput.h 程式庫: gameinput.lib 支援的平台: Windows、XBOX One 系列主機和 XBOX Series 主機另請參閱
GameInput 概觀GetOutputReportInfo
GameInputRawDeviceReportInfo
IGameInputRawDeviceReport
CreateRawDeviceReport
SendRawDeviceOutput
GameInput 進階主題
IGameInputDevice
