DefRawInputProc function (winuser.h)
Unlike DefWindowProcA and DefWindowProcW, this function doesn't do any processing.
DefRawInputProc only checks whether cbSizeHeader's value corresponds to the expected size of RAWINPUTHEADER.
Syntax
LRESULT DefRawInputProc(
[in] PRAWINPUT *paRawInput,
[in] INT nInput,
[in] UINT cbSizeHeader
);
Parameters
[in] paRawInput
Type: PRAWINPUT*
Ignored.
[in] nInput
Type: INT
Ignored.
[in] cbSizeHeader
Type: UINT
The size, in bytes, of the RAWINPUTHEADER structure.
Return value
Type: LRESULT
If successful, the function returns 0. Otherwise it returns -1.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |
Library | User32.lib |
DLL | User32.dll |
API set | ext-ms-win-ntuser-rawinput-l1-1-0 (introduced in Windows 10, version 10.0.14393) |
See also
Conceptual