Louis Lenders : oleacc: Add GetOleaccVersionInfo.

Alexandre Julliard julliard at winehq.org
Wed Mar 12 06:44:29 CDT 2008


Module: wine
Branch: master
Commit: 99e1e90f0fad52e3ce44d745eb0ac3addf794036
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=99e1e90f0fad52e3ce44d745eb0ac3addf794036

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Mon Mar 10 06:21:11 2008 +0000

oleacc: Add GetOleaccVersionInfo.

---

 dlls/oleacc/main.c      |    6 ++++++
 dlls/oleacc/oleacc.spec |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/oleacc/main.c b/dlls/oleacc/main.c
index 8717da9..9a6f765 100644
--- a/dlls/oleacc/main.c
+++ b/dlls/oleacc/main.c
@@ -61,3 +61,9 @@ HRESULT WINAPI DllUnregisterServer(void)
     FIXME("\n");
     return S_OK;
 }
+
+void WINAPI GetOleaccVersionInfo(DWORD* pVersion, DWORD* pBuild)
+{
+    *pVersion = MAKELONG(2,4); /* Windows XP version of oleacc: 4.2.5406.0 */
+    *pBuild = MAKELONG(0,5406);
+}
diff --git a/dlls/oleacc/oleacc.spec b/dlls/oleacc/oleacc.spec
index 1f19f5c..23b84b3 100644
--- a/dlls/oleacc/oleacc.spec
+++ b/dlls/oleacc/oleacc.spec
@@ -7,7 +7,7 @@
 @ stub CreateStdAccessibleProxyW
 @ stdcall -private DllRegisterServer()
 @ stdcall -private DllUnregisterServer()
-@ stub GetOleaccVersionInfo
+@ stdcall GetOleaccVersionInfo(ptr ptr)
 @ stub GetRoleTextA
 @ stub GetRoleTextW
 @ stub GetStateTextA




More information about the wine-cvs mailing list