Skip to content

TStream.WriteResourceHeader

Write resource header to the stream

Declaration

Source position: classesh.inc line 1115

public 
  procedure WriteResourceHeader(const ResName: string; 
                               var FixupInfo: LongInt);

Description

WriteResourceHeader writes a resource-file header for a resource called ResName. It returns in FixupInfo the argument that should be passed on to TStream.FixupResourceHeader .

WriteResourceHeader should not be used directly. It is called by the TStream.WriteComponentRes and TStream.WriteDescendantRes]() methods.

See also

Name Description
TStream.FixupResourceHeader Not implemented in FPC
TStream.WriteComponentRes Write resource header and component data to a stream
TStream.WriteDescendantRes Write resource header and component data to a stream, relative to an ancestor