IAccessibleEx::GetIAccessiblePair Method
Retrieves the IAccessible interface and child ID for this item.
Syntax
HRESULT GetIAccessiblePair( IAccessible **ppAcc, long *pidChild );
Parameters
- ppAcc
[out] The address of a variable that receives a pointer to the IAccessible interface for this object, or the parent object if this is a child element.- pidChild
[out] The address of a variable that receives the child ID, or CHILDID_SELF if this is not a child element.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also