IObjectModelProvider::GetUnderlyingObjectModel method (uiautomationcore.h)

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

Syntax

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

Parameters

[out, retval] ppUnknown

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 | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

IObjectModelProvider