xref: /reactos/dll/cpl/mmsys/mmsys.h (revision c2c66aff)
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 #include <stdlib.h>
20 
21 #include "resource.h"
22 
23 //typedef LONG (CALLBACK *APPLET_PROC)(VOID);
24 
25 typedef struct _APPLET
26 {
27   UINT idIcon;
28   UINT idName;
29   UINT idDescription;
30   APPLET_PROC AppletProc;
31 } APPLET, *PAPPLET;
32 
33 extern HINSTANCE hApplet;
34 
35 
36 #define DRVM_MAPPER 0x2000
37 #define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21)
38 #define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER+22)
39 
40 /* main.c */
41 
42 VOID
43 InitPropSheetPage(PROPSHEETPAGE *psp,
44 		  WORD idDlg,
45 		  DLGPROC DlgProc);
46 
47 LONG APIENTRY
48 MmSysApplet(HWND hwnd,
49             UINT uMsg,
50             LPARAM wParam,
51             LPARAM lParam);
52 
53 /* sounds.c */
54 
55 INT_PTR
56 CALLBACK
57 SoundsDlgProc(HWND hwndDlg,
58 	        UINT uMsg,
59 	        WPARAM wParam,
60 	        LPARAM lParam);
61 
62 /* volume.c */
63 
64 INT_PTR CALLBACK
65 VolumeDlgProc(HWND hwndDlg,
66 	        UINT uMsg,
67 	        WPARAM wParam,
68 	        LPARAM lParam);
69 
70 /* voice.c */
71 
72 INT_PTR CALLBACK
73 VoiceDlgProc(HWND hwndDlg,
74              UINT uMsg,
75              WPARAM wParam,
76              LPARAM lParam);
77 
78 /* audio.c */
79 
80 INT_PTR CALLBACK
81 AudioDlgProc(HWND hwndDlg,
82              UINT uMsg,
83              WPARAM wParam,
84              LPARAM lParam);
85 
86 #endif /* _MMSYS_H */
87