[NTVDM]: Correctly set last (and returned) errors when we fail at reallocating a...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 25 Aug 2015 01:48:17 +0000 (01:48 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 25 Aug 2015 01:48:17 +0000 (01:48 +0000)
commit7710f1ed1c57853141078cacefe147f09a877ca4
treeaccccc0e93514f3fc7ac9fbe73bebf82736b4244
parent7b30b216d07cf455723189407d823d0f7173fe17
[NTVDM]: Correctly set last (and returned) errors when we fail at reallocating a memory block (in case this is the last block), or if the block is invalid. Do the same stuff also for few other memory functions.

svn path=/trunk/; revision=68816
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/memory.c