PEHeader.AddressOfEntryPoint Property

Definition

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.

Applies to