diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-06 01:17:41 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-06 01:19:23 +0200 |
commit | 6a78f7eae20af1368ffa053a9f529192a89cc8f2 (patch) | |
tree | 5be6f3720734dac65a4cef09254b25b399da34c7 /src/Common/Format.h | |
parent | 724043be0b9ed68382c49c54b4750ddeaebe81c4 (diff) | |
download | VeraCrypt-6a78f7eae20af1368ffa053a9f529192a89cc8f2.tar.gz VeraCrypt-6a78f7eae20af1368ffa053a9f529192a89cc8f2.zip |
Windows: better logic for FormatEx function call. To be replaced in the future by Microsoft COM interfaces.
Diffstat (limited to 'src/Common/Format.h')
-rw-r--r-- | src/Common/Format.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/Common/Format.h b/src/Common/Format.h index c636e3a6..dd2a920d 100644 --- a/src/Common/Format.h +++ b/src/Common/Format.h @@ -44,7 +44,26 @@ typedef struct }
FORMAT_VOL_PARAMETERS;
-#define FMIFS_DONE 0xB
+#define FMIFS_PROGRESS 0x00 +#define FMIFS_DONE_WITH_STRUCTURE 0x01 +#define FMIFS_INCOMPATIBLE_FILE_SYSTEM 0x03 +#define FMIFS_ACCESS_DENIED 0x06 +#define FMIFS_MEDIA_WRITE_PROTECTED 0x07 +#define FMIFS_VOLUME_IN_USE 0x08 +#define FMIFS_CANT_QUICK_FORMAT 0x09 +#define FMIFS_DONE 0x0B +#define FMIFS_BAD_LABEL 0x0C +#define FMIFS_OUTPUT 0x0E +#define FMIFS_STRUCTURE_PROGRESS 0x0F +#define FMIFS_CLUSTER_SIZE_TOO_SMALL 0x10 +#define FMIFS_CLUSTER_SIZE_TOO_BIG 0x11 +#define FMIFS_VOLUME_TOO_SMALL 0x12 +#define FMIFS_VOLUME_TOO_BIG 0x13 +#define FMIFS_NO_MEDIA_IN_DRIVE 0x14 +#define FMIFS_DEVICE_NOT_READY 0x18 +#define FMIFS_CHECKDISK_PROGRESS 0x19 +#define FMIFS_READ_ONLY_MODE 0x20
+
#define FMIFS_HARDDISK 0xC
extern int FormatWriteBufferSize;
|