GetTapePosition method

int GetTapePosition(
  1. Pointer<Void> hDevice,
  2. int dwPositionType,
  3. Pointer<Uint64> lpdwPartition,
  4. Pointer<Uint64> lpdwOffsetLow,
  5. Pointer<Uint64> lpdwOffsetHigh,
)

Implementation

int GetTapePosition(
  ffi.Pointer<ffi.Void> hDevice,
  int dwPositionType,
  ffi.Pointer<ffi.Uint64> lpdwPartition,
  ffi.Pointer<ffi.Uint64> lpdwOffsetLow,
  ffi.Pointer<ffi.Uint64> lpdwOffsetHigh,
) {
  return (_GetTapePosition ??=
      _dylib.lookupFunction<_c_GetTapePosition, _dart_GetTapePosition>(
          'GetTapePosition'))(
    hDevice,
    dwPositionType,
    lpdwPartition,
    lpdwOffsetLow,
    lpdwOffsetHigh,
  );
}