EnumDependentServicesW method

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

Implementation

int EnumDependentServicesW(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwServiceState,
  ffi.Pointer<LPENUM_SERVICE_STATUSW> lpServices,
  int cbBufSize,
  ffi.Pointer<ffi.Uint64> pcbBytesNeeded,
  ffi.Pointer<ffi.Uint64> lpServicesReturned,
) {
  return (_EnumDependentServicesW ??= _dylib.lookupFunction<
      _c_EnumDependentServicesW,
      _dart_EnumDependentServicesW>('EnumDependentServicesW'))(
    hService,
    dwServiceState,
    lpServices,
    cbBufSize,
    pcbBytesNeeded,
    lpServicesReturned,
  );
}