mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 14:05:22 -04:00
[core] improve mounting/unmounting of volumes
* Factorize drive letter removal into a RemoveDriveLetters() call. * Improve MountVolume() and RemountVolume() calls. * Also bump Rufus version to 3.13
This commit is contained in:
parent
3758f84b17
commit
b2b621cec7
8 changed files with 99 additions and 61 deletions
|
@ -384,6 +384,7 @@ BOOL GetDriveLetters(DWORD DriveIndex, char* drive_letters);
|
|||
UINT GetDriveTypeFromIndex(DWORD DriveIndex);
|
||||
char GetUnusedDriveLetter(void);
|
||||
BOOL IsDriveLetterInUse(const char drive_letter);
|
||||
char RemoveDriveLetters(DWORD DriveIndex, BOOL bUseLast, BOOL bSilent);
|
||||
BOOL GetDriveLabel(DWORD DriveIndex, char* letter, char** label);
|
||||
uint64_t GetDriveSize(DWORD DriveIndex);
|
||||
BOOL IsMediaPresent(DWORD DriveIndex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue