I'm writing a Win32 application and I need to know what the currently connected network file shares are. For example, \ip-addr\share-name\ or \Device\Mup\ip-addr\share-name\
The solution cannot involve mounting the drives.
I tried WNetOpenEnum, but that gives me null localnames and a remotename of "Web Client Network", not what I need.
I am testing with a Samba share connected.
will return something along the lines of
The first line refers to a connected network drive letter, the other two are connected shares without a drive letter.