Createprofilewindow

OllyDbg Plugin API

Createprofilewindow

Creates new or brings to top existing profile window and displays actual profile for the specified piece of code. Only one profile window may exist at a time. Returns handle of the window or NULL on error. Note that in order to actualize profile, this function attempts to allocate temporary buffer of size 4*size bytes, and will fail if you specify too large or non-contiguous code block.

HWND Createprofilewindow(ulong base,ulong size);

base - base address of the profiled code;

size - size of the profiled code.

See also: Startruntrace, Getruntraceprofile