StringFileInfo (Compact 2013)

3/28/2014

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

This structure is not a true C-language structure because it contains variable-length members.

Syntax

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

Members

  • wLength
    Length, in bytes, of the entire StringFileInfo block, including all structures indicated by the Children member.
  • wValueLength
    Always set to zero.
  • wType
    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 "StringFileInfo".
  • Padding
    Contains as many zero words as necessary to align the Children member on a 32-bit boundary.
  • Children
    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.

Requirements

Header

Developer Implemented

See Also

Reference

System Management Structures
StringTable
VS_VERSIONINFO

Other Resources

GetFileVersionInfo