[ui] list drives by increasing order of size

* Also silence MSVC and MinGW obnoxious warnings about bidirectional Unicode characters.
This commit is contained in:
Pete Batard 2022-05-25 13:21:36 +01:00
parent 1dcfd69dee
commit c76327f96e
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
8 changed files with 112 additions and 66 deletions

View file

@ -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