IUIAutomationObjectModelPattern::GetUnderlyingObjectModel method

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

Syntax


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

Parameters

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

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

See also

IUIAutomationObjectModelPattern

 

 

Community Additions

ADD
Show:
© 2014 Microsoft