DiskCryptor Error Codes
/* operation status codes */
#define ST_OK 0 operation completed successful
#define ST_ERROR 1 unknown error
#define ST_NF_DEVICE 2 device not found
#define ST_RW_ERR 3 read / write error
#define ST_PASS_ERR 4 invalid password
#define ST_ALR_MOUNT 5 device has already mounted
#define ST_NO_MOUNT 6 device not mounted
#define ST_LOCK_ERR 7 error on volume locking
#define ST_UNMOUNTABLE 8 device is unmountable
#define ST_NOMEM 9 not enought memory
#define ST_ERR_THREAD 10 error on creating system thread
#define ST_INV_WIPE_MODE 11 invalid data wipe mode
#define ST_INV_DATA_SIZE 12 invalid data size
#define ST_ACCESS_DENIED 13 access denied
#define ST_NF_FILE 14 file not found
#define ST_IO_ERROR 15 disk I/O error
#define ST_UNK_FS 16 unsupported file system
#define ST_ERR_BOOT 17 invalid FS bootsector, please format partition
#define ST_MBR_ERR 18 MBR is corrupted
#define ST_BLDR_INSTALLED 19 bootloader is already installed
#define ST_NF_SPACE 20 not enough space after partitions to install bootloader
#define ST_BLDR_NOTINST 21 bootloader is not installed
#define ST_INV_BLDR_SIZE 22 invalid bootloader size
#define ST_BLDR_NO_CONF 23 bootloader corrupted, config not found
#define ST_BLDR_OLD_VER 24 old bootloader can not be configured
#define ST_AUTORUNNED 25
#define ST_NEED_EXIT 26
#define ST_NO_ADMIN 27 user not have admin privilegies
#define ST_NF_BOOT_DEV 28 boot device not found
#define ST_REG_ERROR 29 can not open registry key
#define ST_NF_REG_KEY 30 registry key not found
#define ST_SCM_ERROR 31 can not open SCM database
#define ST_FINISHED 32 encryption finished
#define ST_INSTALLED 32 driver already installed
#define ST_INV_SECT 34 device has unsupported sector size
#define ST_CLUS_USED 35 shrinking error, last clusters are used
#define ST_NF_PT_SPACE 36 not enough free space in partition to continue encrypting
#define ST_MEDIA_CHANGED 37 removable media changed
#define ST_NO_MEDIA 38 no removable media in device
#define ST_DEVICE_BUSY 39 device is busy
#define ST_INV_MEDIA_TYPE 40 media type not supported
#define ST_FORMAT_NEEDED 41
#define ST_CANCEL 42
#define ST_INV_VOL_VER 43 invalid volume version
#define ST_EMPTY_KEYFILES 44 keyfiles not found
#define ST_NOT_BACKUP 45 this is a not backup file
#define ST_NO_OPEN_FILE 46 can not open file
#define ST_NO_CREATE_FILE 47 can not create file
#define ST_INV_VOLUME 48 invalid volume header
#define ST_OLD_VERSION 49
#define ST_NEW_VERSION 50
#define ST_ENCRYPTED 51
#define ST_INCOMPATIBLE 52
#define ST_LOADED 53
#define ST_VOLUME_TOO_NEW 54
#define ST_INVALID_PARAM 55 an invalid parameter was provided
#define ST_INV_FORMAT 56 disk has incompatible partition format
#define ST_NO_OPEN_DIR 57 can not open directory
#define ST_DIR_NOT_EMPTY 58 directory is not empty