open-insight/SYSPROG/STPROCINS/RTI_STRCMPMODE_EQUATES.txt
2024-03-25 15:17:34 -07:00

50 lines
2.0 KiB
Plaintext

compile insert rti_StrCmpMode_Equates
/*
** Copyright (C) 2012-2021 Revelation Software Inc. All Rights Reserved **
Author : Captain C
Date : May 2021
Purpose : Equates for use with the Extended String Compare Mode functions
Comments
========
Amended Date Reason
======= ==== ======
Mr C 19 May 21 Added function declarations
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _RTI_STRCMPMODE_EQUATES_
#define _RTI_STRCMPMODE_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
declare function GetDefaultStrCmpMode, SetDefaultStrCmpMode
declare function GetStrCmpMode, SetStrCmpMode, GetStrCmpStatus
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Extended String Compare Mode values
equ STRCMPMODE_NORMAL$ to 0
equ STRCMPMODE_LINGUISTIC$ to 1 ; // Use CompareStringEx()
equ STRCMPMODE_ORDINAL$ to 2 ; // Use CompareStringOrdinal()
// GetDefaultStrCmpMode and GetStrCmpMode return value equates
//
// <1> Mode
// <2> Flags
// <3> Locale
equ GETSTRCMPMODE_MODE$ to 1
equ GETSTRCMPMODE_FLAGS$ to 2
equ GETSTRCMPMODE_LOCALE$ to 3
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////