BOOL UnlockServiceDatabase(ScLock) | |||
SC_LOCK ScLock; |
The UnlockServiceDatabase function unlocks a specified database.
ScLock
Lock obtained from a previous LockServiceDatabase call.
Returns TRUE if the specified lock is release. If return value is FALSE, an error has occurred. Use GetLastError to determine the cause of the failure.
Errors | Value | Meaning |
ERROR_INVALID_SERVICE_LOCK | The specified lock is invalid. |