ReactOS  0.4.13-dev-99-g7e18b6d
main.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2006-2008 dogbert <dogber1@gmail.com>
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8 1. Redistributions of source code must retain the above copyright
9  notice, this list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright
11  notice, this list of conditions and the following disclaimer in the
12  documentation and/or other materials provided with the distribution.
13 3. The name of the author may not be used to endorse or promote products
14  derived from this software without specific prior written permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27 #ifndef _MAIN_H_
28 #define _MAIN_H_
29 
30 #include <math.h>
31 
32 #define WIN32_LEAN_AND_MEAN
33 #include <windows.h>
34 #include <devioctl.h>
35 #include <commctrl.h>
36 #include <setupapi.h>
37 #include <shellapi.h>
38 #include <cpl.h>
39 
40 #include <ks.h>
41 #include <mmreg.h>
42 #include <ksmedia.h>
43 #include <mmsystem.h>
44 
45 
46 #define INITGUID
47 #define DIRECTSOUND_VERSION 0x800
48 #include <dsound.h>
49 
50 #include "resource.h"
51 #include "property.h"
52 
53 #define SAMPLE_RATE 44100
54 
55 #define BASS_FREQUENCY 90
56 #define BASS_AMPLITUDE 0.5
57 
58 #define SPEAKER_FREQUENCY 440
59 #define SPEAKER_AMPLITUDE 0.5
60 
61 #define MAX_TOKEN_SIZE 128
62 
63 typedef struct _CMIDEV {
67 
68 } CMIDEV;
69 
71 
79 HWAVEOUT hWave;
83 
84 #endif //_MAIN_H_
PSP_DEVICE_INTERFACE_DETAIL_DATA InterfaceDetailData
Definition: main.h:66
#define CALLBACK
Definition: compat.h:27
struct _CMIDEV CMIDEV
UINT_PTR WPARAM
Definition: windef.h:207
WPARAM wParam
Definition: combotst.c:138
CMIDEV cmiTopologyDev
Definition: main.h:77
CMIDATA cmiData
Definition: main.h:78
static LRESULT CALLBACK TabDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: main.cpp:756
HFONT hURLFont
Definition: main.h:82
HWAVEOUT hWave
Definition: main.h:79
LONG_PTR LPARAM
Definition: windef.h:208
HINSTANCE hInst
Definition: main.h:74
HWND hWnd
Definition: main.h:78
LRESULT currentTab
Definition: main.h:76
WAVEHDR pwh
Definition: main.h:80
SP_DEVINFO_DATA InfoData
Definition: main.h:65
Definition: main.h:63
unsigned int UINT
Definition: ndis.h:50
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
#define msg(x)
Definition: auth_time.c:54
HDEVINFO Info
Definition: main.h:64
HWND hWndTab
Definition: main.h:74
LONG_PTR LRESULT
Definition: windef.h:209
HWND hWndChild[NUM_TABS]
Definition: main.h:75
HWND hWndMain
Definition: main.h:73
#define NUM_TABS
Definition: resource.h:95
LPARAM lParam
Definition: combotst.c:139
int currentChannelCount
Definition: main.h:81