Addsorteddata

void *Addsorteddata(t_sorted *sd,void *item);

Adds or replaces item in the table of sorted data. Increments sorted data version and returns pointer to the item in the data if item is correctly added or replaced. Returns and NULL if either input parameters are invalid, or if table is full and OllyDbg can't allocate more storage.


Parameters:

sd
(in) Pointer to the structure of type t_sorted, descriptor of sorted data
item
(in) Pointer to data item


Return values:

On success, returns pointer to the item in the sorted data. On error, returns NULL.


See also:
Sorted data, Deletesorteddata(), Deletesorteddatarange()