fix-missing-parameters-20040403

Fix missing username parameter in calls to Mount Drives
This commit is contained in:
Jeffrey Altman 2004-04-03 20:47:22 +00:00 committed by Jeffrey Altman
parent ce17273242
commit 9a7b375bcf

View File

@ -624,7 +624,7 @@ BOOL ActivateDriveMap (TCHAR chDrive, LPTSTR pszMapping, LPTSTR pszSubmountReq,
}
// We now have a submount name and drive letter--map the network drive.
DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent);
DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent,NULL);
if (rc == NO_ERROR)
return TRUE;
@ -1158,7 +1158,7 @@ BOOL GlobalMountDrive()
break;
}
}
dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE);
dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE,NULL);
}
RegCloseKey(hKey);
return TRUE;