RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistryIniFile.ReadBinaryStream Method

Retrieves a binary value from the registry.

Pascal
function ReadBinaryStream(const Section: string; const Name: string; Value: TStream): Integer; override;
C++
virtual __fastcall int ReadBinaryStream(const AnsiString Section, const AnsiString Name, TStream Value);

Call ReadBinaryStream to read a binary value into a specified stream. After reading the binary value from the INI file into the current position of the stream, ReadBinaryStream returns the number of bytes written to the stream. The stream is left positioned immediately after the new binary value. 

Section is the key for the section that contains the binary data. 

Name is the subkey under which the binary data is stored. 

Value is a stream to which the binary value is written. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!