mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
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:
parent
4a4dcb92cf
commit
7678fed2ef
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
*
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
/* FIXME: Stubs. What is it for? */
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
UINT
|
||||
wcsnlen (
|
||||
|
@ -20,9 +20,9 @@ wcsnlen (
|
|||
UINT ucchMax
|
||||
)
|
||||
{
|
||||
DPRINT1("wcsnlen stub called\n");
|
||||
|
||||
return 0;
|
||||
UINT i = 0;
|
||||
while( lpsz[i] && i < ucchMax ) i++;
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue