Prev Next

StringFileInfo info  Overview  Group

The StringFileInfo 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 Platform Software Development Kit (SDK).

The StringFileInfo structure contains version information that can be displayed for a particular language and code page.

StringFileInfo { 

    WORD        wLength; 

    WORD        wValueLength; 

    WORD        wType; 

    WCHAR       szKey[]; 

    WORD        Padding[]; 

    StringTable Children[]; 

}; 

 

Members

wLength
Specifies the length, in bytes, of the entire StringFileInfo block, including all structures indicated by the Children member.
wValueLength
This member is always equal to zero.
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 “StringFileInfo”.
Padding
Contains as many zero words as necessary to align the Children member on a 32-bit boundary.
Children
Contains 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

The Children member of the VS_VERSION_INFO structure may contain zero or more StringFileInfo structures.

See Also

StringTable, String, VS_VERSION_INFO