[NTVDM][KERNEL32]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Thu, 23 Apr 2015 02:30:53 +0000 (02:30 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Thu, 23 Apr 2015 02:30:53 +0000 (02:30 +0000)
commit60eacc928e9007d30a874fd0c007d2eab45d3305
treeb98cdfb4e0befdb809c00a314cce0a4febc30654
parenta8bc4cd508c0edb91b4524b6b7e9be276470069d
[NTVDM][KERNEL32]
In DosCreateProcess, allocate space for the environment block dynamically and expand
it if needed, just like we do in CommandThreadProc.
In GetNextVDMCommand, remove the check that checks whether VDMState is one of
VDM_NOT_LOADED, VDM_NOT_READY or VDM_READY - that check makes no sense whatsoever,
since those aren't input values for that structure field. Their bit masks do correspond
to valid input fields, but even then the check makes no sense.

svn path=/trunk/; revision=67363
reactos/dll/win32/kernel32/client/vdm.c
reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c