ServicesControlCreateService Method

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public static IntPtr CreateService(
	IntPtr hSCM,
	string sName,
	string sDisplay,
	int iAccess,
	int iServiceType,
	int iStartType,
	int iError,
	string sPath,
	string sGroup,
	int iTag,
	string sDepends,
	string sUser,
	string sPass
)

Parameters

hSCM  IntPtr
 
sName  String
 
sDisplay  String
 
iAccess  Int32
 
iServiceType  Int32
 
iStartType  Int32
 
iError  Int32
 
sPath  String
 
sGroup  String
 
iTag  Int32
 
sDepends  String
 
sUser  String
 
sPass  String
 

Return Value

IntPtr

See Also