Syntax:
typedef cblt_rtncode (*PFI_IDPES_FN_DISPLAY_TO_UTF16)(
cobuns8_t in_string,
cobuns32_t in_len,
cobuns8_t out_string,
cobuns32_t *out_len);
On Entry:
in_string |
COBOL DISPLAY encoded string |
in_len |
Size of in_string |
out_len |
Maximum size of out_string, or 0 for function to return the required size of out_string |
On Exit:
out_string |
UTF-16 encoded string |
out_len |
Size of out_string, or required size if 0 specified on input, or if function returns IDPES_BUFFER_TOO_SMALL |
Return codes:
0 |
IDPES_SUCCESS |
1 |
IDPES_BUFFER_TOO_SMALL |
Comments:
Used by user exits to convert COBOL DISPLAY encoded strings into UTF-16 encoded ones