VC++中鍵盤鉤子和鼠標鉤子

該例的鉤子都是寫在一個DLL中的,和應用程序獨立開來的全局鉤子。安全 通常狀況下,若是要截獲鼠標和普通按鍵,剛能夠用下邊的方法ide 鼠標:測試 LRESULT CALLBACK MouseProc( int nCode, // hook code WPARAM wParam, // message identifier LPARAM lParam // mouse
相關文章
相關標籤/搜索