atl: Pass correct arguments to fuctions executed by AtlInternalQueryInterface.
authorPiotr Caban <piotr@codeweavers.com>
Thu, 17 Jun 2010 10:53:48 +0000 (12:53 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 17 Jun 2010 12:07:22 +0000 (14:07 +0200)
dlls/atl/atl_main.c

index ea8be78a11e566343bb6e2c382550007134d29e0..7780b411ee41a235987b2618d614387a5f16bf5a 100644 (file)
@@ -272,7 +272,7 @@ HRESULT WINAPI AtlInternalQueryInterface(void* this, const _ATL_INTMAP_ENTRY* pE
             else
             {
                 TRACE("Function\n");
-                rc = pEntries[i].pFunc(this, iid, ppvObject,0);
+                rc = pEntries[i].pFunc(this, iid, ppvObject, pEntries[i].dw);
             }
             break;
         }