共用方式為


CPathT::IsUNCServerShare

Call this method to determine whether the path is a valid UNC (universal naming convention) share path, \\server\share.

BOOL IsUNCServerShare( ) const;

Return Value

Returns TRUE if the path is in the form \\server\share, or FALSE otherwise.

Remarks

For more information, see PathIsUNCServerShare.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

CPathT::IsUNCServer

Other Resources

CPathT Members