GetMouseWheelParameterInteractionContext function (interactioncontext.h)

Gets the mouse wheel state for the Interaction Context object.

Syntax

HRESULT GetMouseWheelParameterInteractionContext(
  [in]  HINTERACTIONCONTEXT   interactionContext,
  [in]  MOUSE_WHEEL_PARAMETER parameter,
  [out] float                 *value
);

Parameters

[in] interactionContext

Pointer to a handle for the Interaction Context.

[in] parameter

One of the constants from MOUSE_WHEEL_PARAMETER.

[out] value

The value of parameter.

Return value

If this function succeeds, it returns S_OK.

Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header interactioncontext.h
Library Ninput.lib
DLL Ninput.dll

See also

HINTERACTIONCONTEXT

Interaction Context Functions

SetMouseWheelParameterInteractionContext