Sven Baars
e6b9a83bb4
devenum: Don't pass a name argument to IEnumDMO_Next.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:33:20 +01:00
Zebediah Figura
3399e9bbf2
devenum/tests: Fix some more memory leaks (Valgrind).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-18 10:23:56 +01:00
Zebediah Figura
532c986ac5
devenum/tests: Fix some memory leaks (Valgrind).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-13 10:11:17 +01:00
Zebediah Figura
cea7615038
devenum: Zero-initialize REGFILTERPINS struct.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45923
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-04 06:54:07 -05:00
Marcus Meissner
5ea87a883e
devenum: Fixed size to capGetDriverDescriptionW (Coverity).
...
CID 1439780
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-30 12:13:31 +02:00
Zebediah Figura
9316d8ae86
devenum: Only scan for devices for the requested filter category.
...
This matches native behaviour, and greatly reduces the overhead of
IFilterMapper2_EnumMatchingFilters().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 10:25:06 +02:00
Zebediah Figura
ec16a92b1d
devenum: Register AVI capture devices as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 10:25:02 +02:00
Zebediah Figura
9ebbcb4f47
devenum: Factor friendly name and CLSID registration into register_codec().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 10:24:58 +02:00
Michael Stefaniuc
e5216332c0
devenum: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:00 +02:00
Zebediah Figura
c05dbc4bf4
devenum/tests: Remove a duplicate test.
...
This is tested below in test_vfw().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Zebediah Figura
ccfb441171
devenum/tests: Add some more traces in test_devenum().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:47:48 +02:00
Zebediah Figura
217f0daadc
devenum/tests: DMORegister() returns E_FAIL if unable to access the registry.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:06:09 +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
7d243d146b
devenum: Remove an unused typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:38:08 +02:00
Zebediah Figura
3670d59409
devenum: Make some variables static.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:38:06 +02:00
Zebediah Figura
47921c19e0
devenum: Use separate factories for CLSID_SystemDeviceEnum and CLSID_CDeviceMoniker.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:38:04 +02:00
Zebediah Figura
b371cc5130
devenum: Merge factory.c into devenum_main.c.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:38:01 +02:00
Zebediah Figura
e119f245f1
devenum: Implement enumerating DMOs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 11:58:52 +02:00
Zebediah Figura
0da4892b45
devenum: Implement parsing and reading DMO monikers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-25 11:58:48 +02:00
Zebediah Figura
8cd4d9fb47
devenum: Check for null pointer in IMoniker_BindToObject().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-30 10:40:21 +02:00
Zebediah Figura
d63e560e6b
devenum: Register VFW codecs as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 12:28:12 +02:00
Zebediah Figura
f4a98b8ce4
devenum: Register midiOut devices as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 11:18:39 +02:00
Zebediah Figura
c64f6ad08d
devenum: Register waveIn devices as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 11:18:39 +02:00
Zebediah Figura
b7fdedd323
devenum: Register waveOut devices as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 11:12:38 +02:00
Zebediah Figura
2f87691892
devenum: Register DirectSound devices as codec devices.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:59:15 +01:00
Zebediah Figura
5b4a18283b
devenum: Register legacy AM filters as devenum codecs, not through FilterMapper2.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-12 20:59:15 +01:00
Zebediah Figura
71bd11bc6b
devenum: Use version 2 of REGFILTER2 to register legacy filters.
...
Since quartz can't read back version 1.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:43 -06:00
Zebediah Figura
6c30370ef5
devenum: Always scan for devices in CreateClassEnumerator().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 10:40:43 -06:00
Zebediah Figura
38482b326a
devenum: Create the key in IPropertyBag::Write() instead of ParseDisplayName().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:47:15 -06:00
Zebediah Figura
b0300ce564
devenum: Correctly implement IMoniker::GetDisplayName().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:47:10 -06:00
Zebediah Figura
f49fc4c7ef
devenum: Allow parsing display name without class ID.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:47:02 -06:00
Zebediah Figura
f5c531bdd1
devenum: More correctly handle device types.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:46:54 -06:00
Zebediah Figura
a736400eed
devenum/tests: Test registering DirectShow filters.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:46:43 -06:00
Zebediah Figura
d34637f597
devenum/tests: Test all registered categories.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-07 08:46:38 -06:00
Thomas Faber
d7eb469d59
devenum/tests: Fix return value check for IEnumMoniker_Next.
...
IEnumMoniker::Next returns S_FALSE when there are no (more) items, so
checking SUCCEEDED does not make sense.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-13 20:56:21 +02:00
Jactry Zeng
116743c42b
devenum: Implement IMoniker::IsEqual().
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:11:32 +02:00
Jactry Zeng
ff0a25cbc7
devenum: Use RegQueryValueExW instead of RegQueryValueW.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 22:11:32 +02:00
Jactry Zeng
05ed831894
devenum: Implement IMoniker::GetClassID().
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 10:06:39 +01:00
Michael Stefaniuc
cf3d957950
devenum: 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:54 +09:00
Francois Gouget
8c3170d7f4
devenum: Mark internal symbols with hidden visibility.
2015-03-17 14:18:39 +09:00
Michael Stefaniuc
d6829afe4b
devenum: Use the return value of __wine_register_resources (PVS-Studio).
2015-01-14 13:18:49 +01:00
Nikolay Sivov
df5f835e68
devenum: Use V_* macros to access variant data.
2014-09-03 11:21:55 +02:00
Jacek Caban
51e3c2397c
devenum: Added more strict CLSID_VideoCompressorCategory test.
2014-01-09 12:10:54 +01:00
Jacek Caban
e303f11628
devenum: Make CLSID_VideoCompressorCategory a special category.
2014-01-09 12:10:52 +01:00
Jacek Caban
81c42ce710
devenum: Populate CLSID_VideoCompressorCategory category in key in DEVENUM_CreateSpecialCategories.
2014-01-08 20:06:16 +01:00
Jacek Caban
92be7be48d
devenum: Enumerate both regular key and special key for special categories.
2014-01-08 20:04:46 +01:00
Jacek Caban
6ce17c1fa4
devenum: Moved test for special category GUID to separated function.
2014-01-08 20:03:44 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Alexandre Julliard
d08ff3ff19
makefiles: Use a single variable for all types of idl files.
2013-12-31 18:15:17 +01:00