Package com.sun.jna.platform.win32
Class VerRsrc.VS_FIXEDFILEINFO
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.VerRsrc.VS_FIXEDFILEINFO
- Direct Known Subclasses:
- VerRsrc.VS_FIXEDFILEINFO.ByReference
- Enclosing interface:
- VerRsrc
@FieldOrder({"dwSignature","dwStrucVersion","dwFileVersionMS","dwFileVersionLS","dwProductVersionMS","dwProductVersionLS","dwFileFlagsMask","dwFileFlags","dwFileOS","dwFileType","dwFileSubtype","dwFileDateMS","dwFileDateLS"})
public static class VerRsrc.VS_FIXEDFILEINFO
extends Structure
Contains version information for a file. This information is language and code page independent.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class com.sun.jna.StructureStructure.ByValue, Structure.FieldOrder, Structure.StructField
- 
Field SummaryFieldsModifier and TypeFieldDescriptionThe least significant 32 bits of the file's 64-bit binary creation date and time stamp.The most significant 32 bits of the file's 64-bit binary creation date and time stamp.Contains a bitmask that specifies the Boolean attributes of the file.Contains a bitmask that specifies the valid bits in dwFileFlags.The operating system for which this file was designed.The function of the file.The general type of file.The least significant 32 bits of the file's binary version number.The most significant 32 bits of the file's binary version number.The least significant 32 bits of the binary version number of the product with which this file was distributed.The most significant 32 bits of the binary version number of the product with which this file was distributed.Contains the value 0xFEEF04BD.The binary version number of this structure.Fields inherited from class com.sun.jna.StructureALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintintintintintintintintMethods inherited from class com.sun.jna.StructureallocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
- 
Field Details- 
dwSignatureContains the value 0xFEEF04BD. This is used with the szKey member of the VS_VERSIONINFO structure when searching a file for the VS_FIXEDFILEINFO structure.
- 
dwStrucVersionThe 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.
- 
dwFileVersionMSThe 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.
- 
dwFileVersionLSThe 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.
- 
dwProductVersionMSThe 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.
- 
dwProductVersionLSThe 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.
- 
dwFileFlagsMaskContains a bitmask that specifies the valid bits in dwFileFlags. A bit is valid only if it was defined when the file was created.
- 
dwFileFlagsContains a bitmask that specifies the Boolean attributes of the file. This member can include one or more of the following values.
- 
dwFileOSThe operating system for which this file was designed.
- 
dwFileTypeThe general type of file.
- 
dwFileSubtypeThe function of the file. The possible values depend on the value of dwFileType.
- 
dwFileDateMSThe most significant 32 bits of the file's 64-bit binary creation date and time stamp.
- 
dwFileDateLSThe least significant 32 bits of the file's 64-bit binary creation date and time stamp.
 
- 
- 
Constructor Details- 
VS_FIXEDFILEINFOpublic VS_FIXEDFILEINFO()
- 
VS_FIXEDFILEINFO
 
- 
- 
Method Details- 
getFileVersionMajorpublic int getFileVersionMajor()
- 
getFileVersionMinorpublic int getFileVersionMinor()
- 
getFileVersionRevisionpublic int getFileVersionRevision()
- 
getFileVersionBuildpublic int getFileVersionBuild()
- 
getProductVersionMajorpublic int getProductVersionMajor()
- 
getProductVersionMinorpublic int getProductVersionMinor()
- 
getProductVersionRevisionpublic int getProductVersionRevision()
- 
getProductVersionBuildpublic int getProductVersionBuild()
 
-