hpoussin@svn.reactos.org wrote:
Author: hpoussin Date: Sun Jun 25 04:52:40 2006 New Revision: 22607
URL: http://svn.reactos.org/svn/reactos?rev=22607&view=rev Log: Let StartService really start the service. This enables the plug and play manager during second stage setup
For anyone interested in NT services, we now have the ability to start services with StartService. The following is a log taken when starting tcpsvcs with servman:
(base\system\services\database.c:50) ScmGetServiceEntryByName() called (base\system\services\database.c:60) Found service: 'tcpsvcs' (./dll/win32/advapi32/service/scm.c:1993) dwBufSize: 0 (base\system\services\rpcserver.c:1760) ScmrStartServiceW() called (base\system\services\database.c:748) ScmStartService() called (base\system\services\database.c:751) Service->Type: 32 (base\system\services\database.c:632) ImagePath: 'C:\ReactOS\system32\tcpsvcs.exe' (base\system\services\database.c:633) Type: 20 (base\system\services\database.c:644) CreateNamedPipeW() done (base\system\services\database.c:681) Process Id: 428 Handle cc (base\system\services\database.c:684) Thread Id: 432 Handle d0 (base\system\services\database.c:701) Control pipe connected! (base\system\services\database.c:716) Received process id 428 (base\system\services\database.c:543) ScmSendStartCommand() called (base\system\services\database.c:591) ScmSendStartCommand() done (base\system\services\database.c:766) ScmStartService() done (Status 0)