Ignore:
Timestamp:
Feb 29, 2000, 8:16:12 PM (25 years ago)
Author:
sandervl
Message:

kdb hook change

File:
1 edited

Legend:

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

    r2804 r2948  
    1 /* $Id: oslibmsg.cpp,v 1.28 2000-02-16 14:34:26 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.29 2000-02-29 19:16:11 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    3232#include "pmwindow.h"
    3333#include "oslibwin.h"
     34#include <win\hook.h>
    3435
    3536#define DBG_LOCALLOG    DBG_oslibmsg
     
    248249  OS2ToWinMsgTranslate((PVOID)thdb, &os2msg, pMsg, isUnicode, MSG_REMOVE);
    249250  memcpy(MsgThreadPtr, &os2msg, sizeof(QMSG));
     251
     252  if(pMsg->message <= WINWM_KEYLAST && pMsg->message >= WINWM_KEYDOWN)
     253  {
     254        if(ProcessKbdHook(pMsg, TRUE))
     255                goto continuegetmsg;
     256  }
    250257  return rc;
    251258}
     
    315322        memcpy(MsgThreadPtr, &os2msg, sizeof(QMSG));
    316323  }
     324
     325  if(pMsg->message <= WINWM_KEYLAST && pMsg->message >= WINWM_KEYDOWN)
     326  {
     327        if(ProcessKbdHook(pMsg, fRemove))
     328                goto continuepeekmsg;
     329  }
     330
    317331  return rc;
    318332}
Note: See TracChangeset for help on using the changeset viewer.