Share via


IUIAutomationInvokePattern::Invoke Method

Invokes the action of a control, such as a button click.

Syntax

HRESULT Invoke(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Calls to this method should return immediately without blocking. However, this behavior depends on the implementation.