QUERY_SERVICE_LOCK_STATUS structure
Contains information about the lock status of a service control manager database. It is used by the QueryServiceLockStatus function.
Syntax
typedef struct _QUERY_SERVICE_LOCK_STATUS { DWORD fIsLocked; LPTSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUS, *LPQUERY_SERVICE_LOCK_STATUS;
Members
- fIsLocked
-
The lock status of the database. If this member is nonzero, the database is locked. If it is zero, the database is unlocked.
- lpLockOwner
-
The name of the user who acquired the lock.
- dwLockDuration
-
The time since the lock was first acquired, in seconds.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Unicode and ANSI names | QUERY_SERVICE_LOCK_STATUSW (Unicode) and QUERY_SERVICE_LOCK_STATUSA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
