Changeset 6500 for trunk/src/kernel32/oslibmisc.cpp
- Timestamp:
- Aug 9, 2001, 10:45:06 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/oslibmisc.cpp
r5380 r6500 1 /* $Id: oslibmisc.cpp,v 1.1 2 2001-03-25 22:35:37sandervl Exp $ */1 /* $Id: oslibmisc.cpp,v 1.13 2001-08-09 08:45:06 sandervl Exp $ */ 2 2 /* 3 3 * Misc OS/2 util. procedures … … 256 256 ULONG OSLibWinQueryMsgQueue(ULONG hab) 257 257 { 258 // ULONG hmq; 259 260 // hmq = WinQueryWindowULong(HWND_DESKTOP, QWL_HMQ); 261 return (ULONG)WinCreateMsgQueue((HAB)hab, 0); 258 ULONG hmq; 259 260 hmq = (ULONG)WinCreateMsgQueue((HAB)hab, 0); 261 if(!hmq) { 262 PTIB ptib; 263 PPIB ppib; 264 265 DosGetInfoBlocks(&ptib, &ppib); 266 267 hmq = WinQueueFromID(hab, ppib->pib_ulpid, ptib->tib_ptib2->tib2_ultid); 268 } 269 return hmq; 262 270 } 263 271 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.