ole32: Fix HGLOBALStreamImpl_CopyTo to check the return values of IStream_Read and...
commitfd07191673dea171af0449654d3106c5d6429025
authorRob Shearman <rob@codeweavers.com>
Tue, 9 Jan 2007 17:16:07 +0000 (9 17:16 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 10 Jan 2007 11:13:22 +0000 (10 12:13 +0100)
tree4d0833c9d5f4c493341fa03742819024803db86e
parentba25254d9f02852bae16a42138ce585cf4bb2348
ole32: Fix HGLOBALStreamImpl_CopyTo to check the return values of IStream_Read and IStream_Write and to not compare the bytes read to the bytes written.

Add tests for IStream::CopyTo of the HGLOBAL stream implementation.
dlls/ole32/hglobalstream.c
dlls/ole32/tests/hglobalstream.c