IUIAutomationObjectModelPattern::GetUnderlyingObjectModel method (uiautomationclient.h)

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

Syntax

HRESULT GetUnderlyingObjectModel(
  [out, retval] IUnknown **retVal
);

Parameters

[out, retval] 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

Requirement Value
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