mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
Implement XxxRedrawDesktop for Dx, needs testing.
svn path=/trunk/; revision=33300
This commit is contained in:
parent
bc1d4f7c8c
commit
beb173aaa8
|
@ -117,6 +117,8 @@ IntParseDesktopPath(PEPROCESS Process,
|
|||
BOOL FASTCALL
|
||||
IntDesktopUpdatePerUserSettings(BOOL bEnable);
|
||||
|
||||
VOID APIENTRY UserRedrawDesktop(VOID);
|
||||
|
||||
BOOL IntRegisterShellHookWindow(HWND hWnd);
|
||||
BOOL IntDeRegisterShellHookWindow(HWND hWnd);
|
||||
|
||||
|
|
|
@ -627,10 +627,11 @@ BOOLEAN
|
|||
APIENTRY
|
||||
DxEngRedrawDesktop()
|
||||
{
|
||||
/* FIXME add redraw code */
|
||||
UNIMPLEMENTED;
|
||||
UserRedrawDesktop();
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
ULONG gulVisRgnUniqueness; // Increase count everytime client region is updated.
|
||||
|
||||
/************************************************************************/
|
||||
|
|
|
@ -626,6 +626,25 @@ BOOL FASTCALL IntDesktopUpdatePerUserSettings(BOOL bEnable)
|
|||
|
||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
||||
|
||||
VOID APIENTRY
|
||||
UserRedrawDesktop()
|
||||
{
|
||||
PWINDOW_OBJECT Window = NULL;
|
||||
|
||||
UserEnterExclusive();
|
||||
|
||||
Window = UserGetDesktopWindow();
|
||||
|
||||
IntInvalidateWindows( Window,
|
||||
Window->UpdateRegion,
|
||||
RDW_FRAME |
|
||||
RDW_ERASE |
|
||||
RDW_INVALIDATE |
|
||||
RDW_ALLCHILDREN);
|
||||
UserLeave();
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS FASTCALL
|
||||
co_IntShowDesktop(PDESKTOP_OBJECT Desktop, ULONG Width, ULONG Height)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue