do something in wcsnlen() - but it should be (as strnlen() in this file) not implemented there, just so IsBadStringPtrW() works even though it lacks SEH protection at the moment

svn path=/trunk/; revision=10856
This commit is contained in:
Thomas Bluemel 2004-09-14 14:01:25 +00:00
parent 4a4dcb92cf
commit 7678fed2ef

View file

@ -1,4 +1,4 @@
/* $Id: isbad.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $ /* $Id: isbad.c,v 1.11 2004/09/14 14:01:25 weiden Exp $
* *
* lib/kernel32/mem/isbad.c * lib/kernel32/mem/isbad.c
* *
@ -12,7 +12,7 @@
/* FIXME: Stubs. What is it for? */ /* FIXME: Stubs. What is it for? */
/* /*
* @unimplemented * @implemented
*/ */
UINT UINT
wcsnlen ( wcsnlen (
@ -20,9 +20,9 @@ wcsnlen (
UINT ucchMax UINT ucchMax
) )
{ {
DPRINT1("wcsnlen stub called\n"); UINT i = 0;
while( lpsz[i] && i < ucchMax ) i++;
return 0; return i;
} }