Exemplo n.º 1
0
 internal static extern bool QueryServiceConfig(SafeServiceHandle service, SafeGlobalMemoryHandle pServiceConfig, uint bufSize, out uint bytesNeeded);
Exemplo n.º 2
0
 internal static extern bool ChangeServiceConfig(SafeServiceHandle service, SERVICE_TYPE serviceType, SERVICE_STARTTYPE startType,
                                                 SERVICE_ERRORCONTROL errorControl, String binaryPathName, String loadOrderGroup, IntPtr pdwTagId, String dependencies, String serviceStartName,
                                                 String password, String displayName);
Exemplo n.º 3
0
 internal static extern SafeServiceHandle OpenService(SafeServiceHandle manager, string serviceName, SERVICE_ACCESS desiredAccess);