Ignore:
Timestamp:
Oct 9, 2001, 7:18:05 AM (24 years ago)
Author:
phaller
Message:

enabled low-level keyboard hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsg.cpp

    r6941 r6972  
    1 /* $Id: oslibmsg.cpp,v 1.44 2001-10-03 18:37:51 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.45 2001-10-09 05:18:02 phaller Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    284284  memcpy(&teb->o.odin.os2msg, &os2msg, sizeof(QMSG));
    285285  memcpy(&teb->o.odin.winmsg, pMsg, sizeof(MSG));
    286 
     286 
     287  // send keyboard messages to the registered hooks
    287288  if(pMsg->message <= WINWM_KEYLAST && pMsg->message >= WINWM_KEYDOWN)
    288289  {
    289         if(ProcessKbdHook(pMsg, TRUE))
    290                 goto continuegetmsg;
     290//    if(ProcessKbdHookLL(pMsg, TRUE))
     291//      goto continuegetmsg;
     292   
     293    // @@@PH
     294    // only supposed to be called upon WM_KEYDOWN
     295    // and WM_KEYUP according to docs.
     296    if(ProcessKbdHook(pMsg, TRUE))
     297      goto continuegetmsg;
    291298  }
    292299  return rc;
     
    380387  }
    381388
     389  // send keyboard messages to the registered hooks
    382390  if(pMsg->message <= WINWM_KEYLAST && pMsg->message >= WINWM_KEYDOWN)
    383391  {
    384         if(ProcessKbdHook(pMsg, fRemove))
    385                 goto continuepeekmsg;
     392//    if(ProcessKbdHookLL(pMsg, fRemove))
     393//      goto continuepeekmsg;
     394
     395    // @@@PH
     396    // only supposed to be called upon WM_KEYDOWN
     397    // and WM_KEYUP according to docs.
     398    if(ProcessKbdHook(pMsg, fRemove))
     399      goto continuepeekmsg;
    386400  }
    387401
Note: See TracChangeset for help on using the changeset viewer.