IManipulationProcessor::CompleteManipulation method (manipulations.h)

The CompleteManipulation method is called when the developer chooses to end the manipulation.

Syntax

HRESULT CompleteManipulation();

Return value

Returns S_OK on success, otherwise returns an error code such as E_FAIL.

Remarks

This method raises the ManipulationCompleted() event in response.

During a Windows Touch gesture, manipulation gets started as soon as first touch input is sent for processing. If CompleteManipulation is called before the second touch input gets a chance to be processed, the second touch input will start a new manipulation.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header manipulations.h (include Manipulations_i.c)

See also

IManipulationProcessor

Methods