Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TStream.FixupResourceHeader
Top 

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).


© 2000-2004 AidAim Software LLC Single File System: Single File Syste