Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
Created an attachment (id=7674)
The patch
This patch aims at reorganizing the handling functions of the Service Control Manager into different source files.
Added (new) files:
==================
lock.c – Procedures for (un)locking the SC database.
service.c – Functions for handling specifically Win32 services.
svcobject.c – Functions for handling "services", 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.
driver.c – Functions for handling only kernel drivers.
groupdb.c – Functions managing service groups.
rpcserver.c – Contains the RPC management functions (TODO: move the RCloseServiceHandle function to another appropriate file).
services.c – Main program file.
This new architecture will allow better maintenance of the program. It will also be used latter by the author to implement new functions.