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

1.1.1.10  root        1: /*
1.1.1.12  root        2:  Legal Notice: Some portions of the source code contained in this file were
                      3:  derived from the source code of Encryption for the Masses 2.02a, which is
                      4:  Copyright (c) 1998-2000 Paul Le Roux and which is governed by the 'License
                      5:  Agreement for Encryption for the Masses'. Modifications and additions to
1.1.1.19! root        6:  the original source code (contained in this file) and all other portions
        !             7:  of this file are Copyright (c) 2003-2009 TrueCrypt Developers Association
        !             8:  and are governed by the TrueCrypt License 2.8 the full text of which is
        !             9:  contained in the file License.txt included in TrueCrypt binary and source
        !            10:  code distribution packages. */
1.1       root       11: 
1.1.1.12  root       12: #ifdef __cplusplus
                     13: extern "C" {
                     14: #endif
                     15: 
                     16: enum mount_list_item_types
                     17: {
                     18:        TC_MLIST_ITEM_FREE = 0,
                     19:        TC_MLIST_ITEM_NONSYS_VOL,
                     20:        TC_MLIST_ITEM_SYS_PARTITION,
                     21:        TC_MLIST_ITEM_SYS_DRIVE
                     22: };
                     23: 
1.1.1.18  root       24: #define TC_MAIN_WINDOW_FLAG_ADMIN_PRIVILEGES   0x1
                     25: 
1.1.1.12  root       26: #define TRAYICON_MENU_DRIVE_OFFSET     9000
1.1.1.7   root       27: 
                     28: #define WM_COPY_SET_VOLUME_NAME                "VNAM"
                     29: 
1.1.1.12  root       30: #define ENC_SYSDRIVE_PSEUDO_DRIVE_LETTER       ('A' - 1)
                     31: 
1.1.1.6   root       32: /* Password Change dialog modes */
                     33: enum
                     34: {
                     35:        PCDM_CHANGE_PASSWORD = 0,
                     36:        PCDM_CHANGE_PKCS5_PRF,
                     37:        PCDM_ADD_REMOVE_VOL_KEYFILES,
                     38:        PCDM_REMOVE_ALL_KEYFILES_FROM_VOL
                     39: };
                     40: 
                     41: typedef struct
                     42: {
                     43:        BOOL bHidVolDamagePrevReported[26];
                     44: } VOLUME_NOTIFICATIONS_LIST;
                     45: 
1.1.1.15  root       46: 
1.1.1.14  root       47: extern VOLUME_NOTIFICATIONS_LIST VolumeNotificationsList;
                     48: 
1.1.1.6   root       49: extern BOOL bPlaySoundOnHotkeyMountDismount;
                     50: extern BOOL bDisplayMsgBoxOnHotkeyDismount;
1.1       root       51: 
1.1.1.18  root       52: static void localcleanup ( void );
1.1       root       53: void EndMainDlg ( HWND hwndDlg );
                     54: void EnableDisableButtons ( HWND hwndDlg );
1.1.1.6   root       55: BOOL VolumeSelected (HWND hwndDlg );
1.1       root       56: void LoadSettings ( HWND hwndDlg );
                     57: void SaveSettings ( HWND hwndDlg );
                     58: BOOL SelectItem ( HWND hTree , char nLetter );
                     59: void LoadDriveLetters ( HWND hTree, int drive );
1.1.1.11  root       60: BOOL CALLBACK PasswordChangeDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
                     61: BOOL CALLBACK PasswordDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
                     62: BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
1.1       root       63: void BuildTree ( HWND hTree );
                     64: LPARAM GetSelectedLong ( HWND hTree );
                     65: LPARAM GetItemLong ( HWND hTree, int itemNo );
1.1.1.11  root       66: BOOL CALLBACK CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
1.1       root       67: BOOL CALLBACK MainDialogProc ( HWND hwndDlg , UINT uMsg , WPARAM wParam , LPARAM lParam );
                     68: void ExtractCommandLine ( HWND hwndDlg , char *lpszCommandLine );
1.1.1.18  root       69: static void WipeCache (HWND hwndDlg, BOOL silent);
1.1       root       70: void OpenVolumeExplorerWindow (int driveNo);
1.1.1.6   root       71: BOOL TaskBarIconAdd (HWND hwnd);
                     72: BOOL TaskBarIconRemove (HWND hwnd);
                     73: void DismountIdleVolumes ();
1.1.1.18  root       74: BOOL MountFavoriteVolumes (BOOL systemFavorites);
                     75: void SaveFavoriteVolumes (BOOL systemFavorites);
1.1.1.6   root       76: static void SaveDefaultKeyFilesParam (void);
                     77: static BOOL Dismount (HWND hwndDlg, int nDosDriveNo);
                     78: static BOOL DismountAll (HWND hwndDlg, BOOL forceUnmount, BOOL interact, int dismountMaxRetries, int dismountAutoRetryDelay);
                     79: static void KeyfileDefaultsDlg (HWND hwndDlg);
                     80: static void HandleHotKey (HWND hwndDlg, WPARAM wParam);
                     81: static BOOL CheckMountList ();
1.1.1.10  root       82: int GetCipherBlockSizeByDriveNo (int nDosDriveNo);
1.1.1.12  root       83: int GetModeOfOperationByDriveNo (int nDosDriveNo);
                     84: void ChangeMainWindowVisibility ();
                     85: void LaunchVolCreationWizard (HWND hwndDlg);
                     86: BOOL WholeSysDriveEncryption (BOOL bSilent);
1.1.1.15  root       87: BOOL CheckSysEncMountWithoutPBA (const char *devicePath, BOOL quiet);
1.1.1.13  root       88: BOOL TCBootLoaderOnInactiveSysEncDrive (void);
1.1.1.12  root       89: void CreateRescueDisk (void);
1.1.1.14  root       90: int BackupVolumeHeader (HWND hwndDlg, BOOL bRequireConfirmation, char *lpszVolume);
                     91: int RestoreVolumeHeader (HWND hwndDlg, char *lpszVolume);
1.1.1.15  root       92: void SecurityTokenPreferencesDialog (HWND hwndDlg);
                     93: static BOOL CALLBACK BootLoaderPreferencesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
1.1.1.18  root       94: static BOOL CALLBACK SystemFavoritesSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
1.1.1.15  root       95: void MountSelectedVolume (HWND hwndDlg, BOOL mountWithOptions);
1.1.1.18  root       96: uint32 ReadDriverConfigurationFlags ();
                     97: void SetDriverConfigurationFlag (uint32 flag, BOOL state);
1.1.1.12  root       98: 
                     99: #ifdef __cplusplus
                    100: }
1.1.1.15  root      101: 
1.1.1.12  root      102: #endif

unix.superglobalmegacorp.com

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