/*
-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
(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>
#include <cpl.h>
#include <ks.h>
+#include <mmreg.h>
#include <ksmedia.h>
#include <mmsystem.h>
-#include <mmreg.h>
+
#define INITGUID
#define DIRECTSOUND_VERSION 0x800
} 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;
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