Quickinsertname

OllyDbg Plugin API

Quickinsertname

Inserts new or replaces existing name of given type in the name table. NULL or empty names are not allowed. Returns 0 on success and -1 on error. Names added by this function are unavailable until you call Mergequicknames. If you add multiple names, Quickinsertname is much faster than Insertname. Note: do not call Insertname between calls to Quickinsertname and Mergequicknames!

int Quickinsertname(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: Insertname, Mergequicknames, Discardquicknames, Findname, Deletenamerange