mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +00:00
[EXPLORER-NEW]
* I don't know what this may fix, but it was wrong. On the upside, now there's less spam in the log. svn path=/branches/shell-experiments/; revision=62433
This commit is contained in:
parent
64c34d24fd
commit
f3964379b1
1 changed files with 5 additions and 8 deletions
|
@ -596,18 +596,15 @@ IWinEventHandlerImpl_ContainsWindow(IN OUT IWinEventHandler *iface,
|
|||
IN HWND hWnd)
|
||||
{
|
||||
ITaskBandImpl *This = ITaskBandImpl_from_IWinEventHandler(iface);
|
||||
HRESULT hRet = S_OK;
|
||||
|
||||
if (This->hWnd != hWnd ||
|
||||
!IsChild(This->hWnd,
|
||||
hWnd))
|
||||
if (This->hWnd == hWnd ||
|
||||
IsChild(This->hWnd, hWnd))
|
||||
{
|
||||
hRet = S_FALSE;
|
||||
DbgPrint("ITaskBand::ContainsWindow(0x%p) returns S_OK\n", hWnd);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
DbgPrint("ITaskBand::ContainsWindow(0x%p) returns %s\n", hWnd, hRet == S_OK ? "S_OK" : "S_FALSE");
|
||||
|
||||
return hRet;
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
static const IWinEventHandlerVtbl IWinEventHandlerImpl_Vtbl =
|
||||
|
|
Loading…
Reference in a new issue