Share via


IInertiaProcessor::Complete-Methode (manipulations.h)

Die Complete-Methode beendet die aktuelle Bearbeitung und beendet die Inertia-Prozessoriner.

Syntax

HRESULT Complete();

Rückgabewert

Gibt S_OK bei Erfolg zurück, andernfalls wird ein Fehlercode wie E_FAIL zurückgegeben.

Hinweise

Die Complete-Methode löst das ManipulationCompleted-Ereignis für eine _IManipulationEvents-Schnittstellenimplementierung aus.

Beispiele


    // set properties on the IInertiaProcessor interface
    this->m_spIInertProc->put_DesiredRotation(spin);    
	 
    // complete any unprocessed inertia
    this->m_spIInertProc->Complete();
	 
    // reset the processor
    this->m_spIInertProc->Reset();		  
	 
    // If you have implemented a timer that handles inertia processing,
    // this should be started as well and the processor will raise
    // Manipulation* events
		  

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile manipulations.h (include Manipulations.h)

Weitere Informationen

CompleteTime

Iinertiaprocessor

Methoden