User32RegisterRawInputDevices Method

Registers the devices that supply the raw input data.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static bool RegisterRawInputDevices(
	RawInputDevice[] pRawInputDevice,
	uint uiNumDevices,
	uint cbSize
)

Parameters

pRawInputDevice  RawInputDevice
An array of RawInputDevice structures that represent the devices that supply the raw input.
uiNumDevices  UInt32
The number of RawInputDevice structures pointed to by pRawInputDevices.
cbSize  UInt32
The size, in bytes, of a RawInputDevice structure.

Return Value

Boolean
if the function succeeds; otherwise.

Call GetLastWin32Error for more information.

Remarks

See Also