wstrdup
np->name = wstrdup(nam);
extern wchar_t *wstrdup(wchar_t *);
wrapentry->wrapstr = wstrdup(a);