Bugfix - function doesn't take wchar_t* any more!