Annotation of truecrypt/mount/maincom.idl, revision 1.1.1.3

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.3 ! root        4:  Governed by the TrueCrypt License 2.4 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"),
        !            15:        version(2.0)
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.3 ! root       30:                DWORD ReadWriteFile (BOOL write, BOOL device, BSTR filePath, BSTR *bufferBstr, unsigned __int64 offset, unsigned __int32 size, DWORD *sizeDone);
        !            31:                DWORD RegisterFilterDriver (BOOL registerDriver);
        !            32:                int RestoreVolumeHeader (LONG_PTR hwndDlg, BSTR lpszVolume);
        !            33:                DWORD SetDriverServiceStartType (DWORD startType);
1.1       root       34:        };
                     35: 
                     36:        [
                     37:                uuid(CECBC0EE-78D9-41E6-BCF1-BC222BB224BA),
1.1.1.3 ! root       38:                helpstring("TrueCrypt Main UAC Support Coclass")
1.1       root       39:        ]
1.1.1.3 ! root       40:        coclass TrueCryptMainCom
1.1       root       41:        {
1.1.1.3 ! root       42:                [default] interface ITrueCryptMainCom;
1.1       root       43:        }
1.1.1.3 ! root       44: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.