blob: 18b40ed0aa39d18ae45ba942c408196944796324 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* -*- C++ -*- */
// $Id$
ACE_NT_Service::ACE_NT_Service (DWORD start_timeout,
DWORD service_type,
DWORD controls_mask) :
start_time_(start_timeout),
svc_handle_(0)
{
svc_status_.dwServiceType = service_type;
svc_status_.dwCurrentState = 0;
svc_status_.dwControlsAccepted = controls_mask;
svc_status_.dwWin32ExitCode = NO_ERROR;
svc_status_.dwServiceSpecificExitCode = 0;
svc_status_.dwCheckPoint = 0;
}
ACE_NT_Service::~ACE_NT_Service (void)
{
}
void
ACE_NT_Service::svc_handle(const SERVICE_STATUS_HANDLE new_svc_handle)
{
this->svc_handle_ = new_svc_handle;
return;
}
|