Changeset 22033


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

user32: Partly implement MsgWaitForMultipleObjectsEx?.

Needed for Flash 11.4.

Location:
trunk/src/user32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.def

    r21953 r22033  
    700700    GetComboBoxInfo            = "_GetComboBoxInfo@8"          @1019
    701701
     702    MsgWaitForMultipleObjectsEx= "_MsgWaitForMultipleObjectsEx@20" @1020
     703
    702704;
    703705; ENDOFEXPORTS
  • trunk/src/user32/user32dbg.def

    r21953 r22033  
    699699    GetComboBoxInfo            = "_GetComboBoxInfo@8"          @1019
    700700
     701    MsgWaitForMultipleObjectsEx= "_MsgWaitForMultipleObjectsEx@20" @1020
     702
    701703;
    702704; ENDOFEXPORTS
  • 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.