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.

31 lines
642 B

  1. // Event.cpp: implementation of the CEvent class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "snapin.h"
  6. #include "Event.h"
  7. #ifdef _DEBUG
  8. #undef THIS_FILE
  9. static char THIS_FILE[]=__FILE__;
  10. #define new DEBUG_NEW
  11. #endif
  12. IMPLEMENT_DYNCREATE(CEvent,CObject)
  13. //////////////////////////////////////////////////////////////////////
  14. // Construction/Destruction
  15. //////////////////////////////////////////////////////////////////////
  16. CEvent::CEvent()
  17. {
  18. ZeroMemory(&m_st,sizeof(SYSTEMTIME));
  19. m_iState = -1;
  20. }
  21. CEvent::~CEvent()
  22. {
  23. ZeroMemory(&m_st,sizeof(SYSTEMTIME));
  24. m_iState = -1;
  25. }