From a0f53e7df8133df703fbae01cc26b063070c7437 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 7 Feb 2010 17:20:23 +0100 Subject: [PATCH] shdocvw: Dump the commands in OleCommandTarget_QueryStatus. --- dlls/shdocvw/dochost.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/shdocvw/dochost.c b/dlls/shdocvw/dochost.c index 6c9d05c9ddd..e8982e4f12a 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; }