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.

44 lines
1.1 KiB

  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 EV_INT
  8. #define EV_INT
  9. #include "generic.h"
  10. #pragma PAGEDCODE
  11. class CEvent
  12. {
  13. public:
  14. NTSTATUS m_Status;
  15. SAFE_DESTRUCTORS();
  16. virtual VOID dispose(){self_delete();};
  17. protected:
  18. CEvent(){};
  19. virtual ~CEvent(){};
  20. public:
  21. virtual VOID initialize(IN PRKEVENT Event,IN EVENT_TYPE Type,IN BOOLEAN State) {};
  22. virtual VOID clear(PRKEVENT Event) {};
  23. virtual LONG reset(PRKEVENT Event) {return 0;};
  24. virtual LONG set(PRKEVENT Event,IN KPRIORITY Increment,IN BOOLEAN Wait) {return 0;};
  25. virtual NTSTATUS waitForSingleObject (PVOID Object,
  26. KWAIT_REASON WaitReason,KPROCESSOR_MODE WaitMode,
  27. BOOLEAN Alertable,
  28. PLARGE_INTEGER Timeout) {return STATUS_SUCCESS;};
  29. virtual NTSTATUS waitForMultipleObjects(ULONG Count,
  30. PVOID Object[],
  31. WAIT_TYPE WaitType,
  32. KWAIT_REASON WaitReason,
  33. KPROCESSOR_MODE WaitMode,
  34. BOOLEAN Alertable,
  35. PLARGE_INTEGER Timeout,
  36. PKWAIT_BLOCK WaitBlockArray) {return STATUS_SUCCESS;};
  37. };
  38. #endif//EVENT