mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
parent
f5f3ff86ea
commit
b09487fb44
@ -118,6 +118,7 @@ list(APPEND SOURCE
|
||||
user/ntuser/draw.c
|
||||
user/ntuser/event.c
|
||||
user/ntuser/focus.c
|
||||
user/ntuser/ghost.c
|
||||
user/ntuser/guicheck.c
|
||||
user/ntuser/hook.c
|
||||
user/ntuser/hotkey.c
|
||||
|
18
win32ss/user/ntuser/ghost.c
Normal file
18
win32ss/user/ntuser/ghost.c
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* PROJECT: ReactOS user32.dll
|
||||
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
||||
* PURPOSE: Ghost window handling
|
||||
* COPYRIGHT: Copyright 2018 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
|
||||
*/
|
||||
|
||||
#include <win32k.h>
|
||||
|
||||
BOOL FASTCALL IntGoGhost(PWND Window, BOOL bGo)
|
||||
{
|
||||
// TODO:
|
||||
// 1. Create a thread.
|
||||
// 2. Create a ghost window in the thread.
|
||||
// 3. Do message loop in the thread
|
||||
STUB;
|
||||
return FALSE;
|
||||
}
|
1
win32ss/user/ntuser/ghost.h
Normal file
1
win32ss/user/ntuser/ghost.h
Normal file
@ -0,0 +1 @@
|
||||
BOOL FASTCALL IntGoGhost(PWND Window, BOOL bGo);
|
@ -1433,11 +1433,17 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
||||
RETURN( TRUE);
|
||||
}
|
||||
|
||||
if (uFlags & SMTO_ABORTIFHUNG && MsqIsHung(ptiSendTo))
|
||||
if (MsqIsHung(ptiSendTo))
|
||||
{
|
||||
// FIXME: Set window hung and add to a list.
|
||||
/* FIXME: Set a LastError? */
|
||||
RETURN( FALSE);
|
||||
if (uFlags & SMTO_ABORTIFHUNG)
|
||||
{
|
||||
// FIXME: Set window hung and add to a list.
|
||||
/* FIXME: Set a LastError? */
|
||||
RETURN( FALSE);
|
||||
}
|
||||
|
||||
TRACE("Let's go Ghost!\n");
|
||||
IntGoGhost(Window, TRUE);
|
||||
}
|
||||
|
||||
if (Window->state & WNDS_DESTROYED)
|
||||
|
@ -99,6 +99,7 @@ typedef struct _DC *PDC;
|
||||
#include "user/ntuser/winpos.h"
|
||||
#include "user/ntuser/callback.h"
|
||||
#include "user/ntuser/mmcopy.h"
|
||||
#include "user/ntuser/ghost.h"
|
||||
|
||||
/* CSRSS Interface */
|
||||
#include "user/ntuser/csr.h"
|
||||
|
Loading…
Reference in New Issue
Block a user