[SERVICES]
[reactos.git] / reactos / base / system / services / services.h
index 23022dc..811aa00 100644 (file)
@@ -42,7 +42,6 @@ typedef struct _SERVICE
     DWORD dwResumeCount;
     DWORD dwRefCount;
 
-    CLIENT_HANDLE hClient;
     SERVICE_STATUS Status;
     DWORD dwStartType;
     DWORD dwErrorControl;
@@ -112,7 +111,6 @@ DWORD ScmStartService(PSERVICE Service,
 PSERVICE ScmGetServiceEntryByName(LPCWSTR lpServiceName);
 PSERVICE ScmGetServiceEntryByDisplayName(LPCWSTR lpDisplayName);
 PSERVICE ScmGetServiceEntryByResumeCount(DWORD dwResumeCount);
-PSERVICE ScmGetServiceEntryByClientHandle(HANDLE Handle);
 DWORD ScmCreateNewServiceRecord(LPCWSTR lpServiceName,
                                 PSERVICE *lpServiceRecord);
 VOID ScmDeleteServiceRecord(PSERVICE lpService);
@@ -122,6 +120,11 @@ DWORD ScmControlService(PSERVICE Service,
                         DWORD dwControl,
                         LPSERVICE_STATUS lpServiceStatus);
 
+BOOL ScmLockDatabaseExclusive(VOID);
+BOOL ScmLockDatabaseShared(VOID);
+VOID ScmUnlockDatabase(VOID);
+
+
 /* driver.c */
 
 DWORD ScmLoadDriver(PSERVICE lpService);