VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/BootEncryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r--src/Common/BootEncryption.h15
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;}