NWGetCollateTable

Gets the Character Collation Table from the current OS

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <time.h> or #define NWL_EXCLUDE_TIME 
  #include <stdio.h> or #define NWL_EXCLUDE_FILE 
  #include <nwlocale.h> 
   
  nint N_API NWGetCollateTable  ( 
     pnstr    retCollateTable,  
     size_t   maxLen); 
  
  

Pascal Syntax

  uses netwin32		
   
  Function NWGetCollateTable 
    (retCollateTable : pnstr;
    maxLen : size_t
  ) : nint; 
  
  

Parameters

retCollateTable
(IN) Points to the buffer receiving the collate table.
maxLen
(IN) Specifies the maximum buffer size.

Return Values

0x0000

Successful

non-zero

Operating System Error

Remarks

A collation table is a 256-byte array giving the collation weight for each character in the current code page. The collation weight indicates how characters should be sorted, which varies from country to country.

See Also

NWLsetlocale