UniLocaleStrToToken accepts, as an argument, a locale string qualified by the value of the LocaleStringType argument. It returns a locale token pointed to by locale_token, if such a token exists for that locale string. UniLocaleStrToToken allocates memory to hold the locale token value. Use UniFreeMem to free the memory associated with locale_token by UniLocaleStrToToken. If no locale token exists for the supplied locale string, the value returned in locale_token is undefined.