Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-28
MBCS_FORMAT_ITI_BUFFER_ Procedure
Syntax for TAL Programmers
Parameters
error-code returned value
INT
returns a procedure error code.
0 Successful completion of the translation
-1 Source string translation incomplete, ran out of destination buffer area
-2 Unknown terminal type specified
-3 Invalid source string length
-4 Invalid character in Kanji only source string
-5 Control string parameter too long
29 Required parameter missing
source-string input, output
INT(32) .EXT:ref:1
#include <cextdecs(MBCS_FORMAT_ITI_BUFFER_)>
short MBCS_FORMAT_ITI_BUFFER_ ( __int32_t *source-string
,__int32_t *destination-string
,short source-length
,short maximum-length
,short intermediate
,short terminal-type
,short maximum-col-count
,short *finished-length
,short *screen-col-count
,[ char *shift-to-MBCS ]
,[ char *shift-to-one-byte ]
,[ short startmode ] );
error-code := MBCS_FORMAT_ITI_BUFFER_
( source-string ! i,o
,destination-string ! i,o
,source-length ! i
,maximum-length ! i
,intermediate ! i
,terminal-type ! i
,maximum-col-count ! i
,finished-length ! o
,screen-col-count ! o
,[ shift-to-MBCS ] ! i
,[ shift-to-one-byte ] ! i
,[ startmode ] ); ! i