Exemple #1
0
 public static extern int DeleteService(ServiceControlHandle serviceHandle);
Exemple #2
0
 public static extern int StartService(ServiceControlHandle serviceHandle, int dwNumServiceArgs, string lpServiceArgVectors);
Exemple #3
0
 public static extern ServiceControlHandle OpenService(ServiceControlHandle serviceControlManagerHandle, string lpSvcName, uint dwDesiredAccess);
Exemple #4
0
 public static extern ServiceControlHandle CreateService(ServiceControlHandle serviceControlManagerHandle, string lpSvcName, string lpDisplayName, uint dwDesiredAccess, int dwServiceType, int dwStartType, int dwErrorControl, string lpPathName, string lpLoadOrderGroup, IntPtr lpdwTagId, string lpDependencies, string lpServiceStartName, string lpPassword);