Windows API Guide: Sleep Function


Type VS_FIXEDFILEINFO dwSignature As Long dwStrucVersion As Long dwFileVersionMS As Long dwFileVersionLS As Long dwProductVersionMS As Long dwProductVersionLS As Long dwFileFlagsMask As Long dwFileFlags As Long dwFileOS As Long dwFileType As Long dwFileSubtype As Long dwFileDateMS As Long dwFileDateLS As Long End Type

Description & Usage

The VS_FIXEDFILEINFO structure holds version information that describes a 32-bit executable-type file. No version information strings are stored in the structure.

Visual Basic-Specific Issues

None.

Data Members

dwSignature
The value &HFEEF04BD.
dwStrucVersion
The version number of this structure. The high-order word holds the major version number, and the low-order word holds the minor version number.
dwFileVersionMS
The high-order dword of the 64-bit version number. The high-order word of this dword is the leftmost component of the version number, and the low-order word is the number immediately to the right of it. (This is pretty much the major and minor version numbers of the file.)
dwFileVersionLS
The low-order dword of the 64-bit version number. The low-order word of this dword is the rightmost component of the version number, and the high-order dword is the component immediately to the left of it. (This is pretty much a major and minor revision number, if it is used at all.)
dwProductVersionMS
The high-order dword of the 64-bit version number of the product that the file was shipped with. The format of this value is the same as that of dwFileVersionMS.
dwProductVersionLS
The low-order dword of the 64-bit version number of the product that the file was shipped with. The format of this value is the same as that of dwFileVersionLS.
dwFileFlagsMask
A bitmask that specifies what bits of dwFileFlags are valid.
dwFileFlags
A combination of the following flags specifying additional information about the file's version. Perform a bitwise And between this value and dwFileFlagsMask before checking for any of the following flags.
VS_FF_DEBUG
The file contains debugging information.
VS_FF_INFOINFERRED
The version information in this structure was not found inside the file, but instead was created when needed based on the best information available. Therefore, this structure's information may differ slightly from what the "real" values are.
VS_FF_PATCHED
The file has been modified somehow and is not identical to the original file that shipped with the product.
VS_FF_PRERELEASE
The file is a prerelease development version, not a final commercial release.
VS_FF_PRIVATEBUILD
The file was not built using standard release procedures. There should be data in the file's "PrivateBuild" version information string.
VS_FF_SPECIALBUILD
The file was built using standard release procedures, but is somehow different from the normal file having the same version number. There should be data in the file's "SpecialBuild" version information string.
dwFileOS
One of the following flags specifying the operating system which the file was meant to run on:
VOS_DOS
The file was designed to run under MS-DOS.
VOS_NT
The file was designed to run under Windows NT/2000.
VOS__WINDOWS16
The file was designed to run under the 16-bit Windows API.
VOS__WINDOWS32
The file was designed to run under the 32-bit Windows API.
VOS_OS216
The file was designed to run under a 16-bit version of OS/2.
VOS_OS232
The file was designed to run under a 32-bit version of OS/2.
VOS__PM16
The file was designed to be run under a 16-bit version of Presentation Manager.
VOS__PM32
The file was designed to be run under a 32-bit version of Presentation Manager.
VOS_UNKNOWN
The operating system under which the file was designed to run could not be determined.
dwFileType
One of the following flags specifying the type of file this is:
VFT_APP
The file is an application.
VFT_DLL
The file is a Dynamic Link Library (DLL).
VFT_DRV
The file is a device driver. dwFileSubtype contains more information.
VFT_FONT
The file is a font. dwFileSubtype contains more information.
VFT_STATIC_LIB
The file is a static link library.
VFT_VXD
The file is a virtual device.
VFT_UNKNOWN
The type of file could not be determined.
dwFileSubtype
Specifies additional information about the file. The usage of this element of the structure depends on the value of dwFileType.

If dwFileType is VFT_DRV, then this is one of the following flags specifying the type of driver:
VFT2_DRV_COMM
The file is a communications driver.
VFT2_DRV_DISPLAY
The file is a display driver.
VFT2_DRV_INSTALLABLE
The file is an installable driver.
VFT2_DRV_KEYBOARD
The file is a keyboard driver.
VFT2_DRV_LANGUAGE
The file is a language driver.
VFT2_DRV_MOUSE
The file is a mouse driver.
VFT2_DRV_NETWORK
The file is a network driver.
VFT2_DRV_PRINTER
The file is a printer driver.
VFT2_DRV_SOUND
The file is a sound driver.
VFT2_DRV_SYSTEM
The file is a system driver.
VFT2_UNKNOWN
The type of driver could not be determined.

If dwFileType is VFT_FONT, then this is one of the following flags specifying the type of font:
VFT2_FONT_RASTER
The file is a raster font.
VFT2_FONT_TRUETYPE
The file is a TrueType font.
VFT2_FONT_VECTOR
The file is a vector font.
VFT2_UNKNOWN
The type of font could not be determined.
dwFileDateMS
The high-order dword of the file's 64-bit creation date and time stamp.
dwFileDateLS
The low-order dword of the file's 64-bit creation date and time stamp.

Constant Definitions

Const VS_FF_DEBUG = &H1 Const VS_FF_INFOINFERRED = &H10 Const VS_FF_PATCHED = &H4 Const VS_FF_PRERELEASE = &H2 Const VS_FF_PRIVATEBUILD = &H8 Const VS_FF_PRIVATEBUILD = &H8 Const VOS_DOS = &H10000 Const VOS_NT = &H40000 Const VOS__WINDOWS16 = &H1 Const VOS__WINDOWS32 = &H4 Const VOS_OS216 = &H20000 Const VOS_OS232 = &H30000 Const VOS__PM16 = &H2 Const VOS__PM32 = &H3 Const VOS_UNKNOWN = &H0 Const VFT_APP = &H1 Const VFT_DLL = &H2 Const VFT_DRV = &H3 Const VFT_FONT = &H4 Const VFT_STATIC_LIB = &H7 Const VFT_VXD = &H5 Const VFT_UNKNOWN = &H0 Const VFT2_DRV_COMM = &HA Const VFT2_DRV_DISPLAY = &H4 Const VFT2_DRV_INSTALLABLE = &H8 Const VFT2_DRV_KEYBOARD = &H2 Const VFT2_DRV_LANGUAGE = &H3 Const VFT2_DRV_MOUSE = &H5 Const VFT2_DRV_NETWORK = &H6 Const VFT2_DRV_PRINTER = &H1 Const VFT2_DRV_SOUND = &H9 Const VFT2_DRV_SYSTEM = &H7 Const VFT2_FONT_RASTER = &H1 Const VFT2_FONT_TRUETYPE = &H3 Const VFT2_FONT_VECTOR = &H2 Const VFT2_UNKNOWN = &H0 

Used By

VerQueryValue

Back to the Structure list.
Back to the Reference section.


Last Modified: July 30, 2000
This page is copyright © 2000 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/v/vs_fixedfileinfo.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net