Stub CMP_UnregisterNotification
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 1 May 2009 07:44:13 +0000 (07:44 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 1 May 2009 07:44:13 +0000 (07:44 +0000)
Move SETUP_CreateDevicesList declaration to setupapi_private.h

svn path=/trunk/; revision=40758

reactos/dll/win32/setupapi/devinst.c
reactos/dll/win32/setupapi/setupapi.spec
reactos/dll/win32/setupapi/setupapi_private.h
reactos/dll/win32/setupapi/stubs.c

index f7698d5..a9fd83f 100644 (file)
@@ -2314,12 +2314,6 @@ HDEVINFO WINAPI SetupDiGetClassDevsW(
 /***********************************************************************
  *              SetupDiGetClassDevsExW (SETUPAPI.@)
  */
-LONG
-SETUP_CreateDevicesList(
-    IN OUT struct DeviceInfoSet *list,
-    IN PCWSTR MachineName OPTIONAL,
-    IN CONST GUID *Class OPTIONAL,
-    IN PCWSTR Enumerator OPTIONAL);
 HDEVINFO WINAPI SetupDiGetClassDevsExW(
         CONST GUID *class,
         PCWSTR enumstr,
index f5f567e..e61aa87 100644 (file)
@@ -4,7 +4,7 @@
 @ stdcall CMP_Init_Detection(long)
 @ stdcall CMP_RegisterNotification(ptr ptr long ptr)
 @ stdcall CMP_Report_LogOn(long long)
-@ stub CMP_UnregisterNotification
+@ stdcall CMP_UnregisterNotification(ptr)
 @ stdcall CMP_WaitNoPendingInstallEvents(long)
 @ stub CMP_WaitServicesAvailable
 @ stdcall CM_Add_Empty_Log_Conf(ptr ptr long long)
index 6c6bc33..f527d7a 100644 (file)
@@ -283,6 +283,13 @@ CreateDeviceInfo(
     IN LPCGUID pClassGuid,
     OUT struct DeviceInfo **pDeviceInfo);
 
+LONG
+SETUP_CreateDevicesList(
+    IN OUT struct DeviceInfoSet *list,
+    IN PCWSTR MachineName OPTIONAL,
+    IN CONST GUID *Class OPTIONAL,
+    IN PCWSTR Enumerator OPTIONAL);
+
 /* driver.c */
 
 struct InfFileDetails *
index 967ede4..0d13e76 100644 (file)
@@ -203,4 +203,13 @@ CMP_RegisterNotification(
 }
 
 
-
+/***********************************************************************
+ *             CMP_UnregisterNotification(SETUPAPI.@)
+ */
+CONFIGRET
+WINAPI
+CMP_UnregisterNotification(IN HDEVNOTIFY handle)
+{
+    FIXME ("Stub %p\n", handle);
+    return CR_SUCCESS;
+}