plChangeEP

The plChangeEP function replaces the PE file's original entry point with the selected one.
plChangeEP( DWORD plNewEP, // New entry point );
Parameters
plNewEP
Dword that contains the RVA of the new entry point
Return Value
If the function succeeds, the return value is TRUE.
Remarks
You can change the entry point using the plUpdatePeInfo with the PL_PEINFO structure filled, too.
Example
invoke plChangeEP, 00001000h |
See Also

Pumqara <programs@mail.bg> 2004. All rights reserved.