ole32: Fix reading from an HGLOBALStreamImpl with an invalid HGLOBAL.
commit82cfed96a7dc8ee97e59b688968867c143104b98
authorRob Shearman <rob@codeweavers.com>
Thu, 17 May 2007 16:06:56 +0000 (17 17:06 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 18 May 2007 12:42:53 +0000 (18 14:42 +0200)
tree994582f3d7a92405e56eef7e48e6a6db75e38a10
parent600143d4fac9e8237de33fab439e7d715ee37122
ole32: Fix reading from an HGLOBALStreamImpl with an invalid HGLOBAL.

Add tests that show the strange behaviour of IStream_Read returning S_OK
instead of an error code.
dlls/ole32/hglobalstream.c
dlls/ole32/tests/hglobalstream.c