Ejemplo n.º 1
0
 public static extern IntPtr CreateService(
     IntPtr serviceControlManagerHandle,
     string lpSvcName,
     string lpDisplayName,
     Structs.SERVICE_ACCESS dwDesiredAccess,
     Structs.SERVICE_TYPES dwServiceType,
     Structs.SERVICE_START_TYPES dwStartType,
     Structs.SERVICE_ERROR_CONTROL dwErrorControl,
     string lpPathName,
     string lpLoadOrderGroup,
     IntPtr lpdwTagId,
     string lpDependencies,
     string lpServiceStartName,
     string lpPassword);
Ejemplo n.º 2
0
 public static extern IntPtr OpenService(IntPtr serviceControlManagerHandle, string lpSvcName, Structs.SERVICE_ACCESS dwDesiredAccess);