Skip to main content

IGameInputDevice::CreateRawDeviceReport

Creates a new buffer represented by an IGameInputRawDeviceReport instance.

Syntax

Parameters

reportId   _In_
Type: uint32_t
Device-defined ID for the created InputRawDeviceReport interface. reportKind   _In_
Type: GameInputRawDeviceReportKind
Defines the type of raw device report to create. The GameInputRawDeviceReportKind enumeration only accepts the values of the GameInputRawFeatureReport and GameInputRawOutputReport constants. report   _COM_Outptr_
Type: IGameInputRawDeviceReport**
The resulting IGameInputRawDeviceReport instance.

Return value

Type: HRESULT Function result.

Remarks

The CreateRawDeviceReport method creates a buffer that is used to send raw information to the device. It is represented by the IGameInputRawDeviceReport instance. For intermediate and advanced use-cases of the GameInput API, see Advanced GameInput topics.

Requirements

Header: GameInput.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles Overview of GameInput
IGameInputDevice

Version History

Last modified on August 31, 2026