summaryrefslogtreecommitdiff
path: root/Mount/MainCom.h
diff options
context:
space:
mode:
Diffstat (limited to 'Mount/MainCom.h')
-rw-r--r--Mount/MainCom.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/Mount/MainCom.h b/Mount/MainCom.h
new file mode 100644
index 0000000..515eee0
--- /dev/null
+++ b/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