locale_object (const LocaleObject)

      Locale object created by a call to UniCreateLocaleObject.

    category (int)

      Locale category identifier.

      The permissible values for category are:

      • LC_ALL 
          LC_COLLATE
        
          LC_CTYPE
        
          LC_MESSAGES
        
          LC_MONETARY
        
          LC_NUMERIC
        
          LC_TIME

        LocaleSpecType (int)

          LocaleSpecType 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 be returned.
          UNI_TOKEN_POINTER
            Requests that a pointer to a token pointer be returned.
          UNI_UCS_STRING_POINTER
            Requests that a UCS string pointer be returned.

          locale_name

            The address of a pointer variable locale_name that will contain the locale name.

          result (int) - returns

            ULS_BADOBJ

              The locale object specified is not valid.
            ULS_NOMEMORY
              Insufficient memory to store the locale specification.
            ULS_NOTOKEN
              No token can be assembled for the locale object and category combination. The contents of locale_name are undefined and no memory is allocated.
            ULS_SUCCESS
              A valid locale specification for the supplied locale object is returned.
            ULS_UNSUPPORTED
              The specified category is not supported.
            For a full list of error codes and the decimal and hexadecimal values of the error codes, see Error Codes.


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