mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:53:02 +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)
|
IN HWND hWnd)
|
||||||
{
|
{
|
||||||
ITaskBandImpl *This = ITaskBandImpl_from_IWinEventHandler(iface);
|
ITaskBandImpl *This = ITaskBandImpl_from_IWinEventHandler(iface);
|
||||||
HRESULT hRet = S_OK;
|
|
||||||
|
|
||||||
if (This->hWnd != hWnd ||
|
if (This->hWnd == hWnd ||
|
||||||
!IsChild(This->hWnd,
|
IsChild(This->hWnd, 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 S_FALSE;
|
||||||
|
|
||||||
return hRet;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const IWinEventHandlerVtbl IWinEventHandlerImpl_Vtbl =
|
static const IWinEventHandlerVtbl IWinEventHandlerImpl_Vtbl =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue