windows-nt/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/wbemcomn/servutil.h

29 lines
553 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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