示例#1
0
 internal static extern bool QueryServiceStatusEx(
     SafeServiceHandle hService,
     SC_STATUS_TYPE InfoLevel,
     SafeBuffer lpBuffer,
     int cbBufSize,
     out int pcbBytesNeeded
     );
示例#2
0
 public static extern bool QueryServiceStatusEx([In] ref SC_HANDLE__ hService, SC_STATUS_TYPE InfoLevel, IntPtr lpBuffer, uint cbBufSize, [Out] out uint pcbBytesNeeded);
示例#3
0
 public static extern IntPtr QueryServiceStatusEx(IntPtr serviceHandle, SC_STATUS_TYPE infoLevel, ref SERVICE_STATUS_PROCESS serviceStatusProcess, int serviceStatusProcessSize, ref uint bytesNeeded);
示例#4
0
 public static unsafe extern bool QueryServiceStatusEx(
     IntPtr serviceHandle,
     SC_STATUS_TYPE statusType,
     IntPtr buffer,
     int bufferSize,
     out int bytesNeeded);
示例#5
0
 public static extern bool QueryServiceStatusEx([System.Runtime.InteropServices.InAttribute()] IntPtr hService, SC_STATUS_TYPE InfoLevel, IntPtr lpBuffer, uint cbBufSize, ref uint pcbBytesNeeded);
示例#6
0
 public static unsafe extern bool QueryServiceStatusEx(
     SafeServiceHandle hService,
     SC_STATUS_TYPE InfoLevel,
     void* lpBuffer,
     int cbBufSize,
     out int pcbBytesNeeded);
示例#7
0
 public static extern bool QueryServiceStatusEx(SafeHandle hService,
                                                SC_STATUS_TYPE InfoLevel,
                                                ref SERVICE_STATUS_PROCESS dwServiceStatus,
                                                int cbBufSize,
                                                ref int pcbBytesNeeded);
示例#8
0
 public static extern unsafe bool QueryServiceStatusEx(
     IntPtr serviceHandle,
     SC_STATUS_TYPE statusType,
     IntPtr buffer,
     int bufferSize,
     out int bytesNeeded);
示例#9
0
 public static extern bool QueryServiceStatusEx(SafeHandle hService,
                                               SC_STATUS_TYPE InfoLevel,
                                               ref SERVICE_STATUS_PROCESS dwServiceStatus,
                                               int cbBufSize,
                                               ref int pcbBytesNeeded);