Author: akhaldi
Date: Sun Jan 26 11:45:40 2014
New Revision: 61827
URL:
http://svn.reactos.org/svn/reactos?rev=61827&view=rev
Log:
[WDMAUD.DRV]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716
Modified:
trunk/reactos/dll/win32/wdmaud.drv/mixer.c
trunk/reactos/dll/win32/wdmaud.drv/mmixer.c
trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
Modified: trunk/reactos/dll/win32/wdmaud.drv/mixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/mixer…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/mixer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/mixer.c [iso-8859-1] Sun Jan 26 11:45:40 2014
@@ -8,6 +8,9 @@
*/
#include "wdmaud.h"
+
+#include <samplerate.h>
+#include <float_cast.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/wdmaud.drv/mmixer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/mmixe…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/mmixer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/mmixer.c [iso-8859-1] Sun Jan 26 11:45:40 2014
@@ -8,6 +8,10 @@
*/
#include "wdmaud.h"
+
+#include <winreg.h>
+#include <setupapi.h>
+#include <mmixer.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wdmaud.drv/wdmau…
==============================================================================
--- trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wdmaud.drv/wdmaud.h [iso-8859-1] Sun Jan 26 11:45:40 2014
@@ -1,20 +1,19 @@
-#ifndef WDMAUD_H__
-#define WDMAUD_H__
-
-#include <devioctl.h>
+#ifndef __WDMAUD_H__
+#define __WDMAUD_H__
+
#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
#include <windef.h>
-#include <winbase.h>
#include <winuser.h>
-#include <winreg.h>
-#include <setupapi.h>
#include <mmddk.h>
#include <mmebuddy.h>
#include <ksmedia.h>
-#include <samplerate.h>
-#include <float_cast.h>
#include <interface.h>
-#include <mmixer.h>
+#include <devioctl.h>
BOOL
WdmAudInitUserModeMixer(VOID);
@@ -238,4 +237,4 @@
MixerEventThreadRoutine(
LPVOID Parameter);
-#endif
+#endif /* __WDMAUD_H__ */