VerQueryValue[A|W]
lawson_whitney at juno.com
lawson_whitney at juno.com
Tue Feb 13 23:29:51 CST 2001
Good day!
AOL 5.0 does this, so I guess it is allowed by some flavors of windows.
ChangeLog:
* dlls/version/info.c:
Lawson Whitney <lawson_whitney at juno.com>
If VerQueryValueA is called with a PE resource, cast the call
to VerQueryValueW.
Lawson
-------------- next part --------------
diff -urN was/dlls/version/info.c is/dlls/version/info.c
--- was/dlls/version/info.c Tue Jan 30 13:12:20 2001
+++ is/dlls/version/info.c Tue Jan 30 13:23:08 2001
@@ -428,7 +428,9 @@
if ( !VersionInfoIs16( info ) )
{
ERR("called on PE resource!\n" );
- return FALSE;
+ /* <lawson_whitney at juno.com> Feb 2001 */
+ /* AOL 5.0 does this, expecting to get this: */
+ return VerQueryValueW(pBlock, (LPCWSTR) lpSubBlock, lplpBuffer, puLen);
}
TRACE("(%p,%s,%p,%p)\n",
More information about the wine-patches
mailing list