PathName (PSZ)
In the case of aliased resources, this parameter contains the real extended UNC path to the resource (this is what should be passed to the file system or print API). Again, the "network:" must be stripped to use this path name as a UNC path name.
If NET_MUST_CONNECT is set in flInfo for a dynamically shared resource, the UNC portion of pszPathName is usable only after a connection to the resource has been made. The connection is made by using the UNC substring of pszPathName as the pszConnectName input parameter to the NetworkAddConnection call. When UNC name access to the resource is no longer needed, NetworkDeleteConnection should be called so the server that is sharing the dynamically shared resource can remove the share from the network and reclaim the resources associated with the share.