Commit Graph

41 Commits

Author SHA1 Message Date
Zebediah Figura 90a99806ac devenum: Map CLSID_LegacyAmFilterCategory to DMOCATEGORY_AUDIO_DECODER and DMOCATEGORY_VIDEO_DECODER.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-14 11:40:25 +02:00
Zebediah Figura 6bdb22108c devenum: Implement IMoniker::BindToObject() for DMO devices.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:35 +02:00
Zebediah Figura 6cfd0924aa devenum: Ignore the "left" parameter to IMoniker::BindToObject().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:31 +02:00
Zebediah Figura 7c16aacc5f devenum: Return E_INVALIDARG from IPropertyBag::Write() for invalid variant types.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-15 11:38:19 +02:00
Zebediah Figura ab355d6ea3 devenum/tests: Avoid running test_devenum() twice.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-15 11:38:11 +02:00
Zebediah Figura ccefc1f469 devenum: Don't support VT_UI4 in IPropertyBag methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 11:20:59 +02:00
Zebediah Figura e3df3ca839 devenum: Don't support VT_LPWSTR in IPropertyBag methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 11:20:56 +02:00
Zebediah Figura 27f13b2bb4 devenum/tests: Add more tests for IPropertyBag methods.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 11:20:53 +02:00
Zebediah Figura 208bc5d282 devenum/tests: Use wide character string literals.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 11:20:48 +02:00
Alexandre Julliard 280e51e114 devenum/tests: Get rid of strchrW() and strncmpW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-26 10:59:43 +01:00
Zebediah Figura e0da0b777a devenum: Return S_FALSE from CreateClassEnumerator() if no devices exist.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46316
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-09 15:46:03 +02:00
Detlef Riekenberg 9ceb9720e8 devenum/tests: Accept ERROR_KEY_DOES_NOT_EXIST from IPropertyBag_Read.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:02 +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 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 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 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 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
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Detlef Riekenberg a8f4364388 devenum: Do not fail with a IBindCtx (with tests). 2012-06-19 22:03:21 +02:00
Christian Costa c1b92ca1e2 devenum: Add tests for devenum. 2012-03-28 11:53:18 +02:00