Index: wine/dlls/mpr/wnet.c
===================================================================
RCS file: /home/wine/wine/dlls/mpr/wnet.c,v
retrieving revision 1.15
diff -u -r1.15 wnet.c
--- wine/dlls/mpr/wnet.c	5 Apr 2004 23:14:26 -0000	1.15
+++ wine/dlls/mpr/wnet.c	6 May 2004 16:51:22 -0000
@@ -1547,6 +1547,9 @@
                 WCHAR wideRemoteStatic[MAX_PATH];
                 DWORD wideRemoteSize = sizeof(wideRemoteStatic) / sizeof(WCHAR);
 
+                /* convert the single character strig to wide character string */
+                MultiByteToWideChar(CP_ACP, 0, lpLocalName, -1, wideLocalName, len);
+
                 /* try once without memory allocation */
                 ret = WNetGetConnectionW(wideLocalName, wideRemoteStatic,
                  &wideRemoteSize);
@@ -1639,8 +1642,7 @@
             switch(GetDriveTypeW(lpLocalName))
             {
             case DRIVE_REMOTE:
-                if (!GetVolumeInformationW( lpLocalName, label, sizeof(label),
-                                            NULL, NULL, NULL, NULL, 0 ))
+                if (!QueryDosDeviceW( lpLocalName, label, sizeof(label)))
                     label[0] = 0;
                 if (strlenW(label) + 1 > *lpBufferSize)
                 {
