VarFileInfo
The VarFileInfo
structure depicts the organization of data in a file-version resource. This
structure is not a true C-language structure because it contains
variable-length members. This structure was created solely to depict the
organization of data in a version resource and does not appear in any of the
header files shipped with the Microsoft Win32 Software Development Kit (SDK).
The VarFileInfo
structure contains version information not dependent on a particular language
and code page.
VarFileInfo {
WORD wLength;
WORD wValueLength;
WORD wType;
WCHAR
szKey[];
WORD Padding[];
Var Children[];
};
Members
wLength
Specifies the
length of the version resource.
wValueLength
Specifies the
length of the Value member in the current VS_VERSION_INFO
structure. This value is zero if there is no Value member associated
with the current version structure.
wType
Specifies the
type of data in the version resource. This member is 1 if the version resource
contains text data and 0 if the version resource contains binary data.
szKey
Contains the
Unicode string VarFileInfo .
Padding
Contains as
many zero words as necessary to align the Children member on a 32-bit
boundary.
Children
Specifies a
list of zero or more Var structures.
Remarks
The Children
member of the VS_VERSION_INFO structure may contain zero or more VarFileInfo
structures.
See Also