/****************************************/ /* This function queries the current */ /* or system keyboard layer. */ /****************************************/ #define INCL_PMBIDI #include <os2.h> HWND hwnd; /* Window handle */ ULONG ulLayerID; /* Return value */ ulLayerID = WinQueryKbdLayer( hwnd );