| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public short | getDLLCharacteristics()
Indicates characteristics of a DLL; see |
| public int | getFileAlignment()
Alignment factor (in bytes) used to align the raw data of sections in the image file. |
| public long | getImageBase()
Preferred address of first byte of image when loaded into memory; must be a multiple of 64K. |
| public int | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public short | |
| public int | |
| public int | |
| public int | getSizeOfHeaders()
Combined size of MS-DOS stub, PE Header, and section headers rounded up to a multiple of FileAlignment. |
| public long | |
| public long | |
| public int | getSizeOfImage()
Size, in bytes, of image, including all headers; must be a multiple of Section Alignment. |
| public long | |
| public long | |
| public short | getSubsystem()
Subsystem required to run this image; returns one of the
constants defined in |
| getCheckSum | back to summary |
|---|---|
| public int getCheckSum() Image file checksum. The algorithm for computing is incorporated into IMAGHELP.DLL. The following are checked for validation at load time: all drivers, any DLL loaded at boot time, and any DLL that ends up in the server. | |
| getDLLCharacteristics | back to summary |
|---|---|
| public short getDLLCharacteristics() Indicates characteristics of a DLL; see | |
| getFileAlignment | back to summary |
|---|---|
| public int getFileAlignment() Alignment factor (in bytes) used to align the raw data of sections in the image file. The value should be a power of 2 between 512 and 64K inclusive. The default is 512. If the SectionAlignment is less than the architecture's page size than this must match the SectionAlignment. | |
| getImageBase | back to summary |
|---|---|
| public long getImageBase() Preferred address of first byte of image when loaded into memory; must be a multiple of 64K. The default for DLLs is 0x10000000. The default for Windows CE EXEs is 0x00010000. The default for Windows NT, Windows 95, and Windows 98 is 0x00400000. | |
| getLoaderFlags | back to summary |
|---|---|
| public int getLoaderFlags() Obsolete. | |
| getMajorImageVersion | back to summary |
|---|---|
| public short getMajorImageVersion() Major version number of image. | |
| getMajorOperatingSystemVersion | back to summary |
|---|---|
| public short getMajorOperatingSystemVersion() Major version number of required OS. | |
| getMajorSubsystemVersion | back to summary |
|---|---|
| public short getMajorSubsystemVersion() Major version number of subsystem. | |
| getMinorImageVersion | back to summary |
|---|---|
| public short getMinorImageVersion() Minor version number of image. | |
| getMinorOperatingSystemVersion | back to summary |
|---|---|
| public short getMinorOperatingSystemVersion() Minor version number of required OS. | |
| getMinorSubsystemVersion | back to summary |
|---|---|
| public short getMinorSubsystemVersion() Minor version number of subsystem. | |
| getNumberOfRvaAndSizes | back to summary |
|---|---|
| public int getNumberOfRvaAndSizes() Number of data-dictionary entries in the remainder of the Optional Header. Each describes a location and size. | |
| getSectionAlignment | back to summary |
|---|---|
| public int getSectionAlignment() Alignment (in bytes) of sections when loaded into memory. Must be greater or equal to File Alignment. Default is the page size for the architecture. | |
| getSizeOfHeaders | back to summary |
|---|---|
| public int getSizeOfHeaders() Combined size of MS-DOS stub, PE Header, and section headers rounded up to a multiple of FileAlignment. | |
| getSizeOfHeapCommit | back to summary |
|---|---|
| public long getSizeOfHeapCommit() Size of local heap space to commit. | |
| getSizeOfHeapReserve | back to summary |
|---|---|
| public long getSizeOfHeapReserve() Size of local heap space to reserve. Only the Heap Commit Size is committed; the rest is made available one page at a time, until reserve size is reached. | |
| getSizeOfImage | back to summary |
|---|---|
| public int getSizeOfImage() Size, in bytes, of image, including all headers; must be a multiple of Section Alignment. | |
| getSizeOfStackCommit | back to summary |
|---|---|
| public long getSizeOfStackCommit() Size of stack to commit. | |
| getSizeOfStackReserve | back to summary |
|---|---|
| public long getSizeOfStackReserve() Size of stack to reserve. Only the Stack Commit Size is committed; the rest is made available one page at a time, until reserve size is reached. | |
| getSubsystem | back to summary |
|---|---|
| public short getSubsystem() Subsystem required to run this image; returns one of the
constants defined in | |