25#define DEFAULT_SAMPLERATEINDEX 4
26#define DEFAULT_WHEELDETECTION 2
27#define DEFAULT_INPUTBUFFERSIZE 100
28#define DEFAULT_MINBUFFERSIZE 100
29#define DEFAULT_MAXBUFFERSIZE 300
41 DPRINT(
"CdromPropPageProvider(%p %p %lx)\n",
42 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
57 DPRINT(
"DiskPropPageProvider(%p %p %lx)\n",
58 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
73 DPRINT(
"EisaUpHalPropPageProvider(%p %p %lx)\n",
74 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
89 DPRINT1(
"LegacyDriverPropPageProvider(%p %p %lx)\n",
90 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
128 if (pMouseInfo ==
NULL)
184 L"EnableWheelDetection",
212 L"MouseDataQueueSize",
233 L"MouseInitializePolled",
324 DWORD dwSampleRateIndex = 0;
325 DWORD dwSampleRate, dwWheelDetection;
326 DWORD dwInputBufferLength;
340 dwSampleRateIndex = (
DWORD)nIndex;
350 sizeof(dwSampleRate));
359 dwWheelDetection = (
DWORD)nIndex;
364 L"EnableWheelDetection",
367 (
LPBYTE)&dwWheelDetection,
368 sizeof(dwWheelDetection));
380 dwInputBufferLength = (
DWORD)uValue;
385 L"MouseDataQueueSize",
388 (
LPBYTE)&dwInputBufferLength,
389 sizeof(dwInputBufferLength));
403 L"MouseInitializePolled",
407 sizeof(dwInitPolled));
522 DPRINT(
"PS2MousePropPageProvider(%p %p %lx)\n",
523 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
529 if (pMouseInfo ==
NULL)
533 lpPropSheetPageRequest->DeviceInfoData,
554 if (hPropSheetPage ==
NULL)
556 DPRINT1(
"CreatePropertySheetPageW() failed!\n");
561 if (!(*lpfnAddPropSheetPageProc)(hPropSheetPage,
lParam))
563 DPRINT1(
"lpfnAddPropSheetPageProc() failed!\n");
583 DPRINT(
"TapePropPageProvider(%p %p %lx)\n",
584 lpPropSheetPageRequest, lpfnAddPropSheetPageProc,
lParam);
#define RegCloseKey(hKey)
static HINSTANCE hDllInstance
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
HPROPSHEETPAGE WINAPI CreatePropertySheetPageW(LPCPROPSHEETPAGEW lpPropSheetPage)
BOOL WINAPI DestroyPropertySheetPage(HPROPSHEETPAGE hPropPage)
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
HKEY WINAPI SetupDiOpenDevRegKey(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD Scope, DWORD HwProfile, DWORD KeyType, REGSAM samDesired)
#define IDS_ASSUMEPRESENT
#define IDC_PS2MOUSEFASTINIT
#define IDC_PS2MOUSESAMPLERATE
#define IDC_PS2MOUSEWHEEL
#define IDC_PS2MOUSEINPUTLEN
#define IDS_DETECTIONDISABLED
#define IDC_PS2MOUSEINPUTUPDN
#define IDD_PS2MOUSEPROPERTIES
#define IDC_PS2MOUSEDEFAULTS
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
struct _PSP * HPROPSHEETPAGE
BOOL WINAPI PS2MousePropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
#define DEFAULT_MINBUFFERSIZE
BOOL WINAPI EisaUpHalPropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
BOOL WINAPI CdromPropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
static INT_PTR MouseOnCtrlColorStatic(HWND hwndDlg, WPARAM wParam, LPARAM lParam)
static VOID MouseOnApply(HWND hwndDlg)
static BOOL MouseOnNotify(HWND hwndDlg, WPARAM wParam, LPARAM lParam)
static BOOL MouseOnDialogInit(HWND hwndDlg, LPARAM lParam)
#define DEFAULT_SAMPLERATEINDEX
#define DEFAULT_WHEELDETECTION
static INT_PTR CALLBACK MouseDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI TapePropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
#define DEFAULT_INPUTBUFFERSIZE
struct _MOUSE_INFO * PMOUSE_INFO
BOOL WINAPI LegacyDriverPropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
static UINT CALLBACK MouseCallback(HWND hWnd, UINT uMsg, LPPROPSHEETPAGE ppsp)
BOOL WINAPI DiskPropPageProvider(_In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, _In_ LPARAM lParam)
static DWORD MouseGetSampleRateIndex(DWORD dwSampleRate)
struct _MOUSE_INFO MOUSE_INFO
static VOID MouseOnCommand(HWND hwndDlg, WPARAM wParam, LPARAM lParam)
#define DEFAULT_MAXBUFFERSIZE
#define PropSheet_Changed(d, w)
struct _PROPSHEETPAGEW PROPSHEETPAGEW
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
struct _NM_UPDOWN * LPNMUPDOWN
#define SPPSR_ENUM_ADV_DEVICE_PROPERTIES
DWORD dwInputBufferLength
DWORD WINAPI GetLastError(void)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
DWORD WINAPI GetSysColor(_In_ int)
#define WM_CTLCOLORSTATIC
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetParent(_In_ HWND)
#define SendDlgItemMessage