* Sync up to trunk HEAD (r62975).
[reactos.git] / dll / cpl / mmsys / mmsys.h
1 #ifndef _MMSYS_H
2 #define _MMSYS_H
3
4 #include <stdarg.h>
5
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9
10 #include <windef.h>
11 #include <winbase.h>
12 #include <winreg.h>
13 #include <wingdi.h>
14 #include <winuser.h>
15 #include <mmsystem.h>
16 #include <cpl.h>
17 #include <tchar.h>
18 #include <setupapi.h>
19
20 #include "resource.h"
21
22 //typedef LONG (CALLBACK *APPLET_PROC)(VOID);
23
24 typedef struct _APPLET
25 {
26 UINT idIcon;
27 UINT idName;
28 UINT idDescription;
29 APPLET_PROC AppletProc;
30 } APPLET, *PAPPLET;
31
32 extern HINSTANCE hApplet;
33
34
35 #define DRVM_MAPPER 0x2000
36 #define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21)
37 #define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER+22)
38
39 /* main.c */
40
41 VOID
42 InitPropSheetPage(PROPSHEETPAGE *psp,
43 WORD idDlg,
44 DLGPROC DlgProc);
45
46 LONG APIENTRY
47 MmSysApplet(HWND hwnd,
48 UINT uMsg,
49 LPARAM wParam,
50 LPARAM lParam);
51
52 /* sounds.c */
53
54 INT_PTR
55 CALLBACK
56 SoundsDlgProc(HWND hwndDlg,
57 UINT uMsg,
58 WPARAM wParam,
59 LPARAM lParam);
60
61 /* volume.c */
62
63 INT_PTR CALLBACK
64 VolumeDlgProc(HWND hwndDlg,
65 UINT uMsg,
66 WPARAM wParam,
67 LPARAM lParam);
68
69 /* voice.c */
70
71 INT_PTR CALLBACK
72 VoiceDlgProc(HWND hwndDlg,
73 UINT uMsg,
74 WPARAM wParam,
75 LPARAM lParam);
76
77 /* audio.c */
78
79 INT_PTR CALLBACK
80 AudioDlgProc(HWND hwndDlg,
81 UINT uMsg,
82 WPARAM wParam,
83 LPARAM lParam);
84
85 #endif /* _MMSYS_H */