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.

36 lines
745 B

  1. // Gemplus (C) 1999
  2. // Version 1.0
  3. // Author: Sergey Ivanov
  4. // Date of creation - 18.05.1999
  5. // Change log:
  6. //
  7. #ifndef __WDM_TIMER__
  8. #define __WDM_TIMER__
  9. #include "generic.h"
  10. #include "timer.h"
  11. #pragma PAGEDCODE
  12. // This class will manage creation and
  13. // manipulation of driver Timers
  14. class CWDMTimer : public CTimer
  15. {
  16. public:
  17. NTSTATUS m_Status;
  18. SAFE_DESTRUCTORS();
  19. virtual VOID dispose(VOID){self_delete();};
  20. protected:
  21. CWDMTimer(){m_Status = STATUS_SUCCESS;};
  22. virtual ~CWDMTimer();
  23. public:
  24. CWDMTimer(TIMER_TYPE Type);
  25. static CTimer* create(TIMER_TYPE Type);
  26. virtual BOOL set(LARGE_INTEGER DueTime,LONG Period,PKDPC Dpc);
  27. virtual BOOL cancel();
  28. VOID delay(ULONG Delay);
  29. };
  30. #endif//WDM_TIMER