StrCaseCmpW (FUN)

FUNCTION StrCaseCmpW : INT

Does a case insensitive comparison of two strings

InOut:

Scope

Name

Type

Comment

Return

StrCaseCmpW

INT

  • 0 -> the strings are equal

  • -1 -> |pwd1| is less than |pwd2|

  • 1 -> |pwd1| is larger than |pwd2|

  • -2 -> Error: An invalid string (ie. Null-Pointer is given)

Input

pwd1

POINTER TO WORD

Pointer to the first string to compare

pwd2

POINTER TO WORD

Pointer to the second string to compare