Re: [PATCH 2/5] shdocvw: Added IShellBrowser interface stub
14 Mar
2011
14 Mar
'11
4:11 p.m.
On Mon, Mar 14, 2011 at 05:03:37PM +0100, Piotr Caban wrote:
+static HRESULT WINAPI ShellBrowser_QueryInterface( + IShellBrowser* iface, + REFIID riid, + void **ppvObject) +{ + ShellBrowser *This = impl_from_IShellBrowser(iface); + *ppvObject = NULL; + + if(IsEqualGUID(&IID_IShellBrowser, riid)) + *ppvObject = &This->IShellBrowser_iface; + + if(*ppvObject) { + TRACE("%p %s %p\n", This, debugstr_guid(riid), ppvObject); + IUnknown_AddRef((IUnknown*)*ppvObject); + return S_OK; + } +
You probably want to add support for IID_IUnknown here too. Huw.
5390
Age (days ago)
5390
Last active (days ago)
0 comments
1 participants
participants (1)
-
Huw Davies