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