MSHTML: Added RNIGetCompatibleVersion implementation

Jacek Caban jack at itma.pwr.wroc.pl
Thu Aug 11 17:36:42 CDT 2005


Not really useful, but... it's one stub less.

Changelog:
    Added RNIGetCompatibleVersion implementation
-------------- next part --------------
Index: dlls/mshtml/mshtml.spec
===================================================================
RCS file: /home/wine/wine/dlls/mshtml/mshtml.spec,v
retrieving revision 1.6
diff -u -p -r1.6 mshtml.spec
--- dlls/mshtml/mshtml.spec	8 Aug 2005 17:37:41 -0000	1.6
+++ dlls/mshtml/mshtml.spec	11 Aug 2005 22:29:57 -0000
@@ -7,7 +7,7 @@
 @ stdcall -private DllUnregisterServer()
 @ stub MatchExactGetIDsOfNames
 @ stub PrintHTML
-@ stub RNIGetCompatibleVersion
+@ stdcall RNIGetCompatibleVersion()
 @ stdcall RunHTMLApplication(long long str long)
 @ stub ShowHTMLDialog
 @ stub ShowModalDialog
Index: dlls/mshtml/main.c
===================================================================
RCS file: /home/wine/wine/dlls/mshtml/main.c,v
retrieving revision 1.21
diff -u -p -r1.21 main.c
--- dlls/mshtml/main.c	11 Aug 2005 10:30:30 -0000	1.21
+++ dlls/mshtml/main.c	11 Aug 2005 22:29:57 -0000
@@ -180,6 +180,9 @@ HRESULT WINAPI DllGetClassObject(REFCLSI
     return CLASS_E_CLASSNOTAVAILABLE;
 }
 
+/******************************************************************
+ *              DllCanUnloadNow (MSHTML.@)
+ */
 HRESULT WINAPI DllCanUnloadNow(void)
 {
     TRACE("() ref=%ld\n", module_ref);
@@ -196,6 +199,15 @@ HRESULT WINAPI RunHTMLApplication( HINST
 {
     FIXME("%p %p %s %d\n", hinst, hPrevInst, debugstr_a(szCmdLine), nCmdShow );
     return 0;
+}
+
+/***********************************************************************
+ *          RNIGetCompatibleVersion (MSHTML.@)
+ */
+DWORD WINAPI RNIGetCompatibleVersion(void)
+{
+    TRACE("()\n");
+    return 0x20000;
 }
 
 /***********************************************************************


More information about the wine-patches mailing list