GET_WHEEL_DELTA_WPARAM macro
Applies to: desktop apps only
Retrieves the wheel-delta value from the specified WPARAM value.
Syntax
short GET_WHEEL_DELTA_WPARAM( WPARAM wParam );
Parameters
- wParam
-
The value to be converted.
Return value
The return value is the high-order word representing the wheel-delta value. It indicates the distance that the wheel is rotated, expressed in multiples or divisions of WHEEL_DELTA, which is 120. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012