Var {
char szKey[];
BYTE Padding[];
Var Value[];
};
The Var structure depicts the organization of data in a file version resource. This structure is not a true C data structure because it contains variable length fields. This structure was created solely to depict the organization of data in a version resource; it does not appear in any of the include files shipped with the Win32 Software Development Kit (SDK).
The Var block contains version information that is not dependent on a particular language and codepage.
szKey
Specifies an arbitrary 7-bit ASCII English string. szKey may be the following value:
Value | Meaning |
Translation | Value contains an array of DWORDs indicating the language/codepage combinations supported by this file. The high WORD of each DWORD contains a Microsoft Language ID and the low WORD contains the IBM CodePage number. Either WORD may be zero, indicating that the file is language or codepage independent. If this block is omitted, the file will be interpreted as language and codepage independent. |
Padding
Contains as many zero bytes as necessary to align the Value field on a 32-bit boundary.
Value
Specifies a list of zero or more Var blocks.
The Children field of the VS_VERSION_INFO block may contain zero or more Var blocks.
VS_VERSION_INFO, VarFileInfo