Reference

lstrcmpA(3w)

NAME

lstrcmpA (KERNEL32.@)

SYNOPSIS

int lstrcmpA
(
LPCSTR str1,
LPCSTR str2
)

DESCRIPTION

Compare two strings using the current thread locale.

PARAMS

str1 [In] First string to compare.

str2 [In] Second string to compare.

RETURNS

Success: A number less than, equal to or greater than 0 depending on whether str1 is less than, equal to or greater than str2 respectively.

Failure: FALSE. Use GetLastError(3w) to determine the cause.

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/kernel32/locale.c".

Debug channel "nls".

History