Identical information is stored in the first 64 Bytes of the header, but depending on the data stored in the data part of the file, the header may contain additional information, which increases its size.
The default size of the file header is 64 bytes.
The Signature is always “WDA”.
Note: Older versions may carry the signatures “W51PC”, “W41PC” or “W40PC”.
The File Type is dependent on the stored data and can have the following values:
Ø Text
Ø Graphics
Ø FELDHELL
Ø SigAnal
Ø SAT
Ø Classifr
Ø CCC
Ø Sonagram
The Version is always “0x00020000” (Version A) or ”0x00030000” (Version B).
LineCount contains the number of data lines stored (the data stored is line based, that is a data package represents the data of a line).
Pad contains additional information to be stored.
Pad2 contains additional information to be stored.
The 64 Byte struct type below can be used to extract the file header.
struct FileHeader
{
char Signature[8];
char FileType[8];
LONG Version;
LONG LineCount;
char Pad[8];
char Pad2[32];
};