Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares two strings to determine if they are the same. The comparison is case-sensitive.
Syntax
int StrCmpW(
[in] PCWSTR psz1,
[in] PCWSTR psz2
);
Parameters
[in] psz1
Type: PCTSTR
A pointer to the first null-terminated string to be compared.
[in] psz2
Type: PCTSTR
A pointer to the second null-terminated string to be compared.
Return value
Type: int
Returns zero if the strings are identical. Returns a positive value if the string pointed to by psz1 is greater than that pointed to by psz2. Returns a negative value if the string pointed to by psz1 is less than that pointed to by psz2.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 4.71 or later) |