共用方式為


CPathT::IsUNCServer

Call this method to determine whether the path is a valid UNC (universal naming convention) path for a server only.

BOOL IsUNCServer( ) const;

Return Value

Returns TRUE if the string is a valid UNC path for a server only (no share name), or FALSE otherwise.

Remarks

For more information, see PathIsUNCServer.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

CPathT::IsUNCServerShare