Skip to main content
SetMouseWheelParameterInteractionContext function

Sets the parameter values for mouse wheel input.

Syntax


HRESULT WINAPI SetMouseWheelParameterInteractionContext(
  _In_  HINTERACTIONCONTEXT interactionContext,
  _In_  MOUSE_WHEEL_PARAMETER parameter,
  _In_  float value
);

Parameters

interactionContext [in]

Pointer to a handle for the Interaction Context.

parameter [in]

One of the constants identified by MOUSE_WHEEL_PARAMETER.

value [in]

The value for parameter.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

None supported

Header

Interactioncontext.h

Library

Ninput.lib

DLL

Ninput.dll

See also

Interaction Context Functions
GetMouseWheelParameterInteractionContext
HINTERACTIONCONTEXT