|
|
1.1 root 1: /*
1.1.1.3 root 2: Copyright (c) 2007-2008 TrueCrypt Foundation. All rights reserved.
1.1 root 3:
1.1.1.6 ! root 4: Governed by the TrueCrypt License 2.7 the full text of which is contained
1.1 root 5: in the file License.txt included in TrueCrypt binary and source code
6: distribution packages.
7: */
8:
9: import "wtypes.idl";
10: import "..\Common\Password.h";
11:
12: [
13: uuid(1770F56C-7881-4591-A179-79B8001C7D42),
1.1.1.3 root 14: helpstring("TrueCrypt Main UAC Support Library"),
1.1.1.5 root 15: version(2.2)
1.1 root 16: ]
1.1.1.3 root 17: library TrueCryptMainCom
1.1 root 18: {
19: [
20: uuid(252C9DE6-D4B9-4A59-8A10-9CA73217B3D0),
21: object,
22: oleautomation,
1.1.1.3 root 23: helpstring("TrueCrypt Main UAC Support Interface")
1.1 root 24: ]
1.1.1.3 root 25: interface ITrueCryptMainCom : IUnknown
1.1 root 26: {
27: int BackupVolumeHeader (LONG_PTR hwndDlg, BOOL bRequireConfirmation, BSTR lpszVolume);
1.1.1.3 root 28: DWORD CallDriver (DWORD ioctl, BSTR input, BSTR *output);
1.1 root 29: int ChangePassword (BSTR volumePath, Password *oldPassword, Password *newPassword, int pkcs5, LONG_PTR hWnd);
1.1.1.5 root 30: BOOL IsPagingFileActive (BOOL checkNonWindowsPartitionsOnly);
1.1.1.3 root 31: DWORD ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone);
1.1.1.4 root 32: DWORD RegisterFilterDriver (BOOL registerDriver, BOOL volumeClass);
1.1.1.3 root 33: int RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume);
34: DWORD SetDriverServiceStartType (DWORD startType);
1.1.1.4 root 35: DWORD WriteLocalMachineRegistryDwordValue (BSTR keyPath, BSTR valueName, DWORD value);
1.1 root 36: };
37:
38: [
39: uuid(CECBC0EE-78D9-41E6-BCF1-BC222BB224BA),
1.1.1.3 root 40: helpstring("TrueCrypt Main UAC Support Coclass")
1.1 root 41: ]
1.1.1.3 root 42: coclass TrueCryptMainCom
1.1 root 43: {
1.1.1.3 root 44: [default] interface ITrueCryptMainCom;
1.1 root 45: }
1.1.1.3 root 46: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.