---
title: DisposeUnicodeToTextInfo
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: coreservices/1433564-disposeunicodetotextinfo
---

# DisposeUnicodeToTextInfo

Releases the memory allocated for the specified Unicodeconverter object.

## Declaration

```occ
OSStatus DisposeUnicodeToTextInfo(UnicodeToTextInfo *ioUnicodeToTextInfo);
```

## Parameters

- `ioUnicodeToTextInfo`: A pointer to a Unicode converter object for converting from Unicode to a non-Unicode encoding. You specify a Unicode converter object that your application created using the function doc://com.apple.documentation/documentation/coreservices/1433522-createunicodetotextinfo or doc://com.apple.documentation/documentation/coreservices/1433550-createunicodetotextinfobyencodin. You must not point to any other type of Unicode converter object. Your application should not attempt to dispose of the same Unicode converter object more than once.

## Return Value

Return Value A resultcode. See Result Codes.  The function returns noErr ifit disposes of the Unicode converter object successfully. If your applicationspecifies an invalid Unicode converter object, such as NULL,the function returns a paramErr resultcode.

## See Also

### Converting From Unicode

- [ChangeUnicodeToTextInfo](coreservices/1433509-changeunicodetotextinfo.md)
- [ConvertFromUnicodeToText](coreservices/1433542-convertfromunicodetotext.md)
- [CreateUnicodeToTextInfo](coreservices/1433522-createunicodetotextinfo.md)
- [CreateUnicodeToTextInfoByEncoding](coreservices/1433550-createunicodetotextinfobyencodin.md)
- [ResetUnicodeToTextInfo](coreservices/1433647-resetunicodetotextinfo.md)
