StringFileInfo structure

Represents the organization of data in a file-version resource. It contains version information that can be displayed for a particular language and code page.

Syntax

typedef struct {
  WORD        wLength;
  WORD        wValueLength;
  WORD        wType;
  WCHAR       szKey;
  WORD        Padding;
  StringTable Children;
} StringFileInfo;

Members

wLength

Type: WORD

The length, in bytes, of the entire StringFileInfo 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"StringFileInfo".

Padding

Type: WORD

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

Children

Type: StringTable

An array of one or more StringTable structures. Each StringTable structure's szKey member indicates the appropriate language and code page for displaying the text in that StringTable structure.

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 more StringFileInfo 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

StringTable

String

VS_VERSIONINFO

Conceptual

Version Information