System.Classes.TStream.WriteResourceHeader
Delphi
procedure WriteResourceHeader(const ResName: string; out FixupInfo: Integer);
C++
void __fastcall WriteResourceHeader(const System::UnicodeString ResName, /* out */ int &FixupInfo);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TStream |
Description
Writes a resource-file header to the stream.
Do not call WriteResourceHeader; it is used internally. The WriteDescendentRes method calls WriteResourceHeader before writing a component to the stream. This method writes the resource-file header, using the value passed as ResName for the name of the resource. It returns a position in FixupInfo that must be used to adjust the header after the size of the resource is known. WriteDescendentRes calls FixupResourceHeader with the value returned as FixupInfo after streaming out the component.