Insertname

OllyDbg Plugin API

Insertname

Inserts new or replaces existing name of given type in the name table. If name is NULL or empty, entry is deleted. Returns 0 on success and -1 on error. Note: do not call this function between calls to Quickinsertname and Mergequicknames!

int Insertname(ulong addr,int type,char *name);

Parameters:

addr - name address;

type - name type (NM_xxx for predefined types);

name - name to insert. If name is NULL or empty, entry is removed from the name table.

See also: Quickinsertname, Mergequicknames, Discardquicknames, Findname, Deletenamerange