mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Normalize all line terminators
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,87 +1,87 @@
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifndef TC_HEADER_Mount_FavoriteVolumes
|
||||
#define TC_HEADER_Mount_FavoriteVolumes
|
||||
|
||||
#include <Tcdefs.h>
|
||||
|
||||
namespace VeraCrypt
|
||||
{
|
||||
struct FavoriteVolume
|
||||
{
|
||||
FavoriteVolume()
|
||||
:
|
||||
Pim (0),
|
||||
DisableHotkeyMount (false),
|
||||
DisconnectedDevice (false),
|
||||
MountOnLogOn (false),
|
||||
MountOnArrival (false),
|
||||
OpenExplorerWindow (false),
|
||||
ReadOnly (false),
|
||||
Removable (false),
|
||||
SystemEncryption (false),
|
||||
UseLabelInExplorer (false),
|
||||
UseVolumeID (false)
|
||||
{
|
||||
memset (VolumeID, 0, VOLUME_ID_SIZE);
|
||||
}
|
||||
|
||||
wstring Path;
|
||||
wstring MountPoint;
|
||||
wstring VolumePathId;
|
||||
wstring Label;
|
||||
int Pim;
|
||||
BYTE VolumeID[VOLUME_ID_SIZE];
|
||||
|
||||
bool DisableHotkeyMount;
|
||||
bool DisconnectedDevice;
|
||||
bool MountOnLogOn;
|
||||
bool MountOnArrival;
|
||||
bool OpenExplorerWindow;
|
||||
bool ReadOnly;
|
||||
bool Removable;
|
||||
bool SystemEncryption;
|
||||
bool UseLabelInExplorer;
|
||||
bool UseVolumeID;
|
||||
};
|
||||
|
||||
struct FavoriteVolumesDlgProcArguments
|
||||
{
|
||||
bool SystemFavorites;
|
||||
bool AddFavoriteVolume;
|
||||
FavoriteVolume NewFavoriteVolume;
|
||||
};
|
||||
|
||||
extern vector <FavoriteVolume> FavoriteVolumes;
|
||||
extern vector <FavoriteVolume> SystemFavoriteVolumes;
|
||||
extern list <FavoriteVolume> FavoritesOnArrivalMountRequired;
|
||||
extern list <FavoriteVolume> FavoritesMountedOnArrivalStillConnected;
|
||||
extern HMENU FavoriteVolumesMenu;
|
||||
|
||||
BOOL AddMountedVolumeToFavorites (HWND hwndDlg, int driveNo, bool systemFavorites);
|
||||
static BOOL CALLBACK FavoriteVolumesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
static void FillFavoriteVolumesMenu ();
|
||||
static void FillListControl (HWND favoriteListControl, vector <FavoriteVolume> &favorites);
|
||||
static void FillListControlSubItems (HWND favoriteListControl, int line, const FavoriteVolume &favorite);
|
||||
wstring GetFavoriteVolumeLabel (const wstring &volumePath, bool& useInExplorer);
|
||||
void LoadFavoriteVolumes ();
|
||||
void LoadFavoriteVolumes (vector <FavoriteVolume> &favorites, bool systemFavorites, bool noUacElevation = false);
|
||||
static void OnFavoriteVolumesUpdated ();
|
||||
BOOL OrganizeFavoriteVolumes (HWND hwndDlg, bool systemFavorites, const FavoriteVolume &newFavorite = FavoriteVolume());
|
||||
bool SaveFavoriteVolumes (HWND hwndDlg, const vector <FavoriteVolume> &favorites, bool systemFavorites);
|
||||
static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable = true);
|
||||
static void SetFavoriteVolume (HWND hwndDlg, FavoriteVolume &favorite, bool systemFavoritesMode);
|
||||
void UpdateDeviceHostedFavoriteVolumes ();
|
||||
}
|
||||
|
||||
#endif // TC_HEADER_Mount_FavoriteVolumes
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifndef TC_HEADER_Mount_FavoriteVolumes
|
||||
#define TC_HEADER_Mount_FavoriteVolumes
|
||||
|
||||
#include <Tcdefs.h>
|
||||
|
||||
namespace VeraCrypt
|
||||
{
|
||||
struct FavoriteVolume
|
||||
{
|
||||
FavoriteVolume()
|
||||
:
|
||||
Pim (0),
|
||||
DisableHotkeyMount (false),
|
||||
DisconnectedDevice (false),
|
||||
MountOnLogOn (false),
|
||||
MountOnArrival (false),
|
||||
OpenExplorerWindow (false),
|
||||
ReadOnly (false),
|
||||
Removable (false),
|
||||
SystemEncryption (false),
|
||||
UseLabelInExplorer (false),
|
||||
UseVolumeID (false)
|
||||
{
|
||||
memset (VolumeID, 0, VOLUME_ID_SIZE);
|
||||
}
|
||||
|
||||
wstring Path;
|
||||
wstring MountPoint;
|
||||
wstring VolumePathId;
|
||||
wstring Label;
|
||||
int Pim;
|
||||
BYTE VolumeID[VOLUME_ID_SIZE];
|
||||
|
||||
bool DisableHotkeyMount;
|
||||
bool DisconnectedDevice;
|
||||
bool MountOnLogOn;
|
||||
bool MountOnArrival;
|
||||
bool OpenExplorerWindow;
|
||||
bool ReadOnly;
|
||||
bool Removable;
|
||||
bool SystemEncryption;
|
||||
bool UseLabelInExplorer;
|
||||
bool UseVolumeID;
|
||||
};
|
||||
|
||||
struct FavoriteVolumesDlgProcArguments
|
||||
{
|
||||
bool SystemFavorites;
|
||||
bool AddFavoriteVolume;
|
||||
FavoriteVolume NewFavoriteVolume;
|
||||
};
|
||||
|
||||
extern vector <FavoriteVolume> FavoriteVolumes;
|
||||
extern vector <FavoriteVolume> SystemFavoriteVolumes;
|
||||
extern list <FavoriteVolume> FavoritesOnArrivalMountRequired;
|
||||
extern list <FavoriteVolume> FavoritesMountedOnArrivalStillConnected;
|
||||
extern HMENU FavoriteVolumesMenu;
|
||||
|
||||
BOOL AddMountedVolumeToFavorites (HWND hwndDlg, int driveNo, bool systemFavorites);
|
||||
static BOOL CALLBACK FavoriteVolumesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
static void FillFavoriteVolumesMenu ();
|
||||
static void FillListControl (HWND favoriteListControl, vector <FavoriteVolume> &favorites);
|
||||
static void FillListControlSubItems (HWND favoriteListControl, int line, const FavoriteVolume &favorite);
|
||||
wstring GetFavoriteVolumeLabel (const wstring &volumePath, bool& useInExplorer);
|
||||
void LoadFavoriteVolumes ();
|
||||
void LoadFavoriteVolumes (vector <FavoriteVolume> &favorites, bool systemFavorites, bool noUacElevation = false);
|
||||
static void OnFavoriteVolumesUpdated ();
|
||||
BOOL OrganizeFavoriteVolumes (HWND hwndDlg, bool systemFavorites, const FavoriteVolume &newFavorite = FavoriteVolume());
|
||||
bool SaveFavoriteVolumes (HWND hwndDlg, const vector <FavoriteVolume> &favorites, bool systemFavorites);
|
||||
static void SetControls (HWND hwndDlg, const FavoriteVolume &favorite, bool systemFavoritesMode, bool enable = true);
|
||||
static void SetFavoriteVolume (HWND hwndDlg, FavoriteVolume &favorite, bool systemFavoritesMode);
|
||||
void UpdateDeviceHostedFavoriteVolumes ();
|
||||
}
|
||||
|
||||
#endif // TC_HEADER_Mount_FavoriteVolumes
|
||||
|
||||
1222
src/Mount/Hotkeys.c
1222
src/Mount/Hotkeys.c
File diff suppressed because it is too large
Load Diff
@@ -1,52 +1,52 @@
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
/* When adding/removing hot keys, update the following functions in Mount.c:
|
||||
DisplayHotkeyList()
|
||||
SaveSettings()
|
||||
LoadSettings()
|
||||
HandleHotKey() */
|
||||
|
||||
HK_AUTOMOUNT_DEVICES = 0,
|
||||
HK_CLOSE_SECURITY_TOKEN_SESSIONS,
|
||||
HK_DISMOUNT_ALL,
|
||||
HK_DISMOUNT_ALL_AND_WIPE,
|
||||
HK_FORCE_DISMOUNT_ALL_AND_WIPE,
|
||||
HK_FORCE_DISMOUNT_ALL_AND_WIPE_AND_EXIT,
|
||||
HK_MOUNT_FAVORITE_VOLUMES,
|
||||
HK_SHOW_HIDE_MAIN_WINDOW,
|
||||
HK_WIPE_CACHE,
|
||||
NBR_HOTKEYS
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT vKeyCode;
|
||||
UINT vKeyModifiers;
|
||||
} TCHOTKEY;
|
||||
|
||||
extern TCHOTKEY Hotkeys [NBR_HOTKEYS];
|
||||
|
||||
BOOL CALLBACK HotkeysDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
BOOL GetKeyName (UINT vKey, wchar_t *keyName);
|
||||
void UnregisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
|
||||
BOOL RegisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
/* When adding/removing hot keys, update the following functions in Mount.c:
|
||||
DisplayHotkeyList()
|
||||
SaveSettings()
|
||||
LoadSettings()
|
||||
HandleHotKey() */
|
||||
|
||||
HK_AUTOMOUNT_DEVICES = 0,
|
||||
HK_CLOSE_SECURITY_TOKEN_SESSIONS,
|
||||
HK_DISMOUNT_ALL,
|
||||
HK_DISMOUNT_ALL_AND_WIPE,
|
||||
HK_FORCE_DISMOUNT_ALL_AND_WIPE,
|
||||
HK_FORCE_DISMOUNT_ALL_AND_WIPE_AND_EXIT,
|
||||
HK_MOUNT_FAVORITE_VOLUMES,
|
||||
HK_SHOW_HIDE_MAIN_WINDOW,
|
||||
HK_WIPE_CACHE,
|
||||
NBR_HOTKEYS
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT vKeyCode;
|
||||
UINT vKeyModifiers;
|
||||
} TCHOTKEY;
|
||||
|
||||
extern TCHOTKEY Hotkeys [NBR_HOTKEYS];
|
||||
|
||||
BOOL CALLBACK HotkeysDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
BOOL GetKeyName (UINT vKey, wchar_t *keyName);
|
||||
void UnregisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
|
||||
BOOL RegisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,294 +1,294 @@
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#include <atlcomcli.h>
|
||||
#include <atlconv.h>
|
||||
#include <windows.h>
|
||||
#include "BaseCom.h"
|
||||
#include "BootEncryption.h"
|
||||
#include "Dlgcode.h"
|
||||
#include "MainCom.h"
|
||||
#include "MainCom_h.h"
|
||||
#include "MainCom_i.c"
|
||||
#include "Mount.h"
|
||||
#include "Password.h"
|
||||
|
||||
using namespace VeraCrypt;
|
||||
|
||||
static volatile LONG ObjectCount = 0;
|
||||
|
||||
class TrueCryptMainCom : public ITrueCryptMainCom
|
||||
{
|
||||
|
||||
public:
|
||||
TrueCryptMainCom (DWORD messageThreadId) : RefCount (0), MessageThreadId (messageThreadId)
|
||||
{
|
||||
InterlockedIncrement (&ObjectCount);
|
||||
}
|
||||
|
||||
virtual ~TrueCryptMainCom ()
|
||||
{
|
||||
if (InterlockedDecrement (&ObjectCount) == 0)
|
||||
PostThreadMessage (MessageThreadId, WM_APP, 0, 0);
|
||||
}
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef ()
|
||||
{
|
||||
return InterlockedIncrement (&RefCount);
|
||||
}
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Release ()
|
||||
{
|
||||
if (!InterlockedDecrement (&RefCount))
|
||||
{
|
||||
delete this;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return RefCount;
|
||||
}
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject)
|
||||
{
|
||||
if (riid == IID_IUnknown || riid == IID_ITrueCryptMainCom)
|
||||
*ppvObject = this;
|
||||
else
|
||||
{
|
||||
*ppvObject = NULL;
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
AddRef ();
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
virtual void STDMETHODCALLTYPE AnalyzeKernelMiniDump (LONG_PTR hwndDlg)
|
||||
{
|
||||
// Do nothing
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE BackupVolumeHeader (LONG_PTR hwndDlg, BOOL bRequireConfirmation, BSTR lpszVolume)
|
||||
{
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
return ::BackupVolumeHeader ((HWND) hwndDlg, bRequireConfirmation, lpszVolume);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume)
|
||||
{
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
return ::RestoreVolumeHeader ((HWND) hwndDlg, lpszVolume);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE CallDriver (DWORD ioctl, BSTR input, BSTR *output)
|
||||
{
|
||||
return BaseCom::CallDriver (ioctl, input, output);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePassword (BSTR volumePath, Password *oldPassword, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, 0, 0, FALSE, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE CopyFile (BSTR sourceFile, BSTR destinationFile)
|
||||
{
|
||||
return BaseCom::CopyFile (sourceFile, destinationFile);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE DeleteFile (BSTR file)
|
||||
{
|
||||
return BaseCom::DeleteFile (file);
|
||||
}
|
||||
|
||||
virtual BOOL STDMETHODCALLTYPE IsPagingFileActive (BOOL checkNonWindowsPartitionsOnly)
|
||||
{
|
||||
return BaseCom::IsPagingFileActive (checkNonWindowsPartitionsOnly);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone)
|
||||
{
|
||||
return BaseCom::ReadWriteFile (write, device, filePath, bufferBstr, offset, size, sizeDone);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE RegisterFilterDriver (BOOL registerDriver, int filterType)
|
||||
{
|
||||
return BaseCom::RegisterFilterDriver (registerDriver, filterType);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE RegisterSystemFavoritesService (BOOL registerService)
|
||||
{
|
||||
return BaseCom::RegisterSystemFavoritesService (registerService);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE SetDriverServiceStartType (DWORD startType)
|
||||
{
|
||||
return BaseCom::SetDriverServiceStartType (startType);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE WriteLocalMachineRegistryDwordValue (BSTR keyPath, BSTR valueName, DWORD value)
|
||||
{
|
||||
return BaseCom::WriteLocalMachineRegistryDwordValue (keyPath, valueName, value);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx (BSTR volumePath, Password *oldPassword, int old_pkcs5, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, 0, FALSE, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx2 (BSTR volumePath, Password *oldPassword, int old_pkcs5, BOOL truecryptMode, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, 0, truecryptMode, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx3 (BSTR volumePath, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, old_pim, truecryptMode, newPassword, pkcs5, pim, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
protected:
|
||||
DWORD MessageThreadId;
|
||||
LONG RefCount;
|
||||
};
|
||||
|
||||
|
||||
extern "C" BOOL ComServerMain ()
|
||||
{
|
||||
SetProcessShutdownParameters (0x100, 0);
|
||||
|
||||
TrueCryptFactory<TrueCryptMainCom> factory (GetCurrentThreadId ());
|
||||
DWORD cookie;
|
||||
|
||||
if (IsUacSupported ())
|
||||
UacElevated = TRUE;
|
||||
|
||||
if (CoRegisterClassObject (CLSID_TrueCryptMainCom, (LPUNKNOWN) &factory,
|
||||
CLSCTX_LOCAL_SERVER, REGCLS_SINGLEUSE, &cookie) != S_OK)
|
||||
return FALSE;
|
||||
|
||||
MSG msg;
|
||||
while (int r = GetMessageW (&msg, NULL, 0, 0))
|
||||
{
|
||||
if (r == -1)
|
||||
return FALSE;
|
||||
|
||||
TranslateMessage (&msg);
|
||||
DispatchMessageW (&msg);
|
||||
|
||||
if (msg.message == WM_APP
|
||||
&& ObjectCount < 1
|
||||
&& !factory.IsServerLocked ())
|
||||
break;
|
||||
}
|
||||
CoRevokeClassObject (cookie);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
static BOOL ComGetInstance (HWND hWnd, ITrueCryptMainCom **tcServer)
|
||||
{
|
||||
return ComGetInstanceBase (hWnd, CLSID_TrueCryptMainCom, IID_ITrueCryptMainCom, (void **) tcServer);
|
||||
}
|
||||
|
||||
|
||||
ITrueCryptMainCom *GetElevatedInstance (HWND parent)
|
||||
{
|
||||
ITrueCryptMainCom *instance;
|
||||
|
||||
if (!ComGetInstance (parent, &instance))
|
||||
throw UserAbort (SRC_POS);
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacBackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, wchar_t *lpszVolume)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR volumeBstr;
|
||||
BSTR bstr = W2BSTR(lpszVolume);
|
||||
if (bstr)
|
||||
{
|
||||
volumeBstr.Attach (bstr);
|
||||
r = tc->BackupVolumeHeader ((LONG_PTR) hwndDlg, bRequireConfirmation, volumeBstr);
|
||||
}
|
||||
else
|
||||
r = ERR_OUTOFMEMORY;
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacRestoreVolumeHeader (HWND hwndDlg, wchar_t *lpszVolume)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR volumeBstr;
|
||||
BSTR bstr = W2BSTR(lpszVolume);
|
||||
if (bstr)
|
||||
{
|
||||
volumeBstr.Attach (bstr);
|
||||
r = tc->RestoreVolumeHeader ((LONG_PTR) hwndDlg, volumeBstr);
|
||||
}
|
||||
else
|
||||
r = ERR_OUTOFMEMORY;
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacChangePwd (wchar_t *lpszVolume, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, HWND hwndDlg)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR bstrVolume (lpszVolume);
|
||||
WaitCursor ();
|
||||
r = tc->ChangePasswordEx3 (bstrVolume, oldPassword, old_pkcs5, old_pim, truecryptMode, newPassword, pkcs5, pim, wipePassCount, (LONG_PTR) hwndDlg);
|
||||
NormalCursor ();
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#include <atlcomcli.h>
|
||||
#include <atlconv.h>
|
||||
#include <windows.h>
|
||||
#include "BaseCom.h"
|
||||
#include "BootEncryption.h"
|
||||
#include "Dlgcode.h"
|
||||
#include "MainCom.h"
|
||||
#include "MainCom_h.h"
|
||||
#include "MainCom_i.c"
|
||||
#include "Mount.h"
|
||||
#include "Password.h"
|
||||
|
||||
using namespace VeraCrypt;
|
||||
|
||||
static volatile LONG ObjectCount = 0;
|
||||
|
||||
class TrueCryptMainCom : public ITrueCryptMainCom
|
||||
{
|
||||
|
||||
public:
|
||||
TrueCryptMainCom (DWORD messageThreadId) : RefCount (0), MessageThreadId (messageThreadId)
|
||||
{
|
||||
InterlockedIncrement (&ObjectCount);
|
||||
}
|
||||
|
||||
virtual ~TrueCryptMainCom ()
|
||||
{
|
||||
if (InterlockedDecrement (&ObjectCount) == 0)
|
||||
PostThreadMessage (MessageThreadId, WM_APP, 0, 0);
|
||||
}
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef ()
|
||||
{
|
||||
return InterlockedIncrement (&RefCount);
|
||||
}
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Release ()
|
||||
{
|
||||
if (!InterlockedDecrement (&RefCount))
|
||||
{
|
||||
delete this;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return RefCount;
|
||||
}
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject)
|
||||
{
|
||||
if (riid == IID_IUnknown || riid == IID_ITrueCryptMainCom)
|
||||
*ppvObject = this;
|
||||
else
|
||||
{
|
||||
*ppvObject = NULL;
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
AddRef ();
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
virtual void STDMETHODCALLTYPE AnalyzeKernelMiniDump (LONG_PTR hwndDlg)
|
||||
{
|
||||
// Do nothing
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE BackupVolumeHeader (LONG_PTR hwndDlg, BOOL bRequireConfirmation, BSTR lpszVolume)
|
||||
{
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
return ::BackupVolumeHeader ((HWND) hwndDlg, bRequireConfirmation, lpszVolume);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume)
|
||||
{
|
||||
MainDlg = (HWND) hwndDlg;
|
||||
return ::RestoreVolumeHeader ((HWND) hwndDlg, lpszVolume);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE CallDriver (DWORD ioctl, BSTR input, BSTR *output)
|
||||
{
|
||||
return BaseCom::CallDriver (ioctl, input, output);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePassword (BSTR volumePath, Password *oldPassword, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, 0, 0, FALSE, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE CopyFile (BSTR sourceFile, BSTR destinationFile)
|
||||
{
|
||||
return BaseCom::CopyFile (sourceFile, destinationFile);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE DeleteFile (BSTR file)
|
||||
{
|
||||
return BaseCom::DeleteFile (file);
|
||||
}
|
||||
|
||||
virtual BOOL STDMETHODCALLTYPE IsPagingFileActive (BOOL checkNonWindowsPartitionsOnly)
|
||||
{
|
||||
return BaseCom::IsPagingFileActive (checkNonWindowsPartitionsOnly);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone)
|
||||
{
|
||||
return BaseCom::ReadWriteFile (write, device, filePath, bufferBstr, offset, size, sizeDone);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE RegisterFilterDriver (BOOL registerDriver, int filterType)
|
||||
{
|
||||
return BaseCom::RegisterFilterDriver (registerDriver, filterType);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE RegisterSystemFavoritesService (BOOL registerService)
|
||||
{
|
||||
return BaseCom::RegisterSystemFavoritesService (registerService);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE SetDriverServiceStartType (DWORD startType)
|
||||
{
|
||||
return BaseCom::SetDriverServiceStartType (startType);
|
||||
}
|
||||
|
||||
virtual DWORD STDMETHODCALLTYPE WriteLocalMachineRegistryDwordValue (BSTR keyPath, BSTR valueName, DWORD value)
|
||||
{
|
||||
return BaseCom::WriteLocalMachineRegistryDwordValue (keyPath, valueName, value);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx (BSTR volumePath, Password *oldPassword, int old_pkcs5, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, 0, FALSE, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx2 (BSTR volumePath, Password *oldPassword, int old_pkcs5, BOOL truecryptMode, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, 0, truecryptMode, newPassword, pkcs5, 0, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
virtual int STDMETHODCALLTYPE ChangePasswordEx3 (BSTR volumePath, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, LONG_PTR hWnd)
|
||||
{
|
||||
MainDlg = (HWND) hWnd;
|
||||
return ::ChangePwd (volumePath, oldPassword, old_pkcs5, old_pim, truecryptMode, newPassword, pkcs5, pim, wipePassCount, (HWND) hWnd);
|
||||
}
|
||||
|
||||
protected:
|
||||
DWORD MessageThreadId;
|
||||
LONG RefCount;
|
||||
};
|
||||
|
||||
|
||||
extern "C" BOOL ComServerMain ()
|
||||
{
|
||||
SetProcessShutdownParameters (0x100, 0);
|
||||
|
||||
TrueCryptFactory<TrueCryptMainCom> factory (GetCurrentThreadId ());
|
||||
DWORD cookie;
|
||||
|
||||
if (IsUacSupported ())
|
||||
UacElevated = TRUE;
|
||||
|
||||
if (CoRegisterClassObject (CLSID_TrueCryptMainCom, (LPUNKNOWN) &factory,
|
||||
CLSCTX_LOCAL_SERVER, REGCLS_SINGLEUSE, &cookie) != S_OK)
|
||||
return FALSE;
|
||||
|
||||
MSG msg;
|
||||
while (int r = GetMessageW (&msg, NULL, 0, 0))
|
||||
{
|
||||
if (r == -1)
|
||||
return FALSE;
|
||||
|
||||
TranslateMessage (&msg);
|
||||
DispatchMessageW (&msg);
|
||||
|
||||
if (msg.message == WM_APP
|
||||
&& ObjectCount < 1
|
||||
&& !factory.IsServerLocked ())
|
||||
break;
|
||||
}
|
||||
CoRevokeClassObject (cookie);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
static BOOL ComGetInstance (HWND hWnd, ITrueCryptMainCom **tcServer)
|
||||
{
|
||||
return ComGetInstanceBase (hWnd, CLSID_TrueCryptMainCom, IID_ITrueCryptMainCom, (void **) tcServer);
|
||||
}
|
||||
|
||||
|
||||
ITrueCryptMainCom *GetElevatedInstance (HWND parent)
|
||||
{
|
||||
ITrueCryptMainCom *instance;
|
||||
|
||||
if (!ComGetInstance (parent, &instance))
|
||||
throw UserAbort (SRC_POS);
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacBackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, wchar_t *lpszVolume)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR volumeBstr;
|
||||
BSTR bstr = W2BSTR(lpszVolume);
|
||||
if (bstr)
|
||||
{
|
||||
volumeBstr.Attach (bstr);
|
||||
r = tc->BackupVolumeHeader ((LONG_PTR) hwndDlg, bRequireConfirmation, volumeBstr);
|
||||
}
|
||||
else
|
||||
r = ERR_OUTOFMEMORY;
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacRestoreVolumeHeader (HWND hwndDlg, wchar_t *lpszVolume)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR volumeBstr;
|
||||
BSTR bstr = W2BSTR(lpszVolume);
|
||||
if (bstr)
|
||||
{
|
||||
volumeBstr.Attach (bstr);
|
||||
r = tc->RestoreVolumeHeader ((LONG_PTR) hwndDlg, volumeBstr);
|
||||
}
|
||||
else
|
||||
r = ERR_OUTOFMEMORY;
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
extern "C" int UacChangePwd (wchar_t *lpszVolume, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, HWND hwndDlg)
|
||||
{
|
||||
CComPtr<ITrueCryptMainCom> tc;
|
||||
int r;
|
||||
|
||||
CoInitialize (NULL);
|
||||
|
||||
if (ComGetInstance (hwndDlg, &tc))
|
||||
{
|
||||
CComBSTR bstrVolume (lpszVolume);
|
||||
WaitCursor ();
|
||||
r = tc->ChangePasswordEx3 (bstrVolume, oldPassword, old_pkcs5, old_pim, truecryptMode, newPassword, pkcs5, pim, wipePassCount, (LONG_PTR) hwndDlg);
|
||||
NormalCursor ();
|
||||
}
|
||||
else
|
||||
r = -1;
|
||||
|
||||
CoUninitialize ();
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifndef TC_HEADER_MAIN_COM
|
||||
#define TC_HEADER_MAIN_COM
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "MainCom_h.h"
|
||||
ITrueCryptMainCom *GetElevatedInstance (HWND parent);
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
BOOL ComServerMain ();
|
||||
int UacBackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, wchar_t *lpszVolume);
|
||||
int UacRestoreVolumeHeader (HWND hwndDlg, wchar_t *lpszVolume);
|
||||
int UacChangePwd (wchar_t *lpszVolume, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, HWND hwndDlg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // TC_HEADER_MAIN_COM
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
#ifndef TC_HEADER_MAIN_COM
|
||||
#define TC_HEADER_MAIN_COM
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "MainCom_h.h"
|
||||
ITrueCryptMainCom *GetElevatedInstance (HWND parent);
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
BOOL ComServerMain ();
|
||||
int UacBackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, wchar_t *lpszVolume);
|
||||
int UacRestoreVolumeHeader (HWND hwndDlg, wchar_t *lpszVolume);
|
||||
int UacChangePwd (wchar_t *lpszVolume, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, HWND hwndDlg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // TC_HEADER_MAIN_COM
|
||||
|
||||
@@ -1,57 +1,57 @@
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
import "wtypes.idl";
|
||||
import "..\Common\Password.h";
|
||||
|
||||
[
|
||||
uuid(9ACF6176-5FC4-4690-A025-B3306A50EB6A),
|
||||
helpstring("VeraCrypt Main UAC Support Library"),
|
||||
version(2.7) // Update ComSetup.cpp when changing version number
|
||||
]
|
||||
library TrueCryptMainCom
|
||||
{
|
||||
[
|
||||
uuid(C786E27C-2801-482c-B45D-D4357B270A29),
|
||||
object,
|
||||
oleautomation,
|
||||
helpstring("VeraCrypt Main UAC Support Interface")
|
||||
]
|
||||
interface ITrueCryptMainCom : IUnknown
|
||||
{
|
||||
void AnalyzeKernelMiniDump (LONG_PTR hwndDlg);
|
||||
int BackupVolumeHeader (LONG_PTR hwndDlg, BOOL bRequireConfirmation, BSTR lpszVolume);
|
||||
DWORD CallDriver (DWORD ioctl, BSTR input, BSTR *output);
|
||||
int ChangePassword (BSTR volumePath, Password *oldPassword, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
DWORD CopyFile (BSTR sourceFile, BSTR destinationFile);
|
||||
DWORD DeleteFile (BSTR file);
|
||||
BOOL IsPagingFileActive (BOOL checkNonWindowsPartitionsOnly);
|
||||
DWORD ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone);
|
||||
DWORD RegisterFilterDriver (BOOL registerDriver, int filterType);
|
||||
DWORD RegisterSystemFavoritesService (BOOL registerService);
|
||||
int RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume);
|
||||
DWORD SetDriverServiceStartType (DWORD startType);
|
||||
DWORD WriteLocalMachineRegistryDwordValue (BSTR keyPath, BSTR valueName, DWORD value);
|
||||
int ChangePasswordEx (BSTR volumePath, Password *oldPassword, int old_pkcs5, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
int ChangePasswordEx2 (BSTR volumePath, Password *oldPassword, int old_pkcs5, BOOL truecryptMode, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
int ChangePasswordEx3 (BSTR volumePath, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, LONG_PTR hWnd);
|
||||
};
|
||||
|
||||
[
|
||||
uuid(FE8B3B95-C80C-41f7-830F-FBA271C26F7E),
|
||||
helpstring("VeraCrypt Main UAC Support Coclass")
|
||||
]
|
||||
coclass TrueCryptMainCom
|
||||
{
|
||||
[default] interface ITrueCryptMainCom;
|
||||
}
|
||||
}
|
||||
/*
|
||||
Derived from source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages.
|
||||
*/
|
||||
|
||||
import "wtypes.idl";
|
||||
import "..\Common\Password.h";
|
||||
|
||||
[
|
||||
uuid(9ACF6176-5FC4-4690-A025-B3306A50EB6A),
|
||||
helpstring("VeraCrypt Main UAC Support Library"),
|
||||
version(2.7) // Update ComSetup.cpp when changing version number
|
||||
]
|
||||
library TrueCryptMainCom
|
||||
{
|
||||
[
|
||||
uuid(C786E27C-2801-482c-B45D-D4357B270A29),
|
||||
object,
|
||||
oleautomation,
|
||||
helpstring("VeraCrypt Main UAC Support Interface")
|
||||
]
|
||||
interface ITrueCryptMainCom : IUnknown
|
||||
{
|
||||
void AnalyzeKernelMiniDump (LONG_PTR hwndDlg);
|
||||
int BackupVolumeHeader (LONG_PTR hwndDlg, BOOL bRequireConfirmation, BSTR lpszVolume);
|
||||
DWORD CallDriver (DWORD ioctl, BSTR input, BSTR *output);
|
||||
int ChangePassword (BSTR volumePath, Password *oldPassword, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
DWORD CopyFile (BSTR sourceFile, BSTR destinationFile);
|
||||
DWORD DeleteFile (BSTR file);
|
||||
BOOL IsPagingFileActive (BOOL checkNonWindowsPartitionsOnly);
|
||||
DWORD ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone);
|
||||
DWORD RegisterFilterDriver (BOOL registerDriver, int filterType);
|
||||
DWORD RegisterSystemFavoritesService (BOOL registerService);
|
||||
int RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume);
|
||||
DWORD SetDriverServiceStartType (DWORD startType);
|
||||
DWORD WriteLocalMachineRegistryDwordValue (BSTR keyPath, BSTR valueName, DWORD value);
|
||||
int ChangePasswordEx (BSTR volumePath, Password *oldPassword, int old_pkcs5, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
int ChangePasswordEx2 (BSTR volumePath, Password *oldPassword, int old_pkcs5, BOOL truecryptMode, Password *newPassword, int pkcs5, int wipePassCount, LONG_PTR hWnd);
|
||||
int ChangePasswordEx3 (BSTR volumePath, Password *oldPassword, int old_pkcs5, int old_pim, BOOL truecryptMode, Password *newPassword, int pkcs5, int pim, int wipePassCount, LONG_PTR hWnd);
|
||||
};
|
||||
|
||||
[
|
||||
uuid(FE8B3B95-C80C-41f7-830F-FBA271C26F7E),
|
||||
helpstring("VeraCrypt Main UAC Support Coclass")
|
||||
]
|
||||
coclass TrueCryptMainCom
|
||||
{
|
||||
[default] interface ITrueCryptMainCom;
|
||||
}
|
||||
}
|
||||
|
||||
22048
src/Mount/Mount.c
22048
src/Mount/Mount.c
File diff suppressed because it is too large
Load Diff
@@ -1,133 +1,133 @@
|
||||
/*
|
||||
Legal Notice: Some portions of the source code contained in this file were
|
||||
derived from the source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2003-2012 TrueCrypt Developers Association and which is
|
||||
governed by the TrueCrypt License 3.0, also from the source code of
|
||||
Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 Paul Le Roux
|
||||
and which is governed by the 'License Agreement for Encryption for the Masses'
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "Favorites.h"
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum mount_list_item_types
|
||||
{
|
||||
TC_MLIST_ITEM_FREE = 0,
|
||||
TC_MLIST_ITEM_NONSYS_VOL,
|
||||
TC_MLIST_ITEM_SYS_PARTITION,
|
||||
TC_MLIST_ITEM_SYS_DRIVE
|
||||
};
|
||||
|
||||
#define TC_MAIN_WINDOW_FLAG_ADMIN_PRIVILEGES 0x1
|
||||
|
||||
#define TRAYICON_MENU_DRIVE_OFFSET 9000
|
||||
#define TC_FAVORITE_MENU_CMD_ID_OFFSET 10000
|
||||
#define TC_FAVORITE_MENU_CMD_ID_OFFSET_END (TC_FAVORITE_MENU_CMD_ID_OFFSET + 1000)
|
||||
|
||||
#define WM_COPY_SET_VOLUME_NAME "VNAM"
|
||||
|
||||
#define ENC_SYSDRIVE_PSEUDO_DRIVE_LETTER ('A' - 1)
|
||||
|
||||
/* Password Change dialog modes */
|
||||
enum
|
||||
{
|
||||
PCDM_CHANGE_PASSWORD = 0,
|
||||
PCDM_CHANGE_PKCS5_PRF,
|
||||
PCDM_ADD_REMOVE_VOL_KEYFILES,
|
||||
PCDM_REMOVE_ALL_KEYFILES_FROM_VOL
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BOOL bHidVolDamagePrevReported[26];
|
||||
} VOLUME_NOTIFICATIONS_LIST;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Password *password;
|
||||
int* pkcs5;
|
||||
int* pim;
|
||||
BOOL* truecryptMode;
|
||||
} PasswordDlgParam;
|
||||
|
||||
extern VOLUME_NOTIFICATIONS_LIST VolumeNotificationsList;
|
||||
|
||||
extern BOOL bEnableBkgTask;
|
||||
extern BOOL bCloseBkgTaskWhenNoVolumes;
|
||||
extern BOOL bPlaySoundOnSuccessfulHkDismount;
|
||||
extern BOOL bDisplayBalloonOnSuccessfulHkDismount;
|
||||
extern BOOL bExplore;
|
||||
extern BOOL bTryEmptyPasswordWhenKeyfileUsed;
|
||||
|
||||
static void localcleanup ( void );
|
||||
void EndMainDlg ( HWND hwndDlg );
|
||||
void EnableDisableButtons ( HWND hwndDlg );
|
||||
BOOL VolumeSelected (HWND hwndDlg );
|
||||
void LoadSettings ( HWND hwndDlg );
|
||||
void SaveSettings ( HWND hwndDlg );
|
||||
BOOL SelectItem ( HWND hTree , wchar_t nLetter );
|
||||
void LoadDriveLetters ( HWND hwndDlg, HWND hTree, int drive );
|
||||
BOOL CALLBACK PasswordChangeDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK PasswordDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void BuildTree ( HWND hwndDlg, HWND hTree );
|
||||
LPARAM GetSelectedLong ( HWND hTree );
|
||||
LPARAM GetItemLong ( HWND hTree, int itemNo );
|
||||
BOOL CALLBACK CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK MainDialogProc ( HWND hwndDlg , UINT uMsg , WPARAM wParam , LPARAM lParam );
|
||||
void ExtractCommandLine ( HWND hwndDlg , wchar_t *lpszCommandLine );
|
||||
static void WipeCache (HWND hwndDlg, BOOL silent);
|
||||
void OpenVolumeExplorerWindow (int driveNo);
|
||||
BOOL TaskBarIconAdd (HWND hwnd);
|
||||
BOOL TaskBarIconRemove (HWND hwnd);
|
||||
BOOL TaskBarIconChange (HWND hwnd, int iconId);
|
||||
void DismountIdleVolumes ();
|
||||
static void SaveDefaultKeyFilesParam (HWND hwnd);
|
||||
static BOOL Dismount (HWND hwndDlg, int nDosDriveNo);
|
||||
static BOOL DismountAll (HWND hwndDlg, BOOL forceUnmount, BOOL interact, int dismountMaxRetries, int dismountAutoRetryDelay);
|
||||
static void KeyfileDefaultsDlg (HWND hwndDlg);
|
||||
static void HandleHotKey (HWND hwndDlg, WPARAM wParam);
|
||||
static BOOL CheckMountList (HWND hwndDlg, BOOL bForceTaskBarUpdate);
|
||||
int GetCipherBlockSizeByDriveNo (int nDosDriveNo);
|
||||
int GetModeOfOperationByDriveNo (int nDosDriveNo);
|
||||
void ChangeMainWindowVisibility ();
|
||||
void LaunchVolCreationWizard (HWND hwndDlg);
|
||||
BOOL WholeSysDriveEncryption (BOOL bSilent);
|
||||
BOOL CheckSysEncMountWithoutPBA (HWND hwndDlg, const wchar_t *devicePath, BOOL quiet);
|
||||
BOOL TCBootLoaderOnInactiveSysEncDrive (wchar_t *szDevicePath);
|
||||
void CreateRescueDisk (HWND hwndDlg);
|
||||
int BackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, const wchar_t *lpszVolume);
|
||||
int RestoreVolumeHeader (HWND hwndDlg, const wchar_t *lpszVolume);
|
||||
void SecurityTokenPreferencesDialog (HWND hwndDlg);
|
||||
static BOOL CALLBACK PerformanceSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
static BOOL CALLBACK BootLoaderPreferencesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void MountSelectedVolume (HWND hwndDlg, BOOL mountWithOptions);
|
||||
uint32 ReadDriverConfigurationFlags ();
|
||||
void HookMouseWheel (HWND hwndDlg, UINT ctrlId);
|
||||
static BOOL HandleDriveListMouseWheelEvent (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL bListMustBePointed);
|
||||
static BOOL CALLBACK DefaultMountParametersDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BOOL systemFavorites;
|
||||
BOOL logOnMount;
|
||||
BOOL hotKeyMount;
|
||||
VeraCrypt::FavoriteVolume* favoriteVolumeToMount;
|
||||
} mountFavoriteVolumeThreadParam;
|
||||
|
||||
void SetDriverConfigurationFlag (uint32 flag, BOOL state);
|
||||
BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites = FALSE, BOOL logOnMount = FALSE, BOOL hotKeyMount = FALSE, const VeraCrypt::FavoriteVolume &favoriteVolumeToMount = VeraCrypt::FavoriteVolume());
|
||||
void __cdecl mountFavoriteVolumeThreadFunction (void *pArg);
|
||||
|
||||
#endif
|
||||
/*
|
||||
Legal Notice: Some portions of the source code contained in this file were
|
||||
derived from the source code of TrueCrypt 7.1a, which is
|
||||
Copyright (c) 2003-2012 TrueCrypt Developers Association and which is
|
||||
governed by the TrueCrypt License 3.0, also from the source code of
|
||||
Encryption for the Masses 2.02a, which is Copyright (c) 1998-2000 Paul Le Roux
|
||||
and which is governed by the 'License Agreement for Encryption for the Masses'
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
code distribution packages. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "Favorites.h"
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum mount_list_item_types
|
||||
{
|
||||
TC_MLIST_ITEM_FREE = 0,
|
||||
TC_MLIST_ITEM_NONSYS_VOL,
|
||||
TC_MLIST_ITEM_SYS_PARTITION,
|
||||
TC_MLIST_ITEM_SYS_DRIVE
|
||||
};
|
||||
|
||||
#define TC_MAIN_WINDOW_FLAG_ADMIN_PRIVILEGES 0x1
|
||||
|
||||
#define TRAYICON_MENU_DRIVE_OFFSET 9000
|
||||
#define TC_FAVORITE_MENU_CMD_ID_OFFSET 10000
|
||||
#define TC_FAVORITE_MENU_CMD_ID_OFFSET_END (TC_FAVORITE_MENU_CMD_ID_OFFSET + 1000)
|
||||
|
||||
#define WM_COPY_SET_VOLUME_NAME "VNAM"
|
||||
|
||||
#define ENC_SYSDRIVE_PSEUDO_DRIVE_LETTER ('A' - 1)
|
||||
|
||||
/* Password Change dialog modes */
|
||||
enum
|
||||
{
|
||||
PCDM_CHANGE_PASSWORD = 0,
|
||||
PCDM_CHANGE_PKCS5_PRF,
|
||||
PCDM_ADD_REMOVE_VOL_KEYFILES,
|
||||
PCDM_REMOVE_ALL_KEYFILES_FROM_VOL
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BOOL bHidVolDamagePrevReported[26];
|
||||
} VOLUME_NOTIFICATIONS_LIST;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Password *password;
|
||||
int* pkcs5;
|
||||
int* pim;
|
||||
BOOL* truecryptMode;
|
||||
} PasswordDlgParam;
|
||||
|
||||
extern VOLUME_NOTIFICATIONS_LIST VolumeNotificationsList;
|
||||
|
||||
extern BOOL bEnableBkgTask;
|
||||
extern BOOL bCloseBkgTaskWhenNoVolumes;
|
||||
extern BOOL bPlaySoundOnSuccessfulHkDismount;
|
||||
extern BOOL bDisplayBalloonOnSuccessfulHkDismount;
|
||||
extern BOOL bExplore;
|
||||
extern BOOL bTryEmptyPasswordWhenKeyfileUsed;
|
||||
|
||||
static void localcleanup ( void );
|
||||
void EndMainDlg ( HWND hwndDlg );
|
||||
void EnableDisableButtons ( HWND hwndDlg );
|
||||
BOOL VolumeSelected (HWND hwndDlg );
|
||||
void LoadSettings ( HWND hwndDlg );
|
||||
void SaveSettings ( HWND hwndDlg );
|
||||
BOOL SelectItem ( HWND hTree , wchar_t nLetter );
|
||||
void LoadDriveLetters ( HWND hwndDlg, HWND hTree, int drive );
|
||||
BOOL CALLBACK PasswordChangeDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK PasswordDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void BuildTree ( HWND hwndDlg, HWND hTree );
|
||||
LPARAM GetSelectedLong ( HWND hTree );
|
||||
LPARAM GetItemLong ( HWND hTree, int itemNo );
|
||||
BOOL CALLBACK CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
|
||||
BOOL CALLBACK MainDialogProc ( HWND hwndDlg , UINT uMsg , WPARAM wParam , LPARAM lParam );
|
||||
void ExtractCommandLine ( HWND hwndDlg , wchar_t *lpszCommandLine );
|
||||
static void WipeCache (HWND hwndDlg, BOOL silent);
|
||||
void OpenVolumeExplorerWindow (int driveNo);
|
||||
BOOL TaskBarIconAdd (HWND hwnd);
|
||||
BOOL TaskBarIconRemove (HWND hwnd);
|
||||
BOOL TaskBarIconChange (HWND hwnd, int iconId);
|
||||
void DismountIdleVolumes ();
|
||||
static void SaveDefaultKeyFilesParam (HWND hwnd);
|
||||
static BOOL Dismount (HWND hwndDlg, int nDosDriveNo);
|
||||
static BOOL DismountAll (HWND hwndDlg, BOOL forceUnmount, BOOL interact, int dismountMaxRetries, int dismountAutoRetryDelay);
|
||||
static void KeyfileDefaultsDlg (HWND hwndDlg);
|
||||
static void HandleHotKey (HWND hwndDlg, WPARAM wParam);
|
||||
static BOOL CheckMountList (HWND hwndDlg, BOOL bForceTaskBarUpdate);
|
||||
int GetCipherBlockSizeByDriveNo (int nDosDriveNo);
|
||||
int GetModeOfOperationByDriveNo (int nDosDriveNo);
|
||||
void ChangeMainWindowVisibility ();
|
||||
void LaunchVolCreationWizard (HWND hwndDlg);
|
||||
BOOL WholeSysDriveEncryption (BOOL bSilent);
|
||||
BOOL CheckSysEncMountWithoutPBA (HWND hwndDlg, const wchar_t *devicePath, BOOL quiet);
|
||||
BOOL TCBootLoaderOnInactiveSysEncDrive (wchar_t *szDevicePath);
|
||||
void CreateRescueDisk (HWND hwndDlg);
|
||||
int BackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, const wchar_t *lpszVolume);
|
||||
int RestoreVolumeHeader (HWND hwndDlg, const wchar_t *lpszVolume);
|
||||
void SecurityTokenPreferencesDialog (HWND hwndDlg);
|
||||
static BOOL CALLBACK PerformanceSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
static BOOL CALLBACK BootLoaderPreferencesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void MountSelectedVolume (HWND hwndDlg, BOOL mountWithOptions);
|
||||
uint32 ReadDriverConfigurationFlags ();
|
||||
void HookMouseWheel (HWND hwndDlg, UINT ctrlId);
|
||||
static BOOL HandleDriveListMouseWheelEvent (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL bListMustBePointed);
|
||||
static BOOL CALLBACK DefaultMountParametersDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BOOL systemFavorites;
|
||||
BOOL logOnMount;
|
||||
BOOL hotKeyMount;
|
||||
VeraCrypt::FavoriteVolume* favoriteVolumeToMount;
|
||||
} mountFavoriteVolumeThreadParam;
|
||||
|
||||
void SetDriverConfigurationFlag (uint32 flag, BOOL state);
|
||||
BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites = FALSE, BOOL logOnMount = FALSE, BOOL hotKeyMount = FALSE, const VeraCrypt::FavoriteVolume &favoriteVolumeToMount = VeraCrypt::FavoriteVolume());
|
||||
void __cdecl mountFavoriteVolumeThreadFunction (void *pArg);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||
</application>
|
||||
</compatibility>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
||||
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
||||
</application>
|
||||
</compatibility>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
1426
src/Mount/Mount.rc
1426
src/Mount/Mount.rc
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,263 +1,263 @@
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by Mount.rc
|
||||
//
|
||||
#define IDR_MOUNT_TLB 1
|
||||
#define IDD_MOUNT_DLG 101
|
||||
#define IDD_PASSWORDCHANGE_DLG 102
|
||||
#define IDB_DRIVEICON 103
|
||||
#define IDD_PASSWORD_DLG 104
|
||||
#define IDB_DRIVEICON_MASK 105
|
||||
#define IDR_MENU 106
|
||||
#define IDD_PREFERENCES_DLG 107
|
||||
#define IDD_VOLUME_PROPERTIES 108
|
||||
#define IDR_MOUNT_RSRC_HEADER 109
|
||||
#define IDS_UACSTRING 110
|
||||
#define IDB_LOGO_288DPI 111
|
||||
#define IDB_LOGO_96DPI 112
|
||||
#define IDB_SYS_DRIVEICON 113
|
||||
#define IDB_SYS_DRIVEICON_MASK 114
|
||||
#define IDD_TOKEN_PREFERENCES 115
|
||||
#define IDD_SYSENC_SETTINGS 116
|
||||
#define IDD_FAVORITE_VOLUMES 117
|
||||
#define IDD_DEFAULT_MOUNT_PARAMETERS 118
|
||||
#define IDC_PREF_MOUNT_READONLY 1000
|
||||
#define IDC_PREF_MOUNT_REMOVABLE 1001
|
||||
#define IDC_VERIFY 1002
|
||||
#define IDC_PREF_BKG_TASK_ENABLE 1003
|
||||
#define IDC_OLD_PASSWORD 1004
|
||||
#define IDC_CACHE 1005
|
||||
#define IDC_NO_HISTORY 1006
|
||||
#define IDC_DRIVELIST 1007
|
||||
#define IDC_PREF_OPEN_EXPLORER 1008
|
||||
#define IDC_ENABLE_KEYFILES 1009
|
||||
#define IDC_VOLUME_PROPERTIES_LIST 1010
|
||||
#define IDC_PREF_USE_DIFF_TRAY_ICON_IF_VOL_MOUNTED 1011
|
||||
#define IDC_ENABLE_NEW_KEYFILES 1012
|
||||
#define IDC_PRESERVE_TIMESTAMPS 1013
|
||||
#define IDC_PREF_WIPE_CACHE_ON_EXIT 1014
|
||||
#define IDC_PREF_CACHE_PASSWORDS 1016
|
||||
#define IDC_DIRECTORY 1017
|
||||
#define IDC_PREF_DISMOUNT_LOGOFF 1018
|
||||
#define IDC_BROWSE_DIRS 1019
|
||||
#define IDC_PREF_DISMOUNT_INACTIVE 1020
|
||||
#define IDC_AUTORUN_DISABLE 1021
|
||||
#define IDC_AUTORUN_START 1022
|
||||
#define IDC_BENCHMARK 1023
|
||||
#define IDC_AUTORUN_MOUNT 1024
|
||||
#define IDC_VOLUME_NAME 1025
|
||||
#define IDC_COPY_WIZARD 1026
|
||||
#define IDC_MOUNT_OPTIONS 1027
|
||||
#define IDT_TRAVELER_MOUNT 1028
|
||||
#define IDT_MOUNT_LETTER 1029
|
||||
#define IDT_MOUNT_SETTINGS 1030
|
||||
#define IDC_KEY_FILES 1031
|
||||
#define IDC_NEW_KEYFILES 1032
|
||||
#define IDC_KEYFILES 1033
|
||||
#define IDC_VOLUME 1034
|
||||
#define IDC_PASSWORD 1035
|
||||
#define IDC_BROWSE_FILES 1036
|
||||
#define IDC_SELECT_DEVICE 1037
|
||||
#define IDC_CREATE_VOLUME 1038
|
||||
#define IDC_VOLUME_TOOLS 1039
|
||||
#define IDC_WIPE_CACHE 1040
|
||||
#define IDC_MOUNTALL 1041
|
||||
#define IDD_TRAVELER_DLG 1042
|
||||
#define IDC_SELECT_FILE 1043
|
||||
#define IDD_HOTKEYS_DLG 1044
|
||||
#define IDC_VOLUME_PROPERTIES 1045
|
||||
#define IDT_FILE_SETTINGS 1046
|
||||
#define IDD_PERFORMANCE_SETTINGS 1047
|
||||
#define IDT_AUTORUN 1048
|
||||
#define IDT_TRAVEL_INSERTION 1049
|
||||
#define IDT_TRAVEL_ROOT 1050
|
||||
#define IDT_VOLUME 1051
|
||||
#define IDT_PASSWORD 1052
|
||||
#define IDT_CURRENT 1053
|
||||
#define IDT_NEW 1054
|
||||
#define IDT_NEW_PASSWORD 1055
|
||||
#define IDT_CONFIRM_PASSWORD 1056
|
||||
#define IDT_PW_CACHE_OPTIONS 1058
|
||||
#define IDT_DEFAULT_MOUNT_OPTIONS 1059
|
||||
#define IDT_WINDOWS_RELATED_SETTING 1060
|
||||
#define IDC_CREATE 1061
|
||||
#define IDC_EXIT 1062
|
||||
#define IDC_TRAVEL_OPEN_EXPLORER 1063
|
||||
#define IDC_TRAV_CACHE_PASSWORDS 1064
|
||||
#define IDC_UNMOUNTALL 1065
|
||||
#define IDT_TASKBAR_ICON 1066
|
||||
#define IDT_AUTO_DISMOUNT 1067
|
||||
#define IDC_PREF_FORCE_AUTO_DISMOUNT 1068
|
||||
#define IDC_PREF_DISMOUNT_INACTIVE_TIME 1069
|
||||
#define IDT_MINUTES 1070
|
||||
#define IDC_PREF_DISMOUNT_SCREENSAVER 1071
|
||||
#define IDC_PREF_DISMOUNT_POWERSAVING 1072
|
||||
#define IDT_AUTO_DISMOUNT_ON 1073
|
||||
#define IDC_PREF_WIPE_CACHE_ON_AUTODISMOUNT 1074
|
||||
#define IDC_CLOSE_BKG_TASK_WHEN_NOVOL 1075
|
||||
#define IDC_MORE_INFO_ON_HW_ACCELERATION 1076
|
||||
#define IDT_LOGON 1077
|
||||
#define IDC_MORE_INFO_ON_THREAD_BASED_PARALLELIZATION 1078
|
||||
#define IDC_PREF_LOGON_START 1079
|
||||
#define IDC_PREF_LOGON_MOUNT_DEVICES 1080
|
||||
#define IDC_SHOW_PASSWORD_CHPWD_NEW 1081
|
||||
#define IDC_HK_DISMOUNT_BALLOON_TOOLTIP 1082
|
||||
#define IDC_SHOW_PASSWORD_CHPWD_ORI 1083
|
||||
#define IDC_HK_DISMOUNT_PLAY_SOUND 1084
|
||||
#define IDC_HOTKEY_ASSIGN 1085
|
||||
#define IDC_HOTKEY_REMOVE 1086
|
||||
#define IDC_HOTKEY_KEY 1087
|
||||
#define IDT_HOTKEY_KEY 1088
|
||||
#define IDC_HOTKEY_LIST 1089
|
||||
#define IDC_RESET_HOTKEYS 1090
|
||||
#define IDT_DISMOUNT_ACTION 1091
|
||||
#define IDT_ASSIGN_HOTKEY 1092
|
||||
#define IDC_HK_MOD_SHIFT 1093
|
||||
#define IDC_HK_MOD_CTRL 1094
|
||||
#define IDC_HK_MOD_ALT 1095
|
||||
#define IDC_HK_MOD_WIN 1096
|
||||
#define IDC_SHOW_PASSWORD 1097
|
||||
#define IDC_LOGO 1098
|
||||
#define IDT_PKCS11_LIB_PATH 1099
|
||||
#define IDC_PKCS11_MODULE 1100
|
||||
#define IDC_SELECT_PKCS11_MODULE 1101
|
||||
#define IDC_AUTO_DETECT_PKCS11_MODULE 1102
|
||||
#define IDC_CLOSE_TOKEN_SESSION_AFTER_MOUNT 1103
|
||||
#define IDT_SECURITY_OPTIONS 1104
|
||||
#define IDC_DISABLE_BOOT_LOADER_OUTPUT 1105
|
||||
#define IDC_ALLOW_ESC_PBA_BYPASS 1106
|
||||
#define IDC_CUSTOM_BOOT_LOADER_MESSAGE 1107
|
||||
#define IDC_BOOT_LOADER_CACHE_PASSWORD 1108
|
||||
#define IDC_MORE_SETTINGS 1109
|
||||
#define IDT_CUSTOM_BOOT_LOADER_MESSAGE 1110
|
||||
#define IDC_CUSTOM_BOOT_LOADER_MESSAGE_HELP 1111
|
||||
#define IDT_BOOT_LOADER_SCREEN_OPTIONS 1112
|
||||
#define IDT_PKCS11_LIB_HELP 1113
|
||||
#define IDT_ACCELERATION_OPTIONS 1114
|
||||
#define IDC_ENABLE_HARDWARE_ENCRYPTION 1115
|
||||
#define IDC_FAVORITE_VOLUMES_LIST 1116
|
||||
#define IDC_FAVORITE_MOUNT_READONLY 1117
|
||||
#define IDC_FAVORITE_MOUNT_REMOVABLE 1118
|
||||
#define IDC_FAVORITE_MOUNT_ON_ARRIVAL 1119
|
||||
#define IDC_FAVORITE_LABEL 1120
|
||||
#define IDT_FAVORITE_LABEL 1121
|
||||
#define IDC_FAVORITE_MOUNT_ON_LOGON 1122
|
||||
#define IDC_FAVORITE_DISABLE_HOTKEY 1123
|
||||
#define IDC_FAVORITE_MOVE_UP 1124
|
||||
#define IDC_FAVORITE_MOVE_DOWN 1125
|
||||
#define IDC_FAVORITE_REMOVE 1126
|
||||
#define IDT_HW_AES_SUPPORTED_BY_CPU 1127
|
||||
#define IDC_FAVORITE_OPEN_EXPLORER_WIN_ON_MOUNT 1128
|
||||
#define IDC_HW_AES_SUPPORTED_BY_CPU 1129
|
||||
#define IDC_LIMIT_ENC_THREAD_POOL 1130
|
||||
#define IDC_ENCRYPTION_FREE_CPU_COUNT 1131
|
||||
#define IDT_PARALLELIZATION_OPTIONS 1132
|
||||
#define IDT_LIMIT_ENC_THREAD_POOL_NOTE 1133
|
||||
#define IDC_FAV_VOL_OPTIONS_GROUP_BOX 1134
|
||||
#define IDC_FAVORITES_HELP_LINK 1135
|
||||
#define IDC_FAV_VOL_OPTIONS_GLOBAL_SETTINGS_BOX 1136
|
||||
#define IDC_PREF_DISMOUNT_SESSION_LOCKED 1137
|
||||
#define IDT_NEW_PKCS5_PRF 1138
|
||||
#define IDC_PKCS5_OLD_PRF_ID 1139
|
||||
#define IDC_TRUECRYPT_MODE 1140
|
||||
#define IDC_PREF_TEMP_CACHE_ON_MULTIPLE_MOUNT 1141
|
||||
#define IDT_OLD_PIM 1142
|
||||
#define IDC_OLD_PIM 1143
|
||||
#define IDC_OLD_PIM_HELP 1144
|
||||
#define IDC_NEW_PIM_ENABLE 1145
|
||||
#define IDC_SHOW_PIM 1146
|
||||
#define IDC_FAVORITE_USE_LABEL_IN_EXPLORER 1147
|
||||
#define IDC_COPY_EXPANDER 1148
|
||||
#define IDT_DRIVER_OPTIONS 1149
|
||||
#define IDC_ENABLE_EXTENDED_IOCTL_SUPPORT 1150
|
||||
#define IDC_DISABLE_EVIL_MAID_ATTACK_DETECTION 1151
|
||||
#define IDC_WIPE_MODE 1152
|
||||
#define IDT_WIPE_MODE 1153
|
||||
#define IDC_PREF_CACHE_PIM 1154
|
||||
#define IDC_BOOT_LOADER_CACHE_PIM 1155
|
||||
#define IDC_SHOW_DISCONNECTED_NETWORK_DRIVES 1156
|
||||
#define IDT_VOLUME_ID 1157
|
||||
#define IDC_FAVORITE_VOLUME_ID 1158
|
||||
#define IDC_FAVORITE_USE_VOLUME_ID 1159
|
||||
#define IDC_DISABLE_BOOT_LOADER_PIM_PROMPT 1160
|
||||
#define IDC_HIDE_WAITING_DIALOG 1161
|
||||
#define IDM_HELP 40001
|
||||
#define IDM_ABOUT 40002
|
||||
#define IDM_UNMOUNT_VOLUME 40003
|
||||
#define IDM_CLEAR_HISTORY 40004
|
||||
#define IDM_BENCHMARK 40005
|
||||
#define IDM_TRAVELER 40006
|
||||
#define IDM_MOUNT_VOLUME_OPTIONS 40007
|
||||
#define IDM_FAQ 40008
|
||||
#define IDM_REFRESH_DRIVE_LETTERS 40009
|
||||
#define IDM_DEFAULT_KEYFILES 40010
|
||||
#define IDM_WEBSITE 40011
|
||||
#define IDM_MOUNTALL 40012
|
||||
#define IDM_UNMOUNTALL 40013
|
||||
#define IDM_MOUNT_VOLUME 40014
|
||||
#define IDM_CHANGE_PASSWORD 40015
|
||||
#define IDM_VOLUME_WIZARD 40016
|
||||
#define IDM_CREATE_VOLUME 40017
|
||||
#define IDM_WIPE_CACHE 40018
|
||||
#define IDM_PREFERENCES 40019
|
||||
#define IDM_LICENSE 40020
|
||||
#define IDM_SELECT_FILE 40021
|
||||
#define IDM_SELECT_DEVICE 40022
|
||||
#define IDM_VOLUME_PROPERTIES 40023
|
||||
#define IDM_LANGUAGE 40024
|
||||
#define IDM_MOUNT_FAVORITE_VOLUMES 40025
|
||||
#define IDM_BACKUP_VOL_HEADER 40026
|
||||
#define IDM_RESTORE_VOL_HEADER 40027
|
||||
#define IDM_HOTKEY_SETTINGS 40028
|
||||
#define IDM_TC_DOWNLOADS 40029
|
||||
#define IDM_NEWS 40030
|
||||
#define IDM_CONTACT 40031
|
||||
#define IDM_VERSION_HISTORY 40032
|
||||
#define IDM_HOMEPAGE 40033
|
||||
#define IDM_TEST_VECTORS 40034
|
||||
#define IDM_ADD_REMOVE_VOL_KEYFILES 40035
|
||||
#define IDM_REMOVE_ALL_KEYFILES_FROM_VOL 40036
|
||||
#define IDM_CHANGE_HEADER_KEY_DERIV_ALGO 40037
|
||||
#define IDM_KEYFILE_GENERATOR 40038
|
||||
#define IDM_ONLINE_TUTORIAL 40039
|
||||
#define IDM_ONLINE_HELP 40040
|
||||
#define IDM_CHANGE_SYS_HEADER_KEY_DERIV_ALGO 40041
|
||||
#define IDM_CHANGE_SYS_PASSWORD 40042
|
||||
#define IDM_CREATE_RESCUE_DISK 40043
|
||||
#define IDM_PERMANENTLY_DECRYPT_SYS 40044
|
||||
#define IDM_VERIFY_RESCUE_DISK 40045
|
||||
#define IDM_SYSTEM_ENCRYPTION_STATUS 40046
|
||||
#define IDM_ENCRYPT_SYSTEM_DEVICE 40047
|
||||
#define IDM_SYSENC_RESUME 40048
|
||||
#define IDM_MOUNT_SYSENC_PART_WITHOUT_PBA 40049
|
||||
#define IDM_CREATE_HIDDEN_OS 40050
|
||||
#define IDM_TOKEN_PREFERENCES 40051
|
||||
#define IDM_CLOSE_ALL_TOKEN_SESSIONS 40052
|
||||
#define IDM_SYS_ENC_SETTINGS 40053
|
||||
#define IDM_SYSENC_SETTINGS 40054
|
||||
#define IDM_RESUME_INTERRUPTED_PROC 40055
|
||||
#define IDM_MANAGE_TOKEN_KEYFILES 40056
|
||||
#define IDM_SYS_FAVORITES_SETTINGS 40057
|
||||
#define IDM_ORGANIZE_FAVORITES 40058
|
||||
#define IDM_ORGANIZE_SYSTEM_FAVORITES 40059
|
||||
#define IDM_ADD_VOLUME_TO_FAVORITES 40060
|
||||
#define IDM_ADD_VOLUME_TO_SYSTEM_FAVORITES 40061
|
||||
#define IDM_PERFORMANCE_SETTINGS 40062
|
||||
#define IDM_ANALYZE_SYSTEM_CRASH 40063
|
||||
#define IDM_DONATE 40064
|
||||
#define IDM_VOLUME_EXPANDER 40065
|
||||
#define IDM_DEFAULT_MOUNT_PARAMETERS 40066
|
||||
#define IDM_DECRYPT_NONSYS_VOL 40067
|
||||
#define IDM_VERIFY_RESCUE_DISK_ISO 40068
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NO_MFC 1
|
||||
#define _APS_NEXT_RESOURCE_VALUE 119
|
||||
#define _APS_NEXT_COMMAND_VALUE 40069
|
||||
#define _APS_NEXT_CONTROL_VALUE 1162
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft Visual C++ generated include file.
|
||||
// Used by Mount.rc
|
||||
//
|
||||
#define IDR_MOUNT_TLB 1
|
||||
#define IDD_MOUNT_DLG 101
|
||||
#define IDD_PASSWORDCHANGE_DLG 102
|
||||
#define IDB_DRIVEICON 103
|
||||
#define IDD_PASSWORD_DLG 104
|
||||
#define IDB_DRIVEICON_MASK 105
|
||||
#define IDR_MENU 106
|
||||
#define IDD_PREFERENCES_DLG 107
|
||||
#define IDD_VOLUME_PROPERTIES 108
|
||||
#define IDR_MOUNT_RSRC_HEADER 109
|
||||
#define IDS_UACSTRING 110
|
||||
#define IDB_LOGO_288DPI 111
|
||||
#define IDB_LOGO_96DPI 112
|
||||
#define IDB_SYS_DRIVEICON 113
|
||||
#define IDB_SYS_DRIVEICON_MASK 114
|
||||
#define IDD_TOKEN_PREFERENCES 115
|
||||
#define IDD_SYSENC_SETTINGS 116
|
||||
#define IDD_FAVORITE_VOLUMES 117
|
||||
#define IDD_DEFAULT_MOUNT_PARAMETERS 118
|
||||
#define IDC_PREF_MOUNT_READONLY 1000
|
||||
#define IDC_PREF_MOUNT_REMOVABLE 1001
|
||||
#define IDC_VERIFY 1002
|
||||
#define IDC_PREF_BKG_TASK_ENABLE 1003
|
||||
#define IDC_OLD_PASSWORD 1004
|
||||
#define IDC_CACHE 1005
|
||||
#define IDC_NO_HISTORY 1006
|
||||
#define IDC_DRIVELIST 1007
|
||||
#define IDC_PREF_OPEN_EXPLORER 1008
|
||||
#define IDC_ENABLE_KEYFILES 1009
|
||||
#define IDC_VOLUME_PROPERTIES_LIST 1010
|
||||
#define IDC_PREF_USE_DIFF_TRAY_ICON_IF_VOL_MOUNTED 1011
|
||||
#define IDC_ENABLE_NEW_KEYFILES 1012
|
||||
#define IDC_PRESERVE_TIMESTAMPS 1013
|
||||
#define IDC_PREF_WIPE_CACHE_ON_EXIT 1014
|
||||
#define IDC_PREF_CACHE_PASSWORDS 1016
|
||||
#define IDC_DIRECTORY 1017
|
||||
#define IDC_PREF_DISMOUNT_LOGOFF 1018
|
||||
#define IDC_BROWSE_DIRS 1019
|
||||
#define IDC_PREF_DISMOUNT_INACTIVE 1020
|
||||
#define IDC_AUTORUN_DISABLE 1021
|
||||
#define IDC_AUTORUN_START 1022
|
||||
#define IDC_BENCHMARK 1023
|
||||
#define IDC_AUTORUN_MOUNT 1024
|
||||
#define IDC_VOLUME_NAME 1025
|
||||
#define IDC_COPY_WIZARD 1026
|
||||
#define IDC_MOUNT_OPTIONS 1027
|
||||
#define IDT_TRAVELER_MOUNT 1028
|
||||
#define IDT_MOUNT_LETTER 1029
|
||||
#define IDT_MOUNT_SETTINGS 1030
|
||||
#define IDC_KEY_FILES 1031
|
||||
#define IDC_NEW_KEYFILES 1032
|
||||
#define IDC_KEYFILES 1033
|
||||
#define IDC_VOLUME 1034
|
||||
#define IDC_PASSWORD 1035
|
||||
#define IDC_BROWSE_FILES 1036
|
||||
#define IDC_SELECT_DEVICE 1037
|
||||
#define IDC_CREATE_VOLUME 1038
|
||||
#define IDC_VOLUME_TOOLS 1039
|
||||
#define IDC_WIPE_CACHE 1040
|
||||
#define IDC_MOUNTALL 1041
|
||||
#define IDD_TRAVELER_DLG 1042
|
||||
#define IDC_SELECT_FILE 1043
|
||||
#define IDD_HOTKEYS_DLG 1044
|
||||
#define IDC_VOLUME_PROPERTIES 1045
|
||||
#define IDT_FILE_SETTINGS 1046
|
||||
#define IDD_PERFORMANCE_SETTINGS 1047
|
||||
#define IDT_AUTORUN 1048
|
||||
#define IDT_TRAVEL_INSERTION 1049
|
||||
#define IDT_TRAVEL_ROOT 1050
|
||||
#define IDT_VOLUME 1051
|
||||
#define IDT_PASSWORD 1052
|
||||
#define IDT_CURRENT 1053
|
||||
#define IDT_NEW 1054
|
||||
#define IDT_NEW_PASSWORD 1055
|
||||
#define IDT_CONFIRM_PASSWORD 1056
|
||||
#define IDT_PW_CACHE_OPTIONS 1058
|
||||
#define IDT_DEFAULT_MOUNT_OPTIONS 1059
|
||||
#define IDT_WINDOWS_RELATED_SETTING 1060
|
||||
#define IDC_CREATE 1061
|
||||
#define IDC_EXIT 1062
|
||||
#define IDC_TRAVEL_OPEN_EXPLORER 1063
|
||||
#define IDC_TRAV_CACHE_PASSWORDS 1064
|
||||
#define IDC_UNMOUNTALL 1065
|
||||
#define IDT_TASKBAR_ICON 1066
|
||||
#define IDT_AUTO_DISMOUNT 1067
|
||||
#define IDC_PREF_FORCE_AUTO_DISMOUNT 1068
|
||||
#define IDC_PREF_DISMOUNT_INACTIVE_TIME 1069
|
||||
#define IDT_MINUTES 1070
|
||||
#define IDC_PREF_DISMOUNT_SCREENSAVER 1071
|
||||
#define IDC_PREF_DISMOUNT_POWERSAVING 1072
|
||||
#define IDT_AUTO_DISMOUNT_ON 1073
|
||||
#define IDC_PREF_WIPE_CACHE_ON_AUTODISMOUNT 1074
|
||||
#define IDC_CLOSE_BKG_TASK_WHEN_NOVOL 1075
|
||||
#define IDC_MORE_INFO_ON_HW_ACCELERATION 1076
|
||||
#define IDT_LOGON 1077
|
||||
#define IDC_MORE_INFO_ON_THREAD_BASED_PARALLELIZATION 1078
|
||||
#define IDC_PREF_LOGON_START 1079
|
||||
#define IDC_PREF_LOGON_MOUNT_DEVICES 1080
|
||||
#define IDC_SHOW_PASSWORD_CHPWD_NEW 1081
|
||||
#define IDC_HK_DISMOUNT_BALLOON_TOOLTIP 1082
|
||||
#define IDC_SHOW_PASSWORD_CHPWD_ORI 1083
|
||||
#define IDC_HK_DISMOUNT_PLAY_SOUND 1084
|
||||
#define IDC_HOTKEY_ASSIGN 1085
|
||||
#define IDC_HOTKEY_REMOVE 1086
|
||||
#define IDC_HOTKEY_KEY 1087
|
||||
#define IDT_HOTKEY_KEY 1088
|
||||
#define IDC_HOTKEY_LIST 1089
|
||||
#define IDC_RESET_HOTKEYS 1090
|
||||
#define IDT_DISMOUNT_ACTION 1091
|
||||
#define IDT_ASSIGN_HOTKEY 1092
|
||||
#define IDC_HK_MOD_SHIFT 1093
|
||||
#define IDC_HK_MOD_CTRL 1094
|
||||
#define IDC_HK_MOD_ALT 1095
|
||||
#define IDC_HK_MOD_WIN 1096
|
||||
#define IDC_SHOW_PASSWORD 1097
|
||||
#define IDC_LOGO 1098
|
||||
#define IDT_PKCS11_LIB_PATH 1099
|
||||
#define IDC_PKCS11_MODULE 1100
|
||||
#define IDC_SELECT_PKCS11_MODULE 1101
|
||||
#define IDC_AUTO_DETECT_PKCS11_MODULE 1102
|
||||
#define IDC_CLOSE_TOKEN_SESSION_AFTER_MOUNT 1103
|
||||
#define IDT_SECURITY_OPTIONS 1104
|
||||
#define IDC_DISABLE_BOOT_LOADER_OUTPUT 1105
|
||||
#define IDC_ALLOW_ESC_PBA_BYPASS 1106
|
||||
#define IDC_CUSTOM_BOOT_LOADER_MESSAGE 1107
|
||||
#define IDC_BOOT_LOADER_CACHE_PASSWORD 1108
|
||||
#define IDC_MORE_SETTINGS 1109
|
||||
#define IDT_CUSTOM_BOOT_LOADER_MESSAGE 1110
|
||||
#define IDC_CUSTOM_BOOT_LOADER_MESSAGE_HELP 1111
|
||||
#define IDT_BOOT_LOADER_SCREEN_OPTIONS 1112
|
||||
#define IDT_PKCS11_LIB_HELP 1113
|
||||
#define IDT_ACCELERATION_OPTIONS 1114
|
||||
#define IDC_ENABLE_HARDWARE_ENCRYPTION 1115
|
||||
#define IDC_FAVORITE_VOLUMES_LIST 1116
|
||||
#define IDC_FAVORITE_MOUNT_READONLY 1117
|
||||
#define IDC_FAVORITE_MOUNT_REMOVABLE 1118
|
||||
#define IDC_FAVORITE_MOUNT_ON_ARRIVAL 1119
|
||||
#define IDC_FAVORITE_LABEL 1120
|
||||
#define IDT_FAVORITE_LABEL 1121
|
||||
#define IDC_FAVORITE_MOUNT_ON_LOGON 1122
|
||||
#define IDC_FAVORITE_DISABLE_HOTKEY 1123
|
||||
#define IDC_FAVORITE_MOVE_UP 1124
|
||||
#define IDC_FAVORITE_MOVE_DOWN 1125
|
||||
#define IDC_FAVORITE_REMOVE 1126
|
||||
#define IDT_HW_AES_SUPPORTED_BY_CPU 1127
|
||||
#define IDC_FAVORITE_OPEN_EXPLORER_WIN_ON_MOUNT 1128
|
||||
#define IDC_HW_AES_SUPPORTED_BY_CPU 1129
|
||||
#define IDC_LIMIT_ENC_THREAD_POOL 1130
|
||||
#define IDC_ENCRYPTION_FREE_CPU_COUNT 1131
|
||||
#define IDT_PARALLELIZATION_OPTIONS 1132
|
||||
#define IDT_LIMIT_ENC_THREAD_POOL_NOTE 1133
|
||||
#define IDC_FAV_VOL_OPTIONS_GROUP_BOX 1134
|
||||
#define IDC_FAVORITES_HELP_LINK 1135
|
||||
#define IDC_FAV_VOL_OPTIONS_GLOBAL_SETTINGS_BOX 1136
|
||||
#define IDC_PREF_DISMOUNT_SESSION_LOCKED 1137
|
||||
#define IDT_NEW_PKCS5_PRF 1138
|
||||
#define IDC_PKCS5_OLD_PRF_ID 1139
|
||||
#define IDC_TRUECRYPT_MODE 1140
|
||||
#define IDC_PREF_TEMP_CACHE_ON_MULTIPLE_MOUNT 1141
|
||||
#define IDT_OLD_PIM 1142
|
||||
#define IDC_OLD_PIM 1143
|
||||
#define IDC_OLD_PIM_HELP 1144
|
||||
#define IDC_NEW_PIM_ENABLE 1145
|
||||
#define IDC_SHOW_PIM 1146
|
||||
#define IDC_FAVORITE_USE_LABEL_IN_EXPLORER 1147
|
||||
#define IDC_COPY_EXPANDER 1148
|
||||
#define IDT_DRIVER_OPTIONS 1149
|
||||
#define IDC_ENABLE_EXTENDED_IOCTL_SUPPORT 1150
|
||||
#define IDC_DISABLE_EVIL_MAID_ATTACK_DETECTION 1151
|
||||
#define IDC_WIPE_MODE 1152
|
||||
#define IDT_WIPE_MODE 1153
|
||||
#define IDC_PREF_CACHE_PIM 1154
|
||||
#define IDC_BOOT_LOADER_CACHE_PIM 1155
|
||||
#define IDC_SHOW_DISCONNECTED_NETWORK_DRIVES 1156
|
||||
#define IDT_VOLUME_ID 1157
|
||||
#define IDC_FAVORITE_VOLUME_ID 1158
|
||||
#define IDC_FAVORITE_USE_VOLUME_ID 1159
|
||||
#define IDC_DISABLE_BOOT_LOADER_PIM_PROMPT 1160
|
||||
#define IDC_HIDE_WAITING_DIALOG 1161
|
||||
#define IDM_HELP 40001
|
||||
#define IDM_ABOUT 40002
|
||||
#define IDM_UNMOUNT_VOLUME 40003
|
||||
#define IDM_CLEAR_HISTORY 40004
|
||||
#define IDM_BENCHMARK 40005
|
||||
#define IDM_TRAVELER 40006
|
||||
#define IDM_MOUNT_VOLUME_OPTIONS 40007
|
||||
#define IDM_FAQ 40008
|
||||
#define IDM_REFRESH_DRIVE_LETTERS 40009
|
||||
#define IDM_DEFAULT_KEYFILES 40010
|
||||
#define IDM_WEBSITE 40011
|
||||
#define IDM_MOUNTALL 40012
|
||||
#define IDM_UNMOUNTALL 40013
|
||||
#define IDM_MOUNT_VOLUME 40014
|
||||
#define IDM_CHANGE_PASSWORD 40015
|
||||
#define IDM_VOLUME_WIZARD 40016
|
||||
#define IDM_CREATE_VOLUME 40017
|
||||
#define IDM_WIPE_CACHE 40018
|
||||
#define IDM_PREFERENCES 40019
|
||||
#define IDM_LICENSE 40020
|
||||
#define IDM_SELECT_FILE 40021
|
||||
#define IDM_SELECT_DEVICE 40022
|
||||
#define IDM_VOLUME_PROPERTIES 40023
|
||||
#define IDM_LANGUAGE 40024
|
||||
#define IDM_MOUNT_FAVORITE_VOLUMES 40025
|
||||
#define IDM_BACKUP_VOL_HEADER 40026
|
||||
#define IDM_RESTORE_VOL_HEADER 40027
|
||||
#define IDM_HOTKEY_SETTINGS 40028
|
||||
#define IDM_TC_DOWNLOADS 40029
|
||||
#define IDM_NEWS 40030
|
||||
#define IDM_CONTACT 40031
|
||||
#define IDM_VERSION_HISTORY 40032
|
||||
#define IDM_HOMEPAGE 40033
|
||||
#define IDM_TEST_VECTORS 40034
|
||||
#define IDM_ADD_REMOVE_VOL_KEYFILES 40035
|
||||
#define IDM_REMOVE_ALL_KEYFILES_FROM_VOL 40036
|
||||
#define IDM_CHANGE_HEADER_KEY_DERIV_ALGO 40037
|
||||
#define IDM_KEYFILE_GENERATOR 40038
|
||||
#define IDM_ONLINE_TUTORIAL 40039
|
||||
#define IDM_ONLINE_HELP 40040
|
||||
#define IDM_CHANGE_SYS_HEADER_KEY_DERIV_ALGO 40041
|
||||
#define IDM_CHANGE_SYS_PASSWORD 40042
|
||||
#define IDM_CREATE_RESCUE_DISK 40043
|
||||
#define IDM_PERMANENTLY_DECRYPT_SYS 40044
|
||||
#define IDM_VERIFY_RESCUE_DISK 40045
|
||||
#define IDM_SYSTEM_ENCRYPTION_STATUS 40046
|
||||
#define IDM_ENCRYPT_SYSTEM_DEVICE 40047
|
||||
#define IDM_SYSENC_RESUME 40048
|
||||
#define IDM_MOUNT_SYSENC_PART_WITHOUT_PBA 40049
|
||||
#define IDM_CREATE_HIDDEN_OS 40050
|
||||
#define IDM_TOKEN_PREFERENCES 40051
|
||||
#define IDM_CLOSE_ALL_TOKEN_SESSIONS 40052
|
||||
#define IDM_SYS_ENC_SETTINGS 40053
|
||||
#define IDM_SYSENC_SETTINGS 40054
|
||||
#define IDM_RESUME_INTERRUPTED_PROC 40055
|
||||
#define IDM_MANAGE_TOKEN_KEYFILES 40056
|
||||
#define IDM_SYS_FAVORITES_SETTINGS 40057
|
||||
#define IDM_ORGANIZE_FAVORITES 40058
|
||||
#define IDM_ORGANIZE_SYSTEM_FAVORITES 40059
|
||||
#define IDM_ADD_VOLUME_TO_FAVORITES 40060
|
||||
#define IDM_ADD_VOLUME_TO_SYSTEM_FAVORITES 40061
|
||||
#define IDM_PERFORMANCE_SETTINGS 40062
|
||||
#define IDM_ANALYZE_SYSTEM_CRASH 40063
|
||||
#define IDM_DONATE 40064
|
||||
#define IDM_VOLUME_EXPANDER 40065
|
||||
#define IDM_DEFAULT_MOUNT_PARAMETERS 40066
|
||||
#define IDM_DECRYPT_NONSYS_VOL 40067
|
||||
#define IDM_VERIFY_RESCUE_DISK_ISO 40068
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NO_MFC 1
|
||||
#define _APS_NEXT_RESOURCE_VALUE 119
|
||||
#define _APS_NEXT_COMMAND_VALUE 40069
|
||||
#define _APS_NEXT_CONTROL_VALUE 1162
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user