urlmon: Return IAsyncMoniker from QueryInterface.

This commit is contained in:
Jacek Caban 2009-03-23 18:30:32 +01:00 committed by Alexandre Julliard
parent 050c349678
commit 53b1a310fe
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ static HRESULT WINAPI URLMoniker_QueryInterface(IMoniker *iface, REFIID riid, vo
}else if(IsEqualIID(&IID_IMoniker, riid)) {
TRACE("(%p)->(IID_IMoniker %p)\n", This, ppv);
*ppv = iface;
}else if(IsEqualIID(&IID_IAsyncMoniker, riid)) {
TRACE("(%p)->(IID_IAsyncMoniker %p)\n", This, ppv);
*ppv = iface;
}else {
WARN("(%p)->(%s,%p)\n", This, debugstr_guid(riid), ppv);
*ppv = NULL;