[SYSSETUP]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 4 Aug 2013 20:28:26 +0000 (20:28 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 4 Aug 2013 20:28:26 +0000 (20:28 +0000)
Add missing class installer stubs.

svn path=/trunk/; revision=59641

reactos/dll/win32/syssetup/classinst.c
reactos/dll/win32/syssetup/syssetup.spec

index dc853e9..5c3a4d0 100644 (file)
 #define NDEBUG
 #include <debug.h>
 
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+ComputerClassInstaller(
+    IN DI_FUNCTION InstallFunction,
+    IN HDEVINFO DeviceInfoSet,
+    IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
+{
+    switch (InstallFunction)
+    {
+        default:
+            DPRINT1("Install function %u ignored\n", InstallFunction);
+            return ERROR_DI_DO_DEFAULT;
+    }
+}
+
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+DeviceBayClassInstaller(
+    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;
+    }
+}
+
+
 /*
  * @implemented
  */
@@ -61,3 +100,62 @@ MouseClassInstaller(
             return ERROR_DI_DO_DEFAULT;
     }
 }
+
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+NtApmClassInstaller(
+    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;
+    }
+}
+
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+ScsiClassInstaller(
+    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;
+    }
+}
+
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+TapeClassInstaller(
+    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;
+    }
+}
+
+/* EOF */
index 4b37986..e2f4a1d 100644 (file)
@@ -8,13 +8,13 @@
 @ stub AsrpGetLocalVolumeInfo
 @ stub AsprRestoreNonCriticalDisksW
 @ stub CdromPropPageProvider
-@ stub ComputerClassInstaller
+@ stdcall ComputerClassInstaller(long ptr ptr)
 @ stub CreateLocalAdminAccount
 @ stub CreateLocalAdminAccountEx
 @ stub CreateLocalUserAccount
 @ stub CriticalDeviceCoInstaller
 @ stub DevInstallW
-@ stub DeviceBayClassInstaller
+@ stdcall DeviceBayClassInstaller(long ptr ptr)
 @ stub DiskPropPageProvider
 @ stub DoInstallComponentInfs
 @ stub EisaUpHalCoInstaller
@@ -29,7 +29,7 @@
 @ stub LegacyDriverPropPageProvider
 @ stub MigrateExceptionPackages
 @ stdcall MouseClassInstaller(long ptr ptr)
-@ stub NtApmClassInstaller
+@ stdcall NtApmClassInstaller(long ptr ptr)
 @ stub OpkCheckVersion
 @ stub PS2MousePropPageProvider
 @ stub PnPInitializationThread
@@ -37,7 +37,7 @@
 @ stub RepairStartMenuItems
 @ stub ReportError
 @ stub RunOEMExtraTasks
-@ stub ScsiClassInstaller
+@ stdcall ScsiClassInstaller(long ptr ptr)
 @ stub SetAccountDomainSid
 @ stub SetupAddOrRemoveTestCertificate
 @ stdcall SetupChangeFontSize(ptr wstr)
@@ -76,7 +76,7 @@
 @ stub SetupUnregisterOsComponent
 @ stub StorageCoInstaller
 @ stub SystemUpdateUserProfileDirectory
-@ stub TapeClassInstaller
+@ stdcall TapeClassInstaller(long ptr ptr)
 @ stub TapePropPageProvider
 @ stdcall TerminateSetupActionLog()
 @ stub UpdatePnpDeviceDrivers