mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
15 lines
396 B
C
15 lines
396 B
C
#ifndef __HOTKEYS_H_INCLUDED__
|
|
#define __HOTKEYS_H_INCLUDED__
|
|
|
|
#include <windows.h>
|
|
|
|
// Message if hotkey completed; WPARAM - hotkey number
|
|
#define GD_HOTKEY_MESSAGE ( WM_APP + 1 )
|
|
|
|
typedef BOOL ( *setHookProc )( HWND hwnd );
|
|
typedef void ( *removeHookProc )();
|
|
typedef BOOL ( *setHotkeysProc )( DWORD, DWORD, DWORD, int );
|
|
typedef void ( *clearHotkeysProc )();
|
|
|
|
#endif // __HOTKEYS_H_INCLUDED__
|