Commit Graph

11 Commits

Author SHA1 Message Date
Rob Shearman 8ee930150c ole32: Fix a memory leak in the HGLOBAL stream tests by telling CreateStreamOnHGlobal to free the memory it allocates, as we don't free it ourselves in this test. 2007-11-13 13:29:47 +01:00
Rob Shearman 82cfed96a7 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.
2007-05-18 14:42:53 +02:00
Rob Shearman fd07191673 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.
2007-01-10 12:13:22 +01:00
Rob Shearman fb883d8687 ole32: Fix SetSize for HGLOBAL streams in the case of being out-of-memory. 2006-12-18 11:54:24 +01:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Michael Ploujnikov 9d2a804f9b ole32/tests: Win64 printf format warning fixes. 2006-10-14 20:17:16 +02:00
Alexandre Julliard 335144dc04 ole32/tests: Avoid using sizeof in a trace. 2006-09-27 20:54:05 +02:00
Robert Shearman bfc1bdc3bb ole32: Fix the IStream_SetSize function for HGLOBAL streams to ignore HighPart. 2006-09-11 12:27:15 +02:00
Robert Shearman 355903ddc4 ole32: Fix the return value of the HGLOBAL stream IStream_LockRegion function. 2006-09-11 12:27:04 +02:00
Robert Shearman a552c2ead7 ole32: Fix the HGLOBAL stream IStream_Read function to return S_OK even if not all of the requested bytes were available. 2006-09-11 12:26:58 +02:00
Robert Shearman e10103e3ec ole32: Add tests for the stream object returned by CreateStreamOnHGlobal. 2006-09-11 12:25:01 +02:00