MonitorThread.h
上传用户:chenhai826
上传日期:2007-04-11
资源大小:72k
文件大小:1k
- // MonitorThread.h: interface for the CMonitorThread class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MONITORTHREAD_H__5F9379A4_5007_471D_A089_71C93C5B4663__INCLUDED_)
- #define AFX_MONITORTHREAD_H__5F9379A4_5007_471D_A089_71C93C5B4663__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define MAX_THREADS 200
- #include "Thread.h"
- #include "AttackThread.h"
- class CNPView;
- class CMonitorThread : public CThread
- {
- long m_nTo;
- long *m_pnCurrentPwd;
- long *m_pnMaxThreads;
- HWND m_hWnd;
- CList<CAttackThread *,CAttackThread *>m_ThreadList;
- void StopAllThread(void);
- public:
- CMonitorThread(CNPView *pView);
- virtual ~CMonitorThread();
- virtual BOOL Work(void);
- virtual void CleanupWork(void);
- bool DidSomeoneDie(void);
- };
- #endif // !defined(AFX_MONITORTHREAD_H__5F9379A4_5007_471D_A089_71C93C5B4663__INCLUDED_)