Import oleacc from Wine. oleacc.xml provided by Christoph von Wittich
authorGé van Geldorp <ge@gse.nl>
Mon, 12 Dec 2005 20:41:27 +0000 (20:41 +0000)
committerGé van Geldorp <ge@gse.nl>
Mon, 12 Dec 2005 20:41:27 +0000 (20:41 +0000)
svn path=/trunk/; revision=20116

reactos/baseaddress.xml
reactos/bootdata/packages/reactos.dff
reactos/lib/oleacc/main.c [new file with mode: 0644]
reactos/lib/oleacc/oleacc.spec [new file with mode: 0644]
reactos/lib/oleacc/oleacc.xml [new file with mode: 0644]

index 058dfb6..a6f7beb 100644 (file)
@@ -22,6 +22,7 @@
 <property name="BASEADDRESS_HID" value="0x688F0000" />
 <property name="BASEADDRESS_PSXDLL" value="0x68eb0000" />
 <property name="BASEADDRESS_PSAPI" value="0x68f70000" />
+<property name="BASEADDRESS_OLEACC" value="0x69640000" />
 <property name="BASEADDRESS_MSIMG32" value="0x69cc0000" />
 <property name="BASEADDRESS_NETPLWIZ" value="0x6a240000" />
 <property name="BASEADDRESS_UNICODE" value="0x6b200000" />
index 85f47f5..ec7ccd2 100755 (executable)
@@ -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 (file)
index 0000000..aeb1516
--- /dev/null
@@ -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 <stdarg.h>
+#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 (file)
index 0000000..1f19f5c
--- /dev/null
@@ -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 (file)
index 0000000..9d6d935
--- /dev/null
@@ -0,0 +1,12 @@
+<module name="oleacc" type="win32dll" baseaddress="${BASEADDRESS_OLEACC}" installbase="system32" installname="oleacc.dll">
+       <importlibrary definition="oleacc.spec.def" />
+       <include base="oleacc">.</include>
+       <include base="ReactOS">include/wine</include>
+       <define name="__USE_W32API" />
+       <define name="_WIN32_WINNT">0x501</define>
+       <library>ntdll</library>
+       <library>kernel32</library>
+       <library>wine</library>
+       <file>main.c</file>
+       <file>oleacc.spec</file>
+</module>