OpenEXEfile

OllyDbg Plugin API

OpenEXEfile

Closes actuall process and starts new executable or link specified in path. Returns 0 if executable file is successfully started. Displays error message and returns -1 if file is not a 32-bit Portable Executable or OllyDbg was unable to create new process.

int OpenEXEfile(char *path,int dropped);

Parameters:

path - pointer to ASCII string with name of executable file (.exe) or Explorer link file (.lnk);

dropped - set to 1 if executable file was drag-and-dropped to OllyDbg or plugin, otherwise set it to 0. Currently, the only action of this flag is to clear command line.

See also: Go, Animate, Suspendprocess, Runsinglethread, Restoreallthreads