GET_WHEEL_DELTA_WPARAM macro

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Mouse Input Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft