Share via


IUIAutomationSynchronizedInputPattern::Cancel Method

Causes the Microsoft UI Automation provider to stop listening for mouse or keyboard input.

Syntax

HRESULT Cancel(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationSynchronizedInputPattern