Changeset 5805 for trunk/src/user32/windowmsg.cpp
- Timestamp:
- May 25, 2001, 9:59:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windowmsg.cpp
r5606 r5805 1 /* $Id: windowmsg.cpp,v 1.2 4 2001-04-27 17:36:39sandervl Exp $ */1 /* $Id: windowmsg.cpp,v 1.25 2001-05-25 19:59:30 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window message APIs for OS/2 … … 85 85 BOOL fFoundMsg; 86 86 87 dprintf2(("PeekMessag A %x %d-%d %d", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg));87 dprintf2(("PeekMessageA %x %d-%d %d", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg)); 88 88 fFoundMsg = OSLibWinPeekMsg(msg, hwndOwner, uMsgFilterMin, uMsgFilterMax, 89 89 fuRemoveMsg, FALSE); 90 90 if(fFoundMsg) { 91 dprintf2(("PeekMessag A %x %d-%d %d found message %x %d %x %x", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg, msg->hwnd, msg->message, msg->wParam, msg->lParam));91 dprintf2(("PeekMessageA %x %d-%d %d found message %x %d %x %x", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg, msg->hwnd, msg->message, msg->wParam, msg->lParam)); 92 92 HOOK_CallHooksA(WH_GETMESSAGE, HC_ACTION, fuRemoveMsg & PM_REMOVE, (LPARAM)msg ); 93 93 if (msg->message == WM_QUIT && (fuRemoveMsg & PM_REMOVE)) { … … 104 104 BOOL fFoundMsg; 105 105 106 dprintf2(("PeekMessag W %x %d-%d %d", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg));106 dprintf2(("PeekMessageW %x %d-%d %d", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg)); 107 107 fFoundMsg = OSLibWinPeekMsg(msg, hwndOwner, uMsgFilterMin, uMsgFilterMax, 108 108 fuRemoveMsg, FALSE); 109 109 if(fFoundMsg) { 110 dprintf2(("PeekMessag W %x %d-%d %d found message %x %d %x %x", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg, msg->hwnd, msg->message, msg->wParam, msg->lParam));110 dprintf2(("PeekMessageW %x %d-%d %d found message %x %d %x %x", hwndOwner, uMsgFilterMin, uMsgFilterMax, fuRemoveMsg, msg->hwnd, msg->message, msg->wParam, msg->lParam)); 111 111 HOOK_CallHooksW(WH_GETMESSAGE, HC_ACTION, fuRemoveMsg & PM_REMOVE, (LPARAM)msg ); 112 112 if (msg->message == WM_QUIT && (fuRemoveMsg & (PM_REMOVE))) { … … 1051 1051 /* Synchronization Functions */ 1052 1052 //****************************************************************************** 1053 DWORD MsgWaitForMultipleObjects(DWORD nCount, LPHANDLE pHandles, BOOL fWaitAll,1054 DWORD dwMilliseconds, DWORD dwWakeMask)1055 { 1056 DWORD curtime, endtime ;1053 DWORD WIN32API MsgWaitForMultipleObjects(DWORD nCount, LPHANDLE pHandles, BOOL fWaitAll, 1054 DWORD dwMilliseconds, DWORD dwWakeMask) 1055 { 1056 DWORD curtime, endtime, ret; 1057 1057 MSG msg; 1058 1058 … … 1097 1097 } 1098 1098 //SvL: Call handlemanager function as we need to translate handles 1099 return HMMsgWaitForMultipleObjects(nCount,pHandles,fWaitAll,dwMilliseconds,dwWakeMask); 1100 } 1099 //TODO: doesn't work at all if waiting for message 1100 ret = HMMsgWaitForMultipleObjects(nCount,pHandles,fWaitAll,dwMilliseconds,dwWakeMask); 1101 return ret; 1102 }
Note:
See TracChangeset
for help on using the changeset viewer.