Module: wine Branch: master Commit: a0f53e7df8133df703fbae01cc26b063070c7437 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0f53e7df8133df703fbae01cc...
Author: Detlef Riekenberg wine.dev@web.de Date: Sun Feb 7 17:20:23 2010 +0100
shdocvw: Dump the commands in OleCommandTarget_QueryStatus.
---
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; }