mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Better way to enable required privileges for FastCreate Options
If we can set required privilege, we ask the user using UAC to enable them.
This commit is contained in:
@@ -208,6 +208,11 @@ public:
|
||||
return BaseCom::NotifyService (dwNotifyCode);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE FastFileResize (BSTR filePath, __int64 fileSize)
|
||||
{
|
||||
return BaseCom::FastFileResize (filePath, fileSize);
|
||||
}
|
||||
|
||||
protected:
|
||||
DWORD MessageThreadId;
|
||||
LONG RefCount;
|
||||
|
||||
@@ -54,6 +54,7 @@ library TrueCryptMainCom
|
||||
DWORD UpdateSetupConfigFile (BOOL bForInstall);
|
||||
DWORD GetSecureBootConfig (BOOL* pSecureBootEnabled, BOOL *pVeraCryptKeysLoaded);
|
||||
DWORD NotifyService (DWORD dwNotifyCode);
|
||||
DWORD FastFileResize (BSTR filePath, __int64 fileSize);
|
||||
};
|
||||
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user