]> git.sesse.net Git - vlc/blobdiff - activex/olecontrol.h
* Lets at the very least remove icons we don't use anymore. Should save some space.
[vlc] / activex / olecontrol.h
index f09536df370a42fa60499ceb04dff8d9e764d036..f5dae7047cf00011bd1b92be643a8535b8170f37 100644 (file)
@@ -44,11 +44,11 @@ public:
             *ppv = reinterpret_cast<LPVOID>(this);
             return NOERROR;
         }
-        return _p_instance->QueryInterface(riid, ppv);
+        return _p_instance->pUnkOuter->QueryInterface(riid, ppv);
     };
 
-    STDMETHODIMP_(ULONG) AddRef(void) { return _p_instance->AddRef(); };
-    STDMETHODIMP_(ULONG) Release(void) { return _p_instance->Release(); };
+    STDMETHODIMP_(ULONG) AddRef(void) { return _p_instance->pUnkOuter->AddRef(); };
+    STDMETHODIMP_(ULONG) Release(void) { return _p_instance->pUnkOuter->Release(); };
 
     // IOleControl methods
     STDMETHODIMP GetControlInfo(CONTROLINFO *pCI);