Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / drivers / wdm / audio / drivers / CMIDriver / cmicontrol / main.h
index f3c0b98..b0edfab 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2006-2007 dogbert <dogber1@gmail.com>
+Copyright (c) 2006-2008 dogbert <dogber1@gmail.com>
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -24,11 +24,12 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
-
-#pragma once
+#ifndef _MAIN_H_
+#define _MAIN_H_
 
 #include <math.h>
 
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 #include <devioctl.h>
 #include <commctrl.h>
@@ -37,9 +38,10 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <cpl.h>
 
 #include <ks.h>
+#include <mmreg.h>
 #include <ksmedia.h>
 #include <mmsystem.h>
-#include <mmreg.h>
+
 
 #define INITGUID
 #define DIRECTSOUND_VERSION 0x800
@@ -65,7 +67,6 @@ typedef struct _CMIDEV  {
 
 } CMIDEV;
 
-static LRESULT CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
 static LRESULT CALLBACK TabDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
 
 HINSTANCE hInst;
@@ -78,4 +79,6 @@ CMIDATA   cmiData;
 HWAVEOUT  hWave;
 WAVEHDR   pwh;
 int       currentChannelCount;
-HFONT     hURLFont;
\ No newline at end of file
+HFONT     hURLFont;
+
+#endif //_MAIN_H_
\ No newline at end of file