From RAD Studio API Documentation
Jump to: navigation, search


typedef void __fastcall (__closure *TStreamProc)(TStream* Stream);


Type Visibility Source Unit Parent
typedef public System.Classes.hpp System.Classes System.Classes


TStreamProc is a type of callback procedure called used by TFiler and descendant DefineBinaryProperty methods.

DefineBinaryProperty introduces an abstract method that allows descendants to read or write binary data like a property.

Each descendant Filer object declares a DefineProperty method that defines the data that the descendant object will read or write as if the data were a property.

TStreamProc is the callback procedure parameter in that DefineBinaryProperty. When called, it supplies the TFiler or descendant object, allowing binary data read and write access.

See Also