IDirectManipulationPrimaryContent::GetInertiaEndTransform method (directmanipulation.h)

Gets the final transform, including inertia, of the primary content.

Syntax

HRESULT GetInertiaEndTransform(
  [out] float *matrix,
  [in]  DWORD pointCount
);

Parameters

[out] matrix

The transformed matrix that represents the inertia ending position.

[in] pointCount

The size of the matrix.

This value is always 6, because a 3x2 matrix is used for all direct manipulation transforms.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Warning  Calling this method can cause a race condition if inertia has ended or been interrupted. This can also occur during the OnViewportStatusChanged callback.
 

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also

IDirectManipulationPrimaryContent