- Timestamp:
- Aug 9, 2001, 10:45:41 AM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/USER32.DEF
r6487 r6501 1 ; $Id: USER32.DEF,v 1.6 5 2001-08-08 10:07:18sandervl Exp $1 ; $Id: USER32.DEF,v 1.66 2001-08-09 08:45:40 sandervl Exp $ 2 2 3 3 LIBRARY USER32 INITINSTANCE TERMINSTANCE … … 19 19 __SwapMouseButton = PMMERGE.10019 20 20 WinReplyMsg = PMMERGE.5325 21 WinQueueFromID = PMMERGE.5313 21 22 _GpiEnableYInversion = PMGPI.723 22 23 _GpiQueryYInversion = PMGPI.726 -
trunk/src/user32/oslibmsg.cpp
r6420 r6501 1 /* $Id: oslibmsg.cpp,v 1.4 0 2001-07-30 20:48:51sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.41 2001-08-09 08:45:40 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 507 507 BOOL OSLibPostThreadMessage(ULONG threadid, UINT msg, WPARAM wParam, LPARAM lParam, BOOL fUnicode) 508 508 { 509 //TEB *teb = GetTEBFromThreadId(threadid);509 TEB *teb = GetTEBFromThreadId(threadid); 510 510 POSTMSG_PACKET *packet = (POSTMSG_PACKET *)_smalloc(sizeof(POSTMSG_PACKET)); 511 512 // if(teb == NULL) { 513 // dprintf(("OSLibPostThreadMessage: thread %x not found!", threadid)); 514 // return FALSE; 515 // } 516 dprintf(("PostThreadMessageA %x %x %x %x", threadid, msg, wParam, lParam)); 511 BOOL ret; 512 513 if(teb == NULL) { 514 dprintf(("OSLibPostThreadMessage: thread %x not found!", threadid)); 515 return FALSE; 516 } 517 dprintf(("PostThreadMessageA %x %x %x %x -> hmq %x", threadid, msg, wParam, lParam, teb->o.odin.hmq)); 517 518 packet->wParam = wParam; 518 519 packet->lParam = lParam; 519 #ifdef USING_OPEN32 520 return O32_PostThreadMessage(threadid, WIN32APP_POSTMSG-OPEN32_MSGDIFF+msg, ((fUnicode) ? WIN32MSG_MAGICW : WIN32MSG_MAGICA), (LPARAM)packet); 521 #else 522 return O32_PostThreadMessage(threadid, WIN32APP_POSTMSG+msg, ((fUnicode) ? WIN32MSG_MAGICW : WIN32MSG_MAGICA), (LPARAM)packet); 523 #endif 524 } 525 //****************************************************************************** 526 //****************************************************************************** 527 520 521 ret = WinPostQueueMsg((HMQ)teb->o.odin.hmq, WIN32APP_POSTMSG+msg, 522 (MPARAM)((fUnicode) ? WIN32MSG_MAGICW : WIN32MSG_MAGICA), 523 (MPARAM)packet); 524 525 if(ret == FALSE) 526 { 527 SetLastError(ERROR_INVALID_PARAMETER_W); 528 return FALSE; 529 } 530 SetLastError(ERROR_SUCCESS_W); 531 return TRUE; 532 } 533 //****************************************************************************** 534 //****************************************************************************** 535 -
trunk/src/user32/pmwindow.cpp
r6439 r6501 1 /* $Id: pmwindow.cpp,v 1.14 2 2001-08-02 14:50:42sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.143 2001-08-09 08:45:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 75 75 BOOL InitPM() 76 76 { 77 78 77 hab = WinInitialize(0); 79 78 dprintf(("Winitialize returned %x", hab)); … … 98 97 } 99 98 if(!hmq) { 100 hmq = HMQ_CURRENT; 99 PTIB ptib; 100 PPIB ppib; 101 102 DosGetInfoBlocks(&ptib, &ppib); 103 104 hmq = WinQueueFromID(hab, ppib->pib_ulpid, ptib->tib_ptib2->tib2_ultid); 101 105 } 102 106 }
Note:
See TracChangeset
for help on using the changeset viewer.