Export (0) Print
Expand All

GET_RAWINPUT_CODE_WPARAM macro

Retrieves the input code from wParam in WM_INPUT.

Syntax


WPARAM GET_RAWINPUT_CODE_WPARAM(
  WPARAM wParam
);

Parameters

wParam

Input code. This parameter can be the following value.

ValueMeaning
RIM_INPUT
0

Input occurred while the application was in the foreground. The application must call DefWindowProc so the system can perform cleanup.

RIM_INPUTSINK
1

Input occurred while the application was not in the foreground. The application must call DefWindowProc so the system can perform the cleanup.

 

Return value

The return value is the input code for the raw input data. Currently, this function can return only the following value.

Return code/valueDescription
RIM_INPUT
0

Input occurred while the application was in the foreground. The application must call DefWindowProc so the system can perform cleanup.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
RAWINPUT
WM_INPUT
Conceptual
Raw Input

 

 

Community Additions

ADD
Show:
© 2014 Microsoft