[WIN32SS] Add IntGoGhost function (stub) (#1081)

CORE-11944
This commit is contained in:
Katayama Hirofumi MZ 2018-12-01 20:59:07 +09:00 committed by GitHub
parent f5f3ff86ea
commit b09487fb44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 4 deletions

View File

@ -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

View 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;
}

View File

@ -0,0 +1 @@
BOOL FASTCALL IntGoGhost(PWND Window, BOOL bGo);

View File

@ -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)

View File

@ -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"