mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:43:00 +00:00
Import oleacc from Wine. oleacc.xml provided by Christoph von Wittich
svn path=/trunk/; revision=20116
This commit is contained in:
parent
2e9c3ff97c
commit
4612bb691c
5 changed files with 97 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
<property name="BASEADDRESS_HID" value="0x688F0000" />
|
<property name="BASEADDRESS_HID" value="0x688F0000" />
|
||||||
<property name="BASEADDRESS_PSXDLL" value="0x68eb0000" />
|
<property name="BASEADDRESS_PSXDLL" value="0x68eb0000" />
|
||||||
<property name="BASEADDRESS_PSAPI" value="0x68f70000" />
|
<property name="BASEADDRESS_PSAPI" value="0x68f70000" />
|
||||||
|
<property name="BASEADDRESS_OLEACC" value="0x69640000" />
|
||||||
<property name="BASEADDRESS_MSIMG32" value="0x69cc0000" />
|
<property name="BASEADDRESS_MSIMG32" value="0x69cc0000" />
|
||||||
<property name="BASEADDRESS_NETPLWIZ" value="0x6a240000" />
|
<property name="BASEADDRESS_NETPLWIZ" value="0x6a240000" />
|
||||||
<property name="BASEADDRESS_UNICODE" value="0x6b200000" />
|
<property name="BASEADDRESS_UNICODE" value="0x6b200000" />
|
||||||
|
|
|
@ -137,6 +137,7 @@ lib\ntdll\ntdll.dll 1
|
||||||
lib\ntmarta\ntmarta.dll 1
|
lib\ntmarta\ntmarta.dll 1
|
||||||
lib\objsel\objsel.dll 1
|
lib\objsel\objsel.dll 1
|
||||||
lib\ole32\ole32.dll 1
|
lib\ole32\ole32.dll 1
|
||||||
|
lib\oleacc\oleacc.dll 1
|
||||||
lib\oleaut32\oleaut32.dll 1
|
lib\oleaut32\oleaut32.dll 1
|
||||||
lib\oledlg\oledlg.dll 1
|
lib\oledlg\oledlg.dll 1
|
||||||
lib\olepro32\olepro32.dll 1
|
lib\olepro32\olepro32.dll 1
|
||||||
|
|
63
reactos/lib/oleacc/main.c
Normal file
63
reactos/lib/oleacc/main.c
Normal file
|
@ -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;
|
||||||
|
}
|
20
reactos/lib/oleacc/oleacc.spec
Normal file
20
reactos/lib/oleacc/oleacc.spec
Normal file
|
@ -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
|
12
reactos/lib/oleacc/oleacc.xml
Normal file
12
reactos/lib/oleacc/oleacc.xml
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue