GetFileBandwidthReservation method

int GetFileBandwidthReservation(
  1. Pointer<Void> hFile,
  2. Pointer<Uint64> lpPeriodMilliseconds,
  3. Pointer<Uint64> lpBytesPerPeriod,
  4. Pointer<Int32> pDiscardable,
  5. Pointer<Uint64> lpTransferSize,
  6. Pointer<Uint64> lpNumOutstandingRequests,
)

Implementation

int GetFileBandwidthReservation(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Uint64> lpPeriodMilliseconds,
  ffi.Pointer<ffi.Uint64> lpBytesPerPeriod,
  ffi.Pointer<ffi.Int32> pDiscardable,
  ffi.Pointer<ffi.Uint64> lpTransferSize,
  ffi.Pointer<ffi.Uint64> lpNumOutstandingRequests,
) {
  return (_GetFileBandwidthReservation ??= _dylib.lookupFunction<
      _c_GetFileBandwidthReservation,
      _dart_GetFileBandwidthReservation>('GetFileBandwidthReservation'))(
    hFile,
    lpPeriodMilliseconds,
    lpBytesPerPeriod,
    pDiscardable,
    lpTransferSize,
    lpNumOutstandingRequests,
  );
}