Ignore:
Timestamp:
Oct 13, 1999, 6:05:25 PM (26 years ago)
Author:
phaller
Message:

Fix: parameter checking in RedrawWindow and temp fix for MsgWaitForMultipleObjects

File:
1 edited

Legend:

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

    r1265 r1267  
    1 /* $Id: user32.cpp,v 1.40 1999-10-13 14:24:25 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.41 1999-10-13 16:02:42 phaller Exp $ */
    22
    33/*
     
    2222//Attention: many functions belong to other subsystems, move them to their
    2323//           right place!
     24
     25#include <odin.h>
     26#include <odinwrap.h>
     27#include <os2sel.h>
    2428
    2529#include <os2win.h>
     
    7478// WIN32API YieldTask
    7579
     80ODINDEBUGCHANNEL(USER32-USER32)
     81
     82
    7683/* Coordinate Transformation */
    7784
     
    17961803
    17971804/* Synchronization Functions */
    1798 
    1799 DWORD WIN32API MsgWaitForMultipleObjects( DWORD nCount, LPHANDLE pHandles, BOOL fWaitAll, DWORD dwMilliseconds, DWORD  dwWakeMask)
    1800 {
    1801 #ifdef DEBUG
    1802     WriteLog("USER32:  MsgWaitForMultipleObjects\n");
    1803 #endif
    1804     return O32_MsgWaitForMultipleObjects(nCount,pHandles,fWaitAll,dwMilliseconds,dwWakeMask);
     1805ODINFUNCTION5(DWORD,MsgWaitForMultipleObjects,DWORD,    nCount,
     1806                                              LPHANDLE, pHandles,
     1807                                              BOOL,     fWaitAll,
     1808                                              DWORD,    dwMilliseconds,
     1809                                              DWORD,    dwWakeMask)
     1810{
     1811  // @@@PH that's a really difficult function to implement
     1812
     1813  // @@@PH this is a temporary bugfix for WINFILE.EXE
     1814  if (nCount == 0)
     1815  {
     1816    // only listens to incoming thread messages.
     1817    return (WAIT_OBJECT_0);
     1818  }
     1819
     1820  return O32_MsgWaitForMultipleObjects(nCount,pHandles,fWaitAll,dwMilliseconds,dwWakeMask);
    18051821}
    18061822
Note: See TracChangeset for help on using the changeset viewer.