mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
[SERVICES] Implement ScmGenerateServiceTag and call it on service creation
This allows assigning an unique ServiceTag to each Win32 service
This commit is contained in:
parent
519a2c9f6f
commit
1a9b9800b1
3 changed files with 32 additions and 0 deletions
|
@ -2636,6 +2636,10 @@ RCreateServiceW(
|
|||
goto done;
|
||||
|
||||
lpService->dwRefCount = 1;
|
||||
|
||||
/* Get the service tag (if Win32) */
|
||||
ScmGenerateServiceTag(lpService);
|
||||
|
||||
DPRINT("CreateService - lpService->dwRefCount %u\n", lpService->dwRefCount);
|
||||
|
||||
done:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue