Group: Service - Library: advapi32
The UnlockServiceDatabase function unlocks a service control manager database by releasing the specified lock.
Encapsulating access to the Windows Services in a class
BOOL UnlockServiceDatabase(
SC_LOCK ScLock
);
DECLARE INTEGER UnlockServiceDatabase IN advapi32;
INTEGER ScLock
ScLock [in] Lock obtained from a previous call to the LockServiceDatabase function.
If the function succeeds, the return value is nonzero.