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;
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
@ -144,11 +144,11 @@ static HRESULT WINAPI dslocator_get_hWnd(IDataSourceLocator *iface, LONG *phwndP
|
|||
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);
|
||||
|
||||
FIXME("(%p)->(%d)\n",This, phwndParent);
|
||||
FIXME("(%p)->(%p)\n",This, (HWND)hwndParent);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
|
|
@ -26,6 +26,8 @@ import "oledb.idl";
|
|||
#define vi_progid(str)
|
||||
#endif
|
||||
|
||||
typedef LONG_PTR COMPATIBLE_LONG;
|
||||
|
||||
[
|
||||
uuid(2206CEB0-19C1-11D1-89E0-00C04FD7A829),
|
||||
version(1.0)
|
||||
|
@ -56,10 +58,10 @@ library MSDASC
|
|||
interface IDataSourceLocator : IDispatch
|
||||
{
|
||||
[id(0x60020000), propget]
|
||||
HRESULT hWnd([out, retval] long* phwndParent);
|
||||
HRESULT hWnd([out, retval] COMPATIBLE_LONG* phwndParent);
|
||||
|
||||
[id(0x60020000), propput]
|
||||
HRESULT hWnd([in] long phwndParent);
|
||||
HRESULT hWnd([in] COMPATIBLE_LONG hwndParent);
|
||||
|
||||
[id(0x60020002), helpstring("PromptNew")]
|
||||
HRESULT PromptNew([out, retval] IDispatch** ppADOConnection);
|
||||
|
|
Loading…
Reference in New Issue