IAccessibleHostingElementProviders::GetEmbeddedFragmentRoots method

Retrieves the Microsoft Active Accessibility providers of all windowless Microsoft ActiveX controls that have a Microsoft UI Automation provider implementation, and are hosted in a Microsoft Active Accessibility object that implements the IAccessibleHostingElementProviders interface.

Syntax


HRESULT GetEmbeddedFragmentRoots(
  [out, retval]  SAFEARRAY **pRetVal
);

Parameters

pRetVal [out, retval]

Type: SAFEARRAY**

Receives the IRawElementProviderFragmentRoot interface pointers.

Return value

Type: HRESULT

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

Remarks

The container of windowless ActiveX controls implements this method on the same object that implements the IAccessible interface. When called, this method queries each of the contained windowless ActiveX controls for an IRawElementProviderFragmentRoot pointer, and then adds the pointer to the safe array. This method should not include any providers that do not implement IRawElementProviderFragmentRoot.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

IAccessibleHostingElementProviders

 

 

Community Additions

ADD
Show:
© 2014 Microsoft