TStream.FixupResourceHeader
TStream
Patches the resource header for a resource that has been written to the stream.
procedure FixupResourceHeader(FixupInfo: Integer);
Description
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).
|