📄 zthookapi.h
字号:
// ztHookApi.h : main header file for the ZTHOOKAPI DLL
//
#if !defined(AFX_ZTHOOKAPI_H__6EE79B9A_1239_4405_89B6_3125D35FEAD9__INCLUDED_)
#define AFX_ZTHOOKAPI_H__6EE79B9A_1239_4405_89B6_3125D35FEAD9__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
/////////////////////////////////////////////////////////////////////////////
// CZtHookApiApp
// See ztHookApi.cpp for the implementation of this class
//
//和调用程序之间交互
extern "C" void __stdcall SetCursorData(bool bHook,LPPOINT lpPoint);
//和调用程序之间交互
extern "C" void __stdcall SetKeyData(bool bHook,int nVkey);
//自已的获得当前鼠标涵数
extern "C" BOOL __stdcall MyGetCursorPos(LPPOINT lpPoint);
//自已的获得健盘状态涵数
extern "C" DWORD __stdcall MyGetKeyState(int nVirtKey);
//安装勾子
extern "C" bool __stdcall InitHook(bool bInit,DWORD hookThreadID,HANDLE hHookProcess);
class CZtHookApiApp : public CWinApp
{
public:
CZtHookApiApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZtHookApiApp)
//}}AFX_VIRTUAL
//{{AFX_MSG(CZtHookApiApp)
// 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()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZTHOOKAPI_H__6EE79B9A_1239_4405_89B6_3125D35FEAD9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -