cwbNL_SaveLang

Purpose

Save the language setting in the product registry.

Syntax

 
unsigned int CWB_ENTRY cwbNL_SaveLang(
                             char            *lang,
                             cwbSV_ErrHandle  errorHandle);

Parameters

char * lang - input
Address of the ASCIIZ string representing the language.
cwbSV_ErrHandle errorHandle - input
Any returned messages will be written to this object. It is created with the cwbSV_CreateErrHandle() API. The messages may be retrieved through 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_NOT_ENOUGH_MEMORY
Insufficient memory.

Usage

The language must be a value returned from one of the following APIs:

The following APIs are affected by this call: