Group: Raw Input - Library: user32
Capturing keyboard activity of another application with the Raw Input API (VFP9)
BOOL WINAPI RegisterRawInputDevices(
__in PCRAWINPUTDEVICE pRawInputDevices,
__in UINT uiNumDevices,
__in UINT cbSize
) DECLARE INTEGER RegisterRawInputDevices IN user32;
STRING @pRawInputDevices,;
LONG uiNumDevices,;
LONG cbSize pRawInputDevices [in] An array of RAWINPUTDEVICE structures that represent the devices that supply the raw input.
uiNumDevices [in] The number of RAWINPUTDEVICE structures pointed to by pRawInputDevices.
cbSize [in] The size, in bytes, of a RAWINPUTDEVICE structure.
TRUE if the function succeeds; otherwise, FALSE. If the function fails, call GetLastError for more information.
To receive WM_INPUT messages, an application must first register the raw input devices using RegisterRawInputDevices.
By default, an application does not receive raw input.
See also: GetRawInputData, GetRawInputDeviceList.
Home