Leaked source code of windows server 2003
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.

52 lines
897 B

  1. /********************************************************************/
  2. /** Copyright(c) 1995 Microsoft Corporation. **/
  3. /********************************************************************/
  4. //***
  5. //
  6. // Filename: timer.h
  7. //
  8. // Description: Prototypes of procedures in timer.c
  9. //
  10. // History: May 11,1995 NarenG Created original version.
  11. //
  12. //
  13. // Timeout function handler type
  14. //
  15. typedef VOID (* TIMEOUT_HANDLER)(LPVOID lpObject);
  16. DWORD
  17. TimerQInitialize(
  18. VOID
  19. );
  20. VOID
  21. TimerQDelete(
  22. VOID
  23. );
  24. DWORD
  25. TimerQThread(
  26. IN LPVOID arg
  27. );
  28. VOID
  29. TimerQTick(
  30. VOID
  31. );
  32. DWORD
  33. TimerQInsert(
  34. IN HANDLE hObject,
  35. IN DWORD dwTimeout,
  36. IN TIMEOUT_HANDLER pfuncTimeoutHandler
  37. );
  38. VOID
  39. TimerQRemove(
  40. IN HANDLE hObject,
  41. IN TIMEOUT_HANDLER pfuncTimeoutHandler
  42. );