GET_RAWINPUT_CODE_WPARAM macro

Retrieves the input code from wParam in WM_INPUT.

Syntax

void GET_RAWINPUT_CODE_WPARAM(
   wParam
);

Parameters

wParam

Input code. This parameter can be the following value.

Value Meaning
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

None

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)

See Also

Conceptual

RAWINPUT

Raw Input

Reference

WM_INPUT