Commit 27f087e2 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

msdaps: Implement IDBInitialize_Initialize proxy and stub.

parent 5b2a9a19
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "winuser.h" #include "winuser.h"
#include "winerror.h" #include "winerror.h"
#include "objbase.h" #include "objbase.h"
#include "oleauto.h"
#include "oledb.h" #include "oledb.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -121,14 +122,29 @@ HRESULT __RPC_STUB IDBProperties_SetProperties_Stub(IDBProperties* This, ULONG c ...@@ -121,14 +122,29 @@ HRESULT __RPC_STUB IDBProperties_SetProperties_Stub(IDBProperties* This, ULONG c
HRESULT CALLBACK IDBInitialize_Initialize_Proxy(IDBInitialize* This) HRESULT CALLBACK IDBInitialize_Initialize_Proxy(IDBInitialize* This)
{ {
FIXME("(%p): stub\n", This); HRESULT hr;
return E_NOTIMPL; IErrorInfo *error;
TRACE("(%p)\n", This);
hr = IDBInitialize_RemoteInitialize_Proxy(This, &error);
if(error)
{
SetErrorInfo(0, error);
IErrorInfo_Release(error);
}
return hr;
} }
HRESULT __RPC_STUB IDBInitialize_Initialize_Stub(IDBInitialize* This, IErrorInfo **ppErrorInfoRem) HRESULT __RPC_STUB IDBInitialize_Initialize_Stub(IDBInitialize* This, IErrorInfo **ppErrorInfoRem)
{ {
FIXME("(%p, %p): stub\n", This, ppErrorInfoRem); HRESULT hr;
return E_NOTIMPL; TRACE("(%p, %p)\n", This, ppErrorInfoRem);
*ppErrorInfoRem = NULL;
hr = IDBInitialize_Initialize(This);
if(FAILED(hr)) GetErrorInfo(0, ppErrorInfoRem);
return hr;
} }
HRESULT CALLBACK IDBInitialize_Uninitialize_Proxy(IDBInitialize* This) HRESULT CALLBACK IDBInitialize_Uninitialize_Proxy(IDBInitialize* This)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment