Source code of Windows XP (NT5)
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

  1. /*++
  2. Copyright (C) 1997-2001 Microsoft Corporation
  3. Module Name:
  4. SERVUTIL.H
  5. Abstract:
  6. Declares a set of general purpose service utilitils.
  7. History:
  8. a-davj 04-Mar-97 Created.
  9. --*/
  10. #ifndef _SERVUTIL_H_
  11. #define _SERVUTIL_H_
  12. BOOL StopService(LPCTSTR pServiceName, DWORD dwMaxWait=0);
  13. BOOL StartService(LPCTSTR pServiceName, DWORD dwMaxWait=0);
  14. BOOL InstallService(LPCTSTR pServiceName,LPCTSTR pDisplayName, LPCTSTR pBinary);
  15. BOOL RemoveService(LPCTSTR pServiceName);
  16. BOOL SetDependency(LPCTSTR pServiceName, LPCTSTR pDependency);
  17. #endif