Platform SDK: DLLs, Processes, and Threads |
The QUERY_SERVICE_LOCK_STATUS structure is used by the QueryServiceLockStatus function to return information about the lock status of a service control manager database.
typedef struct _QUERY_SERVICE_LOCK_STATUS { DWORD fIsLocked; LPTSTR lpLockOwner; DWORD dwLockDuration; } QUERY_SERVICE_LOCK_STATUS, *LPQUERY_SERVICE_LOCK_STATUS;
Windows NT/2000: Requires Windows NT 3.1 or later.
Header: Declared in Winsvc.h; include Windows.h.
Unicode: Declared as Unicode and ANSI structures.
Services Overview, Service Structures, QueryServiceLockStatus