mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 13:54:06 +00:00
oledb32: Correct DataLinks interface for win64.
This commit is contained in:
parent
f7ba8e1472
commit
3d193930ab
|
@ -135,7 +135,7 @@ static HRESULT WINAPI dslocator_Invoke(IDataSourceLocator *iface, DISPID dispIdM
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dslocator_get_hWnd(IDataSourceLocator *iface, LONG *phwndParent)
|
static HRESULT WINAPI dslocator_get_hWnd(IDataSourceLocator *iface, COMPATIBLE_LONG *phwndParent)
|
||||||
{
|
{
|
||||||
DSLocatorImpl *This = impl_from_IDataSourceLocator(iface);
|
DSLocatorImpl *This = impl_from_IDataSourceLocator(iface);
|
||||||
|
|
||||||
|
@ -144,11 +144,11 @@ static HRESULT WINAPI dslocator_get_hWnd(IDataSourceLocator *iface, LONG *phwndP
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dslocator_put_hWnd(IDataSourceLocator *iface, LONG phwndParent)
|
static HRESULT WINAPI dslocator_put_hWnd(IDataSourceLocator *iface, COMPATIBLE_LONG hwndParent)
|
||||||
{
|
{
|
||||||
DSLocatorImpl *This = impl_from_IDataSourceLocator(iface);
|
DSLocatorImpl *This = impl_from_IDataSourceLocator(iface);
|
||||||
|
|
||||||
FIXME("(%p)->(%d)\n",This, phwndParent);
|
FIXME("(%p)->(%p)\n",This, (HWND)hwndParent);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,8 @@ import "oledb.idl";
|
||||||
#define vi_progid(str)
|
#define vi_progid(str)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef LONG_PTR COMPATIBLE_LONG;
|
||||||
|
|
||||||
[
|
[
|
||||||
uuid(2206CEB0-19C1-11D1-89E0-00C04FD7A829),
|
uuid(2206CEB0-19C1-11D1-89E0-00C04FD7A829),
|
||||||
version(1.0)
|
version(1.0)
|
||||||
|
@ -56,10 +58,10 @@ library MSDASC
|
||||||
interface IDataSourceLocator : IDispatch
|
interface IDataSourceLocator : IDispatch
|
||||||
{
|
{
|
||||||
[id(0x60020000), propget]
|
[id(0x60020000), propget]
|
||||||
HRESULT hWnd([out, retval] long* phwndParent);
|
HRESULT hWnd([out, retval] COMPATIBLE_LONG* phwndParent);
|
||||||
|
|
||||||
[id(0x60020000), propput]
|
[id(0x60020000), propput]
|
||||||
HRESULT hWnd([in] long phwndParent);
|
HRESULT hWnd([in] COMPATIBLE_LONG hwndParent);
|
||||||
|
|
||||||
[id(0x60020002), helpstring("PromptNew")]
|
[id(0x60020002), helpstring("PromptNew")]
|
||||||
HRESULT PromptNew([out, retval] IDispatch** ppADOConnection);
|
HRESULT PromptNew([out, retval] IDispatch** ppADOConnection);
|
||||||
|
|
Loading…
Reference in a new issue