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.

53 lines
878 B

  1. /*++
  2. Copyright (c) 1998, Microsoft Corporation
  3. Module Name:
  4. timer.h
  5. Abstract:
  6. This module contains declarations for manipulating the timer-queue
  7. which is shared by all the components in this module.
  8. In addition to being used for protocol-related timers, the queue
  9. is used for periodically reissuing failed read-requests on sockets.
  10. Author:
  11. Abolade Gbadegesin (aboladeg) 1-April-1998
  12. Revision History:
  13. --*/
  14. #ifndef _NATHLP_TIMER_H_
  15. #define _NATHLP_TIMER_H_
  16. ULONG
  17. NhInitializeTimerManagement(
  18. VOID
  19. );
  20. NTSTATUS
  21. NhSetTimer(
  22. PCOMPONENT_REFERENCE Component OPTIONAL,
  23. OUT HANDLE* Handlep OPTIONAL,
  24. WAITORTIMERCALLBACKFUNC TimerRoutine,
  25. PVOID Context,
  26. ULONG DueTime
  27. );
  28. VOID
  29. NhShutdownTimerManagement(
  30. VOID
  31. );
  32. NTSTATUS
  33. NhUpdateTimer(
  34. HANDLE Handle,
  35. ULONG DueTime
  36. );
  37. #endif // _NATHLP_TIMER_H_