[PATCH 1/3] shlwapi: Be less strict on which type of IShellFolder can be enumerated

Andrew Eikum aeikum at codeweavers.com
Thu Jun 3 14:35:25 CDT 2010


This fixes a bug with Internet Explorer 6's Favorites menu.

This function used to be named IUnknown_EnumObjects, so my guess is
that the original implementor thought it'd be wise to verify the type
of the object before executing IShellFolder's methods on it.  Since
it's now called IShellFolder_EnumObjects and explicitly takes an
LPSHELLFOLDER parameter, I see no reason to do the typecheck.

---
   dlls/shlwapi/ordinal.c         |   19 +------------------
   dlls/shlwapi/tests/Makefile.in |    2 +-
   dlls/shlwapi/tests/ordinal.c   |   32 ++++++++++++++++++++++++++++++++
   3 files changed, 34 insertions(+), 19 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shlwapi-Be-less-strict-on-which-type-of-IShellFolder.patch
Type: text/x-patch
Size: 3917 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100603/b07f3ad9/attachment.bin>


More information about the wine-patches mailing list