mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
v2.3 (build 709)
* Closes #476 * Also removes the stacksize warning during VS code analysis
This commit is contained in:
parent
64e3512fdc
commit
3839bf42ce
4 changed files with 13 additions and 7 deletions
|
@ -855,6 +855,8 @@ BOOL MountVolume(char* drive_name, char *drive_guid)
|
|||
uprintf("Volume is already mounted, but as %c: instead of %c: - Unmounting...\n", mounted_letter[0], drive_name[0]);
|
||||
if (!DeleteVolumeMountPointA(mounted_letter))
|
||||
uprintf("Failed to unmount volume: %s", WindowsErrorString());
|
||||
// Also delete the destination mountpoint if needed (Don't care about errors)
|
||||
DeleteVolumeMountPointA(drive_name);
|
||||
Sleep(200);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue