Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CService Class Reference

Win32 service wrapper. More...

#include <Service.h>

List of all members.

Public Member Functions

 CService (LPCTSTR pServiceName, LPCTSTR pServiceDescription, DWORD dwDesiredAccess=STANDARD_RIGHTS_REQUIRED, DWORD dwServiceType=SERVICE_WIN32_OWN_PROCESS, DWORD dwStartType=SERVICE_AUTO_START, DWORD dwErrorControl=SERVICE_ERROR_NORMAL, LPCTSTR lpBinaryPathName=NULL, LPCTSTR lpLoadOrderGroup=NULL, LPCTSTR lpDependencies=NULL, LPCTSTR lpServiceStartName=NULL, LPCTSTR lpPassword=NULL)
virtual void Install ()
virtual void Uninstall ()
virtual LPCTSTR GetServiceName () const
int _tmain (int argc, TCHAR *argv[])
virtual DWORD ServiceMain (DWORD dwArgc, LPTSTR *lpszArgv)=0
virtual void ServiceHandler (DWORD fdwControl)
bool InDebugMode ()
void SetDebugMode (bool bDebugFlag)
bool InInteractiveMode ()
void SetInteractiveMode (bool bInteractive)
virtual void Stop ()
virtual void Pause ()
virtual void Continue ()
virtual void Shutdown ()
virtual void Interrogate ()
void UpdateSCM (DWORD state, DWORD dwCheckPoint=0, DWORD dwWaitHint=1000)

Public Attributes

SERVICE_STATUS_HANDLE m_hServiceStatus
CEventLog m_SysLog


Detailed Description

Win32 service wrapper.


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:27 2005 for OW32 by  doxygen 1.3.9.1