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.

32 lines
515 B

  1. #pragma once
  2. #include "Thread.h"
  3. //---------------------------------------------------------------------------
  4. // MonitorThread Class
  5. //---------------------------------------------------------------------------
  6. class CMonitorThread : public CThread
  7. {
  8. public:
  9. CMonitorThread();
  10. virtual ~CMonitorThread();
  11. void Start();
  12. void Stop();
  13. protected:
  14. virtual void Run();
  15. void ProcessMigrationLog();
  16. private:
  17. _bstr_t m_strMigrationLog;
  18. HANDLE m_hMigrationLog;
  19. FILETIME m_ftMigrationLogLastWriteTime;
  20. };