QUERY_SERVICE_LOCK_STATUS

typedef struct _QUERY_SERVICE_LOCK_STATUS {

BOOL fIsLocked;

LPTSTR lpLockOwner;

DWORD dwLockDuration;

} QUERY_SERVICE_LOCK_STATUS, * LPQUERY_SERVICE_LOCK_STATUS ;

Members

fIsLocked

Flag which indicates whether the database is locked. If TRUE, the database is locked. If FALSE, the database is unlocked.

lpLockOwner

Name of the user who acquired the lock.

dwLockDuration

Time in number of seconds since the lock was first acquired.