This function is specific to OS/2 Version 2.1 or higher.
This function is used in conjunction with the MsgInputHook hook to input simulated events into the Presentation Manager input processing system.
#define INCL_WININPUT /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* The application anchor block. */ BOOL rc; /* Return code. */ rc = WinCheckInput(hab);