mirror of https://github.com/tongzx/nt5src
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
32 lines
515 B
#pragma once
|
|
|
|
#include "Thread.h"
|
|
|
|
|
|
//---------------------------------------------------------------------------
|
|
// MonitorThread Class
|
|
//---------------------------------------------------------------------------
|
|
|
|
|
|
class CMonitorThread : public CThread
|
|
{
|
|
public:
|
|
|
|
CMonitorThread();
|
|
virtual ~CMonitorThread();
|
|
|
|
void Start();
|
|
void Stop();
|
|
|
|
protected:
|
|
|
|
virtual void Run();
|
|
|
|
void ProcessMigrationLog();
|
|
|
|
private:
|
|
|
|
_bstr_t m_strMigrationLog;
|
|
HANDLE m_hMigrationLog;
|
|
FILETIME m_ftMigrationLogLastWriteTime;
|
|
};
|