diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 16:26:34 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:40:39 +0200 |
commit | 2ddc37416416894bf085edc6ca4a0b3862fae2c2 (patch) | |
tree | f8e27a4d460299ef4a4b7012525a5418c0043887 /src/Common/BootEncryption.h | |
parent | 78d9e5fc3b75f438fa59d7df5bd69f225854b0c3 (diff) | |
download | VeraCrypt-2ddc37416416894bf085edc6ca4a0b3862fae2c2.tar.gz VeraCrypt-2ddc37416416894bf085edc6ca4a0b3862fae2c2.zip |
Windows: Remove VeraCrypt from EFI boot partition after decrypting the system
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r-- | src/Common/BootEncryption.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Common/BootEncryption.h b/src/Common/BootEncryption.h index 4bf31fec..f7f2ec1a 100644 --- a/src/Common/BootEncryption.h +++ b/src/Common/BootEncryption.h @@ -196,17 +196,18 @@ namespace VeraCrypt void DeleteStartExec(uint16 statrtOrderNum = 0xDC5B, wchar_t* type = NULL); void SetStartExec(wstring description, wstring execPath, uint16 statrtOrderNum = 0xDC5B, wchar_t* type = NULL, uint32 attr = 1); - void SaveFile(wchar_t* name, byte* data, DWORD size); + void SaveFile(const wchar_t* name, byte* data, DWORD size); void GetFileSize(const wchar_t* name, unsigned __int64& size); void ReadFile(const wchar_t* name, byte* data, DWORD size); void CopyFile(const wchar_t* name, const wchar_t* targetName); - BOOL RenameFile(wchar_t* name, wchar_t* nameNew, BOOL bForce); - BOOL DelFile(wchar_t* name); - BOOL MkDir(wchar_t* name, bool& bAlreadyExists); - BOOL ReadConfig (wchar_t* name, EfiBootConf& conf); - BOOL UpdateConfig (wchar_t* name, int pim, int hashAlgo, HWND hwndDlg); - BOOL WriteConfig (wchar_t* name, bool preserveUserConfig, int pim, int hashAlgo, const char* passPromptMsg, HWND hwndDlg); + BOOL RenameFile(const wchar_t* name, wchar_t* nameNew, BOOL bForce); + BOOL DelFile(const wchar_t* name); + BOOL MkDir(const wchar_t* name, bool& bAlreadyExists); + BOOL ReadConfig (const wchar_t* name, EfiBootConf& conf); + 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); PSTORAGE_DEVICE_NUMBER GetStorageDeviceNumber () { return &sdn;} |