Author: akhaldi
Date: Thu Mar 3 13:39:42 2016
New Revision: 70877
URL:
http://svn.reactos.org/svn/reactos?rev=70877&view=rev
Log:
[MMDEVAPI] Sync with Wine Staging 1.9.4. CORE-10912
Modified:
trunk/reactos/dll/win32/mmdevapi/devenum.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/mmdevapi/devenum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdevapi/devenum…
==============================================================================
--- trunk/reactos/dll/win32/mmdevapi/devenum.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mmdevapi/devenum.c [iso-8859-1] Thu Mar 3 13:39:42 2016
@@ -1047,9 +1047,15 @@
for (i = 0; i < MMDevice_count; ++i)
{
+ HRESULT hr;
WCHAR *str;
dev = &MMDevice_head[i]->IMMDevice_iface;
- IMMDevice_GetId(dev, &str);
+ hr = IMMDevice_GetId(dev, &str);
+ if (FAILED(hr))
+ {
+ WARN("GetId failed: %08x\n", hr);
+ continue;
+ }
if (str && !lstrcmpW(str, name))
{
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Thu Mar 3 13:39:42 2016
@@ -99,7 +99,7 @@
reactos/dll/win32/mciwave # Synced to WineStaging-1.7.55
reactos/dll/win32/mgmtapi # Synced to WineStaging-1.7.55
reactos/dll/win32/mlang # Synced to WineStaging-1.7.55
-reactos/dll/win32/mmdevapi # Synced to WineStaging-1.7.55
+reactos/dll/win32/mmdevapi # Synced to WineStaging-1.9.4
reactos/dll/win32/mpr # Synced to WineStaging-1.7.55
reactos/dll/win32/mprapi # Synced to WineStaging-1.7.55
reactos/dll/win32/msacm32 # Synced to WineStaging-1.7.55