Commit Graph

76 Commits

Author SHA1 Message Date
Alexandre Julliard fc79250ff7 quartz: Remove some unnecessary casts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Alex Henrie 24703e4cd6 quartz: Rewrite add_data with CoTaskMemRealloc and error handling.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
Michael Stefaniuc 53c80a2bd1 quartz: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-17 22:36:06 +02:00
Michael Stefaniuc e7bcc1193a quartz: Use the more common ARRAY_SIZE spelling.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 19:08:34 +02:00
Zebediah Figura c282e9d4b5 include: Make fil_data.idl a common header.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:39:44 +02:00
Zebediah Figura afe14ab9b0 quartz: Don't fail if the filter CLSID doesn't exist.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:44 -06:00
Nikolay Sivov 1fbbd154fd quartz: Remove stub messages for implemented methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 11:53:57 +02:00
Michael Stefaniuc b5a7853b86 quartz: Remove redundant NULL checks before CoTaskMemFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:41 +09:00
Alex Henrie 2581fc7c21 quartz: Print This pointer before iface pointer in traces.
This matches what is done in AMFilterData_ParseFilterData and
AMFilterData_CreateFilterData.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:20:46 +09:00
Nikolay Sivov b5cd477523 quartz: Use V_* macros to access variant members. 2014-09-03 11:21:53 +02:00
George Stephanos 637257b939 quartz: Replace CloseHandle by RegCloseKey. 2013-08-16 11:55:23 +02:00
Michael Stefaniuc 7fa17be7c5 quartz: Move the FilterMapper_create to avoid forward declarations. 2012-07-02 10:56:09 +02:00
Michael Stefaniuc d2d3a9c462 quartz: Standardize COM aggregation for FilterMapper. 2012-07-02 10:56:03 +02:00
Jacek Caban 942f2ce792 include: Use widl to take care of nameless structs and unions. 2012-05-14 12:04:17 +02:00
Aric Stewart c3e2407664 quartz: AMFilterData_ParseFilterData returns a pointer to a pointer to filter data. 2012-02-07 09:30:05 -06:00
Michael Stefaniuc 27e1d5adb7 quartz: Use an IDL file to define the IAMFilterData iface. 2011-09-06 11:29:38 +02:00
Michael Stefaniuc 2672b0ae94 quartz: COM cleanup for the ifaces of FilterMapper3Impl. 2011-06-21 11:28:59 +02:00
Maarten Lankhorst c7a3f12359 quartz: Support IFilterMapper3 interface. 2010-12-03 14:28:28 +01:00
Henri Verbeet 56659c3a70 quartz: Don't return a pointer to a stack variable in AMFilterData_ParseFilterData(). 2010-04-07 13:50:07 +02:00
Nikolay Sivov da550ed257 quartz: Don't cast WSTR to BSTR, convert properly instead. 2010-03-15 14:18:06 +01:00
Michael Stefaniuc cc7fc4abef quartz: Remove superfluous pointer casts. 2009-01-29 14:06:01 +01:00
Christian Costa 1f45516d91 quartz: Accept null clsMinorType for pins when registering filters + tests. 2008-12-08 12:02:33 +01:00
Alexandre Julliard e78ea286fb quartz: Make some functions and variables static. 2008-12-02 15:25:19 +01:00
Michael Stefaniuc 56c6f7670b quartz: Use the right FAILED/SUCCEEDED macro instead of negating the opposite. 2008-10-08 13:42:06 +02:00
Rob Shearman e7ecfe28a1 quartz: Don't use strlenW in array size declaration.
Use ARRAYSIZE() on the constant string arrays instead.
2008-10-01 11:44:02 -05:00
Alexander Dorofeyev d39ee67019 quartz: Make Filtermapper aggregatable. 2008-07-18 11:12:16 +02:00
Alexander Dorofeyev b312d42059 quartz: Fix memory leak and behavior on errors in FilterMapper_EnumMatchingFilters. 2008-07-02 12:23:43 +02:00
Alexander Dorofeyev bbd22ae06c quartz: Fix memory leak in FilterMapper_RegisterFilter. 2008-07-02 12:23:37 +02:00
Alexander Dorofeyev c206f91030 quartz: Fix memleak in FilterMapper2_RegisterFilter. 2008-07-02 12:23:25 +02:00
Alexander Dorofeyev d3e67c83a0 quartz: Fix memory leaks in FM2_DeleteRegFilter. 2008-07-02 12:23:19 +02:00
Alexander Dorofeyev 9778faee0b quartz: Improve variant handling in FilterMapper_EnumMatchingFilters.
Adds VariantClear and removes unnecessary variant type assignment that may cause 
heap corruption.
2008-07-01 13:45:38 +02:00
Alexander Dorofeyev 10b593b2e7 quartz: Fix string buffer overflow. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev cd5fa7dedb quartz: Improve removal of registry data in Filtermapper unregister methods. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev f9e2914ed6 quartz: Fix registry key creation. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev d6df899603 quartz: Fix calculating wide string size. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev dcc9032ed0 Revert "quartz: Only enumerate renderers if bRender is set in filtermapper.".
This reverts commit b157969d49.
2008-07-01 13:45:38 +02:00
Alexander Dorofeyev 1aff73455d quartz: Prevent heap corruption if IPropertyBag_Read fails. 2008-06-25 20:21:41 +02:00
Alexander Dorofeyev c782cdad96 quartz: Fix accessing variant string. 2008-06-25 20:21:26 +02:00
Maarten Lankhorst b157969d49 quartz: Only enumerate renderers if bRender is set in filtermapper. 2008-06-24 11:47:24 +02:00
Rob Shearman 1c0122d14e quartz: Don't assume that strlenW of a constant string can be determined at compile time.
Use sizeof instead to calculate the size of wszKeyName in 
FilterMapper2_CreateCategory.
2008-02-29 12:39:10 +01:00
Andrew Talbot 1f3133d214 quartz: Constify some variables. 2007-08-08 15:32:00 +02:00
Michael Stefaniuc f10e6d7e37 quartz: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:20 +02:00
Marcus Meissner ccad96578d quartz: Added some error checking on failure to CreateClassEnumerator. 2007-06-04 12:49:46 +02:00
Chris Robinson 2faaa3b8de quartz: Implement IAMFilterData interface for IFilterMapper. 2007-04-11 13:04:23 +02:00
Chris Robinson 0717c96192 quartz: Improve reference traces. 2007-03-05 18:08:29 +01:00
Chris Robinson 92aaba0d6f quartz: Return the proper interface for IFilterMapper. 2007-03-05 12:07:59 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Hans Leidekker cfbb859f59 quartz: Win64 printf format warning fixes. 2006-10-13 12:08:41 +02:00
James Hawkins 99e2c6dff2 janitorial: Remove redundant NULL checks before CoTaskMemFree (found by Smatch). 2006-10-07 17:52:51 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00