VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/BootEncryption.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-03 01:54:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-03 01:55:45 +0200
commit840756ead10e6c0914ba43fe0631296703880c48 (patch)
tree3a3c2171b2eb8b32ce7cc9dd791eb89dc3f9930f /src/Common/BootEncryption.h
parentf78242fac6e385c40ec07b7a29bd460ab86a2d63 (diff)
downloadVeraCrypt-840756ead10e6c0914ba43fe0631296703880c48.tar.gz
VeraCrypt-840756ead10e6c0914ba43fe0631296703880c48.zip
Windows: workaround for some cases where the system return ERROR_INVALID_PARAMETER when we try to write EFI bootloader files into ESP partition.
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r--src/Common/BootEncryption.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.h b/src/Common/BootEncryption.h
index aaaed301..0f8e993b 100644
--- a/src/Common/BootEncryption.h
+++ b/src/Common/BootEncryption.h
@@ -37,7 +37,7 @@ namespace VeraCrypt
{
public:
File () : Elevated (false), FileOpen (false), ReadOnly (false), FilePointerPosition(0), Handle(INVALID_HANDLE_VALUE), IsDevice(false), LastError(0) { }
- File (wstring path,bool readOnly = false, bool create = false);
+ File (wstring path,bool readOnly = false, bool create = false, bool useNormalAttributes = false);
virtual ~File () { Close(); }
void CheckOpened (const char* srcPos) { if (!FileOpen) { SetLastError (LastError); throw SystemException (srcPos);} }