Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CUIAutomationRegistrar object

Implements the IUIAutomationRegistrar interface.

Syntax

   [
        uuid(6e29fabf-9977-42d1-8d0e-ca7e61ad87e6),
        version(1.0), 
        helpstring("Class for registering UIAutomation patterns, properties and events.")
    ]
    coclass CUIAutomationRegistrar
    {
        [default] interface IUIAutomationRegistrar;
    }

Examples

The following shows how to create the CUIAutomationRegistrar object.


#include <uiautomation.h>

HRESULT CreateUIAutomationRegistrar(IUIAutomationRegistrar **ppRegistrar)
{
    if (ppRegistrar == NULL)
        return E_INVALIDARG;

    return CoCreateInstance(CLSID_CUIAutomationRegistrar, NULL, CLSCTX_INPROC_SERVER, 
        IID_IUIAutomationRegistrar, (void **)ppRegistrar);
}


Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

IID

CLSID_CUIAutomationRegistrar is defined as 6e29fabf-9977-42d1-8d0e-ca7e61ad87e6

See also

UI Automation Objects

 

 

Community Additions

Show:
© 2014 Microsoft