IAccessibleEx::GetIAccessiblePair method
Retrieves the IAccessible interface and child ID for this item.
Syntax
HRESULT GetIAccessiblePair(
[out] IAccessible **ppAcc,
[out] long *pidChild
);
Parameters
- ppAcc [out]
-
Type: IAccessible**
Receives a pointer to the IAccessible interface for this object, or the parent object if this is a child element.
- pidChild [out]
-
Type: long*
Receives the child ID, or CHILDID_SELF if this is not a child element.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also