/****************************************/ /* This function sets the keyboard */ /* layer. */ /****************************************/ #define INCL_PMBIDI #include <os2.h> HWND hwnd; /* Window handle */ ULONG ulLayerID; /* Specifies the keyboard layer */ ULONG flFlags; /* impact flages */ BOOL fsuccess; /* Return value */ fsuccess = WinSetKbdLayer ( hwnd, ulLayerID, flFlags);