How to detect Junction point in a UNC pathname?

From: orabill (orabill_at_discussions.microsoft.com)
Date: 06/22/05


Date: Wed, 22 Jun 2005 11:01:05 -0700

Hi,

I am not able to detect a junction point in a UNC qualified path name using
GetFileAttributes(). Is there any other way that i can detect the same?

Example:

1) net share myshare=c:\temp
2)linkd c:\temp c:\

So, if a user sends me a UNC path name like "\\machine name\myshare", i can
not detect if this has junction point using GetFileAttributes().

Is it possible to to detect this in any other way?

Regards

-- 
Bill