public interface OptionalHeaderWindowsSpecificFields
Modifier and Type | Method and Description |
---|---|
int |
getCheckSum()
Image file checksum.
|
short |
getDLLCharacteristics()
Indicates characteristics of a DLL; see
DLLCharacteristics . |
int |
getFileAlignment()
Alignment factor (in bytes) used to align the raw data of
sections in the image file.
|
long |
getImageBase()
Preferred address of first byte of image when loaded into
memory; must be a multiple of 64K.
|
int |
getLoaderFlags()
Obsolete.
|
short |
getMajorImageVersion()
Major version number of image.
|
short |
getMajorOperatingSystemVersion()
Major version number of required OS.
|
short |
getMajorSubsystemVersion()
Major version number of subsystem.
|
short |
getMinorImageVersion()
Minor version number of image.
|
short |
getMinorOperatingSystemVersion()
Minor version number of required OS.
|
short |
getMinorSubsystemVersion()
Minor version number of subsystem.
|
int |
getNumberOfRvaAndSizes()
Number of data-dictionary entries in the remainder of the
Optional Header.
|
int |
getSectionAlignment()
Alignment (in bytes) of sections when loaded into memory.
|
int |
getSizeOfHeaders()
Combined size of MS-DOS stub, PE Header, and section headers
rounded up to a multiple of FileAlignment.
|
long |
getSizeOfHeapCommit()
Size of local heap space to commit.
|
long |
getSizeOfHeapReserve()
Size of local heap space to reserve.
|
int |
getSizeOfImage()
Size, in bytes, of image, including all headers; must be a
multiple of Section Alignment.
|
long |
getSizeOfStackCommit()
Size of stack to commit.
|
long |
getSizeOfStackReserve()
Size of stack to reserve.
|
short |
getSubsystem()
Subsystem required to run this image; returns one of the
constants defined in
WindowsNTSubsystem . |
long getImageBase()
int getSectionAlignment()
int getFileAlignment()
short getMajorOperatingSystemVersion()
short getMinorOperatingSystemVersion()
short getMajorImageVersion()
short getMinorImageVersion()
short getMajorSubsystemVersion()
short getMinorSubsystemVersion()
int getSizeOfImage()
int getSizeOfHeaders()
int getCheckSum()
short getSubsystem()
WindowsNTSubsystem
.short getDLLCharacteristics()
DLLCharacteristics
.long getSizeOfStackReserve()
long getSizeOfStackCommit()
long getSizeOfHeapReserve()
long getSizeOfHeapCommit()
int getLoaderFlags()
int getNumberOfRvaAndSizes()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.