Changeset 882 for trunk/dll/misc.c
- Timestamp:
- Dec 11, 2007, 1:11:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r877 r882 1411 1411 if (!rc) { 1412 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1413 // If window owned by some other process or some other thread? 1414 if (!IsFm2Window(h, 1)) { 1415 QMSG qmsg; 1416 for (;;) { 1417 DosSleep(1); 1418 rc = WinPostMsg(h, msg, mp1, mp2); 1419 if (rc) 1420 break; // OK 1421 if (!WinIsWindow((HAB) 0, h)) 1422 break; // Window gone 1423 if (WinPeekMsg((HAB) 0, &qmsg, (HWND) 0, 0, 0, PM_NOREMOVE)) 1424 break; // Queue has message(s) 1425 } // for 1426 } 1427 } 1428 1428 return rc; 1429 1429 }
Note:
See TracChangeset
for help on using the changeset viewer.