home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
pserv.cpl
/
pserv-2.4.exe
/
source
/
ServiceControlDialog.h
< prev
next >
Wrap
C/C++ Source or Header
|
2005-01-05
|
2KB
|
56 lines
#if !defined(AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_)
#define AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServiceControlDialog.h : header file
//
#include "CService.h"
/////////////////////////////////////////////////////////////////////////////
// CServiceControlDialog dialog
class CServiceControlDialog : public CDialog
{
// Construction
public:
CServiceControlDialog(CService* pService, DWORD dwWaitHint, QUERYSTATEFN QueryStateFN, LPCTSTR lpszAction, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CServiceControlDialog)
enum { IDD = IDD_SERVICE_CONTROL_DIALOG };
CProgressCtrl m_Progress;
CString m_strDescription;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServiceControlDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CService* m_pService;
int m_nTimerID;
DWORD m_dwWaitHint;
DWORD m_dwSecondsExpected;
DWORD m_dwSecondsElapsed;
LPCTSTR m_lpszAction;
QUERYSTATEFN m_QueryStateFN;
// Generated message map functions
//{{AFX_MSG(CServiceControlDialog)
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERVICECONTROLDIALOG_H__8C630E4A_2A02_49C7_8035_48EF0998ACDF__INCLUDED_)