EnumDependentServicesA method

int EnumDependentServicesA(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwServiceState,
  3. Pointer<LPENUM_SERVICE_STATUSA> lpServices,
  4. int cbBufSize,
  5. Pointer<Uint64> pcbBytesNeeded,
  6. Pointer<Uint64> lpServicesReturned,
)

Implementation

int EnumDependentServicesA(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwServiceState,
  ffi.Pointer<LPENUM_SERVICE_STATUSA> lpServices,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
  ffi.Pointer<ffi.Uint64> lpServicesReturned,
) {
  return (_EnumDependentServicesA ??= _dylib.lookupFunction<
      _c_EnumDependentServicesA,
      _dart_EnumDependentServicesA>('EnumDependentServicesA'))(
    hService,
    dwServiceState,
    lpServices,
    cbBufSize,
    pcbBytesNeeded,
    lpServicesReturned,
  );
}