[NTVDM]: Improve DisplayMessage by also displaying the message in the debug log.

svn path=/branches/ntvdm/; revision=60898
This commit is contained in:
Hermès Bélusca-Maïto 2013-11-09 15:53:52 +00:00
parent e801e2f0ea
commit 592a3383e5

View file

@ -41,6 +41,7 @@ VOID DisplayMessage(LPCWSTR Format, ...)
va_start(Parameters, Format);
_vsnwprintf(Buffer, 256, Format, Parameters);
DPRINT1("\n\nNTVDM Subsystem\n%S\n\n", Buffer);
MessageBoxW(NULL, Buffer, L"NTVDM Subsystem", MB_OK);
va_end(Parameters);
}