IStream.SetSize

Set the stream size

Declaration

Source position: types.pp line 320

default 
  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.