mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
64 lines
1.2 KiB
C
64 lines
1.2 KiB
C
#include <windows.h>
|
|
#include <initguid.h>
|
|
#include <cplext.h>
|
|
#include <winuser.h>
|
|
#include <tchar.h>
|
|
#include <math.h>
|
|
#include <limits.h>
|
|
#include <stdio.h>
|
|
#include <devguid.h>
|
|
#include <commctrl.h>
|
|
#include <prsht.h>
|
|
#include <shlobj.h>
|
|
#include <cpl.h>
|
|
#include <regstr.h>
|
|
|
|
#include "resource.h"
|
|
|
|
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);
|
|
|
|
//typedef LONG (CALLBACK *APPLET_PROC)(VOID);
|
|
|
|
typedef struct _APPLET
|
|
{
|
|
UINT idIcon;
|
|
UINT idName;
|
|
UINT idDescription;
|
|
APPLET_PROC AppletProc;
|
|
} APPLET, *PAPPLET;
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
#define MAX_CPL_PAGES 32
|
|
|
|
/* keyboard.c */
|
|
|
|
LONG APIENTRY
|
|
KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
|
|
|
|
/* main.c */
|
|
|
|
BOOL
|
|
InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc);
|
|
|
|
BOOL CALLBACK
|
|
PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam);
|
|
|
|
/* mouse.c */
|
|
|
|
LONG APIENTRY
|
|
MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
|
|
|
|
/* EOF */
|