2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_NT_Service::ACE_NT_Service (DWORD start_timeout,
8 start_time_(start_timeout),
15 svc_status_.dwServiceType = service_type;
16 svc_status_.dwCurrentState = 0;
17 svc_status_.dwControlsAccepted = controls_mask;
18 svc_status_.dwWin32ExitCode = NO_ERROR;
19 svc_status_.dwServiceSpecificExitCode = 0;
20 svc_status_.dwCheckPoint = 0;
21 svc_status_.dwWaitHint = 0;
26 ACE_NT_Service::ACE_NT_Service (const ACE_TCHAR *name,
27 const ACE_TCHAR *desc,
30 DWORD controls_mask) :
31 start_time_(start_timeout),
34 name_(ACE::strnew(name)),
35 desc_(ACE::strnew(desc)),
38 svc_status_.dwServiceType = service_type;
39 svc_status_.dwCurrentState = 0;
40 svc_status_.dwControlsAccepted = controls_mask;
41 svc_status_.dwWin32ExitCode = NO_ERROR;
42 svc_status_.dwServiceSpecificExitCode = 0;
43 svc_status_.dwCheckPoint = 0;
48 ACE_NT_Service::svc ()
56 ACE_NT_Service::name () const
63 ACE_NT_Service::desc () const
70 ACE_NT_Service::host () const
76 ACE_NT_Service::svc_handle(const SERVICE_STATUS_HANDLE new_svc_handle)
78 this->svc_handle_ = new_svc_handle;
82 ACE_END_VERSIONED_NAMESPACE_DECL