共用方式為


CPathT::StripToRoot

Call this method to remove all parts of the path except for the root information.

BOOL StripToRoot( );

Return Value

Returns TRUE if a valid drive letter was found in the path, or FALSE otherwise.

Remarks

For more information, see PathStripToRoot.

Requirements

Header: atlpath.h

See Also

Concepts

CPathT Class

CPathT Members