DefRawInputProc function

Calls the default raw input procedure to provide default processing for any raw input messages that an application does not process. This function ensures that every message is processed. DefRawInputProc is called with the same parameters received by the window procedure.

Syntax

LRESULT DefRawInputProc(
  PRAWINPUT *paRawInput,
  INT       nInput,
  UINT      cbSizeHeader
);

Parameters

paRawInput

Type: PRAWINPUT*

An array of RAWINPUT structures.

nInput

Type: INT

The number of RAWINPUT structures pointed to by paRawInput.

cbSizeHeader

Type: UINT

The size, in bytes, of the RAWINPUTHEADER structure.

Return Value

Type: LRESULT

If successful, the function returns S_OK. Otherwise it returns an error value.

Requirements

   
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

See Also

Conceptual

RAWINPUT

RAWINPUTHEADER

Raw Input

Reference