mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Don't allow to encrypt the system drive if it is already encrypted by BitLocker
This commit is contained in:
@@ -242,6 +242,13 @@ typedef struct
|
||||
|
||||
} OpenVolumeContext;
|
||||
|
||||
typedef enum BitLockerEncryptionStatus
|
||||
{
|
||||
BL_Status_Unknown = 0,
|
||||
BL_Status_Unprotected,
|
||||
BL_Status_Protected
|
||||
} BitLockerEncryptionStatus;
|
||||
|
||||
|
||||
#define DEFAULT_VOL_CREATION_WIZARD_MODE WIZARD_MODE_FILE_CONTAINER
|
||||
|
||||
@@ -548,6 +555,7 @@ BOOL GetSetupconfigLocation (wchar_t* path, DWORD cchSize);
|
||||
BOOL BufferHasPattern (const unsigned char* buffer, size_t bufferLen, const void* pattern, size_t patternLen);
|
||||
BOOL EnableProcessProtection();
|
||||
void SafeOpenURL (LPCWSTR szUrl);
|
||||
BitLockerEncryptionStatus GetBitLockerEncryptionStatus(WCHAR driveLetter);
|
||||
#ifdef _WIN64
|
||||
void GetAppRandomSeed (unsigned char* pbRandSeed, size_t cbRandSeed);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user