From 4612bb691cc165028c4337622f222dc04972e904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 12 Dec 2005 20:41:27 +0000 Subject: [PATCH] Import oleacc from Wine. oleacc.xml provided by Christoph von Wittich svn path=/trunk/; revision=20116 --- reactos/baseaddress.xml | 1 + reactos/bootdata/packages/reactos.dff | 1 + reactos/lib/oleacc/main.c | 63 +++++++++++++++++++++++++++ reactos/lib/oleacc/oleacc.spec | 20 +++++++++ reactos/lib/oleacc/oleacc.xml | 12 +++++ 5 files changed, 97 insertions(+) create mode 100644 reactos/lib/oleacc/main.c create mode 100644 reactos/lib/oleacc/oleacc.spec create mode 100644 reactos/lib/oleacc/oleacc.xml diff --git a/reactos/baseaddress.xml b/reactos/baseaddress.xml index 058dfb6e208..a6f7beb53f7 100644 --- a/reactos/baseaddress.xml +++ b/reactos/baseaddress.xml @@ -22,6 +22,7 @@ + diff --git a/reactos/bootdata/packages/reactos.dff b/reactos/bootdata/packages/reactos.dff index 85f47f58a02..ec7ccd23f30 100755 --- a/reactos/bootdata/packages/reactos.dff +++ b/reactos/bootdata/packages/reactos.dff @@ -137,6 +137,7 @@ lib\ntdll\ntdll.dll 1 lib\ntmarta\ntmarta.dll 1 lib\objsel\objsel.dll 1 lib\ole32\ole32.dll 1 +lib\oleacc\oleacc.dll 1 lib\oleaut32\oleaut32.dll 1 lib\oledlg\oledlg.dll 1 lib\olepro32\olepro32.dll 1 diff --git a/reactos/lib/oleacc/main.c b/reactos/lib/oleacc/main.c new file mode 100644 index 00000000000..aeb15165a04 --- /dev/null +++ b/reactos/lib/oleacc/main.c @@ -0,0 +1,63 @@ +/* + * Implementation of the OLEACC dll + * + * Copyright 2003 Mike McCormack for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include +#include "windef.h" +#include "winbase.h" +#include "winuser.h" +#include "ole2.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(oleacc); + +HRESULT WINAPI CreateStdAccessibleObject( HWND hwnd, LONG idObject, + REFIID riidInterface, void** ppvObject ) +{ + FIXME("%p %ld %s %p\n", hwnd, idObject, + debugstr_guid( riidInterface ), ppvObject ); + return E_NOTIMPL; +} + +HRESULT WINAPI LresultFromObject( REFIID riid, WPARAM wParam, LPUNKNOWN pAcc ) +{ + FIXME("%s %d %p\n", debugstr_guid(riid), wParam, pAcc ); + return E_NOTIMPL; +} + +HRESULT WINAPI AccessibleObjectFromWindow( HWND hwnd, DWORD dwObjectID, + REFIID riid, void** ppvObject ) +{ + FIXME("%p %ld %s %p\n", hwnd, dwObjectID, + debugstr_guid( riid ), ppvObject ); + return E_NOTIMPL; +} + +HRESULT WINAPI DllRegisterServer(void) +{ + FIXME("\n"); + return S_OK; +} + +HRESULT WINAPI DllUnregisterServer(void) +{ + FIXME("\n"); + return S_OK; +} diff --git a/reactos/lib/oleacc/oleacc.spec b/reactos/lib/oleacc/oleacc.spec new file mode 100644 index 00000000000..1f19f5c4da5 --- /dev/null +++ b/reactos/lib/oleacc/oleacc.spec @@ -0,0 +1,20 @@ +@ stub AccessibleChildren +@ stub AccessibleObjectFromEvent +@ stub AccessibleObjectFromPoint +@ stdcall AccessibleObjectFromWindow(ptr long ptr ptr) +@ stdcall CreateStdAccessibleObject(ptr long ptr ptr) +@ stub CreateStdAccessibleProxyA +@ stub CreateStdAccessibleProxyW +@ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() +@ stub GetOleaccVersionInfo +@ stub GetRoleTextA +@ stub GetRoleTextW +@ stub GetStateTextA +@ stub GetStateTextW +@ stub IID_IAccessible +@ stub IID_IAccessibleHandler +@ stub LIBID_Accessibility +@ stdcall LresultFromObject(ptr long ptr) +@ stub ObjectFromLresult +@ stub WindowFromAccessibleObject diff --git a/reactos/lib/oleacc/oleacc.xml b/reactos/lib/oleacc/oleacc.xml new file mode 100644 index 00000000000..9d6d93519e9 --- /dev/null +++ b/reactos/lib/oleacc/oleacc.xml @@ -0,0 +1,12 @@ + + + . + include/wine + + 0x501 + ntdll + kernel32 + wine + main.c + oleacc.spec +