hookkey.h

来自「AVI这个软件是用VC编写的」· C头文件 代码 · 共 33 行

H
33
字号
#ifndef _DEFINED_44E531B1_14D3_11d5_A025_006067718D00
#define _DEFINED_44E531B1_14D3_11d5_A025_006067718D00
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#ifdef _COMPILING_44E531B1_14D3_11d5_A025_006067718D00
#define LIBSPEC __declspec(dllexport)
#else
#define LIBSPEC __declspec(dllimport)
#endif // _COMPILING_44E531B1_14D3_11d5_A025_006067718D00
   LIBSPEC BOOL InstallMyKeyHook(HWND hWnd, UINT msg);
   LIBSPEC BOOL UninstallMyKeyHook(HWND hWnd);
#undef LIBSPEC
#ifdef __cplusplus
}
#endif // __cplusplus


#define WM_USER_KEYSTART_MSG "WM_USER_KEYSTART_MSG"


// These declarations are because the latest SDK isn't installed...
#ifndef GET_X_LPARAM
#define GET_X_LPARAM(p) ((int)(short)LOWORD(p))
#define GET_Y_LPARAM(p) ((int)(short)HIWORD(p))
#endif

#endif // _DEFINED_44E531B1_14D3_11d5_A025_006067718D00

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?