Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
VS_FIXEDFILEINFO structure (verrsrc.h)
Contains version information for a file. This information is language and code page independent.
Syntax
typedef struct tagVS_FIXEDFILEINFO {
DWORD dwSignature;
DWORD dwStrucVersion;
DWORD dwFileVersionMS;
DWORD dwFileVersionLS;
DWORD dwProductVersionMS;
DWORD dwProductVersionLS;
DWORD dwFileFlagsMask;
DWORD dwFileFlags;
DWORD dwFileOS;
DWORD dwFileType;
DWORD dwFileSubtype;
DWORD dwFileDateMS;
DWORD dwFileDateLS;
} VS_FIXEDFILEINFO;
Members
dwSignature
Type: DWORD
Contains the value 0xFEEF04BD. This is used with the szKey member of the VS_VERSIONINFO structure when searching a file for the VS_FIXEDFILEINFO structure.
dwStrucVersion
Type: DWORD
The binary version number of this structure. The high-order word of this member contains the major version number, and the low-order word contains the minor version number.
dwFileVersionMS
Type: DWORD
The most significant 32 bits of the file's binary version number. This member is used with dwFileVersionLS to form a 64-bit value used for numeric comparisons.
dwFileVersionLS
Type: DWORD
The least significant 32 bits of the file's binary version number. This member is used with dwFileVersionMS to form a 64-bit value used for numeric comparisons.
dwProductVersionMS
Type: DWORD
The most significant 32 bits of the binary version number of the product with which this file was distributed. This member is used with dwProductVersionLS to form a 64-bit value used for numeric comparisons.
dwProductVersionLS
Type: DWORD
The least significant 32 bits of the binary version number of the product with which this file was distributed. This member is used with dwProductVersionMS to form a 64-bit value used for numeric comparisons.
dwFileFlagsMask
Type: DWORD
Contains a bitmask that specifies the valid bits in dwFileFlags. A bit is valid only if it was defined when the file was created.
dwFileFlags
Type: DWORD
Contains a bitmask that specifies the Boolean attributes of the file. This member can include one or more of the following values.
| Value | Meaning |
|---|---|
|
The file contains debugging information or is compiled with debugging features enabled. |
|
The file's version structure was created dynamically; therefore, some of the members in this structure may be empty or incorrect. This flag should never be set in a file's VS_VERSIONINFO data. |
|
The file has been modified and is not identical to the original shipping file of the same version number. |
|
The file is a development version, not a commercially released product. |
|
The file was not built using standard release procedures. If this flag is set, the StringFileInfo structure should contain a PrivateBuild entry. |
|
The file was built by the original company using standard release procedures but is a variation of the normal file of the same version number. If this flag is set, the StringFileInfo structure should contain a SpecialBuild entry. |
dwFileOS
Type: DWORD
The operating system for which this file was designed. This member can be one of the following values.
| Value | Meaning |
|---|---|
|
The file was designed for MS-DOS. |
|
The file was designed for Windows NT. |
|
The file was designed for 16-bit Windows. |
|
The file was designed for 32-bit Windows. |
|
The file was designed for 16-bit OS/2. |
|
The file was designed for 32-bit OS/2. |
|
The file was designed for 16-bit Presentation Manager. |
|
The file was designed for 32-bit Presentation Manager. |
|
The operating system for which the file was designed is unknown to the system. |
An application can combine these values to indicate that the file was designed for one operating system running on another. The following dwFileOS values are examples of this, but are not a complete list.
| Value | Meaning |
|---|---|
|
The file was designed for 16-bit Windows running on MS-DOS. |
|
The file was designed for 32-bit Windows running on MS-DOS. |
|
The file was designed for Windows NT. |
|
The file was designed for 16-bit Presentation Manager running on 16-bit OS/2. |
|
The file was designed for 32-bit Presentation Manager running on 32-bit OS/2. |
dwFileType
Type: DWORD
The general type of file. This member can be one of the following values. All other values are reserved.
| Value | Meaning |
|---|---|
|
The file contains an application. |
|
The file contains a DLL. |
|
The file contains a device driver. If dwFileType is VFT_DRV, dwFileSubtype contains a more specific description of the driver. |
|
The file contains a font. If dwFileType is VFT_FONT, dwFileSubtype contains a more specific description of the font file. |
|
The file contains a static-link library. |
|
The file type is unknown to the system. |
|
The file contains a virtual device. |
dwFileSubtype
Type: DWORD
The function of the file. The possible values depend on the value of dwFileType. For all values of dwFileType not described in the following list, dwFileSubtype is zero.
If dwFileType is VFT_DRV, dwFileSubtype can be one of the following values.
| Value | Meaning |
|---|---|
|
The file contains a communications driver. |
|
The file contains a display driver. |
|
The file contains an installable driver. |
|
The file contains a keyboard driver. |
|
The file contains a language driver. |
|
The file contains a mouse driver. |
|
The file contains a network driver. |
|
The file contains a printer driver. |
|
The file contains a sound driver. |
|
The file contains a system driver. |
|
The file contains a versioned printer driver. |
|
The driver type is unknown by the system. |
If dwFileType is VFT_FONT, dwFileSubtype can be one of the following values.
| Value | Meaning |
|---|---|
|
The file contains a raster font. |
|
The file contains a TrueType font. |
|
The file contains a vector font. |
|
The font type is unknown by the system. |
If dwFileType is VFT_VXD, dwFileSubtype contains the virtual device identifier included in the virtual device control block.
All dwFileSubtype values not listed here are reserved.
dwFileDateMS
Type: DWORD
The most significant 32 bits of the file's 64-bit binary creation date and time stamp.
dwFileDateLS
Type: DWORD
The least significant 32 bits of the file's 64-bit binary creation date and time stamp.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | verrsrc.h (include Windows.h) |
See also
Conceptual
Reference
Feedback
Was this page helpful?
