Getwatch

OllyDbg Plugin API

Getwatch

Gets current expression of watch with given 1-based index. Returns length of expression or 0 in case of error.

int Getwatch(int indexone,char *text);

Parameters:

indexone - 1-based index of existing watch to retrieve;

text - buffer of length at least TEXTLEN bytes that receives watch expression.

See also: Insertwatch, Deletewatch