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.

29 lines
717 B

  1. #ifndef MDDI // to include fcomapi.h
  2. # include "fcomapi.h"
  3. #endif
  4. #ifdef MDDI // timeouts
  5. typedef struct tagTO {
  6. ULONG ulStart;
  7. ULONG ulTimeout;
  8. ULONG ulEnd;
  9. } TO, near* NPTO;
  10. /****************** begin prototypes from timeouts.c *****************/
  11. void TstartTimeOut(PThrdGlbl pTG, NPTO npto, ULONG ulTimeOut);
  12. BOOL TcheckTimeOut(PThrdGlbl pTG, NPTO npto);
  13. /****************** end prototypes from timeouts.c *****************/
  14. #else //MDDI
  15. #define TstartTimeOut(pTG, lpto, ulTime) startTimeOut(pTG, lpto, ulTime)
  16. #define TcheckTimeOut(pTG, lpto) checkTimeOut(pTG, lpto)
  17. #endif //MDDI
  18. #define WAITFORBUF_TIMEOUT 60000L