public static class VerRsrc.VS_FIXEDFILEINFO extends Structure
Modifier and Type | Class and Description |
---|---|
static class |
VerRsrc.VS_FIXEDFILEINFO.ByReference |
Structure.ByValue, Structure.StructField
Modifier and Type | Field and Description |
---|---|
WinDef.DWORD |
dwFileDateLS
The least significant 32 bits of the file's 64-bit binary creation date and time stamp.
|
WinDef.DWORD |
dwFileDateMS
The most significant 32 bits of the file's 64-bit binary creation date and time stamp.
|
WinDef.DWORD |
dwFileFlags
Contains a bitmask that specifies the Boolean attributes of the file.
|
WinDef.DWORD |
dwFileFlagsMask
Contains a bitmask that specifies the valid bits in dwFileFlags.
|
WinDef.DWORD |
dwFileOS
The operating system for which this file was designed.
|
WinDef.DWORD |
dwFileSubtype
The function of the file.
|
WinDef.DWORD |
dwFileType
The general type of file.
|
WinDef.DWORD |
dwFileVersionLS
The least significant 32 bits of the file's binary version number.
|
WinDef.DWORD |
dwFileVersionMS
The most significant 32 bits of the file's binary version number.
|
WinDef.DWORD |
dwProductVersionLS
The least significant 32 bits of the binary version number of the product with which this file was
distributed.
|
WinDef.DWORD |
dwProductVersionMS
The most significant 32 bits of the binary version number of the product with which this file was
distributed.
|
WinDef.DWORD |
dwSignature
Contains the value 0xFEEF04BD.
|
WinDef.DWORD |
dwStrucVersion
The binary version number of this structure.
|
static List<String> |
FIELDS |
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
Constructor and Description |
---|
VS_FIXEDFILEINFO() |
VS_FIXEDFILEINFO(Pointer memory) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getFieldOrder()
Return this Structure's field names in their proper order.
|
int |
getFileVersionBuild() |
int |
getFileVersionMajor() |
int |
getFileVersionMinor() |
int |
getFileVersionRevision() |
int |
getProductVersionBuild() |
int |
getProductVersionMajor() |
int |
getProductVersionMinor() |
int |
getProductVersionRevision() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public WinDef.DWORD dwSignature
public WinDef.DWORD dwStrucVersion
public WinDef.DWORD dwFileVersionMS
public WinDef.DWORD dwFileVersionLS
public WinDef.DWORD dwProductVersionMS
public WinDef.DWORD dwProductVersionLS
public WinDef.DWORD dwFileFlagsMask
public WinDef.DWORD dwFileFlags
public WinDef.DWORD dwFileOS
public WinDef.DWORD dwFileType
public WinDef.DWORD dwFileSubtype
public WinDef.DWORD dwFileDateMS
public WinDef.DWORD dwFileDateLS
public VS_FIXEDFILEINFO()
public VS_FIXEDFILEINFO(Pointer memory)
public int getFileVersionMajor()
public int getFileVersionMinor()
public int getFileVersionRevision()
public int getFileVersionBuild()
public int getProductVersionMajor()
public int getProductVersionMinor()
public int getProductVersionRevision()
public int getProductVersionBuild()
protected List<String> getFieldOrder()
Structure
protected List getFieldOrder() {
return Arrays.asList(new String[] { ... });
}
IMPORTANT
When deriving from an existing Structure subclass, ensure that
you augment the list provided by the superclass, e.g.
protected List getFieldOrder() {
List fields = new ArrayList(super.getFieldOrder());
fields.addAll(Arrays.asList(new String[] { ... }));
return fields;
}
Field order must be explicitly indicated, since the
field order as returned by Class.getFields()
is not
guaranteed to be predictable.getFieldOrder
in class Structure