VarFileInfo structure

Represents the organization of data in a file-version resource. It contains version information not dependent on a particular language and code page combination.

Syntax

typedef struct {
  WORD  wLength;
  WORD  wValueLength;
  WORD  wType;
  WCHAR szKey;
  WORD  Padding;
  Var   Children;
} VarFileInfo;

Members

wLength

Type: WORD

The length, in bytes, of the entire VarFileInfo block, including all structures indicated by the Children member.

wValueLength

Type: WORD

This member is always equal to zero.

wType

Type: WORD

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

Type: WCHAR

The Unicode string L"VarFileInfo".

Padding

Type: WORD

As many zero words as necessary to align the Children member on a 32-bit boundary.

Children

Type: Var

Typically contains a list of languages that the application or DLL supports.

Remarks

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 Windows Software Development Kit (SDK).

The Children member of the VS_VERSIONINFO structure may contain zero or one VarFileInfo structures.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]

See also

Reference

Var

VS_VERSIONINFO

Conceptual

Version Information