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
770 B

  1. /*
  2. Copyright (c) 1998, Microsoft Corporation, all rights reserved
  3. Description:
  4. History:
  5. */
  6. #ifndef _TIMER_H_
  7. #define _TIMER_H_
  8. typedef VOID (*TIMERFUNCTION) (IN HANDLE, IN struct _TimerList* pTimer);
  9. typedef struct _TimerList
  10. {
  11. struct _TimerList* tmr_Next;
  12. LONG tmr_Delta;
  13. TIMERFUNCTION tmr_TimerFunc;
  14. } TIMERLIST;
  15. DWORD
  16. RasDhcpTimerInitialize(
  17. VOID
  18. );
  19. VOID
  20. RasDhcpTimerUninitialize(
  21. VOID
  22. );
  23. VOID
  24. RasDhcpTimerFunc(
  25. IN VOID* pArg1,
  26. IN BOOLEAN fArg2
  27. );
  28. VOID
  29. RasDhcpTimerSchedule(
  30. IN TIMERLIST* pNewTimer,
  31. IN LONG DeltaTime,
  32. IN TIMERFUNCTION TimerFunc
  33. );
  34. VOID
  35. RasDhcpTimerRunNow(
  36. VOID
  37. );
  38. #endif // #ifndef _TIMER_H_