[NTVDM][BASESRV]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 30 May 2015 02:23:44 +0000 (02:23 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 30 May 2015 02:23:44 +0000 (02:23 +0000)
commite9fde4873de6bf96a84595cc8797103d55b2763f
tree53817bc4e3d78947a2cd55ced980e57b21dcb1c8
parent47f56b87651d93291a2132fec856ecd22efddb23
[NTVDM][BASESRV]
- When a DOS application is started by a process that has no console,
the ConsoleHandle in the VDM_CONSOLE_RECORD is initially NULL.
Fix that by making an initial VDM_GET_FIRST_COMMAND call in NTVDM
and setting the ConsoleHandle to the handle of NTVDM's console in
BaseSrvGetNextVDMCommand.
- Fix a bug in BaseSrvGetVDMExitCode (VDM_READY means the task has exited).

svn path=/trunk/; revision=67961
reactos/subsystems/mvdm/ntvdm/dos/dem.c
reactos/subsystems/win/basesrv/vdm.c