diff --git a/dll/win32/syssetup/CMakeLists.txt b/dll/win32/syssetup/CMakeLists.txt index 2698536a262..13286aa6430 100644 --- a/dll/win32/syssetup/CMakeLists.txt +++ b/dll/win32/syssetup/CMakeLists.txt @@ -6,6 +6,7 @@ list(APPEND SOURCE dllmain.c install.c logfile.c + proppage.c security.c wizard.c precomp.h diff --git a/dll/win32/syssetup/proppage.c b/dll/win32/syssetup/proppage.c new file mode 100644 index 00000000000..fa2ee4a9b7c --- /dev/null +++ b/dll/win32/syssetup/proppage.c @@ -0,0 +1,112 @@ +/* + * PROJECT: ReactOS system libraries + * LICENSE: GPL - See COPYING in the top level directory + * FILE: dll/win32/syssetup/proppage.c + * PURPOSE: Property page providers + * PROGRAMMERS: Copyright 2018 Eric Kohl + */ + +#include "precomp.h" + +#define NDEBUG +#include + + +/* + * @implemented + */ +BOOL +WINAPI +CdromPropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT("CdromPropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + return FALSE; +} + + +/* + * @implemented + */ +BOOL +WINAPI +DiskPropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT("DiskPropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + return FALSE; +} + + +/* + * @implemented + */ +BOOL +WINAPI +EisaUpHalPropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT("EisaUpHalPropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + return FALSE; +} + + +/* + * @unimplemented + */ +BOOL +WINAPI +LegacyDriverPropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT1("LegacyDriverPropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + UNIMPLEMENTED; + return FALSE; +} + + +/* + * @unimplemented + */ +BOOL +WINAPI +PS2MousePropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT1("PS2MousePropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + UNIMPLEMENTED; + return FALSE; +} + + +/* + * @implemented + */ +BOOL +WINAPI +TapePropPageProvider( + _In_ PSP_PROPSHEETPAGE_REQUEST lpPropSheetPageRequest, + _In_ LPFNADDPROPSHEETPAGE lpfnAddPropSheetPageProc, + _In_ LPARAM lParam) +{ + DPRINT("TapePropPageProvider(%p %p %lx)\n", + lpPropSheetPageRequest, lpfnAddPropSheetPageProc, lParam); + return FALSE; +} + +/* EOF */ diff --git a/dll/win32/syssetup/syssetup.spec b/dll/win32/syssetup/syssetup.spec index 6f5391db332..361a41d367e 100644 --- a/dll/win32/syssetup/syssetup.spec +++ b/dll/win32/syssetup/syssetup.spec @@ -7,7 +7,7 @@ @ stub AsrpGetLocalDiskInfo @ stub AsrpGetLocalVolumeInfo @ stub AsprRestoreNonCriticalDisksW -@ stub CdromPropPageProvider +@ stdcall CdromPropPageProvider(ptr ptr long) @ stdcall ComputerClassInstaller(long ptr ptr) @ stub CreateLocalAdminAccount @ stub CreateLocalAdminAccountEx @@ -15,22 +15,22 @@ @ stdcall CriticalDeviceCoInstaller(long ptr ptr ptr) @ stub DevInstallW @ stdcall DeviceBayClassInstaller(long ptr ptr) -@ stub DiskPropPageProvider +@ stdcall DiskPropPageProvider(ptr ptr long) @ stub DoInstallComponentInfs @ stdcall EisaUpHalCoInstaller(long ptr ptr ptr) -@ stub EisaUpHalPropPageProvider +@ stdcall EisaUpHalPropPageProvider(ptr ptr long) @ stub GenerateName @ stdcall HdcClassInstaller(long ptr ptr) @ stdcall InitializeSetupActionLog(long) @ stdcall InstallWindowsNt(long ptr) @ stub InvokeExternalApplicationEx @ stdcall KeyboardClassInstaller(long ptr ptr) -@ stub LegacyDriverPropPageProvider +@ stdcall LegacyDriverPropPageProvider(ptr ptr long) @ stub MigrateExceptionPackages @ stdcall MouseClassInstaller(long ptr ptr) @ stdcall NtApmClassInstaller(long ptr ptr) @ stub OpkCheckVersion -@ stub PS2MousePropPageProvider +@ stdcall PS2MousePropPageProvider(ptr ptr long) @ stub PnPInitializationThread @ stub PrepareForAudit @ stub RepairStartMenuItems @@ -76,7 +76,7 @@ @ stdcall StorageCoInstaller(long ptr ptr ptr) @ stub SystemUpdateUserProfileDirectory @ stdcall TapeClassInstaller(long ptr ptr) -@ stub TapePropPageProvider +@ stdcall TapePropPageProvider(ptr ptr long) @ stdcall TerminateSetupActionLog() @ stub UpdatePnpDeviceDrivers @ stub UpgradePrinters diff --git a/media/inf/legcydrv.inf b/media/inf/legcydrv.inf index 37e88cb4df0..f7f6c32ba1e 100644 --- a/media/inf/legcydrv.inf +++ b/media/inf/legcydrv.inf @@ -11,9 +11,10 @@ DriverVer = 3/20/2012,1.01.0.0 AddReg = LegacyDriverClass.NT.AddReg [LegacyDriverClass.NT.AddReg] -HKR, , , 0, %LegacyDriverClassName% -HKR, , Icon, 0, "-19" -HKR, , NoDisplayClass, 0, 1 +HKR, , , 0, %LegacyDriverClassName% +HKR, , Icon, 0, "-19" +HKR, , NoDisplayClass, 0, 1 +HKR, , EnumPropPages32, 0, "syssetup.dll,LegacyDriverPropPageProvider" ;-------------------------------- STRINGS ------------------------------- diff --git a/media/inf/msmouse.inf b/media/inf/msmouse.inf index 06e86084c0e..52c3bee9995 100644 --- a/media/inf/msmouse.inf +++ b/media/inf/msmouse.inf @@ -106,6 +106,7 @@ LoadOrderGroup = Keyboard Port HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","SampleRate",0x00010001,0x0000003c HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","MouseResolution",0x00010001,0x00000003 +HKR, , EnumPropPages32, 0, "syssetup.dll,PS2MousePropPageProvider" HKR, , LocationInformationOverride, 0, %LocationOverride% ;---------------------------- HID MOUSE DRIVER --------------------------