Guardian Procedure Calls Reference Manual
MBCS_TANDEM_TO_EXTERNAL_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
The MBCS_TANDEM_TO_EXTERNAL_ procedure translates a text string from HP internal format
to a specified external text format.
Syntax for C Programmers
#include <cextdecs(MBCS_TANDEM_TO_EXTERNAL_)>
short MBCS_TANDEM_TO_EXTERNAL_ ( __int32_t *source-string
,__int32_t *destination-string
,short source-length
,short maximum-length
,short intermediate
,short external-form
,short *finished-length
,[ char *shift-to-MBCS ]
,[ char *shift-to-one-byte ] );
Syntax for TAL Programmers
error-code := MBCS_TANDEM_TO_EXTERNAL_ ( source-string ! i,o
,destination-string ! i,o
,source-length ! i
,maximum-length ! i,o
,intermediate ! i
,external-form ! i
,finished-length ! o
,[ shift-to-MBCS ] ! i
,[ shift-to-one-byte ] ); ! i
Parameters
source-string
input, output
INT(32) .EXT:ref:1
is a pointer to a double-word integer containing the extended address of the source text string
to be translated. After translation, this address points to the byte following the last byte in the
source string that was successfully translated.
destination-string
input, output
INT(32) .EXT:ref:1
is a pointer to a double-word integer containing the extended address of the location to receive
the translated text string. After translation, this address points to the byte following the last byte
in the destination string used by the translation operation.
MBCS_TANDEM_TO_EXTERNAL_ Procedure 817