VS_VERSION_INFO  6J815P 

The VS_VERSION_INFO 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).

VS_VERSION_INFO { 

    WORD  wLength;

    WORD  wValueLength;

    WORD  wType;

    WCHAR szKey[];

    WORD  Padding1[];

    VS_FIXEDFILEINFO Value;

    WORD  Padding2[];

    WORD  Children[];

};

 

Members

wLength

Specifies the length of the VS_VERSION_INFO structure. This length does not include any padding that aligns the subsequent version structure on a 32-bit boundary.

wValueLength

Specifies the length of the Value member. 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  VS_VERSION_INFO .

Padding1

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

Value

Contains a VS_FIXEDFILEINFO0ICGL structure that specifies arbitrary data associated with this structure. The wValueLength member specifies the length of this member; if wValueLength is zero, this member does not exist.

Padding2

Contains as many zero words as necessary to align the Children member on a 32-bit boundary. These bytes are not included in wValueLength. This member is optional.

Children

Specifies a list of zero or more StringFileInfo or VarFileInfo structures (or both) that are children of the current version structure.

 

Remarks

The VS_VERSION_INFO structure is the root structure that contains all other file information structures.

See Also

StringFileInfo, VarFileInfo, VS_FIXEDFILEINFO