-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.h
More file actions
48 lines (37 loc) · 831 Bytes
/
main.h
File metadata and controls
48 lines (37 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include <phdk.h>
#define EMERGENCY_DESKTOP L"Emergency"
#define DESKTOP_SETTING L"TT.Emergency.Desktop"
BOOL InEmergency;
LRESULT CALLBACK LowLevelKeyboardProc(
_In_ int nCode,
_In_ WPARAM wParam,
_In_ LPARAM lParam
);
VOID NTAPI UnloadCallback(
__in_opt PVOID Parameter,
__in_opt PVOID Context
);
VOID MsgPumpForHook(
HINSTANCE *hLib
);
INT_PTR CALLBACK OptionsDlgProc(
_In_ HWND hwndDlg,
_In_ UINT uMsg,
_In_ WPARAM wParam,
_In_ LPARAM lParam
);
VOID ShowOptionsCallback(
__in_opt PVOID Parameter,
__in_opt PVOID Context
);
PPH_PLUGIN PluginInstance;
PH_CALLBACK_REGISTRATION PluginUnloadCallbackRegistration;
PH_CALLBACK_REGISTRATION ShowOptionsCallbackRegistration;
HDESK Desktop;
HHOOK hHook;
HANDLE hHookMutex;
BOOL CtrlEnabled;
BOOL ShiftEnabled;
BOOL AltEnabled;
BOOL Switching;