資源簡介
c 鍵盤鉤子
代碼片段和文件信息
#include?“detail.h“
#include?“kbdmonitor.h“
#include?“time.h“
#include?“imm.h“
#pragma?data_seg(“.inidata“)
static?HINSTANCE?hdll_lib=GetModuleHandle(“KbdMonitor“);
static?HHOOK?KBhookEnKBhookCn;?
#pragma?data_seg()?
#pragma?comment(lib“imm32.lib“)?
//----------------------------------------------------------------------------
#define?UPWORD?1???????//大寫狀態(tài)標記
#define?LOWWORD?0??????//小寫狀態(tài)標記
#define?ShiftDown?1????//Shift鍵按下標記
#define?ShiftUp?0??????//Shift鍵彈起標記
//-----------------------------------------------------------------------------
char?KeyName[][20]={???//不可顯示鍵的鍵名列表,總共34個
“Tab““CapsLock““Enter““Shift““Ctrl““Alt““Backspace““Ins““Home““End““Pause““Break““PgUp““PgDn““Delete““NumLock““Left““Right““Down““Up““Left?Windows““Esc““F1““F2““F
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????260??2009-09-15?09:23??c++鍵盤鉤子\detail.h
?????文件???????8529??2009-09-19?17:34??c++鍵盤鉤子\FuncDetail.cpp
?????文件????????464??2009-09-19?20:53??c++鍵盤鉤子\KbdMonitor.cpp
?????文件???????4300??2009-09-05?15:51??c++鍵盤鉤子\KbdMonitor.dsp
?????文件????????545??2009-09-04?16:31??c++鍵盤鉤子\KbdMonitor.dsw
?????文件????????581??2009-09-04?16:45??c++鍵盤鉤子\kbdmonitor.h
?????文件??????74752??2009-09-21?10:08??c++鍵盤鉤子\KbdMonitor.ncb
?????文件??????49664??2009-09-21?10:08??c++鍵盤鉤子\KbdMonitor.opt
?????文件???????1620??2009-09-19?17:27??c++鍵盤鉤子\KbdMonitor.plg
?????目錄??????????0??2015-09-01?15:09??c++鍵盤鉤子
-----------?---------??----------?-----??----
???????????????140715????????????????????10
評論
共有 條評論