Implement SHDOCVW_DllGetVersion
Mike Hearn
mh at codeweavers.com
Thu Feb 19 15:51:14 CST 2004
Mike Hearn <mh at codeweavers.com>
Implement SHDOCVW_DllGetVersion. It returns the same information as the
Win98/IE6 implementation does.
Index: dlls/shdocvw/shdocvw_main.c
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/shdocvw/shdocvw_main.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 shdocvw_main.c
--- dlls/shdocvw/shdocvw_main.c 14 Feb 2004 01:09:40 -0000 1.1.1.8
+++ dlls/shdocvw/shdocvw_main.c 19 Feb 2004 21:41:04 -0000
@@ -188,10 +188,17 @@
/***********************************************************************
* DllGetVersion (SHDOCVW.@)
*/
-HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *pdvi)
+HRESULT WINAPI SHDOCVW_DllGetVersion (DLLVERSIONINFO *info)
{
- FIXME("(void): stub\n");
- return S_FALSE;
+ if (info->cbSize != sizeof(DLLVERSIONINFO)) FIXME("support DLLVERSIONINFO2\n");
+
+ /* this is what IE6 on Windows 98 reports */
+ info->dwMajorVersion = 6;
+ info->dwMinorVersion = 0;
+ info->dwBuildNumber = 2600;
+ info->dwPlatformID = DLLVER_PLATFORM_WINDOWS;
+
+ return NOERROR;
}
/*************************************************************************
More information about the wine-patches
mailing list