This = ITrayBandSiteImpl_from_ITrayBandSite(iface);
- if (IsEqualIID(riid,
- &IID_IUnknown) ||
- IsEqualIID(riid,
- &IID_IBandSiteStreamCallback))
+ if (IsEqualIID(riid, &IID_IUnknown) ||
+ IsEqualIID(riid, &IID_IBandSiteStreamCallback))
{
/* NOTE: IID_IBandSiteStreamCallback is queried by the shell, we
implement this interface directly */
*ppvObj = IUnknown_from_ITrayBandSiteImpl(This);
}
- else if (IsEqualIID(riid,
- &IID_IBandSite))
+ else if (IsEqualIID(riid, &IID_IBandSite))
{
*ppvObj = IBandSite_from_ITrayBandSiteImpl(This);
}
- else if (IsEqualIID(riid,
- &IID_IWinEventHandler))
+ else if (IsEqualIID(riid, &IID_IWinEventHandler))
{
- DbgPrint("ITaskBandSite: IWinEventHandler queried!\n");
+ TRACE("ITaskBandSite: IWinEventHandler queried!\n");
*ppvObj = NULL;
return E_NOINTERFACE;
}
if (SUCCEEDED(hRet))
{
/* Load the stream */
- DbgPrint("IBandSiteStreamCallback::OnLoad intercepted the task band CLSID!\n");
+ TRACE("IBandSiteStreamCallback::OnLoad intercepted the task band CLSID!\n");
}
return hRet;
if (!SUCCEEDED(hRet))
{
- DbgPrint("IBandSiteStreamCallback::OnLoad(0x%p, 0x%p, 0x%p) returns 0x%x\n", pStm, riid, pvObj, hRet);
+ TRACE("IBandSiteStreamCallback::OnLoad(0x%p, 0x%p, 0x%p) returns 0x%x\n", pStm, riid, pvObj, hRet);
}
return hRet;
stream. We use it to intercept the default behavior when the task
band is saved to the stream */
/* FIXME: Implement */
- DbgPrint("IBandSiteStreamCallback::OnSave(0x%p, 0x%p) returns E_NOTIMPL\n", pUnk, pStm);
+ TRACE("IBandSiteStreamCallback::OnSave(0x%p, 0x%p) returns E_NOTIMPL\n", pUnk, pStm);
return E_NOTIMPL;
}
}
}
- //DbgPrint("ITrayBandSite::ProcessMessage: WM_NOTIFY for 0x%p, From: 0x%p, Code: NM_FIRST-%u...\n", hWnd, nmh->hwndFrom, NM_FIRST - nmh->code);
+ //TRACE("ITrayBandSite::ProcessMessage: WM_NOTIFY for 0x%p, From: 0x%p, Code: NM_FIRST-%u...\n", hWnd, nmh->hwndFrom, NM_FIRST - nmh->code);
break;
}
};
shell behavior! */
if (This->WindowEventHandler != NULL)
{
- /*DbgPrint("Calling IWinEventHandler::ProcessMessage(0x%p, 0x%x, 0x%p, 0x%p, 0x%p) This->hWndRebar=0x%p\n", hWnd, uMsg, wParam, lParam, plResult, This->hWndRebar);*/
+ /*TRACE("Calling IWinEventHandler::ProcessMessage(0x%p, 0x%x, 0x%p, 0x%p, 0x%p) This->hWndRebar=0x%p\n", hWnd, uMsg, wParam, lParam, plResult, This->hWndRebar);*/
hRet = IWinEventHandler_OnWinEvent(This->WindowEventHandler,
hWnd,
uMsg,
if (uMsg == WM_NOTIFY)
{
const NMHDR *nmh = (const NMHDR *)lParam;
- DbgPrint("ITrayBandSite->IWinEventHandler::ProcessMessage: WM_NOTIFY for 0x%p, From: 0x%p, Code: NM_FIRST-%u returned 0x%x\n", hWnd, nmh->hwndFrom, NM_FIRST - nmh->code, hRet);
+ TRACE("ITrayBandSite->IWinEventHandler::ProcessMessage: WM_NOTIFY for 0x%p, From: 0x%p, Code: NM_FIRST-%u returned 0x%x\n", hWnd, nmh->hwndFrom, NM_FIRST - nmh->code, hRet);
}
else
{
- DbgPrint("ITrayBandSite->IWinEventHandler::ProcessMessage(0x%p,0x%x,0x%p,0x%p,0x%p->0x%p) returned: 0x%x\n", hWnd, uMsg, wParam, lParam, plResult, *plResult, hRet);
+ TRACE("ITrayBandSite->IWinEventHandler::ProcessMessage(0x%p,0x%x,0x%p,0x%p,0x%p->0x%p) returned: 0x%x\n", hWnd, uMsg, wParam, lParam, plResult, *plResult, hRet);
}
}
}
CLSCTX_INPROC_SERVER,
&IID_IShellService,
(PVOID*)&pSs);
- DbgPrint("CoCreateInstance(CLSID_IShellBandSiteMenu) for IShellService returned: 0x%x\n", hRet);
+ TRACE("CoCreateInstance(CLSID_IShellBandSiteMenu) for IShellService returned: 0x%x\n", hRet);
if (!SUCCEEDED(hRet))
return hRet;
{
hRet = IPersistStream_Load(pPStm,
pStm);
- DbgPrint("IPersistStream_Load() returned 0x%x\n", hRet);
+ TRACE("IPersistStream_Load() returned 0x%x\n", hRet);
IPersistStream_Release(pPStm);
}
hRet = ITrayBandSiteImpl_LoadFromStream(This,
pStm);
- DbgPrint("Loaded user bands settings: 0x%x\n", hRet);
+ TRACE("Loaded user bands settings: 0x%x\n", hRet);
IStream_Release(pStm);
}
else
hRet = ITrayBandSiteImpl_LoadFromStream(This,
pStm);
- DbgPrint("Loaded default user bands settings: 0x%x\n", hRet);
+ TRACE("Loaded default user bands settings: 0x%x\n", hRet);
IStream_Release(pStm);
}
else