[1/2] SHFreeShared returns TRUE when passed NULL handle

Olivier F. R. Dierick o.dierick at piezo-forte.be
Tue Dec 1 17:39:12 CST 2015


Supersedes patch submission 116938.

In Windows, calling SHFreeShared() on a NULL handle does not change last
error. In Wine it does, causing a game installer to fail (bug 36838).
Documentation for the SHFreeShared() function found at:
http://www.geoffchappell.com/studies/windows/shell/shlwapi/api/shared/free.htm

Signed-off-by: Olivier F. R. Dierick <o.dierick at piezo-forte.be>
---
 dlls/shlwapi/ordinal.c |    4 ++++
 1 file changed, 4 insertions(+)

-- 
        Olivier F. R. Dierick
        o.dierick at piezo-forte.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SHFreeShared-returns-TRUE-when-passed-NULL-handle.patch
Type: application/mbox
Size: 967 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151202/7513871a/attachment.mbox>


More information about the wine-patches mailing list