Share via


SynchronizedInputPattern_StartListening Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

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

Syntax

HRESULT SynchronizedInputPattern_StartListening(      
    HUIAPATTERNOBJECT hobj,
    SynchronizedInputType inputType
);

Parameters

  • hobj
    [in] The control pattern object.
  • inputType
    [in] A combination of values from the SynchronizedInputType enumerated type specifying the type of input for which to listen.

Return Value

Returns S_OK if successful or an error value otherwise.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows 7