Skip to content

TStreamAdapter.Read

Read from the stream.

Declaration

Source position: classesh.inc line 1789

public 
function TStreamAdapter.Read(pv: Pointer; cb: DWORD; pcbRead: PDWord)
                             : HRESULT;  virtual; stdcall;

Description

Read implements #rtl.types.ISequentialStream.Read by reading from 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.ISequentialStream.Read Read data from the stream.