Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
lockapi.h
Abstract:
SC Manager database lock worker routines.
Author:
Rita Wong (ritaw) 06-Aug-1992
Revision History:
--*/
#ifndef SCLOCKAPI_INCLUDED
#define SCLOCKAPI_INCLUDED
//
// Function Prototypes
//
DWORD ScLockDatabase( IN BOOL LockedByScManager, IN LPWSTR DatabaseName, OUT LPSC_RPC_LOCK lpLock );
VOID ScUnlockDatabase( IN OUT LPSC_RPC_LOCK lpLock );
DWORD ScGetLockOwner( IN PSID UserSid OPTIONAL, OUT LPWSTR *LockOwnerName );
#endif // #ifndef SCLOCKAPI_INCLUDED
|