Skip to content

TStreamAdapter.Read

Read from the stream.

Declaration

Source position: classesh.inc line 1323

public 
  function Read(pv: Pointer; cb: DWORD; pcbRead: PDWord) : HRESULT
               ;  Virtual;

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