Windows Dev Center

IRawElementProviderHostingAccessibles::GetEmbeddedAccessibles method

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

pRetVal [out, retval]

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 | 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

IRawElementProviderHostingAccessibles

 

 

Community Additions

ADD
Show:
© 2015 Microsoft