mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
ec939a5bce
commit
f4be15a7af
1895 changed files with 160408 additions and 53601 deletions
|
|
@ -1,3 +1,5 @@
|
|||
// $Id: NT_Service.cpp 96985 2013-04-11 15:50:32Z huangh $
|
||||
|
||||
#include "ace/config-all.h"
|
||||
#if defined (ACE_WIN32) && !defined (ACE_LACKS_WIN32_SERVICES)
|
||||
|
||||
|
|
@ -202,10 +204,7 @@ ACE_NT_Service::insert (DWORD start_type,
|
|||
0,
|
||||
SC_MANAGER_ALL_ACCESS);
|
||||
if (sc_mgr == 0)
|
||||
{
|
||||
ACE_OS::set_errno_to_last_error();
|
||||
return -1;
|
||||
}
|
||||
return -1;
|
||||
|
||||
SC_HANDLE sh = ACE_TEXT_CreateService (sc_mgr,
|
||||
this->name (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue