Commit Graph

1812 Commits

Author SHA1 Message Date
Dmitry Timoshkov 78d6a8ca04 oleaut32: Add a test for saving an icon into a stream. 2012-06-01 16:11:36 +02:00
Dmitry Timoshkov de4c297cf7 oleaut32: Always write header to stream when saving an icon. 2012-06-01 16:11:29 +02:00
Dmitry Timoshkov 7493fdcc4d oleaut32: Simplify bitmap saving code. 2012-06-01 16:11:08 +02:00
Dmitry Timoshkov 4c88239742 oleaut32: Explicitly initialize idReserved field in the icon directory header. 2012-06-01 16:11:05 +02:00
Dmitry Timoshkov c1136218e2 oleaut32: Recognize icon and cursor in the being loaded data. 2012-06-01 16:11:01 +02:00
Alexandre Julliard 4b9a558523 oleaut32/tests: Fix handle sign extension on 64-bit. 2012-05-25 11:49:20 +02:00
Dmitry Timoshkov ab816a3a2f oleaut32: Add a test for saving bitmap data into a stream. 2012-05-17 18:25:26 +02:00
Dmitry Timoshkov dc7843590d oleaut32: OLEPictureImpl_Save should load bitmap data if it's not yet loaded. 2012-05-17 17:44:30 +02:00
Dmitry Timoshkov 25fd436db0 oleaut32: OleCreatePictureIndirect should set loadtime_format for a bitmap. 2012-05-17 17:44:29 +02:00
Dmitry Timoshkov 48df41f834 oleaut32: Move OLEPicture implementation into its own debug channel. 2012-05-17 17:44:29 +02:00
Dmitry Timoshkov 340d9c1a78 oleaut32: Call OleCreatePictureIndirect directly. 2012-05-17 17:44:28 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Daniel Jelinski 971a66e912 oleaut32: Added support for loading cursors in OLEPicture. 2012-05-07 11:42:19 +02:00
Jacek Caban 2217e42c9d oleaut32: Added warn+heap support for cached BSTRs. 2012-05-02 20:14:04 +02:00
Jacek Caban 4eebe0bcf0 oleaut32: Use a struct for internal BSTR representation to avoid pointer magic. 2012-05-02 20:13:57 +02:00
Jacek Caban ab509cde5e oleaut32: SysStringByteLen code clean up. 2012-05-01 15:29:08 +02:00
Jacek Caban 7fded88895 oleaut32: SysStringLen code clean up. 2012-05-01 15:28:53 +02:00
Jacek Caban d53bdeca62 oleaut32: Added BSTR cache implementation. 2012-04-30 10:59:27 +02:00
Daniel Lehman cc37abb658 oleaut32: Treat years 0 to 29 as 2000 to 2029 in VARIANT_RollUdate. 2012-04-19 13:44:52 +02:00
Michael Stefaniuc bb83794e28 oleaut32/tests: Compare the correct variants. 2012-04-16 12:05:49 +02:00
Alessandro Pignotti 25d6e9aee8 oleaut32: Avoid converting variants if it is not needed. 2012-03-16 13:02:49 +01:00
Huw Davies be4d45cacb oleaut32: Zero-init [out] only parameters. 2012-02-17 18:06:48 +01:00
Jeremy White 4f5271a17f oleaut32: When marshalling VT_CARRAY, only marshall by reference for appropriate types. 2012-02-15 11:56:35 +01:00
Huw Davies 0425a110d9 oleaut32: [restricted] members with negative dispids may still be called. 2012-02-07 09:34:22 -06:00
Nikolay Sivov a23dbc5dc5 oleaut32: Some tests for ITypeLib::FindName(), corrected parameter validation. 2012-01-26 21:27:59 +01:00
Alexandre Julliard 9422c19329 oleaut32/tests: Use a better invalid color for the olepicture icon test. 2012-01-23 16:07:41 +01:00
Hans Leidekker 110d96634b oleaut32: Handle negative offsets into the custom data table.
Fixes a crash in the Visio 2002 installer.
2012-01-17 13:59:03 +01:00
Francois Gouget 8375c8e003 oleaut32/tests: Dynamically load some functions that are missing on early NT4 releases. 2012-01-09 12:52:13 +01:00
Francois Gouget af3114a5c4 oleaut32/tests: Skip the VarBstrCat() tests when that API is not available.
For the early NT4 releases.
2012-01-09 12:52:13 +01:00
Francois Gouget 4f0104f887 oleaut32/tests: Once we have a function pointer, use it consistently. 2012-01-09 12:52:12 +01:00
Francois Gouget 6717f5445c oleaut32/tests: Skip some tests when OleLoadPictureEx() is not available.
For the early NT4 releases.
2012-01-09 12:52:12 +01:00
Francois Gouget b682e3b965 oleaut32/tests: Fix the olepicture START_TEST() indentation. 2012-01-09 12:52:12 +01:00
Francois Gouget 559cdbfc7c oleaut32/tests: Use win_skip() when detecting an API is missing. 2012-01-09 12:52:11 +01:00
Alexandre Julliard 1e0ab16069 oleaut32: Fix IPicture::SelectPicture to not try to select a bitmap into two DCs at the same time. 2011-12-16 17:40:33 +01:00
Frédéric Delanoy c55db752a2 oleaut32: Avoid hardcoding array lengths. 2011-11-23 09:11:29 +01:00
Frédéric Delanoy a7cb73d39e oleaut32: Avoid harcoding array lengths. 2011-11-21 11:05:04 +01:00
Marcus Meissner 49cade4b01 oleaut32: Use correct variable (Coverity). 2011-11-14 20:15:43 +01:00
Andrew Talbot c9a8d3bd89 oleaut32: Mark some fall-throughs in a switch statement. 2011-10-08 20:23:27 +02:00
Michael Stefaniuc 42ac8afe9a oleaut32/tests: Cleanup the EXPECTRES macros. 2011-10-08 17:37:24 +02:00
Michael Stefaniuc ef0a5a30c5 oleaut32/tests: Make the EXPECT_* macros that take no args more robust. 2011-10-08 17:37:12 +02:00
Michael Stefaniuc 38794b4ba0 oleaut32: Fix some VarCyFrom* tests.
Due to a broken EXPECTRES macro the EXPECT_OVERFLOW accepts S_OK return
values.
2011-10-08 17:36:47 +02:00
Nikolay Sivov 8899c2e59a oleaut32/typelib: Use BSTR for filename. 2011-10-06 16:46:41 -05:00
Nikolay Sivov c71637b692 oleaut32/typelib: Properly handle allocation failure on creation. 2011-10-06 16:46:41 -05:00
Michael Stefaniuc a2e5b50711 oleaut32/tests: Use FAILED instead of !SUCCEEDED. 2011-09-26 12:14:34 +02:00
Octavian Voicu 74a3d9ee5e oleaut32: Add tmarshal test with variant array and fix variant marshalled size calculation. 2011-09-21 18:39:54 +02:00
Michael Stefaniuc 22521b5809 oleaut32: COM cleanup in typelib2.c. 2011-09-02 10:44:23 +02:00
Octavian Voicu 8177b4793a oleaut32: Fix leak in typelib marshaler when invoking IDispatch methods. 2011-08-26 11:26:56 +02:00
Marcus Meissner 9d7219dfb9 oleaut32: Fixed buffer size to MBtoWC. 2011-08-25 11:31:54 +02:00
Jacek Caban 6ee95c7738 oleaut32: Correctly test VARIANT_BOOL value in VarCat. 2011-08-23 18:17:03 +02:00
Nikolay Sivov 2de8137f11 oleaut32: Use type names and sizeof() instead of hardcoded values for save/load methods. 2011-08-22 16:22:25 +02:00