System.Classes.TStream.FixupResourceHeader

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FixupResourceHeader(FixupInfo: Integer);

C++

void __fastcall FixupResourceHeader(int FixupInfo);

Properties

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

Description

Patches the resource header for a resource that has been written to the stream.

Do not call FixupResourceHeaderş it is used internally. The WriteDescendentRes method calls FixupResourceHeader after writing a component to the stream. This method then uses the current position to determine the size of the resource just written and adjust the resource header accordingly.

The FixupInfo parameter is the value returned by WriteResourceHeader when it writes the resource header (before WriteDescendentRes streams out the component.)

See Also