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