InputHook - Syntax

This hook filters messages from the input queue.

#define INCL_WINHOOKS /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HAB      hab;    /*  Anchor-block handle. */
PQMSG    pQmsg;  /*  A PQMSG data structure. */
ULONG    fs;     /*  Message removal options. */
BOOL     rc;     /*  Processed indicator. */

rc = InputHook(hab, pQmsg, fs);


[Back: InputHook]
[Next: InputHook Parameter - hab]