Every conversion between UCS-2 and a specific codepage is controlled by an instance of the UconvObject type (called a "conversion object").
The UniCreateUconvObject function creates a UconvObject for the specified codepage. This codepage and the optional conversion attributes are both defined through the conversion specifier.
The conversion attributes may also be modified subsequently, and in slightly greater detail, using the UniSetUconvObject function in conjunction with the uconv_attribute_t data structure. Similarly, attributes may be queried using UniQueryUconvObject.
The UconvObject may be used to convert a string from the associated codepage to UCS-2, or from UCS-2 to the associated codepage, depending on the function(s) used. See performing conversions for details.
Once it is no longer needed, a UconvObject should be freed using UniFreeUconvObject.