Пример #1
0
 public static extern bool QueryServiceStatusEx(SafeHandle hService,
                                                SC_STATUS_TYPE InfoLevel,
                                                ref SERVICE_STATUS_PROCESS dwServiceStatus,
                                                int cbBufSize,
                                                ref int pcbBytesNeeded);
Пример #2
0
 public static extern bool QueryServiceStatusEx(SafeHandle hService,
                                               SC_STATUS_TYPE InfoLevel,
                                               ref SERVICE_STATUS_PROCESS dwServiceStatus,
                                               int cbBufSize,
                                               ref int pcbBytesNeeded);