📄 keybdhook_ce.h
字号:
// KeybdHook_CE.h : main header file for the KEYBDHOOK_CE DLL
//
#if !defined(AFX_KEYBDHOOK_CE_H__892ADBA6_91D5_43A4_A1EE_23AD6A1BCD3D__INCLUDED_)
#define AFX_KEYBDHOOK_CE_H__892ADBA6_91D5_43A4_A1EE_23AD6A1BCD3D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#ifdef KEYBOARDHOOK_EXPORTS
#define KEYBOARDHOOK_API __declspec(dllexport)
#else
#define KEYBOARDHOOK_API __declspec(dllimport)
#endif
/////////////////////////////////////////////////////////////////////////////
// CKeybdHook_CEApp
// See KeybdHook_CE.cpp for the implementation of this class
//
class CKeybdHook_CEApp : public CWinApp
{
public:
CKeybdHook_CEApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CKeybdHook_CEApp)
//}}AFX_VIRTUAL
//{{AFX_MSG(CKeybdHook_CEApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//extern KEYBOARDHOOK_API int nKeyBoardHook;
//KEYBOARDHOOK_API int fnKeyBoardHook(void);
extern "C" KEYBOARDHOOK_API void InstallHook(void);
extern "C" KEYBOARDHOOK_API void UnHook(void);
extern "C" KEYBOARDHOOK_API LRESULT CALLBACK KeyBoardProc(int nCode, WPARAM wParam, LPARAM lParam);
extern "C" KEYBOARDHOOK_API void InstallHook2(void);
extern "C" KEYBOARDHOOK_API void UnHook2(void);
extern "C" KEYBOARDHOOK_API LRESULT CALLBACK KeyBoardProc2(int nCode, WPARAM wParam, LPARAM lParam);
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_KEYBDHOOK_CE_H__892ADBA6_91D5_43A4_A1EE_23AD6A1BCD3D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -