2013-01-24 23:00:42 +00:00
|
|
|
#define WIN32_NO_STATUS
|
|
|
|
#define _INC_WINDOWS
|
|
|
|
#define COM_NO_WINDOWS_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <winreg.h>
|
|
|
|
#include <wingdi.h>
|
2011-07-28 14:55:20 +00:00
|
|
|
#include <winuser.h>
|
2013-05-04 20:43:16 +00:00
|
|
|
#include <wincon.h>
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <commdlg.h>
|
|
|
|
#include <cplext.h>
|
2011-07-28 14:55:20 +00:00
|
|
|
#include <tchar.h>
|
|
|
|
#include <devguid.h>
|
|
|
|
#include <shlobj.h>
|
|
|
|
#include <cpl.h>
|
|
|
|
#include <regstr.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
2004-10-30 12:36:14 +00:00
|
|
|
|
2005-11-25 17:02:18 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
HWPD_STANDARDLIST = 0,
|
|
|
|
HWPD_LARGELIST,
|
|
|
|
HWPD_MAX = HWPD_LARGELIST
|
|
|
|
} HWPAGE_DISPLAYMODE, *PHWPAGE_DISPLAYMODE;
|
|
|
|
|
|
|
|
HWND WINAPI
|
|
|
|
DeviceCreateHardwarePageEx(HWND hWndParent,
|
|
|
|
LPGUID lpGuids,
|
|
|
|
UINT uNumberOfGuids,
|
|
|
|
HWPAGE_DISPLAYMODE DisplayMode);
|
|
|
|
|
2004-10-30 12:36:14 +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-26 04:30:57 +00:00
|
|
|
#define MAX_CPL_PAGES 32
|
2004-10-30 12:36:14 +00:00
|
|
|
|
|
|
|
/* keyboard.c */
|
|
|
|
|
|
|
|
LONG APIENTRY
|
2007-07-28 20:02:37 +00:00
|
|
|
KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
|
2004-10-30 12:36:14 +00:00
|
|
|
|
|
|
|
/* main.c */
|
|
|
|
|
2007-09-26 04:30:57 +00:00
|
|
|
BOOL
|
|
|
|
InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc);
|
2004-10-30 12:36:14 +00:00
|
|
|
|
2007-09-26 04:30:57 +00:00
|
|
|
BOOL CALLBACK
|
|
|
|
PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam);
|
2004-10-30 12:36:14 +00:00
|
|
|
|
|
|
|
/* mouse.c */
|
|
|
|
|
|
|
|
LONG APIENTRY
|
2007-07-28 20:02:37 +00:00
|
|
|
MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
|
2004-10-30 12:36:14 +00:00
|
|
|
|
|
|
|
/* EOF */
|