Modifies or removes memory breakpoint. OllyDbg supports only one memory breakpoint at a time. Returns 0 on success and -1 on error. Call Setmembreakpoint(0,0,0) to disable memory breakpoint.
int Setmembreakpoint(int type,ulong addr,ulong size);
Parameters:
type - type of memory breakpoint. Use either MEMBP_READ or MEMBP_READ|MEMBP_WRITE;
addr - start of memory breakpoint in the address space of debugged application;
size - size of memory breakpoint, bytes.