Partilhar via


CPathT::IsSameRoot

Call this method to determine whether another path has a common root component with the current path.

BOOL IsSameRoot(
   PCXSTR pszOther 
) const;

Parameters

  • pszOther
    The other path.

Return Value

Returns TRUE if both strings have the same root component, or FALSE otherwise.

Remarks

For more information, see PathIsSameRoot.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

Other Resources

CPathT Members