2014-01-19 10:35:30 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
2014-01-19 10:35:30 +00:00
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <winreg.h>
|
|
|
|
#include <wingdi.h>
|
|
|
|
#include <winuser.h>
|
|
|
|
#include <mmsystem.h>
|
2011-07-28 14:56:00 +00:00
|
|
|
#include <cpl.h>
|
|
|
|
#include <tchar.h>
|
|
|
|
#include <setupapi.h>
|
2014-01-19 10:35:30 +00:00
|
|
|
|
2011-07-28 14:56:00 +00:00
|
|
|
#include "resource.h"
|
2005-11-23 23:02:35 +00:00
|
|
|
|
|
|
|
//typedef LONG (CALLBACK *APPLET_PROC)(VOID);
|
|
|
|
|
|
|
|
typedef struct _APPLET
|
|
|
|
{
|
|
|
|
UINT idIcon;
|
|
|
|
UINT idName;
|
|
|
|
UINT idDescription;
|
|
|
|
APPLET_PROC AppletProc;
|
|
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
|
|
|
|
|
2007-09-15 14:54:01 +00:00
|
|
|
#define DRVM_MAPPER 0x2000
|
2007-10-19 23:21:45 +00:00
|
|
|
#define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21)
|
|
|
|
#define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER+22)
|
2007-09-15 14:54:01 +00:00
|
|
|
|
2005-11-23 23:02:35 +00:00
|
|
|
/* main.c */
|
|
|
|
|
|
|
|
VOID
|
|
|
|
InitPropSheetPage(PROPSHEETPAGE *psp,
|
|
|
|
WORD idDlg,
|
|
|
|
DLGPROC DlgProc);
|
|
|
|
|
|
|
|
LONG APIENTRY
|
|
|
|
MmSysApplet(HWND hwnd,
|
|
|
|
UINT uMsg,
|
2007-07-28 20:02:37 +00:00
|
|
|
LPARAM wParam,
|
|
|
|
LPARAM lParam);
|
2005-11-23 23:02:35 +00:00
|
|
|
|
2007-09-12 17:51:51 +00:00
|
|
|
/* sounds.c */
|
|
|
|
|
|
|
|
INT_PTR
|
|
|
|
CALLBACK
|
|
|
|
SoundsDlgProc(HWND hwndDlg,
|
|
|
|
UINT uMsg,
|
|
|
|
WPARAM wParam,
|
|
|
|
LPARAM lParam);
|
|
|
|
|
2007-09-15 14:54:01 +00:00
|
|
|
/* volume.c */
|
|
|
|
|
|
|
|
INT_PTR CALLBACK
|
|
|
|
VolumeDlgProc(HWND hwndDlg,
|
|
|
|
UINT uMsg,
|
|
|
|
WPARAM wParam,
|
|
|
|
LPARAM lParam);
|
|
|
|
|
2008-02-06 11:36:37 +00:00
|
|
|
/* voice.c */
|
|
|
|
|
|
|
|
INT_PTR CALLBACK
|
|
|
|
VoiceDlgProc(HWND hwndDlg,
|
|
|
|
UINT uMsg,
|
|
|
|
WPARAM wParam,
|
|
|
|
LPARAM lParam);
|
|
|
|
|
|
|
|
/* audio.c */
|
|
|
|
|
|
|
|
INT_PTR CALLBACK
|
|
|
|
AudioDlgProc(HWND hwndDlg,
|
|
|
|
UINT uMsg,
|
|
|
|
WPARAM wParam,
|
|
|
|
LPARAM lParam);
|
2007-09-12 17:51:51 +00:00
|
|
|
|
2005-11-23 23:02:35 +00:00
|
|
|
/* EOF */
|