Author: akhaldi
Date: Thu Aug 1 14:15:22 2013
New Revision: 59607
URL:
http://svn.reactos.org/svn/reactos?rev=59607&view=rev
Log:
[CMIDRIVER]
* Improve header inclusions for cmicontrol and cmicpl.
Modified:
trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/main.h
trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/cmicpl.cpp
Modified: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/main.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/main.h [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cmicontrol/main.h [iso-8859-1] Thu
Aug 1 14:15:22 2013
@@ -29,6 +29,7 @@
#include <math.h>
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <devioctl.h>
#include <commctrl.h>
@@ -37,9 +38,10 @@
#include <cpl.h>
#include <ks.h>
+#include <mmreg.h>
#include <ksmedia.h>
#include <mmsystem.h>
-#include <mmreg.h>
+
#define INITGUID
#define DIRECTSOUND_VERSION 0x800
Modified: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/cmicpl.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/cmicpl.cpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/cpl/cmicpl.cpp [iso-8859-1] Thu Aug
1 14:15:22 2013
@@ -25,6 +25,7 @@
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <shellapi.h>
#include <tchar.h>