mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[WIN32SS:NTUSER] Few formatting fixes.
This commit is contained in:
parent
be223b9de7
commit
6b7b0f0c7e
|
@ -1209,8 +1209,7 @@ IntValidateDesktopHandle(
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
Status = ObReferenceObjectByHandle(
|
Status = ObReferenceObjectByHandle(Desktop,
|
||||||
Desktop,
|
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
ExDesktopObjectType,
|
ExDesktopObjectType,
|
||||||
AccessMode,
|
AccessMode,
|
||||||
|
@ -1319,7 +1318,7 @@ IntSetFocusMessageQueue(PUSER_MESSAGE_QUEUE NewQueue)
|
||||||
{
|
{
|
||||||
gpqForeground = NULL;
|
gpqForeground = NULL;
|
||||||
ERR("ptiLastInput is CLEARED!!\n");
|
ERR("ptiLastInput is CLEARED!!\n");
|
||||||
ptiLastInput = NULL; // ReactOS hacks,,,, should check for process death.
|
ptiLastInput = NULL; // ReactOS hacks... should check for process death.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1572,10 +1571,8 @@ UserRedrawDesktop(VOID)
|
||||||
|
|
||||||
IntInvalidateWindows(Window,
|
IntInvalidateWindows(Window,
|
||||||
Rgn,
|
Rgn,
|
||||||
RDW_FRAME |
|
RDW_FRAME | RDW_ERASE |
|
||||||
RDW_ERASE |
|
RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
RDW_INVALIDATE |
|
|
||||||
RDW_ALLCHILDREN);
|
|
||||||
|
|
||||||
REGION_Delete(Rgn);
|
REGION_Delete(Rgn);
|
||||||
}
|
}
|
||||||
|
@ -2448,7 +2445,7 @@ IntCreateDesktop(
|
||||||
pdesk->spwndMessage = pWnd;
|
pdesk->spwndMessage = pWnd;
|
||||||
pWnd->fnid = FNID_MESSAGEWND;
|
pWnd->fnid = FNID_MESSAGEWND;
|
||||||
|
|
||||||
/* Now,,,
|
/* Now...
|
||||||
if !(WinStaObject->Flags & WSF_NOIO) is (not set) for desktop input output mode (see wiki)
|
if !(WinStaObject->Flags & WSF_NOIO) is (not set) for desktop input output mode (see wiki)
|
||||||
Create Tooltip. Saved in DesktopObject->spwndTooltip.
|
Create Tooltip. Saved in DesktopObject->spwndTooltip.
|
||||||
Tooltip dwExStyle: WS_EX_TOOLWINDOW|WS_EX_TOPMOST
|
Tooltip dwExStyle: WS_EX_TOOLWINDOW|WS_EX_TOPMOST
|
||||||
|
@ -2738,9 +2735,12 @@ BOOL APIENTRY
|
||||||
NtUserPaintDesktop(HDC hDC)
|
NtUserPaintDesktop(HDC hDC)
|
||||||
{
|
{
|
||||||
BOOL Ret;
|
BOOL Ret;
|
||||||
|
|
||||||
UserEnterExclusive();
|
UserEnterExclusive();
|
||||||
TRACE("Enter NtUserPaintDesktop\n");
|
TRACE("Enter NtUserPaintDesktop\n");
|
||||||
|
|
||||||
Ret = IntPaintDesktop(hDC);
|
Ret = IntPaintDesktop(hDC);
|
||||||
|
|
||||||
TRACE("Leave NtUserPaintDesktop, ret=%i\n", Ret);
|
TRACE("Leave NtUserPaintDesktop, ret=%i\n", Ret);
|
||||||
UserLeave();
|
UserLeave();
|
||||||
return Ret;
|
return Ret;
|
||||||
|
|
|
@ -739,7 +739,7 @@ IntGetWindowProc(PWND pWnd,
|
||||||
PCLS Class;
|
PCLS Class;
|
||||||
WNDPROC gcpd, Ret = 0;
|
WNDPROC gcpd, Ret = 0;
|
||||||
|
|
||||||
ASSERT(UserIsEnteredExclusive() == TRUE);
|
ASSERT(UserIsEnteredExclusive());
|
||||||
|
|
||||||
Class = pWnd->pcls;
|
Class = pWnd->pcls;
|
||||||
|
|
||||||
|
|
|
@ -156,7 +156,7 @@ RtlGetExpWinVer( HMODULE hModule )
|
||||||
DWORD dwMinorVersion = 10;
|
DWORD dwMinorVersion = 10;
|
||||||
PIMAGE_NT_HEADERS pinth;
|
PIMAGE_NT_HEADERS pinth;
|
||||||
|
|
||||||
if ( hModule && !LOWORD( ((ULONG_PTR)hModule) ))
|
if (hModule && !LOWORD((ULONG_PTR)hModule))
|
||||||
{
|
{
|
||||||
pinth = RtlImageNtHeader(hModule);
|
pinth = RtlImageNtHeader(hModule);
|
||||||
if (pinth)
|
if (pinth)
|
||||||
|
|
Loading…
Reference in a new issue