IAccDictionary::GetParentTerm

Clients call the IAccDictionary::GetParentTerm method to navigate through the object hierarchy tree. This method returns the parent object of a specified property.

HRESULT GetParentTerm(
REFGUIDTerm,GUID* pParentTerm);

Parameters

  • Term
    [in] A GUID for a property.
  • pParentTerm
    [out] The parent of the property specified in the Term parameter.

Return Values

If successful, returns S_OK.

Remarks

If there is not a parent term for Term, then pParentTerm will point to GUID_NULL.

Requirements

**  Windows NT/2000/XP/Server 2003:** Included in Windows XP and Windows Server 2003.
**  Windows 95/98/Me:** Unsupported.
**  Redistributable:** Requires Active Accessibility 2.0 RDK on Windows NT 4.0 SP6 and Windows 98.
**  Header:** Declared in Msaatext.h.