VS_VERSION_INFO {
WORD wLength;
WORD wValueLength;
char szKey[];
BYTE Padding1[];
VS_FIXEDFILEINFO Value;
BYTE Padding2[];
BYTE Children[];
};
The VS_VERSION_INFO 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).
wLength
Specifies the length of the VS_VERSION_INFO block. This length does not include any padding that aligns the subsequent version block on a 32-bit boundary.
wValueLength
Specifies the length of the Value field. This value is zero if there is no Value field associated with the current version block.
szKey
Contains “VS_VERSION_INFO”.
Padding1
Contains as many zero bytes as necessary to align the Value field on a 32-bit boundary.
Value
Contains a VS_FIXEDFILEINFO structure which specifies arbitrary data associated with this block. wValueLength specifies the length of this field; if wValueLength is zero, this field does not exist.
Padding2
Contains as many zero bytes as necessary to align the Children field on a 32-bit boundary. These bytes are not included in wValueLength.
Children
Specifies a list of zero or more StringFileInfo and/or VarFileInfo blocks which are children of the current version block.
The VS_VERSION_INFO structure is the root structure that contains all other file information blocks.
VS_FIXEDFILEINFO, StringFileInfo, VarFileInfo