mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 14:58:26 -04:00
[ui] list drives by increasing order of size
* Also silence MSVC and MinGW obnoxious warnings about bidirectional Unicode characters.
This commit is contained in:
parent
1dcfd69dee
commit
c76327f96e
8 changed files with 112 additions and 66 deletions
11
src/rufus.h
11
src/rufus.h
|
@ -401,6 +401,17 @@ typedef struct {
|
|||
#define SL_MAJOR(x) ((uint8_t)((x)>>8))
|
||||
#define SL_MINOR(x) ((uint8_t)(x))
|
||||
|
||||
typedef struct {
|
||||
char* id;
|
||||
char* name;
|
||||
char* display_name;
|
||||
char* label;
|
||||
char* hub;
|
||||
DWORD index;
|
||||
uint32_t port;
|
||||
uint64_t size;
|
||||
} RUFUS_DRIVE;
|
||||
|
||||
typedef struct {
|
||||
uint16_t version[3];
|
||||
uint32_t platform_min[2]; // minimum platform version required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue