NWInitUnicodeTables

Sets up and initializes four conversion tables necessary to support Unicode

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Unicode

Syntax

   #include <unicode.h> 
    
   N_EXTERN_LIBRARY(nint) NWInitUnicodeTables  ( 
      nint   countryCode,  
      nint   codePage);
   

Pascal Syntax

   uses netwin32 
    
   Function NWInitUnicodeTables 
     (countryCode : nint; 
      codePage    : nint 
   ) : nint;
   

Parameters

countryCode
(IN) Specifies the country or nation identification number.
codePage
(IN) Specifies the Character Encoding Scheme (CES) ID number.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

Successful

0xFE11

UNI_LOAD_FAILED

0xFE12

UNI_NO_MEMORY

0xFE13

UNI_NO_PERMISSION

0xFE14

UNI_TOO_MANY_FILES

0xFE15

UNI_NO_SUCH_FILE

0xFE16

UNI_FUTURE_OPCODE

0xFE0B

UNI_OPEN_FAILED

0xFE0E

UNI_RULES_CORRUPT

Remarks

countryCode and codePage can be found by calling NWLlocaleconv.

NWInitUnicodeTables or NWLoadRuleTable must be successfully called before these functions can be called:

See Section 3.6, Example: NWInitUnicodeTables.

See Also

NWFreeUnicodeTables, NWLlocaleconv (Internationalization), NWLoadRuleTable