SetMouseWheelParameterInteractionContext function (interactioncontext.h)

Sets the parameter values for mouse wheel input.

Syntax

HRESULT SetMouseWheelParameterInteractionContext(
  [in] HINTERACTIONCONTEXT   interactionContext,
  [in] MOUSE_WHEEL_PARAMETER parameter,
  [in] float                 value
);

Parameters

[in] interactionContext

Pointer to a handle for the Interaction Context.

[in] parameter

One of the constants identified by MOUSE_WHEEL_PARAMETER enumeration.

[in] value

The value for 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 None supported
Target Platform Windows
Header interactioncontext.h
Library Ninput.lib
DLL Ninput.dll

See also

GetMouseWheelParameterInteractionContext function