compile insert msWin_CompareString_Equates
/*
   ** Copyright (C) 2012-2021 Revelation Software Inc. All Rights Reserved **
   
   Author   : Captain C
   Date     : May 2021
   Purpose  : Equates for use with the Windows CompareStringEx API function
   
   Comments
   ========
   
   
   Amended  Date        Reason
   =======  ====        ======
  
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_COMPARESTRING_EQUATES_
#define _MSWIN_COMPARESTRING_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   equ NORM_IGNORECASE$             to 0x00000001 ;  // ignore case
   equ NORM_IGNORENONSPACE$         to 0x00000002 ;  // ignore nonspacing chars
   equ NORM_IGNORESYMBOLS$          to 0x00000004 ;  // ignore symbols

   equ LINGUISTIC_IGNORECASE$       to 0x00000010 ;  // linguistically appropriate 'ignore case'
   equ LINGUISTIC_IGNOREDIACRITIC$  to 0x00000020 ;  // linguistically appropriate 'ignore nonspace'

   equ NORM_IGNOREKANATYPE$         to 0x00010000 ;  // ignore kanatype
   equ NORM_IGNOREWIDTH$            to 0x00020000 ;  // ignore width
   equ NORM_LINGUISTIC_CASING$      to 0x08000000 ;  // use linguistic rules for casing 
   
   //    WORD Sort:    culturally correct sort
   //                  hyphen and apostrophe are special cased
   //                  example: "coop" and "co-op" will sort together in a list
   //
   //                        co_op     <-------  underscore (symbol)
   //                        coat
   //                        comb
   //                        coop
   //                        co-op     <-------  hyphen (punctuation)
   //                        cork
   //                        went
   //                        were
   //                        we're     <-------  apostrophe (punctuation)
   //
   //
   //    STRING Sort:  hyphen and apostrophe will sort with all other symbols
   //
   //                        co-op     <-------  hyphen (punctuation)
   //                        co_op     <-------  underscore (symbol)
   //                        coat
   //                        comb
   //                        coop
   //                        cork
   //                        we're     <-------  apostrophe (punctuation)
   //                        went
   //                        were
   //
   equ SORT_STRINGSORT$             to 0x00001000 ;  // use string sort method
   equ SORT_DIGITSASNUMBERS$        to 0x00000008 ;  // sort digits as numbers (ie: 2 comes before 10)
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
