|
|
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 ! 6: the original source code (contained in this file) and all other portions of ! 7: this file are Copyright (c) 2003-2008 TrueCrypt Foundation and are governed ! 8: by the TrueCrypt License 2.4 the full text of which is contained in the ! 9: file License.txt included in TrueCrypt binary and source code distribution 1.1.1.10 root 10: 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.6 root 24: #define FILE_FAVORITE_VOLUMES "Favorite Volumes.xml" 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: 46: extern BOOL bPlaySoundOnHotkeyMountDismount; 47: extern BOOL bDisplayMsgBoxOnHotkeyDismount; 1.1 root 48: 49: void localcleanup ( void ); 50: void EndMainDlg ( HWND hwndDlg ); 51: void EnableDisableButtons ( HWND hwndDlg ); 1.1.1.6 root 52: BOOL VolumeSelected (HWND hwndDlg ); 1.1 root 53: void LoadSettings ( HWND hwndDlg ); 54: void SaveSettings ( HWND hwndDlg ); 55: BOOL SelectItem ( HWND hTree , char nLetter ); 56: void LoadDriveLetters ( HWND hTree, int drive ); 1.1.1.11 root 57: BOOL CALLBACK PasswordChangeDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 58: BOOL CALLBACK PasswordDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 59: BOOL CALLBACK MountOptionsDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); 1.1 root 60: void BuildTree ( HWND hTree ); 61: LPARAM GetSelectedLong ( HWND hTree ); 62: LPARAM GetItemLong ( HWND hTree, int itemNo ); 1.1.1.11 root 63: BOOL CALLBACK CommandHelpDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 1.1 root 64: BOOL CALLBACK MainDialogProc ( HWND hwndDlg , UINT uMsg , WPARAM wParam , LPARAM lParam ); 65: void ExtractCommandLine ( HWND hwndDlg , char *lpszCommandLine ); 66: int WINAPI WINMAIN ( HINSTANCE hInstance , HINSTANCE hPrevInstance , char *lpszCommandLine , int nCmdShow ); 67: void WipeCache (HWND hwndDlg); 68: void OpenVolumeExplorerWindow (int driveNo); 1.1.1.6 root 69: BOOL TaskBarIconAdd (HWND hwnd); 70: BOOL TaskBarIconRemove (HWND hwnd); 71: void DismountIdleVolumes (); 72: BOOL MountFavoriteVolumes (); 73: void SaveFavoriteVolumes (); 74: static void SaveDefaultKeyFilesParam (void); 75: static BOOL Dismount (HWND hwndDlg, int nDosDriveNo); 76: static BOOL DismountAll (HWND hwndDlg, BOOL forceUnmount, BOOL interact, int dismountMaxRetries, int dismountAutoRetryDelay); 77: static void KeyfileDefaultsDlg (HWND hwndDlg); 78: static void HandleHotKey (HWND hwndDlg, WPARAM wParam); 79: static BOOL CheckMountList (); 1.1.1.10 root 80: int GetCipherBlockSizeByDriveNo (int nDosDriveNo); 1.1.1.12! root 81: int GetModeOfOperationByDriveNo (int nDosDriveNo); ! 82: void ChangeMainWindowVisibility (); ! 83: void LaunchVolCreationWizard (HWND hwndDlg); ! 84: BOOL WholeSysDriveEncryption (BOOL bSilent); ! 85: void CreateRescueDisk (void); ! 86: ! 87: #ifdef __cplusplus ! 88: } ! 89: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.