mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SYSETUP] Add property page provider stubs and register them
This commit is contained in:
parent
082cdfb9e8
commit
a717eb373a
5 changed files with 124 additions and 9 deletions
|
@ -6,6 +6,7 @@ list(APPEND SOURCE
|
||||||
dllmain.c
|
dllmain.c
|
||||||
install.c
|
install.c
|
||||||
logfile.c
|
logfile.c
|
||||||
|
proppage.c
|
||||||
security.c
|
security.c
|
||||||
wizard.c
|
wizard.c
|
||||||
precomp.h
|
precomp.h
|
||||||
|
|
112
dll/win32/syssetup/proppage.c
Normal file
112
dll/win32/syssetup/proppage.c
Normal file
|
@ -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 <eric.kohl@reactos.org>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "precomp.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @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 */
|
|
@ -7,7 +7,7 @@
|
||||||
@ stub AsrpGetLocalDiskInfo
|
@ stub AsrpGetLocalDiskInfo
|
||||||
@ stub AsrpGetLocalVolumeInfo
|
@ stub AsrpGetLocalVolumeInfo
|
||||||
@ stub AsprRestoreNonCriticalDisksW
|
@ stub AsprRestoreNonCriticalDisksW
|
||||||
@ stub CdromPropPageProvider
|
@ stdcall CdromPropPageProvider(ptr ptr long)
|
||||||
@ stdcall ComputerClassInstaller(long ptr ptr)
|
@ stdcall ComputerClassInstaller(long ptr ptr)
|
||||||
@ stub CreateLocalAdminAccount
|
@ stub CreateLocalAdminAccount
|
||||||
@ stub CreateLocalAdminAccountEx
|
@ stub CreateLocalAdminAccountEx
|
||||||
|
@ -15,22 +15,22 @@
|
||||||
@ stdcall CriticalDeviceCoInstaller(long ptr ptr ptr)
|
@ stdcall CriticalDeviceCoInstaller(long ptr ptr ptr)
|
||||||
@ stub DevInstallW
|
@ stub DevInstallW
|
||||||
@ stdcall DeviceBayClassInstaller(long ptr ptr)
|
@ stdcall DeviceBayClassInstaller(long ptr ptr)
|
||||||
@ stub DiskPropPageProvider
|
@ stdcall DiskPropPageProvider(ptr ptr long)
|
||||||
@ stub DoInstallComponentInfs
|
@ stub DoInstallComponentInfs
|
||||||
@ stdcall EisaUpHalCoInstaller(long ptr ptr ptr)
|
@ stdcall EisaUpHalCoInstaller(long ptr ptr ptr)
|
||||||
@ stub EisaUpHalPropPageProvider
|
@ stdcall EisaUpHalPropPageProvider(ptr ptr long)
|
||||||
@ stub GenerateName
|
@ stub GenerateName
|
||||||
@ stdcall HdcClassInstaller(long ptr ptr)
|
@ stdcall HdcClassInstaller(long ptr ptr)
|
||||||
@ stdcall InitializeSetupActionLog(long)
|
@ stdcall InitializeSetupActionLog(long)
|
||||||
@ stdcall InstallWindowsNt(long ptr)
|
@ stdcall InstallWindowsNt(long ptr)
|
||||||
@ stub InvokeExternalApplicationEx
|
@ stub InvokeExternalApplicationEx
|
||||||
@ stdcall KeyboardClassInstaller(long ptr ptr)
|
@ stdcall KeyboardClassInstaller(long ptr ptr)
|
||||||
@ stub LegacyDriverPropPageProvider
|
@ stdcall LegacyDriverPropPageProvider(ptr ptr long)
|
||||||
@ stub MigrateExceptionPackages
|
@ stub MigrateExceptionPackages
|
||||||
@ stdcall MouseClassInstaller(long ptr ptr)
|
@ stdcall MouseClassInstaller(long ptr ptr)
|
||||||
@ stdcall NtApmClassInstaller(long ptr ptr)
|
@ stdcall NtApmClassInstaller(long ptr ptr)
|
||||||
@ stub OpkCheckVersion
|
@ stub OpkCheckVersion
|
||||||
@ stub PS2MousePropPageProvider
|
@ stdcall PS2MousePropPageProvider(ptr ptr long)
|
||||||
@ stub PnPInitializationThread
|
@ stub PnPInitializationThread
|
||||||
@ stub PrepareForAudit
|
@ stub PrepareForAudit
|
||||||
@ stub RepairStartMenuItems
|
@ stub RepairStartMenuItems
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
@ stdcall StorageCoInstaller(long ptr ptr ptr)
|
@ stdcall StorageCoInstaller(long ptr ptr ptr)
|
||||||
@ stub SystemUpdateUserProfileDirectory
|
@ stub SystemUpdateUserProfileDirectory
|
||||||
@ stdcall TapeClassInstaller(long ptr ptr)
|
@ stdcall TapeClassInstaller(long ptr ptr)
|
||||||
@ stub TapePropPageProvider
|
@ stdcall TapePropPageProvider(ptr ptr long)
|
||||||
@ stdcall TerminateSetupActionLog()
|
@ stdcall TerminateSetupActionLog()
|
||||||
@ stub UpdatePnpDeviceDrivers
|
@ stub UpdatePnpDeviceDrivers
|
||||||
@ stub UpgradePrinters
|
@ stub UpgradePrinters
|
||||||
|
|
|
@ -11,9 +11,10 @@ DriverVer = 3/20/2012,1.01.0.0
|
||||||
AddReg = LegacyDriverClass.NT.AddReg
|
AddReg = LegacyDriverClass.NT.AddReg
|
||||||
|
|
||||||
[LegacyDriverClass.NT.AddReg]
|
[LegacyDriverClass.NT.AddReg]
|
||||||
HKR, , , 0, %LegacyDriverClassName%
|
HKR, , , 0, %LegacyDriverClassName%
|
||||||
HKR, , Icon, 0, "-19"
|
HKR, , Icon, 0, "-19"
|
||||||
HKR, , NoDisplayClass, 0, 1
|
HKR, , NoDisplayClass, 0, 1
|
||||||
|
HKR, , EnumPropPages32, 0, "syssetup.dll,LegacyDriverPropPageProvider"
|
||||||
|
|
||||||
;-------------------------------- STRINGS -------------------------------
|
;-------------------------------- STRINGS -------------------------------
|
||||||
|
|
||||||
|
|
|
@ -106,6 +106,7 @@ LoadOrderGroup = Keyboard Port
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","SampleRate",0x00010001,0x0000003c
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","SampleRate",0x00010001,0x0000003c
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","MouseResolution",0x00010001,0x00000003
|
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","MouseResolution",0x00010001,0x00000003
|
||||||
|
HKR, , EnumPropPages32, 0, "syssetup.dll,PS2MousePropPageProvider"
|
||||||
HKR, , LocationInformationOverride, 0, %LocationOverride%
|
HKR, , LocationInformationOverride, 0, %LocationOverride%
|
||||||
|
|
||||||
;---------------------------- HID MOUSE DRIVER --------------------------
|
;---------------------------- HID MOUSE DRIVER --------------------------
|
||||||
|
|
Loading…
Reference in a new issue