Converts a string from Unicode to the local display's code page.
#include <unilib.h>
int unin2locspecial (
UniRuleTable_t handle,
char *dest,
size_t *destLen,
const unicode_t *src,
size_t srcLen );
(IN) Specifies the table to use in the conversion. To use the host's default code page, specify UNI_LOCAL_DEFAULT. Otherwise, specify the value returned from the UniGetTable function.
(OUT) Points to the converted string.
(IN/OUT) Points to the maximum number of bytes that the destination string can hold when the function is called. When the function returns, it contains the number of bytes in the converted string.
(IN) Points to the source string.
(IN) Specifies the number of Unicode characters in the source string.
If successful, returns 0. Otherwise, returns a negative error code: