Unit 'Types' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

IStream.SetSize

Set the stream size.

Declaration

Source position: types.pp line 507

function IStream.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.


Documentation generated on: Oct 27 2024