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

#ifndef __SVC_H__
#define __SVC_H__
#define SVC_NOTEXIST 0
#define SVC_DISABLED 1
#define SVC_AUTO_START 2
#define SVC_MANUAL_START 3
int GetServiceStartupMode(LPCTSTR lpMachineName, LPCTSTR lpServiceName);
INT ConfigServiceStartupType(LPCTSTR lpMachineName, LPCTSTR lpServiceName, int iNewType);
#endif // __SVC_H__