Skip to content

IStream.SetSize

Set the stream size.

Declaration

Source position: types.pp line 509

function IStream.SetSize(libNewSize: LargeUint) : HRESULT; stdcall;

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.