ReactOS  0.4.14-dev-98-gb0d4763
mmsys.h
Go to the documentation of this file.
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;
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 #define VOLUME_MIN 0
41 #define VOLUME_MAX 500
42 #define VOLUME_TICFREQ 50
43 #define VOLUME_PAGESIZE 100
44 
45 /* main.c */
46 
47 VOID
49  PROPSHEETPAGE *psp,
50  WORD idDlg,
52 
55  UINT uMsg,
56  LPARAM wParam,
57  LPARAM lParam);
58 
59 /* sounds.c */
60 
61 INT_PTR
63 SoundsDlgProc(HWND hwndDlg,
64  UINT uMsg,
65  WPARAM wParam,
66  LPARAM lParam);
67 
68 /* volume.c */
69 
71 VolumeDlgProc(HWND hwndDlg,
72  UINT uMsg,
73  WPARAM wParam,
74  LPARAM lParam);
75 
76 /* voice.c */
77 
79 VoiceDlgProc(HWND hwndDlg,
80  UINT uMsg,
81  WPARAM wParam,
82  LPARAM lParam);
83 
84 /* audio.c */
85 
87 AudioDlgProc(HWND hwndDlg,
88  UINT uMsg,
89  WPARAM wParam,
90  LPARAM lParam);
91 
92 /* speakervolume.c */
93 
94 INT_PTR
95 SpeakerVolume(HWND hwndDlg);
96 
97 #endif /* _MMSYS_H */
LONG APIENTRY MmSysApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition: mmsys.c:710
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
WORD idDlg
Definition: desk.c:109
struct _APPLET APPLET
struct _APPLET * PAPPLET
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define CALLBACK
Definition: compat.h:27
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:62
VOID InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc)
Definition: mmsys.c:746
WPARAM wParam
Definition: combotst.c:138
APPLET_INITPROC AppletProc
Definition: access.h:23
long LONG
Definition: pedump.c:60
HINSTANCE hApplet
Definition: access.c:17
Definition: access.h:18
LONG_PTR LPARAM
Definition: windef.h:208
INT_PTR CALLBACK SoundsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: sounds.c:1092
INT idIcon
Definition: access.h:20
unsigned short WORD
Definition: ntddk_ex.h:93
INT_PTR SpeakerVolume(HWND hwndDlg)
INT_PTR(CALLBACK * DLGPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2870
INT_PTR CALLBACK AudioDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: audio.c:241
unsigned int UINT
Definition: ndis.h:50
INT_PTR CALLBACK VoiceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: voice.c:15
INT idDescription
Definition: access.h:22
INT idName
Definition: access.h:21
LPARAM lParam
Definition: combotst.c:139
DLGPROC DlgProc
Definition: desk.c:110
INT_PTR CALLBACK VolumeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: volume.c:417
#define PROPSHEETPAGE
Definition: prsht.h:371
#define APIENTRY
Definition: api.h:79