ReactOS 0.4.15-dev-5666-gc548b97
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 <setupapi.h>
18#include <stdlib.h>
19#include <strsafe.h>
20
21#include "resource.h"
22
23#define CONST_STR_LEN(str) (_countof(str) - 1)
24
25//typedef LONG (CALLBACK *APPLET_PROC)(VOID);
26
27typedef struct _APPLET
28{
34
35extern HINSTANCE hApplet;
36
37
38#define DRVM_MAPPER 0x2000
39#define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER + 21)
40#define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER + 22)
41
42#define VOLUME_MIN 0
43#define VOLUME_MAX 500
44#define VOLUME_TICFREQ 50
45#define VOLUME_PAGESIZE 100
46
47/* main.c */
48
49VOID
51 PROPSHEETPAGEW *psp,
52 WORD idDlg,
54
57 UINT uMsg,
60
61/* sounds.c */
62
65SoundsDlgProc(HWND hwndDlg,
66 UINT uMsg,
69
70/* volume.c */
71
73VolumeDlgProc(HWND hwndDlg,
74 UINT uMsg,
77
78/* voice.c */
79
81VoiceDlgProc(HWND hwndDlg,
82 UINT uMsg,
85
86/* audio.c */
87
89AudioDlgProc(HWND hwndDlg,
90 UINT uMsg,
93
94/* speakervolume.c */
95
97SpeakerVolume(HWND hwndDlg);
98
99#endif /* _MMSYS_H */
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define DLGPROC
Definition: maze.c:62
WORD idDlg
Definition: desk.c:110
DLGPROC DlgProc
Definition: desk.c:111
#define APIENTRY
Definition: api.h:79
#define CALLBACK
Definition: compat.h:35
unsigned short WORD
Definition: ntddk_ex.h:93
INT_PTR CALLBACK SoundsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: sounds.c:1146
LONG APIENTRY MmSysApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition: mmsys.c:690
VOID InitPropSheetPage(PROPSHEETPAGEW *psp, WORD idDlg, DLGPROC DlgProc)
Definition: mmsys.c:728
struct _APPLET * PAPPLET
struct _APPLET APPLET
INT_PTR CALLBACK AudioDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: audio.c:241
INT_PTR SpeakerVolume(HWND hwndDlg)
INT_PTR CALLBACK VolumeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: volume.c:388
INT_PTR CALLBACK VoiceDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: voice.c:15
HINSTANCE hApplet
Definition: access.c:17
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
Definition: access.h:18
INT idDescription
Definition: access.h:21
INT idIcon
Definition: access.h:19
APPLET_PROC AppletProc
Definition: access.h:22
INT idName
Definition: access.h:20
int32_t INT_PTR
Definition: typedefs.h:64
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207