IRawElementProviderHostingAccessibles::GetEmbeddedAccessibles method (uiautomationcore.h)

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

Syntax

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

Parameters

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

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

IRawElementProviderHostingAccessibles