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

Krishna Murthy Krishna.Murthy at guptaworldwide.com
Tue May 4 17:25:41 CDT 2004


- Short Description:
1. WNetGetConnectionA() fails due to missing of wide character conversion
2. WNetGetConnectionW() returns drive's label instead of remote name

- 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

- Patch:
<<WNetGetConnection.patch.diff>>

- Changelog Entry:
1. Convert the single character string "drive name" to wide character string
before calling WNetGetConnectionW.
2. Return remote name instead of drive's label in method
WNetGetConnectionW() 

Krishna Murthy
Gupta Technologies LLC       
TEL: (650) 596-4828
E-mail: Krishna.Murthy at guptaworldwide.com
<mailto:Krishna.Murthy at guptaworldwide.com>  
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: WNetGetConnection.patch.diff
Type: application/octet-stream
Size: 651 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040504/6214bfc5/WNetGetConnection.patch.obj


More information about the wine-patches mailing list