Export (0) Print
Expand All

ChrCmpI function

Performs a comparison between two characters. The comparison is not case-sensitive.

Syntax


BOOL ChrCmpI(
  _In_  TCHAR w1,
  _In_  TCHAR w2
);

Parameters

w1 [in]

Type: TCHAR

The first character to be compared.

w2 [in]

Type: TCHAR

The second character to be compared.

Return value

Type: BOOL

Returns zero if the two characters are the same, or nonzero otherwise.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 4.71 or later)

Unicode and ANSI names

ChrCmpIW (Unicode) and ChrCmpIA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft