[PATCH] shlwapi: Fix the return value of SHAddDataBlock

Hermès BÉLUSCA-MAÏTO hermes.belusca at sfr.fr
Tue Jan 17 07:44:34 CST 2017


Hello,

This patch (attached file) fixes the return type & value of SHAddDataBlock.
The corresponding test (shlwapi’s clist) is adjusted to reflect those
changes.

In addition I also set the pointer lpList to NULL in SHRemoveDataBlock, to
respect the fact it’s a pointer, not just a number.

Best,
Hermès Bélusca-Maïto
---
dlls/shlwapi/clist.c       | 14 +++++++-------
dlls/shlwapi/tests/clist.c | 21 +++++++++------------
2 files changed, 16 insertions(+), 19 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: shlwapi_clist.diff
Type: application/octet-stream
Size: 3854 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170117/98032d8e/attachment.obj>


More information about the wine-patches mailing list