Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

  1. //=======================================================================
  2. //
  3. // Copyright (c) 1998-2000 Microsoft Corporation. All Rights Reserved.
  4. //
  5. // File: WaitUtil.h
  6. //
  7. // Description:
  8. //
  9. // IU wait message utility library, providing thin wrapper of wait
  10. // message loop
  11. //
  12. //=======================================================================
  13. #ifndef __WAITUTIL_H_INCLUDED__
  14. #include <windows.h>
  15. /////////////////////////////////////////////////////////////////////////////
  16. // Helper function WaitAndPumpMessages()
  17. /////////////////////////////////////////////////////////////////////////////
  18. DWORD WaitAndPumpMessages(DWORD nCount, LPHANDLE pHandles, DWORD dwWakeMask);
  19. /////////////////////////////////////////////////////////////////////////////
  20. // Helper function MyMsgWaitForMultipleObjects()
  21. // to process messages while waiting for an object
  22. ///////////////////////////////////////////////////////////////////////////////
  23. DWORD MyMsgWaitForMultipleObjects(DWORD nCount, LPHANDLE pHandles, BOOL fWaitAll, DWORD dwMilliseconds, DWORD dwWakeMask);
  24. #define __WAITUTIL_H_INCLUDED__
  25. #endif // __WAITUTIL_H_INCLUDED__