[NTOSKRNL]

Fix MSVC build?

svn path=/trunk/; revision=68900
This commit is contained in:
Pierre Schweitzer 2015-09-01 17:32:34 +00:00
parent 82cc4faad5
commit aafd9216cf

View file

@ -227,7 +227,7 @@ KdpPrompt(IN LPSTR PromptString,
{
ProbeForRead(PromptString, PromptLength, 1);
CapturedPrompt = alloca(512);
KdpQuickMoveMemory(CapturedPrompt, PromptString, PromptLength);
RtlMoveMemory(CapturedPrompt, PromptString, PromptLength);
PromptString = CapturedPrompt;
ProbeForWrite(ResponseString, MaximumResponseLength, 1);
@ -274,7 +274,7 @@ KdpPrompt(IN LPSTR PromptString,
{
_SEH2_TRY
{
KdpQuickMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
RtlMoveMemory(ResponseString, ResponseBuffer.Buffer, ResponseBuffer.Length);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
@ -328,7 +328,7 @@ KdpPrint(IN ULONG ComponentId,
{
ProbeForRead(String, Length, 1);
CapturedString = alloca(512);
KdpQuickMoveMemory(CapturedString, String, Length);
RtlMoveMemory(CapturedString, String, Length);
String = CapturedString;
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)