VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/MainCom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mount/MainCom.h')
-rw-r--r--src/Mount/MainCom.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Mount/MainCom.h b/src/Mount/MainCom.h
new file mode 100644
index 00000000..44d9db45
--- /dev/null
+++ b/src/Mount/MainCom.h
@@ -0,0 +1,32 @@
+/*
+ Copyright (c) 2007-2010 TrueCrypt Developers Association. All rights reserved.
+
+ Governed by the TrueCrypt License 3.0 the full text of which is contained in
+ the file License.txt included in TrueCrypt 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 ();
+void UacAnalyzeKernelMiniDump (HWND hwndDlg);
+int UacBackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, char *lpszVolume);
+int UacRestoreVolumeHeader (HWND hwndDlg, char *lpszVolume);
+int UacChangePwd (char *lpszVolume, Password *oldPassword, Password *newPassword, int pkcs5, HWND hwndDlg);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // TC_HEADER_MAIN_COM