mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 06:25:29 -04:00
[core] clean up the RUFUS_DRIVE_INFO struct
* Remove the duplication of DISK_GEOMETRY to keep only the variables we actually use * Also set rufus-next to 2.10
This commit is contained in:
parent
258a4f7ca0
commit
81673ade26
8 changed files with 75 additions and 72 deletions
|
@ -57,14 +57,16 @@ static __inline BOOL UnlockDrive(HANDLE hDrive) {
|
|||
|
||||
/* Current drive info */
|
||||
typedef struct {
|
||||
DWORD DeviceNumber;
|
||||
LONGLONG DiskSize;
|
||||
DISK_GEOMETRY Geometry;
|
||||
DWORD DeviceNumber;
|
||||
DWORD SectorsPerTrack;
|
||||
DWORD SectorSize;
|
||||
DWORD FirstSector;
|
||||
char proposed_label[16];
|
||||
MEDIA_TYPE MediaType;
|
||||
int PartitionType;
|
||||
int nPartitions; // number of partitions we actually care about
|
||||
int FSType;
|
||||
char proposed_label[16];
|
||||
BOOL has_protective_mbr;
|
||||
BOOL has_mbr_uefi_marker;
|
||||
struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue