mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Fix some DPRINTs.
svn path=/trunk/; revision=65562
This commit is contained in:
parent
03e7e918aa
commit
3ce4b32ab5
4 changed files with 17 additions and 17 deletions
|
@ -162,7 +162,7 @@ GRAPHICS_BUFFER_Initialize(OUT PCONSOLE_SCREEN_BUFFER* Buffer,
|
|||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to create a shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to create a shared section, Status = 0x%08lx\n", Status);
|
||||
NtClose(NewBuffer->ClientMutex);
|
||||
NtClose(NewBuffer->Mutex);
|
||||
ConsoleFreeHeap(NewBuffer->BitMapInfo);
|
||||
|
@ -187,7 +187,7 @@ GRAPHICS_BUFFER_Initialize(OUT PCONSOLE_SCREEN_BUFFER* Buffer,
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to map the shared section, Status = 0x%08lx\n", Status);
|
||||
NtClose(NewBuffer->hSection);
|
||||
NtClose(NewBuffer->ClientMutex);
|
||||
NtClose(NewBuffer->Mutex);
|
||||
|
@ -214,7 +214,7 @@ GRAPHICS_BUFFER_Initialize(OUT PCONSOLE_SCREEN_BUFFER* Buffer,
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to map the shared section, Status = 0x%08lx\n", Status);
|
||||
NtUnmapViewOfSection(NtCurrentProcess(), NewBuffer->BitMap);
|
||||
NtClose(NewBuffer->hSection);
|
||||
NtClose(NewBuffer->ClientMutex);
|
||||
|
|
|
@ -990,7 +990,7 @@ CSR_API(SrvAttachConsole)
|
|||
Length, &Length);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("SrvAttachConsole - Cannot retrieve basic process info, Status = %lu\n", Status);
|
||||
DPRINT1("SrvAttachConsole - Cannot retrieve basic process info, Status = 0x%08lx\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ GuiConsoleShowConsoleProperties(PGUI_CONSOLE_DATA GuiData,
|
|||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to create a shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to create a shared section, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -270,7 +270,7 @@ GuiConsoleShowConsoleProperties(PGUI_CONSOLE_DATA GuiData,
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to map the shared section, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ GuiConsoleShowConsoleProperties(PGUI_CONSOLE_DATA GuiData,
|
|||
0, 0, DUPLICATE_SAME_ACCESS);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to duplicate section handle for client ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to duplicate section handle for client, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -401,7 +401,7 @@ GuiConsoleShowConsoleProperties(PGUI_CONSOLE_DATA GuiData,
|
|||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
DPRINT1("GuiConsoleShowConsoleProperties - Caught an exception, Status = %08X\n", Status);
|
||||
DPRINT1("GuiConsoleShowConsoleProperties - Caught an exception, Status = 0x%08lx\n", Status);
|
||||
}
|
||||
_SEH2_END;
|
||||
}
|
||||
|
@ -442,7 +442,7 @@ GuiApplyUserSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
0, 0, DUPLICATE_SAME_ACCESS);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error when mapping client handle, Status = %lu\n", Status);
|
||||
DPRINT1("Error when mapping client handle, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -459,7 +459,7 @@ GuiApplyUserSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error when mapping view of file, Status = %lu\n", Status);
|
||||
DPRINT1("Error when mapping view of file, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -536,7 +536,7 @@ GuiApplyUserSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
DPRINT1("GuiApplyUserSettings - Caught an exception, Status = %08X\n", Status);
|
||||
DPRINT1("GuiApplyUserSettings - Caught an exception, Status = 0x%08lx\n", Status);
|
||||
}
|
||||
_SEH2_END;
|
||||
|
||||
|
@ -588,7 +588,7 @@ GuiApplyWindowsConsoleSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
0, 0, DUPLICATE_SAME_ACCESS);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error when mapping client handle, Status = %lu\n", Status);
|
||||
DPRINT1("Error when mapping client handle, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -605,7 +605,7 @@ GuiApplyWindowsConsoleSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error when mapping view of file, Status = %lu\n", Status);
|
||||
DPRINT1("Error when mapping view of file, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -720,7 +720,7 @@ GuiApplyWindowsConsoleSettings(PGUI_CONSOLE_DATA GuiData,
|
|||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
Status = _SEH2_GetExceptionCode();
|
||||
DPRINT1("GuiApplyUserSettings - Caught an exception, Status = %08X\n", Status);
|
||||
DPRINT1("GuiApplyUserSettings - Caught an exception, Status = 0x%08lx\n", Status);
|
||||
}
|
||||
_SEH2_END;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ CSR_API(SrvRegisterConsoleVDM)
|
|||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to create a shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to create a shared section, Status = 0x%08lx\n", Status);
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ CSR_API(SrvRegisterConsoleVDM)
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to map the shared section, Status = 0x%08lx\n", Status);
|
||||
NtClose(Console->VDMBufferSection);
|
||||
goto Quit;
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ CSR_API(SrvRegisterConsoleVDM)
|
|||
PAGE_READWRITE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n", Status);
|
||||
DPRINT1("Error: Impossible to map the shared section, Status = 0x%08lx\n", Status);
|
||||
NtUnmapViewOfSection(NtCurrentProcess(), Console->VDMBuffer);
|
||||
NtClose(Console->VDMBufferSection);
|
||||
goto Quit;
|
||||
|
|
Loading…
Reference in a new issue