Zebediah Figura
58c3b5c100
devenum: Call DMOGetTypes() until less types are returned than were allocated.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-13 21:22:13 +02:00
Zebediah Figura
2f2ac79242
devenum: Return filter data for DMO monikers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-15 23:21:55 +02:00
Zebediah Figura
b6f2e9b130
devenum: Use wide string literals.
...
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
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
af68dafc63
devenum: Use calloc() in enum_moniker_create().
...
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
Rémi Bernon
01dd935d1e
devenum: Use free for memory allocated with wcsdup.
...
The memory is otherwise released to the process heap, although msvcrt
allocated it from its internal heap.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-29 19:51:22 +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
7133ed2569
devenum: Access the IPropertyBag interface directly in IMoniker::BindToObject().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 11:50:33 +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
e3cf3823f8
devenum: Merge the property bag object into the moniker object.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 11:21:02 +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
8cabd4785f
devenum: Pass moniker fields to moniker_create().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 11:51:47 +02:00
Zebediah Figura
4994ba2123
devenum: Use calloc() in moniker_create().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 11:51:44 +02:00
Zebediah Figura
0fc7e99a15
devenum: Get rid of the MediaCatMoniker typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 11:51:40 +02:00
Zebediah Figura
6a95f68396
devenum: Get rid of the DEVENUM_ prefix on all method names.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-13 11:51:35 +02:00
Alexandre Julliard
70d6d09f5d
devenum: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 08:49:22 +02:00
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
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
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
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
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
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
Nikolay Sivov
df5f835e68
devenum: Use V_* macros to access variant data.
2014-09-03 11:21:55 +02:00
Jacek Caban
92be7be48d
devenum: Enumerate both regular key and special key for special categories.
2014-01-08 20:04:46 +01:00
Maarten Lankhorst
604172dd98
devenum: Set FriendlyName and wave*ID for devices.
2013-05-14 19:31:57 +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
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
66a515aef2
devenum: Use an iface instead of an vtbl pointer in RegPropBagImpl.
2010-12-05 12:25:45 +01:00
Michael Stefaniuc
71d7331932
devenum: Avoid newlines inside FIXME messages.
2010-01-14 09:03:29 -06:00
Michael Stefaniuc
f7c133284b
devenum: Remove superfluous pointer casts.
2009-01-13 15:25:38 +01:00
Christian Costa
ffdd34f8ff
devenum: Fix traces and fixmes.
2008-12-08 22:02:26 +01:00
Maarten Lankhorst
6ef8569c52
devenum: Call VariantInit instead of VariantClear.
2008-07-11 14:07:34 +02:00
Alexander Dorofeyev
cff08308d0
devenum: Update type when reading binary data to VT_EMPTY variant.
2008-06-25 20:21:36 +02:00
Peter Dons Tychsen
787ccc8032
devenum: Fix the implementation of IEnumMoniker::Skip(), to match the MSDN specs.
2008-01-07 14:26:25 +01:00
Andrew Talbot
9cbfb794fe
devenum: Exclude unused header.
2007-05-02 14:58:20 +02:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Michael Stefaniuc
36d88d929f
devenum: Win64 printf format warning fixes.
2006-10-09 12:55:29 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00