mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Add support for ARM64 platform (e.g. Microsoft Surface Pro X). System encryption still not implemented on ARM64
This commit is contained in:
@@ -796,8 +796,6 @@ namespace VeraCrypt
|
||||
|
||||
if (Elevated)
|
||||
{
|
||||
DWORD bytesRead;
|
||||
|
||||
Elevator::ReadWriteFile (false, IsDevice, Path, buffer, FilePointerPosition, size, &bytesRead);
|
||||
FilePointerPosition += bytesRead;
|
||||
return bytesRead;
|
||||
@@ -5173,6 +5171,9 @@ namespace VeraCrypt
|
||||
if (CurrentOSMajor == 6 && CurrentOSMinor == 0 && CurrentOSServicePack < 1)
|
||||
throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_VISTA_SP0", SRC_POS);
|
||||
|
||||
if (IsARM())
|
||||
throw ErrorException ("SYS_ENCRYPTION_UNSUPPORTED_ON_CURRENT_OS", SRC_POS);
|
||||
|
||||
if (IsNonInstallMode())
|
||||
throw ErrorException ("FEATURE_REQUIRES_INSTALLATION", SRC_POS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user