PEHeader.AddressOfEntryPoint Property
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.
Gets the address of the entry point relative to the image base when the PE file is loaded into memory.
public:
property int AddressOfEntryPoint { int get(); };
public int AddressOfEntryPoint { get; }
member this.AddressOfEntryPoint : int
Public ReadOnly Property AddressOfEntryPoint As Integer
Property Value
The address of the entry point relative to the image base.
Remarks
For program images, this is the starting address. For device drivers, this is the address of the initialization function. An entry point is optional for DLLs. When no entry point is present, this field must be zero.