The CompleteManipulation method is called when the developer chooses to end the manipulation.
This method has no parameters.
Returns S_OK on success, otherwise returns an error code such as E_FAIL.
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.
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|