Nikolay Sivov : oleaut32: Added proxy/stub body for CreateInstanceLic().

Alexandre Julliard julliard at winehq.org
Thu Jun 6 13:46:00 CDT 2013


Module: wine
Branch: master
Commit: 4ee9aef018b2b75a8f3ce5fbc8ab95b2598c1693
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4ee9aef018b2b75a8f3ce5fbc8ab95b2598c1693

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Jun  6 08:13:13 2013 +0400

oleaut32: Added proxy/stub body for CreateInstanceLic().

---

 dlls/oleaut32/usrmarshal.c |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c
index 2414a9e..495c257 100644
--- a/dlls/oleaut32/usrmarshal.c
+++ b/dlls/oleaut32/usrmarshal.c
@@ -2242,8 +2242,17 @@ HRESULT CALLBACK IClassFactory2_CreateInstanceLic_Proxy(
     BSTR bstrKey,
     PVOID *ppvObj)
 {
-    FIXME("not implemented\n");
-    return E_NOTIMPL;
+    TRACE("(%p, %s, %p)\n", pUnkOuter, debugstr_guid(riid), ppvObj);
+
+    *ppvObj = NULL;
+
+    if (pUnkOuter)
+    {
+        ERR("aggregation is not allowed on remote objects\n");
+        return CLASS_E_NOAGGREGATION;
+    }
+
+    return IClassFactory2_RemoteCreateInstanceLic_Proxy(This, riid, bstrKey, (IUnknown**)ppvObj);
 }
 
 HRESULT __RPC_STUB IClassFactory2_CreateInstanceLic_Stub(
@@ -2252,8 +2261,8 @@ HRESULT __RPC_STUB IClassFactory2_CreateInstanceLic_Stub(
     BSTR bstrKey,
     IUnknown **ppvObj)
 {
-    FIXME("not implemented\n");
-    return E_NOTIMPL;
+    TRACE("(%s, %p)\n", debugstr_guid(riid), ppvObj);
+    return IClassFactory2_CreateInstanceLic(This, NULL, NULL, riid, bstrKey, (void**)ppvObj);
 }
 
 HRESULT CALLBACK IEnumConnections_Next_Proxy(




More information about the wine-cvs mailing list