Sign in Join
FPDoc Onlineexperiment

IStream.SetSize function

Member of IStreamIn unit Types

Set the stream size.

Declaration

pascal
function SetSize(libNewSize: LargeUint): HRESULT

Description

SetSize sets the size of the stream to libNewSize bytes, if the stream allows it. On success, zero is returned.

Errors

On error, a nonzero exit code is returned.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.