Commit Graph

51 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 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
Alexandre Julliard 738e88db5f Replace the ICOM_THIS_From macros by inline functions. 2005-07-27 15:14:18 +00:00
Mike McCormack 2d7ea23868 Interlocked LONG* gcc warning fixes. 2005-07-11 13:21:17 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Maarten Lankhorst 66b019c1a8 Pass property bag to IPersistPropertyBag, if supported. 2005-05-18 18:20:39 +00:00
Maarten Lankhorst 32498176e8 Fixed a reference leak. 2005-04-26 08:15:38 +00:00
Paul Vriens 545cdfa2ef - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-10 12:25:29 +00:00
Christian Costa b3f064ccc7 Fixed error handling in Graphbuilder_RenderFile.
Improved traces.
2005-01-09 18:24:41 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Christian Costa be82f977ce Initialize the hkey member when creating the propery bag object. 2004-12-09 11:37:09 +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
Robert Shearman f28da5a844 Avoid crash by passing pointer to RegSetValueEx. 2004-06-14 16:54:56 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +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 4a55eb5c92 Make IPropertBag_Read use a dynamically allocated array rather than a
static one.
2003-08-05 19:19:21 +00:00
Marcus Meissner 269048684b Fix some small pointer aliasing problems. 2003-07-22 03:14:25 +00:00