Commit Graph

165 Commits

Author SHA1 Message Date
Michael Stefaniuc 4281d19d76 oleaut32: Cast to the correct type instead to void pointer. 2013-12-13 12:36:10 +01:00
Frédéric Delanoy 128e4575e5 oleaut32: Use BOOL type where appropriate. 2013-11-21 13:36:08 +01:00
Dmitry Timoshkov 724eda257f oleaut32: Check number of bytes returned by ReadFile. 2013-10-30 15:28:49 +01:00
Andrew Talbot eedf2f6fab oleaut32: Avoid signed-unsigned integer comparisons. 2013-02-22 10:17:32 +01:00
Dmitry Timoshkov 97e2c24cc7 oleaut32: Add support for saving an empty picture. 2012-11-26 12:01:40 +01: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
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
Daniel Jelinski 971a66e912 oleaut32: Added support for loading cursors in OLEPicture. 2012-05-07 11:42:19 +02: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
Austin English af0c217752 oleaut32/tests: Fix a couple of todo_wine's. 2011-02-25 11:08:03 +01:00
Michael Stefaniuc 812a0495c5 oleaut32: Use ifaces instead of vtbl pointers in OLEPictureImpl. 2010-12-10 13:03:24 +01:00
Michael Stefaniuc e4094231a4 oleaut32: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-05 16:43:34 +01:00
Alexandre Julliard 7769b05858 oleaut32: Convert dll registration to the new IRegistrar mechanism. 2010-11-24 17:59:57 +01:00
Nikolay Sivov f7b2add8d9 oleaut32/olepicture: Remove out pointer check in OleCreatePictureIndirect, it should crash. 2010-08-25 11:59:27 +02:00
Nikolay Sivov b8f99cabb4 oleaut32/olepicture: Fix a typo in height conversion. 2010-08-25 11:59:06 +02:00
Nikolay Sivov b5a8c33182 oleaut32/olepicture: No need to check interface pointer in vtable methods. 2010-08-23 13:37:02 +02:00
Nikolay Sivov 32c2ef6c97 oleaut32/olepicture: Fix assumptions about S_OK value. 2010-08-23 13:37:02 +02:00
Nikolay Sivov 99863b02ba oleaut32/olepicture: Properly round while performing pixels->himetric units conversion. 2010-08-23 13:37:02 +02:00
Andrew Nguyen 96dbdcb8c9 oleaut32: Implicitly initialize COM in OleLoadPicturePath. 2010-05-20 16:48:37 +02:00
Andrew Nguyen 61f7f77636 oleaut32: Convert file URLs to DOS paths for special handling in OleLoadPicturePath.
File URLs cannot be used in the moniker code path, as binding to the IStream interface is not possible.
2010-05-20 16:48:37 +02:00
Andrew Nguyen dc13339988 oleaut32: Improve parameter validation in OleLoadPicturePath. 2010-05-20 16:48:37 +02:00
Gerald Pfeifer c85eb78090 oleaut32: Remove variable iLengthScanLineColor which is not really used from serializeIcon. 2010-05-03 16:48:03 +02:00
Mikhail Maroukhine feb257dce0 ole: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:15:52 +02:00
Wilfried Pasquazzo 6a5bd0c2ed oleaut32: Respect size of icons when drawing with IPicture_Render. 2009-10-15 12:06:22 +02:00
Vincent Povirk e5d2a6932d oleaut32: Use WIC to decode PNG images. 2009-09-02 10:24:43 +02:00
Vincent Povirk 0ac2a855ce oleaut32: Use WIC to decode JPEG images. 2009-09-01 12:43:54 +02:00
Vincent Povirk 5a5e0e937d oleaut32: Avoid copying the data when loading an image using WIC. 2009-08-24 15:17:34 +02:00
Vincent Povirk 7c9e198a71 oleaut32: Use WIC to decode gif files. 2009-08-19 12:08:32 +02:00
Alexandre Julliard 70e4611e73 oleaut32: Properly release cache DCs instead of trying to delete them. 2009-07-01 12:07:35 +02:00
Austin English 15ff349ada oleaut32: Fix a compiler warning for libjpeg includes. 2009-06-16 13:26:00 +02:00
Alexandre Julliard 0ed1041c63 oleaut32: Don't use 16-bit headers. 2009-04-01 18:20:21 +02:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Erich Hoover a82cdfc050 oleaut32: Fix OLEPicture rendering vector metafiles without setting up the source rectangle. 2009-01-20 12:33:39 +01:00
Alexandre Julliard 99132baebd oleaut32: Fix handle cast warnings on 64-bit. 2009-01-08 17:27:14 +01:00
Nikolay Sivov b91f4a3dae oleaut32: Check pointer in IPicture::get_Type. 2009-01-07 12:50:56 +01:00
Nikolay Sivov a22ca1c2d9 oleaut32: Check pointer in IPicture::get_Handle. 2009-01-07 12:50:51 +01:00
Nikolay Sivov 76925b06c2 oleaut32: Check pointer in IPicture_get_Attributes. 2009-01-06 12:42:49 +01:00
Nikolay Sivov 5b88f0d916 oleaut32: Add PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture_get_Attributes. 2009-01-06 12:42:43 +01:00
Nikolay Sivov b6d50aed41 oleaut32: Added PICTYPE_NONE and PICTYPE_UNINITIALIZED to IPicture::Render. 2008-12-11 14:28:35 +01:00
Michael Stefaniuc 25f33cb0bc oleaut32: Do not cast NULL. 2008-11-03 13:41:53 +01:00
Kirill K. Smirnov c47d0715ab oleaut32: Remove superfluous return statement. 2008-10-16 12:37:20 +02:00
Kirill K. Smirnov fd6d2b4d0c oleaut32: Return correct error code. 2008-10-16 12:37:15 +02:00
Kirill K. Smirnov 4dfaf90ab2 oleaut32: Print error messages as ERR. 2008-10-16 12:37:10 +02:00
Kirill K. Smirnov a03cc957e1 oleaut32: Add tests for metafiles, make them pass under Wine. 2008-10-06 14:15:01 +02:00
Lei Zhang 4fe68a9e1e oleaut32: Check return values in several functions. 2008-07-21 14:36:39 +02:00