GET_RAWINPUT_CODE_WPARAM macro (winuser.h)

Retrieves the input code from wParam in WM_INPUT message.

Syntax

void GET_RAWINPUT_CODE_WPARAM(
   wParam
);

Parameters

wParam

wParam from WM_INPUT message.

Return value

Input code value. Can be one of the following:

Value Meaning
RIM_INPUT 0 Input occurred while the application was in the foreground.
RIM_INPUTSINK 1 Input occurred while the application was not in the foreground.

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)

See also

Conceptual

RAWINPUT

Raw Input

Reference

WM_INPUT