size_t mbstowcs_l(wchar_t *pwcs, const char *s, size_t n, __locale_s *loc);
mbstowcs_l is as mbstowcs except that the local loc is used for the conversion as opposed to the current locale.
mbstowcs.