internal static extern bool QueryServiceStatusEx( SafeServiceHandle hService, SC_STATUS_TYPE InfoLevel, SafeBuffer lpBuffer, int cbBufSize, out int pcbBytesNeeded );
public static extern bool QueryServiceStatusEx([In] ref SC_HANDLE__ hService, SC_STATUS_TYPE InfoLevel, IntPtr lpBuffer, uint cbBufSize, [Out] out uint pcbBytesNeeded);
public static extern IntPtr QueryServiceStatusEx(IntPtr serviceHandle, SC_STATUS_TYPE infoLevel, ref SERVICE_STATUS_PROCESS serviceStatusProcess, int serviceStatusProcessSize, ref uint bytesNeeded);
public static unsafe extern bool QueryServiceStatusEx( IntPtr serviceHandle, SC_STATUS_TYPE statusType, IntPtr buffer, int bufferSize, out int bytesNeeded);
public static extern bool QueryServiceStatusEx([System.Runtime.InteropServices.InAttribute()] IntPtr hService, SC_STATUS_TYPE InfoLevel, IntPtr lpBuffer, uint cbBufSize, ref uint pcbBytesNeeded);
public static unsafe extern bool QueryServiceStatusEx( SafeServiceHandle hService, SC_STATUS_TYPE InfoLevel, void* lpBuffer, int cbBufSize, out int pcbBytesNeeded);
public static extern bool QueryServiceStatusEx(SafeHandle hService, SC_STATUS_TYPE InfoLevel, ref SERVICE_STATUS_PROCESS dwServiceStatus, int cbBufSize, ref int pcbBytesNeeded);
public static extern unsafe bool QueryServiceStatusEx( IntPtr serviceHandle, SC_STATUS_TYPE statusType, IntPtr buffer, int bufferSize, out int bytesNeeded);