Commit 3d193930 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

oledb32: Correct DataLinks interface for win64.

parent f7ba8e14
...@@ -135,7 +135,7 @@ static HRESULT WINAPI dslocator_Invoke(IDataSourceLocator *iface, DISPID dispIdM ...@@ -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 ...@@ -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"; ...@@ -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 ...@@ -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);
......
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