mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 03:44:40 +08:00
I'm sorry, but r27177 does not work for me. I just tested LiveCD on real
hardware, something goes wrong. So I'm reverting it for now. Please test it more carefully. svn path=/trunk/; revision=27195
This commit is contained in:
@@ -2574,19 +2574,11 @@ CSR_API(CsrScrollConsoleScreenBuffer)
|
||||
if (! ConioGetIntersection(&SrcRegion, &ScreenBuffer, &ScrollRectangle))
|
||||
{
|
||||
ConioUnlockScreenBuffer(Buff);
|
||||
if (NULL != Console)
|
||||
{
|
||||
ConioUnlockConsole(Console);
|
||||
}
|
||||
return Request->Status = STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (UseClipRectangle && ! ConioGetIntersection(&SrcRegion, &SrcRegion, &ClipRectangle))
|
||||
{
|
||||
if (NULL != Console)
|
||||
{
|
||||
ConioUnlockConsole(Console);
|
||||
}
|
||||
ConioUnlockScreenBuffer(Buff);
|
||||
return Request->Status = STATUS_SUCCESS;
|
||||
}
|
||||
@@ -2601,10 +2593,6 @@ CSR_API(CsrScrollConsoleScreenBuffer)
|
||||
/* Make sure destination rectangle is inside the screen buffer */
|
||||
if (! ConioGetIntersection(&DstRegion, &DstRegion, &ScreenBuffer))
|
||||
{
|
||||
if (NULL != Console)
|
||||
{
|
||||
ConioUnlockConsole(Console);
|
||||
}
|
||||
ConioUnlockScreenBuffer(Buff);
|
||||
return Request->Status = STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
@@ -2675,10 +2663,6 @@ CSR_API(CsrReadConsoleOutputChar)
|
||||
Status = ConioLockScreenBuffer(ProcessData, Request->Data.ReadConsoleOutputCharRequest.ConsoleHandle, &Buff);
|
||||
if (! NT_SUCCESS(Status))
|
||||
{
|
||||
if (NULL != Console)
|
||||
{
|
||||
ConioUnlockConsole(Console);
|
||||
}
|
||||
return Request->Status = Status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user