NWUXLoadCaseConverter

Locates and loads a converter to convert Unicode to upper, lower, or title case (upper case for initial letter only)

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

Syntax

   #include <nunicode.h> 
    
   N_EXTERN_LIBRARY(nint) NWUXLoadCaseConverter  ( 
      nuint            caseFlag,  
      pCONVERT N_FAR  *caseHandle);
   

Pascal Syntax

   uses netwin32 
    
   Function NWUXLoadCaseConverter 
     (caseFlag : nuint;
     caseHandle : pCONVERT           
   ): nint;
   

Parameters

caseFlag
(IN) Specifies the flag to indicate which case converter should be loaded:
  • NWU_LOWER_CASE
  • NWU_UPPER_CASE
  • NWU_TITLE_CASE
caseHandle
(OUT) Points to the converter handle. If an error occurs, the handle is set to NULL.

Return Values

0x0000

SUCCESSFUL

0xFDE1

NWU_CONVERTER_NOT_FOUND

0xFDE2

NWU_TOO_MANY_FILES (NIOS only)

0xFDE3

NWU_NO_PERMISSION (NIOS only)

0xFDE4

NWU_OPEN_FAILED (NIOS only)

0xFDE5

NWU_READ_FAILED (NIOS only)

0xFDE6

NWU_OUT_OF_MEMORY

0xFDE7

NWU_CANT_LOAD_CONVERTER

0xFDE8

NWU_CONVERTER_CORRUPT

0xFDED

NWU_RANGE_ERROR

For an explanation of the NWU_CONVERTER_NOT_FOUND error, see NWU_CONVERTER_NOT_FOUND Error

See exldcase.c for sample code.

See Also

NWUXLoadByteUnicodeConverter, NWUXUnloadConverter