IRawElementProviderHostingAccessibles::GetEmbeddedAccessibles method

Retrieves the IAccessible interface pointers of the windowless Microsoft ActiveX controls that are hosted by this provider.

Syntax

HRESULT GetEmbeddedAccessibles(
  SAFEARRAY **pRetVal
);

Parameters

pRetVal

Type: SAFEARRAY**

Receives the IAccessible pointers of the hosted windowless ActiveX controls.

Return Value

Type: HRESULT

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

Remarks

An ActiveX control container with an existing IRawElementProviderFragmentRoot interface implements this method on the same object that implements IRawElementProviderFragmentRoot. When called, this method should query each contained windowless control for an IAccessible pointer and then add the pointer to the safe array.

This method should ignore providers that do not implement IAccessible.

Requirements

   
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

IRawElementProviderHostingAccessibles