WNetGetConnection(): Fix for incorrect drive name and remote name and

Alexandre Julliard julliard at winehq.org
Wed May 5 14:05:24 CDT 2004


Krishna Murthy <Krishna.Murthy at guptaworldwide.com> writes:

> - Long Description:
> 1. WNetGetConnectionA calls WNetGetConnectionW without converting single
> character string "drive name" to wide character string. Fix is to convert
> the single character string "drive name" to wide character before calling
> WNetGetConnectionW.
> 2. WNetGetConnectionW() returns drive's label instead of remote name. Fix is
> to call QueryDosDeviceW instead of GetVolumeInformationW

It's not clear to me that QueryDosDeviceW is a better choice, neither
of them is going to return a valid remote name anyway. What does your
app need to do with the remote name?

And BTW please send diff -u patches.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list