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


TStream.WriteResourceHeader
Top 

TStream
Writes a standard Windows resource-file header to the stream.

procedure WriteResourceHeader(const ResName: string; out FixupInfo: Integer);

Description
Do not call WriteResourceHeader, it is used internally. The WriteDescendentRes method calls WriteResourceHeader before writing a component to the stream. This method writes the standard Windows 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.


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