New Win32-only function. Use the wide character Win32 API to do the work