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 WINAPI DefRawInputProc(
  _In_  PRAWINPUT *paRawInput,
  _In_  INT nInput,
  _In_  UINT cbSizeHeader
);

Parameters

paRawInput [in]

Type: PRAWINPUT*

An array of RAWINPUT structures.

nInput [in]

Type: INT

The number of RAWINPUT structures pointed to by paRawInput.

cbSizeHeader [in]

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]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
RAWINPUT
RAWINPUTHEADER
Conceptual
Raw Input

 

 

Community Additions

ADD
Show:
© 2014 Microsoft