Fixed RegEnumValueA/W behaviour when output buffers are too small. This fixes 20...
authorAleksey Bragin <aleksey@reactos.org>
Sat, 30 Apr 2005 21:11:34 +0000 (21:11 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 30 Apr 2005 21:11:34 +0000 (21:11 +0000)
commitbe9f61a8b9ed215cd75eae82762deaa8b0efffdb
tree9cc7d1e7594736a788467e1941a6908d14c3c609
parentacb9e6951da880080e6ace8714fbecc57f99aef5
Fixed RegEnumValueA/W behaviour when output buffers are too small. This fixes 20+ tests from "advapi32_test registry" (now it has only 2 failures - but that's a reduced tests set!).
I beg my pardon for reformatting these two funcs and fixing bugs in one commit, I will do it in different commits in the future.

svn path=/trunk/; revision=14891
reactos/lib/advapi32/reg/reg.c