Previous Topic: PurposeNext Topic: Return Code


Arguments

The following table gives a brief description of each of the arguments:

Name

I/O

Description

*inBuf

Input

A character pointer to the input buffer to translate

*inLen

Input

A pointer to a long value which is the length inBuf

*inCodePage

Input

A character pointer to the codepage ID of inBuf (8 bytes + 1 NULL).

*inOS

Input

A character pointer to the OS ID of inBuf (8 bytes + 1 NULL).

*outBuf

Input/Output

A character pointer to the buffer in which to place the translated text

*outLen

Input

A pointer to a long value that is the length of the data pointed to by outBuf.

*outCodePage

Input

A character pointer to the codepage ID corresponding to the output buffer, outBuf.

*outOS

Input

A character pointer to the OS ID corresponding to the output buffer, outBuf.

*outPadChar

Input

A pointer to a long value which is the padding character to use, 0 if no padding to be done in the output buffer, outBuf.

*workArea

Input

A character pointer to a 100-byte scratch work area.

*outCharCnt

Input/Output

A pointer to a long value which is the number of characters placed into the output buffer, outBuf.

*outByteCnt

Input/Output

A pointer to a long value which is the number of bytes placed into the output buffer, outBuf.