IDirectManipulationViewport::ReleaseAllContacts method (directmanipulation.h)

Removes all contacts that are associated with the viewport. Inertia is started if the viewport supports inertia.

Syntax

HRESULT ReleaseAllContacts();

Return value

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

Remarks

This is equivalent to calling ReleaseContact on every contact associated with the viewport. The outcome is equivalent to the user removing all touch points from the viewport.

If supported, inertia will be started after calling this method.

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

IDirectManipulationViewport