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.
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
The return value is the input code for the raw input data. Currently, this function can return only the following value.
| Return code/value | Description |
|---|---|
|
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 |
|
See also