mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
[NTVDM]: Improve DisplayMessage by also displaying the message in the debug log.
svn path=/branches/ntvdm/; revision=60898
This commit is contained in:
parent
e801e2f0ea
commit
592a3383e5
|
@ -41,6 +41,7 @@ VOID DisplayMessage(LPCWSTR Format, ...)
|
||||||
|
|
||||||
va_start(Parameters, Format);
|
va_start(Parameters, Format);
|
||||||
_vsnwprintf(Buffer, 256, Format, Parameters);
|
_vsnwprintf(Buffer, 256, Format, Parameters);
|
||||||
|
DPRINT1("\n\nNTVDM Subsystem\n%S\n\n", Buffer);
|
||||||
MessageBoxW(NULL, Buffer, L"NTVDM Subsystem", MB_OK);
|
MessageBoxW(NULL, Buffer, L"NTVDM Subsystem", MB_OK);
|
||||||
va_end(Parameters);
|
va_end(Parameters);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue