---
title: DisposeUnicodeToTextRunInfo
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: coreservices/1433595-disposeunicodetotextruninfo
---

# DisposeUnicodeToTextRunInfo

Releases the memory allocated for the specified Unicodeconverter object.

## Declaration

```occ
OSStatus DisposeUnicodeToTextRunInfo(UnicodeToTextRunInfo *ioUnicodeToTextRunInfo);
```

## Parameters

- `ioUnicodeToTextRunInfo`: A pointer to a Unicode converter object. On input, you specify a Unicode converter object that points to the conversion information to dispose. It must be an object which your application created using the function doc://com.apple.documentation/documentation/coreservices/1433632-createunicodetotextruninfo, doc://com.apple.documentation/documentation/coreservices/1433651-createunicodetotextruninfobyenco, or doc://com.apple.documentation/documentation/coreservices/1433657-createunicodetotextruninfobyscri. You must point to any other type of Unicode converter object. Your application should not use this function with the same structure more than once.

## Return Value

Return Value A resultcode. See Result Codes. If your application specifiesan invalid Unicode converter object, such as NULL,the function returns paramErr.

## See Also

### Converting From Unicode to Multiple Encodings

- [ConvertFromUnicodeToTextRun](coreservices/1433511-convertfromunicodetotextrun.md)
- [ConvertFromUnicodeToScriptCodeRun](coreservices/1433662-convertfromunicodetoscriptcoderu.md)
- [CreateUnicodeToTextRunInfo](coreservices/1433632-createunicodetotextruninfo.md)
- [CreateUnicodeToTextRunInfoByEncoding](coreservices/1433651-createunicodetotextruninfobyenco.md)
- [CreateUnicodeToTextRunInfoByScriptCode](coreservices/1433657-createunicodetotextruninfobyscri.md)
- [ResetUnicodeToTextRunInfo](coreservices/1433495-resetunicodetotextruninfo.md)
