mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[SERVICES]
- Precise the purpose of lock.c - Add an informative comment. No code changes. svn path=/trunk/; revision=58516
This commit is contained in:
parent
f4e6200805
commit
abf1110ae8
2 changed files with 5 additions and 6 deletions
|
@ -141,13 +141,11 @@ ScmGetDriverStatus(PSERVICE lpService,
|
||||||
|
|
||||||
if (lpService->Status.dwServiceType == SERVICE_KERNEL_DRIVER)
|
if (lpService->Status.dwServiceType == SERVICE_KERNEL_DRIVER)
|
||||||
{
|
{
|
||||||
RtlInitUnicodeString(&DirName,
|
RtlInitUnicodeString(&DirName, L"\\Driver");
|
||||||
L"\\Driver");
|
|
||||||
}
|
}
|
||||||
else
|
else // if (lpService->Status.dwServiceType == SERVICE_FILE_SYSTEM_DRIVER)
|
||||||
{
|
{
|
||||||
RtlInitUnicodeString(&DirName,
|
RtlInitUnicodeString(&DirName, L"\\FileSystem");
|
||||||
L"\\FileSystem");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* PROJECT: ReactOS Service Control Manager
|
* PROJECT: ReactOS Service Control Manager
|
||||||
* LICENSE: GPL - See COPYING in the top level directory
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
* FILE: base/system/services/lock.c
|
* FILE: base/system/services/lock.c
|
||||||
* PURPOSE: Service lock functions
|
* PURPOSE: User-side Services Start Serialization Lock functions
|
||||||
* COPYRIGHT: Copyright 2012 Hermès Bélusca
|
* COPYRIGHT: Copyright 2012 Hermès Bélusca
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
|
/* The unique user service start lock of the SCM */
|
||||||
static PSTART_LOCK pServiceStartLock = NULL;
|
static PSTART_LOCK pServiceStartLock = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue