Author: akhaldi
Date: Wed Dec 25 15:19:53 2013
New Revision: 61410
URL:
http://svn.reactos.org/svn/reactos?rev=61410&view=rev
Log:
[MMDEVAPI]
* Improve the GUIDs situation.
CORE-7716
Added:
trunk/reactos/dll/win32/mmdevapi/guid.c (with props)
Modified:
trunk/reactos/dll/win32/mmdevapi/CMakeLists.txt
trunk/reactos/dll/win32/mmdevapi/devenum.c
trunk/reactos/dll/win32/mmdevapi/mmdevapi.h
Modified: trunk/reactos/dll/win32/mmdevapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdevapi/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/mmdevapi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mmdevapi/CMakeLists.txt [iso-8859-1] Wed Dec 25 15:19:53 2013
@@ -10,6 +10,7 @@
audiovolume.c
devenum.c
main.c
+ guid.c
${CMAKE_CURRENT_BINARY_DIR}/mmdevapi_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/mmdevapi.def)
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] Wed Dec 25 15:19:53 2013
@@ -18,12 +18,13 @@
#include "mmdevapi.h"
+#include <wine/list.h>
+
+#include <ole2.h>
+#include <initguid.h>
#define _WINDOWS_H
-#include <ole2.h>
#include <dshow.h>
#include <devpkey.h>
-
-#include <wine/list.h>
static const WCHAR software_mmdevapi[] =
{
'S','o','f','t','w','a','r','e','\\',
Added: trunk/reactos/dll/win32/mmdevapi/guid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdevapi/guid.c?…
==============================================================================
--- trunk/reactos/dll/win32/mmdevapi/guid.c (added)
+++ trunk/reactos/dll/win32/mmdevapi/guid.c [iso-8859-1] Wed Dec 25 15:19:53 2013
@@ -0,0 +1,18 @@
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <objbase.h>
+#include <initguid.h>
+#include <audiopolicy.h>
+#include <endpointvolume.h>
+#include <mmdeviceapi.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
Propchange: trunk/reactos/dll/win32/mmdevapi/guid.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/mmdevapi/mmdevapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdevapi/mmdevap…
==============================================================================
--- trunk/reactos/dll/win32/mmdevapi/mmdevapi.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mmdevapi/mmdevapi.h [iso-8859-1] Wed Dec 25 15:19:53 2013
@@ -32,7 +32,6 @@
#include <winbase.h>
#include <wingdi.h>
#include <winreg.h>
-#include <initguid.h>
#include <objbase.h>
#include <audiopolicy.h>
#include <endpointvolume.h>