Add stubs for keyboard and mouse class installers
authorHervé Poussineau <hpoussin@reactos.org>
Fri, 20 Jan 2006 17:50:27 +0000 (17:50 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Fri, 20 Jan 2006 17:50:27 +0000 (17:50 +0000)
svn path=/trunk/; revision=20955

reactos/lib/syssetup/classinst.c [new file with mode: 0644]
reactos/lib/syssetup/syssetup.def
reactos/lib/syssetup/syssetup.xml

diff --git a/reactos/lib/syssetup/classinst.c b/reactos/lib/syssetup/classinst.c
new file mode 100644 (file)
index 0000000..7bf990c
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * PROJECT:     ReactOS system libraries
+ * LICENSE:     GPL - See COPYING in the top level directory
+ * FILE:        drivers/storage/mountmgr/database.c
+ * PURPOSE:     Class installers
+ * PROGRAMMERS: Copyright 2006 Hervé Poussineau (hpoussin@reactos.org)
+ */
+
+#include <windows.h>
+#include <setupapi.h>
+
+#define NDEBUG
+#include <debug.h>
+
+DWORD WINAPI
+KeyboardClassInstaller(
+       IN DI_FUNCTION InstallFunction,
+       IN HDEVINFO DeviceInfoSet,
+       IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
+{
+       switch (InstallFunction)
+       {
+               default:
+                       DPRINT("Install function %u ignored\n", InstallFunction);
+                       return ERROR_DI_DO_DEFAULT;
+       }
+}
+
+DWORD WINAPI
+MouseClassInstaller(
+       IN DI_FUNCTION InstallFunction,
+       IN HDEVINFO DeviceInfoSet,
+       IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
+{
+       switch (InstallFunction)
+       {
+               default:
+                       DPRINT("Install function %u ignored\n", InstallFunction);
+                       return ERROR_DI_DO_DEFAULT;
+       }
+}
index f5ae1ad..6de54b7 100644 (file)
@@ -5,14 +5,14 @@ EXPORTS
 ;GenerateScsiHwIdList
 InitializeSetupActionLog@4
 InstallReactOS@4
-;KeyboardClassInstaller
+KeyboardClassInstaller@12
 LogItem@8
 ;LogItem0
 ;LogItem1
 ;LogItem2
 ;LogItem3
 ;LogItemN
-;MouseClassInstaller
+MouseClassInstaller@12
 ;PnPInitializationThread
 ;RepairStartMenuItems
 ;ReportError
index 1c0ebfa..557e440 100644 (file)
@@ -20,7 +20,8 @@
        <library>ole32</library>
        <library>shell32</library>
        <library>shlwapi</library>
-        <library>pseh</library>
+       <library>pseh</library>
+       <file>classinst.c</file>
        <file>dllmain.c</file>
        <file>install.c</file>
        <file>logfile.c</file>