[DESK] Add MonitorClassInstaller

This commit is contained in:
Eric Kohl 2018-09-15 14:10:01 +02:00
parent 71ac5e6c65
commit e13ff1470e
3 changed files with 12 additions and 1 deletions

View file

@ -2,7 +2,7 @@
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Display Control Panel
* FILE: dll/cpl/desk/classinst.c
* PURPOSE: Display class installer
* PURPOSE: Class installers
*
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
@ -252,3 +252,12 @@ cleanup:
return rc;
}
DWORD WINAPI
MonitorClassInstaller(
IN DI_FUNCTION InstallFunction,
IN HDEVINFO DeviceInfoSet,
IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
{
return ERROR_DI_DO_DEFAULT;
}

View file

@ -3,3 +3,4 @@
@ stdcall DisplaySaveSettings(ptr ptr)
@ stdcall InstallScreenSaverW(long long ptr long)
@ stdcall InstallScreenSaverA(long long ptr long)
@ stdcall MonitorClassInstaller(long ptr ptr)

View file

@ -20,6 +20,7 @@ AddReg = MonitorClass.NT.AddReg
[MonitorClass.NT.AddReg]
HKR, , , 0, %MonitorClassName%
HKR, , Icon, 0, "-1"
HKR, , Installer32, 0, "desk.cpl,MonitorClassInstaller"
[Manufacturer]
%StdMfg% = StdMfg