Describes the attributes and characteristics of a conversion object. All of these fields are queryable through UniQueryUconvObject. Some of the fields are settable through UniSetUconvObject; these are marked in the descriptions.
typedef struct _uconv_attribute_t { ULONG version; /* Version (must be zero). Settable. */ CHAR mb_min_len; /* Minimum character size. */ CHAR mb_max_len; /* Maximum character size. */ CHAR usc_min_len; /* UCS minimum character size. */ CHAR usc_max_len; /* UCS maximum character size. */ USHORT esid; /* Encoding scheme ID. */ CHAR options; /* Substitution options. Settable. */ CHAR state; /* Current state. Settable. */ conv_endian_t endian; /* Source and target chain. Settable. */ ULONG displaymask; /* Display and data mask. Settable. */ ULONG converttype; /* Conversion type. Settable. */ USHORT subchar_len; /* MBCS sub-character length. Settable. */ USHORT subuni_len; /* Unicode sub-character length. Settable. */ CHAR subchar[16]; /* MBCS subcharacters. Settable. */ UniChar subuni[8]; /* Unicode subcharacters. Settable. */ } uconv_attribute_t; typedef uconv _ attribute _ t * puconv _ attribute _ t ;