Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setwindowhook</b> install a filter function in a chain http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetWindowHook        Install A Filter Function In A Chain

FARPROC SetWindowHook(nFilterType, lpFilterFunc)
int nFilterType;
FARPROC lpFilterFunc;  /* As returned by MakeProcInstance() */

                        nFilterType
                |--------------------|
                | WH_CALLWNDPROC     |
                | WH_GETMESSAGE      |
                | WH_JOURNALPLAYBACK |
                | WH_JOURNALRECORD   |
                | WH_KEYBOARD        |
                | WH_MSGFILTER       |
                | WH_SYSMSGFILTER    |
                +--------------------+

Note:       Except WH_MSGFILTER hook functions must be in libraries.

See Also: MSG

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson