Commit Graph

49 Commits

Author SHA1 Message Date
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 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 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 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 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
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
Nikolay Sivov df5f835e68 devenum: Use V_* macros to access variant data. 2014-09-03 11:21:55 +02: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
Maarten Lankhorst 604172dd98 devenum: Set FriendlyName and wave*ID for devices. 2013-05-14 19:31:57 +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 1e40dea125 devenum: COM cleanup for ICreateDevEnum. 2012-04-03 12:00:58 +02:00
Christian Costa a85957ae0e devenum: Reset moniker pointer before calling IFilterMapper2_RegisterFilter. 2012-03-14 12:59:08 +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
Michael Stefaniuc f7c133284b devenum: Remove superfluous pointer casts. 2009-01-13 15:25:38 +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
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
Andrew Talbot b8e10c75fd devenum: Remove unneeded cast. 2007-12-07 17:36:01 +01: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
Thomas Weidenmueller ae4eafbecc devenum: Don't leak key handle creating a category registry key. 2005-12-05 20:39:47 +01:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Maarten Lankhorst db3be15567 Add vfwindex when enumerating devices, and make sure every device has
a unique registry key, so multiple devices with same name are allowed.
2005-05-18 18:25:12 +00:00
Maarten Lankhorst 8a7960c4f9 Added the video input device category. 2005-04-27 11:07:55 +00:00
Christian Costa 0f18bb0f29 Fixed pin direction when registering audio input device. 2005-01-25 10:56:39 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Robert Shearman e7110f0982 Clean up devenum and properly implement DllCanUnloadNow ref counting. 2004-12-07 14:37:11 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Francois Gouget 66834324b1 Assorted spelling fixes.
Remove wszRegSeparator from devenum_private.h since it's neither
exported by createdevenum.c nor used by anyone else.
2004-04-20 04:03:42 +00:00
Robert Shearman e14e101fed - Fixed buffer overflow in IFilterMapper2::RegisterFilter.
- Fixed buffer overflow in DEVENUM_IPropertyBag_Read.
- Fixed NULL pointer de-ref in DllRegisterServer when IFilterMapper2
  is not registered.
- Allowed returning the moniker in IFilterMapper2::RegisterFilter.
- Enumerate special categories without causing infinite loop.
2003-12-30 21:52:45 +00:00
Robert Shearman d38cce8d4b Implemented DevEnum dll. 2003-07-01 04:30:30 +00:00