GetCrossSlideParameterInteractionContext function (interactioncontext.h)

Gets the cross-slide interaction behavior.

Syntax

HRESULT GetCrossSlideParameterInteractionContext(
  [in]  HINTERACTIONCONTEXT   interactionContext,
  [in]  CROSS_SLIDE_THRESHOLD threshold,
  [out] float                 *distance
);

Parameters

[in] interactionContext

The handle of the interaction context.

[in] threshold

One of the constants from CROSS_SLIDE_THRESHOLD.

[out] distance

The distance threshold of threshold.

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

CROSS_SLIDE_PARAMETER

HINTERACTIONCONTEXT

Interaction Context Functions

SetCrossSlideParametersInteractionContext