LocaleStringType (int)

      Informs UniLocaleStrToToken of the type of string being passed in the locale_string variable. The LocaleStringType argument can take any of the following values, which are constants defined in the header unidef.h:

      UNI_MBS_STRING_POINTER

        Requests that a multibyte string pointer is held in locale_string.
      UNI_UCS_STRING_POINTER
        Requests that a UCS string pointer is held in locale_string.

      locale_string (const VOID *)

        The locale specification string.

      locale_token (LocaleToken *)

        An address that will receive a pointer to the newly created token corresponding to locale_string.

      result (int) - returns

        ULS_NOMEMORY

          Insufficient memory to store the locale token.
        ULS_NOTOKEN
          No appropriate locale token exists for this locale string.
        ULS_SUCCESS
          A valid locale token for the supplied locale object is returned.
        For a full list of error codes and the decimal and hexadecimal values of the error codes, see Error Codes.


      [Back: UniLocaleStrToToken Return Value - result]
      [Next: UniLocaleStrToToken - Remarks]