Guardian Procedure Calls Reference Manual

MBCS_FORMAT_ITI_BUFFER_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
The MBCS_FORMAT_ITI_BUFFER_ procedure formats ITI buffers for specific terminal types. This
procedure is designed to support a known subset of double-byte character set SNA3270 display
devices. Formatting is confined to the data area of the ITI buffer.
Syntax for C Programmers
NOTE: In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long data
type for 32-bit values.
#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 ] );
Syntax for TAL Programmers
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
MBCS_FORMAT_ITI_BUFFER_ Procedure 805