Skip to main content

IGameInputDevice::ExecuteRawDeviceIoControl

Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Sends an I/O control code directly to a raw HID device.

Syntax

Parameters

controlCode   _In_
Type: uint32_t
The I/O control code to send. inputBufferSize   _In_
Type: size_t
The size, in bytes, of the inputBuffer. inputBuffer   _In_reads_bytes_opt_(inputBufferSize)_
Type: const void*
A pointer to the input data buffer. outputBufferSize   _In_
Type: size_t
The size, in bytes, of the outputBuffer. outputBuffer   _Out_writes_bytes_opt_(outputBufferSize)_
Type: void*
A pointer to the output data buffer. outputSizeWritten   _Out_opt_
Type: size_t*
The number of bytes written to outputBuffer.

Return value

Type: HRESULT Returns E_NOTIMPL, as this method was never implemented in v0.

Remarks

This method was available when exclusive raw device access had been acquired via AcquireExclusiveRawDeviceAccess. It was removed in v1 as part of simplification of the raw device access model.

Version History

See also

Deprecated GameInput API members
IGameInputDevice::AcquireExclusiveRawDeviceAccess
IGameInputDevice
Last modified on August 4, 2026