System.Classes.TStream.ReadResHeader

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadResHeader;

C++

void __fastcall ReadResHeader();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStream

Description

Reads a resource-file header from the stream.

Do not call ReadResHeader directly. It is called automatically by ReadComponentRes before reading a component from a resource file.

After reading the resource-file header, ReadResHeader moves the current position of the stream to just beyond the header. If the stream does not contain a valid resource-file header, ReadResHeader raises an EInvalidImage exception.

See Also