oledb32: Fixed IDataInitialize definition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-01-29 21:30:23 +03:00 committed by Alexandre Julliard
parent 00046b816c
commit 37fcb0d630
2 changed files with 13 additions and 7 deletions

View File

@ -918,13 +918,13 @@ static HRESULT WINAPI datainit_CreateDBInstance(IDataInitialize *iface, REFCLSID
return CoCreateInstance(provider, outer, clsctx, riid, (void**)datasource);
}
static HRESULT WINAPI datainit_RemoteCreateDBInstanceEx(IDataInitialize *iface, REFCLSID clsidProvider,
IUnknown *pUnkOuter, DWORD dwClsCtx, LPWSTR pwszReserved, COSERVERINFO *pServerInfo,
DWORD cmq, GUID **rgpIID, IUnknown **rgpItf, HRESULT *rghr)
static HRESULT WINAPI datainit_CreateDBInstanceEx(IDataInitialize *iface, REFCLSID provider, IUnknown *outer,
DWORD clsctx, LPWSTR reserved, COSERVERINFO *server_info, DWORD cmq, MULTI_QI *results)
{
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;
}
@ -958,7 +958,7 @@ static const struct IDataInitializeVtbl datainit_vtbl =
datainit_GetDataSource,
datainit_GetInitializationString,
datainit_CreateDBInstance,
datainit_RemoteCreateDBInstanceEx,
datainit_CreateDBInstanceEx,
datainit_LoadStringFromStorage,
datainit_WriteStringToStorage
};

View File

@ -102,10 +102,16 @@ library MSDASC
[in] DWORD dwClsCtx, [in] LPWSTR pwszReserved,
[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,
[in] DWORD dwClsCtx, [in] LPWSTR pwszReserved, [in] COSERVERINFO* pServerInfo,
[in] DWORD cmq, [in] GUID** rgpIID, [out] IUnknown** rgpItf,
[out] HRESULT* rghr);
[in] DWORD cmq, [in, size_is(cmq)] const IID **iids, [out, size_is(cmq)] IUnknown **ifs,
[out, size_is(cmq)] HRESULT *hr);
HRESULT LoadStringFromStorage([in] LPWSTR pwszFileName, [out] LPWSTR* ppwszInitializationString);