Skip to content

katahiromz/GlobalHookSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/////////////////////////////////////////////////////
            Win32API Global Hook Example 
            by Katayama Hirofumi MZ
/////////////////////////////////////////////////////
// What's this?

Hooking by the SetWindowsHookEx API function enables us 
to hook the generated window messages, keyboard/mouse 
events, shell notifications etc., globally or locally.
It's a powerful feature of Windows.

This software hooks the keyboard events.
It works on MSVC and g++.

/////////////////////////////////////////////////////
// Katayama Hirofumi MZ (katahiromz) [A.N.T.]
// Homepage     http://katahiromz.web.fc2.com/
// BBS          http://katahiromz.bbs.fc2.com/
// E-Mail       katayama.hirofumi.mz@gmail.com
/////////////////////////////////////////////////////