#include <revolution/enc.h> ENCResult ENCGetExternalCharacterWidth(const ENCContext* context, u32* width);
| context | Character code conversion context. |
|---|---|
| width | Minimum character width of the conversion target external character encoding. |
ENC_OK: Normal exit.ENC_ERR_INVALID_PARAM: Invalid argument.ENC_ERR_UNKNOWN_ENCODING: Unknown character encoding.
Acquires the minimum character width of the conversion target external character encoding.
Returns 1 for single-byte and multi-byte characters, and 1, 2, 4 for wide characters.
The minimum character width of internal character encoding is defined as ENC_INTERNAL_CHAR_WIDTH.
None.
2006/10/19 Initial version.
CONFIDENTIAL