[NTVDM]: Use variable-length buffers in DisplayMessage, in case we display a very...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 9 Nov 2014 01:46:31 +0000 (01:46 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 9 Nov 2014 01:46:31 +0000 (01:46 +0000)
commita36ff01e006b510c0e7e64352250effd58998b0a
treee960b6fe0ee1a61a3a8c3923534a3c37a7d348fc
parent0a21e7b1988fefdc50d6a8cd2472b740baab946b
[NTVDM]: Use variable-length buffers in DisplayMessage, in case we display a very long message (uses the _vscwprintf CRT function, not available on Win2k. You need to recompile NTVDM with WIN2K_COMPLIANT define if you want to be able to run it on win2k. In that case DisplayMessage uses a quite large enough buffer for its needs). If somebody knows an alternative to _vscwprintf that does the very same job, and which exists on Win2k, I would be happy to use it instead.

svn path=/trunk/; revision=65336
reactos/subsystems/ntvdm/ntvdm.c