Ignore:
Timestamp:
Oct 23, 2012, 2:01:18 AM (13 years ago)
Author:
dmik
Message:

user32: Partly implement MsgWaitForMultipleObjectsEx.

Needed for Flash 11.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/windowmsg.cpp

    r21955 r22033  
    13391339#endif
    13401340}
     1341//******************************************************************************
     1342/* Synchronization Functions */
     1343//******************************************************************************
     1344DWORD WIN32API MsgWaitForMultipleObjectsEx(DWORD nCount, LPHANDLE pHandles,
     1345                                           DWORD dwMilliseconds, DWORD dwWakeMask,
     1346                                           DWORD dwFlags)
     1347{
     1348    if (dwFlags == 0) {
     1349        return MsgWaitForMultipleObjects(nCount, pHandles, FALSE, dwMilliseconds, dwWakeMask);
     1350    }
     1351    if (dwFlags == 0x0001 /*MWMO_WAITALL*/) {
     1352        return MsgWaitForMultipleObjects(nCount, pHandles, TRUE, dwMilliseconds, dwWakeMask);
     1353    }
     1354
     1355    dprintf(("USER32: MsgWaitForMultipleObjectsEx() with dwFlags=%x not implemented\n",
     1356             dwFlags));
     1357    SetLastError(ERROR_NOT_SUPPORTED);
     1358    return WAIT_FAILED;
     1359}
Note: See TracChangeset for help on using the changeset viewer.