Beispiel #1
0
 public static extern bool QueryServiceConfigA([In] ref SC_HANDLE__ hService, IntPtr lpServiceConfig, uint cbBufSize, [Out] out uint pcbBytesNeeded);
Beispiel #2
0
 public static extern bool QueryServiceObjectSecurity([In] ref SC_HANDLE__ hService, uint dwSecurityInformation, IntPtr lpSecurityDescriptor, uint cbBufSize, [Out] out uint pcbBytesNeeded);
Beispiel #3
0
 public static extern bool QueryServiceLockStatusA([In] ref SC_HANDLE__ hSCManager, IntPtr lpLockStatus, uint cbBufSize, [Out] out uint pcbBytesNeeded);
Beispiel #4
0
 public static extern bool QueryServiceStatus([In] ref SC_HANDLE__ hService, [Out] out SERVICE_STATUS lpServiceStatus);
Beispiel #5
0
 public static extern bool QueryServiceStatusEx([In] ref SC_HANDLE__ hService, SC_STATUS_TYPE InfoLevel, IntPtr lpBuffer, uint cbBufSize, [Out] out uint pcbBytesNeeded);
Beispiel #6
0
 public static extern bool QueryServiceConfig2A([In] ref SC_HANDLE__ hService, uint dwInfoLevel, IntPtr lpBuffer, uint cbBufSize, [Out] out uint pcbBytesNeeded);
Beispiel #7
0
 public static extern IntPtr LockServiceDatabase([In] ref SC_HANDLE__ hSCManager);
Beispiel #8
0
 public static extern IntPtr OpenServiceA([In] ref SC_HANDLE__ hSCManager, [In][MarshalAs(UnmanagedType.LPStr)] string lpServiceName, uint dwDesiredAccess);