mirror of https://github.com/tongzx/nt5src
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.
28 lines
553 B
28 lines
553 B
/*++
|
|
|
|
Copyright (C) 1997-2001 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
SERVUTIL.H
|
|
|
|
Abstract:
|
|
|
|
Declares a set of general purpose service utilitils.
|
|
|
|
History:
|
|
|
|
a-davj 04-Mar-97 Created.
|
|
|
|
--*/
|
|
|
|
#ifndef _SERVUTIL_H_
|
|
#define _SERVUTIL_H_
|
|
|
|
BOOL StopService(LPCTSTR pServiceName, DWORD dwMaxWait=0);
|
|
BOOL StartService(LPCTSTR pServiceName, DWORD dwMaxWait=0);
|
|
BOOL InstallService(LPCTSTR pServiceName,LPCTSTR pDisplayName, LPCTSTR pBinary);
|
|
BOOL RemoveService(LPCTSTR pServiceName);
|
|
BOOL SetDependency(LPCTSTR pServiceName, LPCTSTR pDependency);
|
|
|
|
#endif
|