MsgFilterHook - Syntax

This hook filters messages from inside a mode loop.

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

HAB      hab;    /*  Anchor-block handle. */
PQMSG    pQmsg;  /*  A queue message data structure. */
ULONG    msgf;   /*  Context in which the hook has been called. */
BOOL     rc;     /*  Processed indicator. */

rc = MsgFilterHook(hab, pQmsg, msgf);


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