How Clients Obtain Child IDs
Client developers can get an object's child ID in the following ways:
- Call AccessibleChildren. This function retrieves an array of VARIANT structures.
- Query the object to see if it supports the IEnumVARIANT interface. If it is present, use IEnumVARIANT::Next obtain child IDs.
- Collect the child IDs by calling the parent object's IAccessible::accNavigate method.
Note
It is the responsibility of the client to free the memory used for the VARIANT structures. Clients also must call IUnknown::Release on any IDispatch interface that is returned.