cwbNL_CodePageToCCSID

Purpose

Map code pages to CCSIDs.

Syntax

 
unsigned int CWB_ENTRY cwbNL_CodePageToCCSID(
                             unsigned long   codePage,
                             unsigned long  *CCSID,
                             cwbSV_ErrHandle errorHandle);

Parameters

unsigned long codePage - input
Code page to convert to a CCSID.
unsigned long * CCSID - output
The resulting CCSID.
cwbSV_ErrHandle errorHandle - output
Handle to an error object. Any returned messages will be written to this object. It is created with the cwbSV_CreateErrHandle API. The messages may be retrieved with the cwbSV_GetErrText API. If the parameter is set to zero, no messages will be retrievable.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_HANDLE
Invalid handle.
CWB_INVALID_POINTER
NULL passed on output parameter.
CWB_NOT_ENOUGH_MEMORY
Insufficient memory.

Usage

None