Commit 37fcb0d6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oledb32: Fixed IDataInitialize definition.

parent 00046b81
...@@ -918,13 +918,13 @@ static HRESULT WINAPI datainit_CreateDBInstance(IDataInitialize *iface, REFCLSID ...@@ -918,13 +918,13 @@ static HRESULT WINAPI datainit_CreateDBInstance(IDataInitialize *iface, REFCLSID
return CoCreateInstance(provider, outer, clsctx, riid, (void**)datasource); return CoCreateInstance(provider, outer, clsctx, riid, (void**)datasource);
} }
static HRESULT WINAPI datainit_RemoteCreateDBInstanceEx(IDataInitialize *iface, REFCLSID clsidProvider, static HRESULT WINAPI datainit_CreateDBInstanceEx(IDataInitialize *iface, REFCLSID provider, IUnknown *outer,
IUnknown *pUnkOuter, DWORD dwClsCtx, LPWSTR pwszReserved, COSERVERINFO *pServerInfo, DWORD clsctx, LPWSTR reserved, COSERVERINFO *server_info, DWORD cmq, MULTI_QI *results)
DWORD cmq, GUID **rgpIID, IUnknown **rgpItf, HRESULT *rghr)
{ {
datainit *This = impl_from_IDataInitialize(iface); datainit *This = impl_from_IDataInitialize(iface);
FIXME("(%p)->()\n", This); FIXME("(%p)->(%s %p %#x %s %p %u %p)\n", This, debugstr_guid(provider), outer, clsctx,
debugstr_w(reserved), server_info, cmq, results);
return E_NOTIMPL; return E_NOTIMPL;
} }
...@@ -958,7 +958,7 @@ static const struct IDataInitializeVtbl datainit_vtbl = ...@@ -958,7 +958,7 @@ static const struct IDataInitializeVtbl datainit_vtbl =
datainit_GetDataSource, datainit_GetDataSource,
datainit_GetInitializationString, datainit_GetInitializationString,
datainit_CreateDBInstance, datainit_CreateDBInstance,
datainit_RemoteCreateDBInstanceEx, datainit_CreateDBInstanceEx,
datainit_LoadStringFromStorage, datainit_LoadStringFromStorage,
datainit_WriteStringToStorage datainit_WriteStringToStorage
}; };
......
...@@ -102,10 +102,16 @@ library MSDASC ...@@ -102,10 +102,16 @@ library MSDASC
[in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved,
[in] REFIID riid, [out] IUnknown** ppDataSource); [in] REFIID riid, [out] IUnknown** ppDataSource);
[local]
HRESULT CreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter,
[in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo,
[in] DWORD cmq, [in, out, size_is(cmq)] MULTI_QI *results);
[call_as(CreateDBInstanceEx)]
HRESULT RemoteCreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter, HRESULT RemoteCreateDBInstanceEx([in] REFCLSID clsidProvider, [in] IUnknown* pUnkOuter,
[in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo, [in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo,
[in] DWORD cmq, [in] GUID** rgpIID, [out] IUnknown** rgpItf, [in] DWORD cmq, [in, size_is(cmq)] const IID **iids, [out, size_is(cmq)] IUnknown **ifs,
[out] HRESULT* rghr); [out, size_is(cmq)] HRESULT *hr);
HRESULT LoadStringFromStorage([in] LPWSTR pwszFileName, [out] LPWSTR* ppwszInitializationString); HRESULT LoadStringFromStorage([in] LPWSTR pwszFileName, [out] LPWSTR* ppwszInitializationString);
......
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