Commit Graph

242 Commits

Author SHA1 Message Date
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
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard b9d56b3543 devenum: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Maarten Lankhorst 604172dd98 devenum: Set FriendlyName and wave*ID for devices. 2013-05-14 19:31:57 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Detlef Riekenberg a8f4364388 devenum: Do not fail with a IBindCtx (with tests). 2012-06-19 22:03:21 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Jacek Caban 942f2ce792 include: Use widl to take care of nameless structs and unions. 2012-05-14 12:04:17 +02:00
Detlef Riekenberg 25cf21bddc devenum: Remove tabs and duplicate newlines from TRACE. 2012-05-08 09:41:14 +02:00
André Hentschel 8ef61a98f0 devenum: Remove unneeded shadow variables. 2012-04-18 17:11:23 +02:00
Jacek Caban 9940756d21 devenum: Removed useless structs. 2012-04-04 17:49:03 +02:00
Michael Stefaniuc 448986f1c4 devenum: COM cleanup for IParseDisplayName. 2012-04-03 12:01:19 +02:00
Michael Stefaniuc 91203006e1 devenum: Don't use DEVENUM_IPropertyBag_AddRef method directly. 2012-04-03 12:01:14 +02:00
Michael Stefaniuc 25aa60b33c devenum: COM cleanup for IMoniker (MediaCatMoniker). 2012-04-03 12:01:10 +02:00
Michael Stefaniuc 201b72e8b6 devenum: COM cleanup for IEnumMoniker. 2012-04-03 12:01:04 +02:00
Michael Stefaniuc 1e40dea125 devenum: COM cleanup for ICreateDevEnum. 2012-04-03 12:00:58 +02:00
Christian Costa c1b92ca1e2 devenum: Add tests for devenum. 2012-03-28 11:53:18 +02:00
Christian Costa a85957ae0e devenum: Reset moniker pointer before calling IFilterMapper2_RegisterFilter. 2012-03-14 12:59:08 +01:00
Alexandre Julliard dc1dad6a72 devenum: Don't register quartz from devenum. 2011-08-02 22:53:40 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc aa591dcd9d devenum: COM cleanup for the IClassFactory iface. 2011-08-01 11:18:14 +02:00
Marcus Meissner 455ef03cad devenum: Mark internal symbols as hidden. 2011-05-17 10:19:00 +02:00
Alexandre Julliard 0cdd147dcb devenum: Convert translations to po files. 2011-01-06 14:58:59 +01:00
Alexandre Julliard 7092313b2a devenum: Convert dll registration to the IRegistrar mechanism. 2010-12-07 14:44:19 +01:00
Michael Stefaniuc 66a515aef2 devenum: Use an iface instead of an vtbl pointer in RegPropBagImpl. 2010-12-05 12:25:45 +01:00
Paul Vriens 9b82b5a853 devenum: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-01 11:34:40 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Luca Bennati e9f3578854 devenum: Update Italian translation. 2010-09-09 19:56:36 +02:00
Anders Jonsson 1ef44dcce7 devenum: Add Swedish translation. 2010-08-24 12:30:07 +02:00
Michael Stefaniuc 6e6b6984d2 devenum: Remove the ignored common resource attributes. 2010-07-22 11:41:35 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Igor Paliychuk 94aedc8f6d devenum: Add Ukrainian translation. 2010-07-08 17:33:35 +02:00
Ken Sharp 9bb9f7a4e9 devenum: Add Welsh resource. 2010-07-07 11:30:36 +02:00
Kovács András e77622a179 devenum: Add Hungarian translation. 2010-06-29 10:54:22 +02:00
Paul Vriens 7b82143c97 devenum: Add the Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-07 12:23:39 +02:00
Michael Stefaniuc 8cf14ed7bd devenum: Split the translations into separate resource files.
Also use the existing resource ID defines.
2010-05-28 16:22:24 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Maarten Lankhorst 737ed17f1b devenum: Scan special device categories more often. 2010-02-01 13:56:06 +01:00
Michael Stefaniuc 71d7331932 devenum: Avoid newlines inside FIXME messages. 2010-01-14 09:03:29 -06:00
Ricardo Filipe 1e5d72a630 devenum: Update Portuguese translation. 2009-07-17 14:28:20 +02:00
Aric Stewart af6de9d7a3 devenum: Add Japanese resource. 2009-07-15 13:15:56 +02:00
Aurimas Fischer 2af10186b6 devenum: Add Lithuanian translation. 2009-03-30 13:57:37 +02:00
Michael Stefaniuc f7c133284b devenum: Remove superfluous pointer casts. 2009-01-13 15:25:38 +01:00
Francois Gouget 579b8649a1 devenum: Make the Romanian translation LANG_NEUTRAL. 2008-12-17 15:29:09 +01:00
Francois Gouget e9ab244d77 devenum: Explicitly identify the translation as being for SUBLANG_PORTUGUESE_BRAZILIAN. 2008-12-15 12:29:57 +01:00
Mikołaj Zalewski b4467c7351 devenum: Italian, Spanish, Dutch and VERSIONINFO should use SUBLANG_NEUTRAL. 2008-12-15 12:24:33 +01:00
Francois Gouget 5a8e31a386 devenum: French and German should use SUBLANG_NEUTRAL. 2008-12-12 11:46:55 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
Christian Costa ffdd34f8ff devenum: Fix traces and fixmes. 2008-12-08 22:02:26 +01:00
Alexandre Julliard 7f66623d49 devenum: Make some functions static. 2008-12-02 15:27:15 +01:00
Juan Lang df592b3c3a devenum: Fix order of operations bug (Coverity id 709). 2008-09-11 12:12:30 +02:00
Maarten Lankhorst 6ef8569c52 devenum: Call VariantInit instead of VariantClear. 2008-07-11 14:07:34 +02:00
Alexander Dorofeyev e49eb1d60e devenum: Register legacy am filters in CreateClassEnumerator. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev de70686f17 devenum: Move locating category key to function, use it ParseDisplayName. 2008-07-01 13:45:38 +02:00
Alexander Dorofeyev cff08308d0 devenum: Update type when reading binary data to VT_EMPTY variant. 2008-06-25 20:21:36 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00