Changeset 2246 for trunk/src/user32/oslibmsg.cpp
- Timestamp:
- Dec 29, 1999, 1:39:45 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsg.cpp
r2208 r2246 1 /* $Id: oslibmsg.cpp,v 1.1 6 1999-12-27 14:41:41sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.17 1999-12-29 12:39:44 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 366 366 //****************************************************************************** 367 367 //****************************************************************************** 368 BOOL OSLibPostMessage(HWND hwnd, ULONG msg, ULONG wParam, ULONG lParam) 369 { 370 return WinPostMsg(hwnd, msg, (MPARAM)wParam, (MPARAM)lParam); 371 } 372 //****************************************************************************** 373 //****************************************************************************** 374 ULONG OSLibSendMessage(HWND hwnd, ULONG msg, ULONG wParam, ULONG lParam) 375 { 376 return (ULONG)WinSendMsg(hwnd, msg, (MPARAM)wParam, (MPARAM)lParam); 377 } 378 //****************************************************************************** 379 //****************************************************************************** 380 ULONG OSLibWinBroadcastMsg(ULONG msg, ULONG wParam, ULONG lParam, BOOL fSend) 381 { 382 return WinBroadcastMsg(HWND_DESKTOP, msg, (MPARAM)wParam, (MPARAM)lParam, 383 (fSend) ? BMSG_SEND : BMSG_POST); 384 } 385 //****************************************************************************** 386 //****************************************************************************** 387 BOOL OSLibPostThreadMessage(ULONG threadid, UINT msg, WPARAM wParam, LPARAM lParam) 388 { 389 THDB *thdb = GetTHDBFromThreadId(threadid); 390 391 if(thdb == NULL) { 392 dprintf(("OSLibPostThreadMessage: thread %x not found!", threadid)); 393 return FALSE; 394 } 395 return WinPostQueueMsg(thdb->hmq, msg, (MPARAM)wParam, (MPARAM)lParam); 396 } 397 //****************************************************************************** 398 //****************************************************************************** 399
Note:
See TracChangeset
for help on using the changeset viewer.