|
|
1.1.1.4 root 1: /*
1.1.1.6 root 2: Copyright (c) 2005 TrueCrypt Foundation. All rights reserved.
1.1 root 3:
1.1.1.7 ! root 4: Governed by the TrueCrypt License 2.5 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:
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,
22: HK_DISMOUNT_ALL,
23: HK_FORCE_DISMOUNT_ALL_AND_WIPE,
24: HK_FORCE_DISMOUNT_ALL_AND_WIPE_AND_EXIT,
25: HK_MOUNT_FAVORITE_VOLUMES,
26: HK_SHOW_HIDE_MAIN_WINDOW,
1.1.1.4 root 27: HK_WIPE_CACHE,
1.1 root 28: NBR_HOTKEYS
29: };
30:
31: typedef struct
32: {
33: UINT vKeyCode;
34: UINT vKeyModifiers;
35: } TCHOTKEY;
36:
37: extern TCHOTKEY Hotkeys [NBR_HOTKEYS];
38:
1.1.1.5 root 39: BOOL CALLBACK HotkeysDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
1.1 root 40: BOOL GetKeyName (UINT vKey, wchar_t *keyName);
41: void UnregisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
1.1.1.4 root 42: BOOL RegisterAllHotkeys (HWND hwndDlg, TCHOTKEY hotkeys[]);
1.1 root 43:
1.1.1.6 root 44: #ifdef __cplusplus
45: }
46: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.