Changeset 208


Ignore:
Timestamp:
Jun 26, 1999, 10:25:53 AM (26 years ago)
Author:
sandervl
Message:

Spy updates

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/spy.h

    r195 r208  
    1 /* $Id: spy.h,v 1.1 1999-06-25 21:34:49 sandervl Exp $ */
     1/* $Id: spy.h,v 1.2 1999-06-26 08:25:53 sandervl Exp $ */
    22
    33/*
     
    2323BOOL InitSpyQueue();
    2424void CloseSpyQueue();
    25 VOID PostSpyMessage(HWND hwnd, ULONG Msg, ULONG wParam, ULONG lParam);
     25
     26#ifdef DEBUG
     27BOOL PostSpyMessage(HWND hwnd, ULONG Msg, ULONG wParam, ULONG lParam);
     28#else
     29#define PostSpyMessage(a,b,c,d) FALSE
     30#endif
    2631
    2732#endif //__SPY_H__
  • trunk/src/user32/wndclass.cpp

    r196 r208  
    1 /* $Id: wndclass.cpp,v 1.7 1999-06-25 21:35:27 sandervl Exp $ */
     1/* $Id: wndclass.cpp,v 1.8 1999-06-26 08:25:22 sandervl Exp $ */
    22
    33/*
     
    801801 Win32WindowProc      *window;
    802802
    803 #ifdef DEBUG
    804   dprintf(("OS2ToWinCallback %s for %x %x %x", GetMsgText(Msg), hwnd, wParam, lParam));
    805   PostSpyMessage(hwnd, Msg, wParam, lParam);
    806 #endif
     803  if(PostSpyMessage(hwnd, Msg, wParam, lParam) == FALSE)
     804        dprintf(("OS2ToWinCallback %s for %x %x %x", GetMsgText(Msg), hwnd, wParam, lParam));
    807805
    808806  if(HkCBT::OS2HkCBTProc(hwnd, Msg, wParam, lParam) == TRUE) {//hook swallowed msg
  • trunk/src/user32/wndproc.cpp

    r196 r208  
    1 /* $Id: wndproc.cpp,v 1.7 1999-06-25 21:35:27 sandervl Exp $ */
     1/* $Id: wndproc.cpp,v 1.8 1999-06-26 08:25:22 sandervl Exp $ */
    22
    33/*
     
    288288  }
    289289  if(curwnd != NULL) {
    290 #ifdef DEBUG
    291         WriteLog("Message %s for %X %x %x\n", GetMsgText(Msg), hwnd, wParam, lParam);
    292         PostSpyMessage(hwnd, Msg, wParam, lParam);
    293 #endif
     290        if(PostSpyMessage(hwnd, Msg, wParam, lParam) == FALSE)
     291                dprintf(("Message %s for %X %x %x\n", GetMsgText(Msg), hwnd, wParam, lParam));
     292       
    294293        switch(Msg)
    295294        {
Note: See TracChangeset for help on using the changeset viewer.