Condividi tramite


CPathT::IsPrefix

Call this method to determine whether a path contains a valid prefix of the type passed by pszPrefix.

BOOL IsPrefix( 
   PCXSTR pszPrefix  
) const;

Parameters

  • pszPrefix
    The prefix for which to search. A prefix is one of these types: "C:\\", ".", "..", "..\\".

Return Value

Returns TRUE if the path contains the prefix, or FALSE otherwise.

Remarks

For more information, see PathIsPrefix.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class