|
|
1.1 ! root 1: /* ! 2: Copyright (c) 2004-2005 TrueCrypt Foundation. All rights reserved. ! 3: ! 4: Covered by TrueCrypt License 2.0 the full text of which is contained in the file ! 5: License.txt included in TrueCrypt binary and source code distribution archives. ! 6: */ ! 7: ! 8: enum ! 9: { ! 10: /* When adding/removing hot keys, update the following functions in Mount.c: ! 11: DisplayHotkeyList() ! 12: SaveSettings() ! 13: LoadSettings() ! 14: HandleHotKey() */ ! 15: ! 16: HK_AUTOMOUNT_DEVICES = 0, ! 17: HK_DISMOUNT_ALL, ! 18: HK_FORCE_DISMOUNT_ALL_AND_WIPE, ! 19: HK_FORCE_DISMOUNT_ALL_AND_WIPE_AND_EXIT, ! 20: HK_MOUNT_FAVORITE_VOLUMES, ! 21: HK_SHOW_HIDE_MAIN_WINDOW, ! 22: NBR_HOTKEYS ! 23: }; ! 24: ! 25: typedef struct ! 26: { ! 27: UINT vKeyCode; ! 28: UINT vKeyModifiers; ! 29: } TCHOTKEY; ! 30: ! 31: extern TCHOTKEY Hotkeys [NBR_HOTKEYS]; ! 32: ! 33: BOOL WINAPI HotkeysDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); ! 34: BOOL GetKeyName (UINT vKey, wchar_t *keyName); ! 35: void UnregisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]); ! 36: void RegisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]); ! 37:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.