Guardian Programming Reference Summary for C

Functions Summary (G-N)
Guardian Programming Reference Summary for C522630-001
6-19
result
charset
MBCS_CHARSTRING_
Tests the contents of a data string for the exclusive use of MBCS characters of known
internal character sets.
result
#include <cextdecs(MBCS_CHARSIZE_)>
short MBCS_CHARSIZE_ ( [ short charset ] ); /* i */
0 Indicates that either no MBCS is configured or that the specified MBCS is
not supported.
nonzero Indicates that the result parameter contains the following information:
Bits 0-7 Contains the display size (in columns) of the multibyte character
identified by the test.
Bits 8-15 Contains the internal size (in bytes) of the multibyte character
identified by the test.
1 = Tandem Kanji
9 = Tandem Hangul
10 = Tandem Chinese Big 5
11 = Tandem Chinese PC
12 = Tandem KSC5601
#include <cextdecs(MBCS_CHARSTRING_)>
short MBCS_CHARSTRING_ ( char *testmbcschar /* i */
,short bytecount /* i */
,short *index /* o */
,[ short charset ] /* i */
,[ short *charinfo ] );/* o */
0 = Indicates that the charset parameter contains an unknown MBCS identifier
or contains a known MBCS identifier but the test of testmbcsstring for
valid characters failed.
1 = Indicates that all MBCS characters in the testmbcsstring are valid
characters (or blanks) of the specified MBCS.