SnaNlsInit

The SnaNlsInit function is called to initialize the SNANLS DLL and determine if the code page needed is supported by code page translations using SNANLS. This allows an application to determine if the necessary NLS language files containing code page translation tables are installed on the local system.

int WINAPI SnaNlsInit(
UINT
CodePage,
);

Parameters

CodePage
Supplied parameter. The number of the NLS code page for which support is requested. The CodePage parameter corresponds with the registry settings on Windows NT located under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSer\ControlNls\CodePage subkey.

Return Values

The SnaNlsInit function returns 1 if code page translations are supported; otherwise 0 is returned on failure.