System.Win.Registry.TRegistryIniFile.ReadBinaryStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadBinaryStream(const Section, Name: string; Value: TStream): Integer; override;

C++

virtual int __fastcall ReadBinaryStream(const System::UnicodeString Section, const System::UnicodeString Name, System::Classes::TStream* Value);

Properties

Type Visibility Source Unit Parent
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistryIniFile

Description

Retrieves a binary value from the registry.

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.

See Also