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 Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.jna.Structure
Structure.ByValue, Structure.FieldOrder, Structure.StructField
-
Field Summary
FieldsModifier 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.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
int
Methods inherited from class com.sun.jna.Structure
allocateMemory, 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
-
dwSignature
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
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
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
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
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
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
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
Contains a bitmask that specifies the Boolean attributes of the file. This member can include one or more of the following values. -
dwFileOS
The operating system for which this file was designed. -
dwFileType
The general type of file. -
dwFileSubtype
The function of the file. The possible values depend on the value of dwFileType. -
dwFileDateMS
The most significant 32 bits of the file's 64-bit binary creation date and time stamp. -
dwFileDateLS
The least significant 32 bits of the file's 64-bit binary creation date and time stamp.
-
-
Constructor Details
-
VS_FIXEDFILEINFO
public VS_FIXEDFILEINFO() -
VS_FIXEDFILEINFO
-
-
Method Details
-
getFileVersionMajor
public int getFileVersionMajor() -
getFileVersionMinor
public int getFileVersionMinor() -
getFileVersionRevision
public int getFileVersionRevision() -
getFileVersionBuild
public int getFileVersionBuild() -
getProductVersionMajor
public int getProductVersionMajor() -
getProductVersionMinor
public int getProductVersionMinor() -
getProductVersionRevision
public int getProductVersionRevision() -
getProductVersionBuild
public int getProductVersionBuild()
-