diff options
author | kavsrf <kavsrf@gmail.com> | 2017-02-26 10:48:24 +0300 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-05 17:45:45 +0200 |
commit | cf5729d4e184831d8d1a9bb3a83db9b645f96c24 (patch) | |
tree | 20bc6797f36b1ac27b827435e83d956175adcd50 /src/Common/BootEncryption.h | |
parent | 46cd09ef50bb63fa2b30b9c4f9fd284e130a46d4 (diff) | |
download | VeraCrypt-cf5729d4e184831d8d1a9bb3a83db9b645f96c24.tar.gz VeraCrypt-cf5729d4e184831d8d1a9bb3a83db9b645f96c24.zip |
Beta2 patch 1
Edit DcsProp and PlatformInfo from System->Settings
EFI loader updated
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r-- | src/Common/BootEncryption.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Common/BootEncryption.h b/src/Common/BootEncryption.h index c63aa80e..80ca3b52 100644 --- a/src/Common/BootEncryption.h +++ b/src/Common/BootEncryption.h @@ -186,6 +186,8 @@ namespace VeraCrypt BOOL Save (const wchar_t* fileName, HWND hwnd); }; + void GetVolumeESP(wstring& path); + class EfiBoot { public: EfiBoot(); @@ -208,7 +210,8 @@ namespace VeraCrypt BOOL UpdateConfig (const wchar_t* name, int pim, int hashAlgo, HWND hwndDlg); BOOL WriteConfig (const wchar_t* name, bool preserveUserConfig, int pim, int hashAlgo, const char* passPromptMsg, HWND hwndDlg); BOOL DelDir(const wchar_t* name); - + void SelectBootVolumeESP(); + void SelectBootVolume(WCHAR* bootVolumePath); PSTORAGE_DEVICE_NUMBER GetStorageDeviceNumber () { return &sdn;} protected: @@ -217,7 +220,8 @@ namespace VeraCrypt STORAGE_DEVICE_NUMBER sdn; PARTITION_INFORMATION_EX partInfo; WCHAR tempBuf[1024]; - WCHAR systemPartitionPath[MAX_PATH]; + bool bBootVolumePathSelected; + WCHAR BootVolumePath[MAX_PATH]; }; class BootEncryption |