IUIAutomationObjectModelPattern::GetUnderlyingObjectModel method

Retrieves an interface used to access the underlying object model of the provider.

Syntax

HRESULT GetUnderlyingObjectModel(
  IUnknown **retVal
);

Parameters

retVal

Type: IUnknown**

Receives an interface for accessing the underlying object model.

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Client applications can use the object model to directly access the content of the control or application.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

IUIAutomationObjectModelPattern