1 #include <windows.h> 2 #include <commctrl.h> 3 #include <cpl.h> 4 #include <tchar.h> 5 #include <stdio.h> 6 #include <initguid.h> 7 #include <cfgmgr32.h> 8 #include <setupapi.h> 9 #include <devguid.h> 10 #include <debug.h> 11 #include <shlwapi.h> 12 13 #include "resource.h" 14 15 //typedef LONG (CALLBACK *APPLET_PROC)(VOID); 16 17 typedef struct _APPLET 18 { 19 UINT idIcon; 20 UINT idName; 21 UINT idDescription; 22 APPLET_PROC AppletProc; 23 } APPLET, *PAPPLET; 24 25 extern HINSTANCE hApplet; 26 27 28 #define DRVM_MAPPER 0x2000 29 #define DRVM_MAPPER_PREFERRED_GET (DRVM_MAPPER+21) 30 #define DRVM_MAPPER_PREFERRED_SET (DRVM_MAPPER+22) 31 32 /* main.c */ 33 34 VOID 35 InitPropSheetPage(PROPSHEETPAGE *psp, 36 WORD idDlg, 37 DLGPROC DlgProc); 38 39 LONG APIENTRY 40 MmSysApplet(HWND hwnd, 41 UINT uMsg, 42 LPARAM wParam, 43 LPARAM lParam); 44 45 /* sounds.c */ 46 47 INT_PTR 48 CALLBACK 49 SoundsDlgProc(HWND hwndDlg, 50 UINT uMsg, 51 WPARAM wParam, 52 LPARAM lParam); 53 54 /* volume.c */ 55 56 INT_PTR CALLBACK 57 VolumeDlgProc(HWND hwndDlg, 58 UINT uMsg, 59 WPARAM wParam, 60 LPARAM lParam); 61 62 /* voice.c */ 63 64 INT_PTR CALLBACK 65 VoiceDlgProc(HWND hwndDlg, 66 UINT uMsg, 67 WPARAM wParam, 68 LPARAM lParam); 69 70 /* audio.c */ 71 72 INT_PTR CALLBACK 73 AudioDlgProc(HWND hwndDlg, 74 UINT uMsg, 75 WPARAM wParam, 76 LPARAM lParam); 77 78 /* EOF */ 79