Skip to content

TStreamAdapter.SetSize

Set the stream size.

Declaration

Source position: classesh.inc line 1792

public 
function TStreamAdapter.SetSize(libNewSize: LargeUint) : HRESULT
                               ;  virtual; stdcall;

Description

SetSize implements #rtl.types.IStream.Setsize by setting the size of the stream specified at creation.

Errors

This function must be overridden and will raise a runerror 217 when called directly.

See also

Name Description
#rtl.types.IStream.Setsize Set the stream size.