User32RegisterRawInputDevices Method
Registers the devices that supply the raw input data.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function RegisterRawInputDevices (
pRawInputDevice As RawInputDevice(),
uiNumDevices As UInteger,
cbSize As UInteger
) As Boolean
Dim pRawInputDevice As RawInputDevice()
Dim uiNumDevices As UInteger
Dim cbSize As UInteger
Dim returnValue As Boolean
returnValue = User32.RegisterRawInputDevices(pRawInputDevice,
uiNumDevices, cbSize)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool RegisterRawInputDevices(
array<RawInputDevice>^ pRawInputDevice,
unsigned int uiNumDevices,
unsigned int cbSize
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member RegisterRawInputDevices :
pRawInputDevice : RawInputDevice[] *
uiNumDevices : uint32 *
cbSize : uint32 -> bool
No code example is currently available or this language may not be supported.
- 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.
Boolean if the function succeeds;
otherwise.
Call
GetLastWin32Error for more information.