[KERNEL32][NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 3 May 2014 02:13:51 +0000 (02:13 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 3 May 2014 02:13:51 +0000 (02:13 +0000)
commit263f3da77d25f7d6974fde13b0b89fb50826be85
treebfd148786f773a2507b48758f6f4efd7389bdd57
parent9eeef92b346110f3fd8aae5fec1b660699f9e001
[KERNEL32][NTVDM]
In BaseCheckVDM, return a task ID of 0 if there is a console.
In CommandThreadProc, make sure the loop executes at least once.
Also, if a session ID is given, there is no parent console, so there is no need to wait
for further commands.

svn path=/branches/ntvdm/; revision=63124
dll/win32/kernel32/client/vdm.c
subsystems/ntvdm/ntvdm.c