PEHeaderBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the header for a portable executable (PE) file.
public ref class PEHeaderBuilder sealed
public sealed class PEHeaderBuilder
type PEHeaderBuilder = class
Public NotInheritable Class PEHeaderBuilder
- Inheritance
-
PEHeaderBuilder
Constructors
Properties
DllCharacteristics |
Returns the dynamic linker library characteristics. |
FileAlignment |
The alignment factor (in bytes) that is 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 section alignment is less than the architecture's page size, then file alignment must match the section alignment. |
ImageBase |
The preferred address of the first byte of image when loaded into memory; must be a multiple of 64K. |
ImageCharacteristics |
Returns the image characteristics. |
Machine |
The target machine's CPU architecture. |
MajorImageVersion |
The major version number of the image. |
MajorLinkerVersion |
The linker major version number. |
MajorOperatingSystemVersion |
The major version number of the required operating system. |
MajorSubsystemVersion |
The major version number of the subsystem. |
MinorImageVersion |
The minor version number of the image. |
MinorLinkerVersion |
The linker minor version number. |
MinorOperatingSystemVersion |
The minor version number of the required operating system. |
MinorSubsystemVersion |
The minor version number of the subsystem. |
SectionAlignment |
The alignment (in bytes) of sections when they are loaded into memory. |
SizeOfHeapCommit |
The size of the local heap space to commit. |
SizeOfHeapReserve |
The size of the local heap space to reserve. Only SizeOfHeapCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
SizeOfStackCommit |
The size of the stack to commit. |
SizeOfStackReserve |
The size of the stack to reserve. Only SizeOfStackCommit is committed; the rest is made available one page at a time until the reserve size is reached. |
Subsystem |
The subsystem that is required to run this image. |
Methods
CreateExecutableHeader() |
Creates an executable header. |
CreateLibraryHeader() |
Creates a library header. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |