This example uses WinEnablePhysInput to enable queuing of physical input (pointing device and keyboard).

#define INCL_WININPUT           /* Window Input Functions       */
#include <os2.h>

BOOL  fOldInputState;   /* previous queuing state               */
BOOL  fNewInputState=TRUE;/* new queuing state                  */

/* enable queuing of physical input */
fOldInputState = WinEnablePhysInput(HWND_DESKTOP, fNewInputState);


[Back] [Next]