Annotation of truecrypt/mount/mount.h, revision 1.1.1.10

1.1.1.10! root        1: /*
        !             2:  Legal Notice: The source code contained in this file has been derived from
        !             3:  the source code of Encryption for the Masses 2.02a, which is Copyright (c)
        !             4:  Paul Le Roux and which is covered by the 'License Agreement for Encryption
        !             5:  for the Masses'. Modifications and additions to that source code contained
        !             6:  in this file are Copyright (c) TrueCrypt Foundation and are covered by the
        !             7:  TrueCrypt License 2.2 the full text of which is contained in the file
        !             8:  License.txt included in TrueCrypt binary and source code distribution
        !             9:  packages. */
1.1       root       10: 
1.1.1.6   root       11: #define VMOUNTED                                       1
                     12: #define VFREE                                          0
                     13: #define MAIN_TIMER_INTERVAL    1000
                     14: #define FILE_FAVORITE_VOLUMES          "Favorite Volumes.xml"
                     15: 
1.1.1.10! root       16: #define APPMSG_ENABLE_DISABLE  1
        !            17: #define APPMSG_SHOW_WINDOW             2
        !            18: #define APPMSG_TASKBAR_ICON            3
        !            19: #define APPMSG_CLOSE_BKG_TASK  4
1.1.1.7   root       20: 
                     21: #define WM_COPY_SET_VOLUME_NAME                "VNAM"
                     22: 
1.1.1.6   root       23: /* Password Change dialog modes */
                     24: enum
                     25: {
                     26:        PCDM_CHANGE_PASSWORD = 0,
                     27:        PCDM_CHANGE_PKCS5_PRF,
                     28:        PCDM_ADD_REMOVE_VOL_KEYFILES,
                     29:        PCDM_REMOVE_ALL_KEYFILES_FROM_VOL
                     30: };
                     31: 
                     32: typedef struct
                     33: {
                     34:        BOOL bHidVolDamagePrevReported[26];
                     35: } VOLUME_NOTIFICATIONS_LIST;
                     36: 
                     37: extern BOOL bPlaySoundOnHotkeyMountDismount;
                     38: extern BOOL bDisplayMsgBoxOnHotkeyDismount;
1.1       root       39: 
                     40: void localcleanup ( void );
                     41: void EndMainDlg ( HWND hwndDlg );
                     42: void EnableDisableButtons ( HWND hwndDlg );
1.1.1.6   root       43: BOOL VolumeSelected (HWND hwndDlg );
1.1       root       44: void LoadSettings ( HWND hwndDlg );
                     45: void SaveSettings ( HWND hwndDlg );
                     46: BOOL SelectItem ( HWND hTree , char nLetter );
                     47: void LoadDriveLetters ( HWND hTree, int drive );
                     48: BOOL WINAPI PasswordChangeDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
                     49: BOOL WINAPI PasswordDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
1.1.1.6   root       50: BOOL WINAPI MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
1.1       root       51: void BuildTree ( HWND hTree );
                     52: LPARAM GetSelectedLong ( HWND hTree );
                     53: LPARAM GetItemLong ( HWND hTree, int itemNo );
                     54: BOOL WINAPI CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
                     55: BOOL CALLBACK MainDialogProc ( HWND hwndDlg , UINT uMsg , WPARAM wParam , LPARAM lParam );
                     56: void ExtractCommandLine ( HWND hwndDlg , char *lpszCommandLine );
                     57: int WINAPI WINMAIN ( HINSTANCE hInstance , HINSTANCE hPrevInstance , char *lpszCommandLine , int nCmdShow );
                     58: void WipeCache (HWND hwndDlg);
                     59: void OpenVolumeExplorerWindow (int driveNo);
1.1.1.6   root       60: BOOL TaskBarIconAdd (HWND hwnd);
                     61: BOOL TaskBarIconRemove (HWND hwnd);
                     62: void DismountIdleVolumes ();
                     63: BOOL MountFavoriteVolumes ();
                     64: void SaveFavoriteVolumes ();
                     65: static void SaveDefaultKeyFilesParam (void);
                     66: static BOOL Dismount (HWND hwndDlg, int nDosDriveNo);
                     67: static BOOL DismountAll (HWND hwndDlg, BOOL forceUnmount, BOOL interact, int dismountMaxRetries, int dismountAutoRetryDelay);
                     68: static void KeyfileDefaultsDlg (HWND hwndDlg);
                     69: static void HandleHotKey (HWND hwndDlg, WPARAM wParam);
                     70: static BOOL CheckMountList ();
1.1.1.10! root       71: int GetCipherBlockSizeByDriveNo (int nDosDriveNo);

unix.superglobalmegacorp.com

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