Windows apps
Collapse the table of content
Expand the table of content
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.

IRawElementProviderSimple::ProviderOptions property

Specifies the type of Microsoft UI Automation provider; for example, whether it is a client-side (proxy) or server-side provider.

This property is read-only.

Syntax


HRESULT get_ProviderOptions(
  [out, retval] ProviderOptions *pRetVal
);

Property value

Type: ProviderOptions*

A combination of values that identify the type of the provider. This parameter is passed uninitialized.

Remarks

The method must return either ProviderOptions_ServerSideProvider or ProviderOptions_ClientSideProvider.

UI Automation handles the various types of providers differently. For example, events from a server-side provider are broadcast to all listening clients, but events from client-side (proxy) providers remain in the client.

Examples

The following example implements this method for a server-side UI Automation provider.


HRESULT STDMETHODCALLTYPE Provider::get_ProviderOptions( ProviderOptions* pRetVal )
{
    *pRetVal = ProviderOptions_ServerSideProvider;
    return S_OK;
}    

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

See also

IRawElementProviderSimple

 

 

Show:
© 2017 Microsoft