EnumServicesStatusExA method

int EnumServicesStatusExA(
  1. Pointer<SC_HANDLE__> hSCManager,
  2. int InfoLevel,
  3. int dwServiceType,
  4. int dwServiceState,
  5. Pointer<Uint8> lpServices,
  6. int cbBufSize,
  7. Pointer<Uint64> pcbBytesNeeded,
  8. Pointer<Uint64> lpServicesReturned,
  9. Pointer<Uint64> lpResumeHandle,
  10. Pointer<Int8> pszGroupName,
)

Implementation

int EnumServicesStatusExA(
  ffi.Pointer<SC_HANDLE__> hSCManager,
  int InfoLevel,
  int dwServiceType,
  int dwServiceState,
  ffi.Pointer<ffi.Uint8> lpServices,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
  ffi.Pointer<ffi.Uint64> lpServicesReturned,
  ffi.Pointer<ffi.Uint64> lpResumeHandle,
  ffi.Pointer<ffi.Int8> pszGroupName,
) {
  return (_EnumServicesStatusExA ??= _dylib.lookupFunction<
      _c_EnumServicesStatusExA,
      _dart_EnumServicesStatusExA>('EnumServicesStatusExA'))(
    hSCManager,
    InfoLevel,
    dwServiceType,
    dwServiceState,
    lpServices,
    cbBufSize,
    pcbBytesNeeded,
    lpServicesReturned,
    lpResumeHandle,
    pszGroupName,
  );
}