[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Types' (#rtl)

IStream.Seek

Set the stream position

Declaration

Source position: types.pp line 302

function IStream.Seek(

  dlibMove: LargeUint;

  dwOrigin: LongInt;

  out libNewPosition: LargeUint

):HRESULT;

Description

Seek sets the stream position at dlibMove bytes from dwOrigin (one of the SEEK_* constants) and returns the new absolute position in libNewPosition. The function returns zero on success, or an error code.

Errors

On error, a nonzero exit code is returned.


Documentation generated on: Sep 28 2017