http://bugs.winehq.org/show_bug.cgi?id=2198
Summary: WNetGetConnection returs drive's label name instead of remote name. Product: Wine Version: 20040408 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: major Priority: P3 Component: wine-net AssignedTo: wine-bugs@winehq.org ReportedBy: syedmohd.b@sonata-software.com CC: juan_lang@yahoo.com
WNetGetConnection returs drive's label name instead of remote name. I have looked the implementation of WNetGetConnectionW, which uses GetVolumeInformation to get the label name for remote drives. In windows, WNetGetConnection API returns remote path for the given remote drive. I think, we should call WINAPI "QueryDosDevice" instead of GetVolumeInformation. "QueryDosDevice" retrieves the information about dos devices.