SetFileBandwidthReservation method

int SetFileBandwidthReservation(
  1. Pointer<Void> hFile,
  2. int nPeriodMilliseconds,
  3. int nBytesPerPeriod,
  4. int bDiscardable,
  5. Pointer<Uint64> lpTransferSize,
  6. Pointer<Uint64> lpNumOutstandingRequests,
)

Implementation

int SetFileBandwidthReservation(
  ffi.Pointer<ffi.Void> hFile,
  int nPeriodMilliseconds,
  int nBytesPerPeriod,
  int bDiscardable,
  ffi.Pointer<ffi.Uint64> lpTransferSize,
  ffi.Pointer<ffi.Uint64> lpNumOutstandingRequests,
) {
  return (_SetFileBandwidthReservation ??= _dylib.lookupFunction<
      _c_SetFileBandwidthReservation,
      _dart_SetFileBandwidthReservation>('SetFileBandwidthReservation'))(
    hFile,
    nPeriodMilliseconds,
    nBytesPerPeriod,
    bDiscardable,
    lpTransferSize,
    lpNumOutstandingRequests,
  );
}