mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
Implement XxxRedrawDesktop for Dx, needs testing.
svn path=/trunk/; revision=33300
This commit is contained in:
parent
bc1d4f7c8c
commit
beb173aaa8
3 changed files with 24 additions and 2 deletions
|
@ -117,6 +117,8 @@ IntParseDesktopPath(PEPROCESS Process,
|
||||||
BOOL FASTCALL
|
BOOL FASTCALL
|
||||||
IntDesktopUpdatePerUserSettings(BOOL bEnable);
|
IntDesktopUpdatePerUserSettings(BOOL bEnable);
|
||||||
|
|
||||||
|
VOID APIENTRY UserRedrawDesktop(VOID);
|
||||||
|
|
||||||
BOOL IntRegisterShellHookWindow(HWND hWnd);
|
BOOL IntRegisterShellHookWindow(HWND hWnd);
|
||||||
BOOL IntDeRegisterShellHookWindow(HWND hWnd);
|
BOOL IntDeRegisterShellHookWindow(HWND hWnd);
|
||||||
|
|
||||||
|
|
|
@ -627,10 +627,11 @@ BOOLEAN
|
||||||
APIENTRY
|
APIENTRY
|
||||||
DxEngRedrawDesktop()
|
DxEngRedrawDesktop()
|
||||||
{
|
{
|
||||||
/* FIXME add redraw code */
|
UserRedrawDesktop();
|
||||||
UNIMPLEMENTED;
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ULONG gulVisRgnUniqueness; // Increase count everytime client region is updated.
|
ULONG gulVisRgnUniqueness; // Increase count everytime client region is updated.
|
||||||
|
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
|
|
|
@ -626,6 +626,25 @@ BOOL FASTCALL IntDesktopUpdatePerUserSettings(BOOL bEnable)
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS ***********************************************************/
|
/* 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
|
NTSTATUS FASTCALL
|
||||||
co_IntShowDesktop(PDESKTOP_OBJECT Desktop, ULONG Width, ULONG Height)
|
co_IntShowDesktop(PDESKTOP_OBJECT Desktop, ULONG Width, ULONG Height)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue