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.

12 lines
354 B

  1. #ifndef __SVC_H__
  2. #define __SVC_H__
  3. #define SVC_NOTEXIST 0
  4. #define SVC_DISABLED 1
  5. #define SVC_AUTO_START 2
  6. #define SVC_MANUAL_START 3
  7. int GetServiceStartupMode(LPCTSTR lpMachineName, LPCTSTR lpServiceName);
  8. INT ConfigServiceStartupType(LPCTSTR lpMachineName, LPCTSTR lpServiceName, int iNewType);
  9. #endif // __SVC_H__