[ros-bugs] [Bug 7060] PATCH: services.exe - Reorganizing functions into different sources files for the Service Control Manager (SCM)

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri May 25 21:13:06 UTC 2012


http://www.reactos.org/bugzilla/show_bug.cgi?id=7060


hbelusca <hermes.belusca at sfr.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #7674 is|0                           |1
           obsolete|                            |




--- Comment #1 from hbelusca <hermes.belusca at sfr.fr>  2012-05-25 21:13:05 CET ---
Created an attachment (id=7720)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=7720)
New patch

Added (new) files:
==================
handles.c / .h  -- Deals with handles, conversion SC_RPC_HANDLE <->
                   SC_HANDLE_DATA which represents either a SC database
                   or a service handle data.
lock.c          -- Procedures for (un)locking the SC database (NEW !!)
service.c       -- Functions for handling specifically Win32 services.
svcobject.c     -- Functions for handling "service objects", i.e. Win32
services
                   or kernel drivers.
utils.c         -- Helper functions.
unimplemented.c -- Contains most of the unimplemented RPC procedures.

Original files:
===============
config.c    -- The system configuration interface.
database.c  -- Functions managing the Service Controller database.
               The possibility to manage more than only one database
               has been added: it really implements the case where
               the SERVICES_FAILED_DATABASE could exist (in very very rare
               cases, unimplemented and undocumented by Microsoft).
driver.c    -- Functions for handling only kernel drivers.
groupdb.c   -- Functions managing service groups.
rpcserver.c -- Contains the RPC management functions.
services.c  -- Main program file.
services.h  -- Few new structures have been added.

The Service Controller's 'CMakeLists.txt' has been updated to reflect these
changes.
Also, 'svcctl.idl' has been updated a little bit, according to Microsoft Open
Specifications (see comments inside the file and inside the source files) and
comments have been added to remind what are the requirements for some RPC
functions' parameters.
Finally, the 'scm.c' file in the advapi32 dll project was updated to reflect
one change of the type of a RPC function parameter.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list