Changeset 1131 for trunk/src/kernel32/heapstring.cpp
- Timestamp:
- Oct 4, 1999, 10:52:34 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heapstring.cpp
r1017 r1131 1 /* $Id: heapstring.cpp,v 1.1 2 1999-09-23 14:15:50 phallerExp $ */1 /* $Id: heapstring.cpp,v 1.13 1999-10-04 20:52:33 sandervl Exp $ */ 2 2 3 3 /* … … 234 234 return(result); 235 235 } 236 236 //TODO: Don't know if this is completely correct 237 int WIN32API lstrncmpiW(LPCWSTR str1, LPCWSTR str2, int n) 238 { 239 INT firstch,lastch; 240 INT result = 0; 241 242 if (n) 243 { 244 do 245 { 246 firstch = tolower((char)*str1); 247 lastch = tolower((char)*str2); 248 str1++; 249 str2++; 250 } while (--n && str1 && str2 && firstch == lastch); 251 252 result = firstch - lastch; 253 } 254 255 return(result); 256 } 237 257 238 258 /*****************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.