[PATCH] shdocvw: Dump the commands in OleCommandTarget_QueryStatus
Detlef Riekenberg
wine.dev at web.de
Sun Feb 7 10:20:23 CST 2010
---
dlls/shdocvw/dochost.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/shdocvw/dochost.c b/dlls/shdocvw/dochost.c
index 6c9d05c..e8982e4 100644
--- a/dlls/shdocvw/dochost.c
+++ b/dlls/shdocvw/dochost.c
@@ -410,8 +410,13 @@ static HRESULT WINAPI ClOleCommandTarget_QueryStatus(IOleCommandTarget *iface,
const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText)
{
DocHost *This = OLECMD_THIS(iface);
+ ULONG i= 0;
FIXME("(%p)->(%s %u %p %p)\n", This, debugstr_guid(pguidCmdGroup), cCmds, prgCmds,
pCmdText);
+ while (prgCmds && (cCmds > i)) {
+ FIXME("command_%u: %u, 0x%x\n", i, prgCmds[i].cmdID, prgCmds[i].cmdf);
+ i++;
+ }
return E_NOTIMPL;
}
--
1.6.5
More information about the wine-patches
mailing list