[CFGMGR32]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 13 Feb 2011 10:02:31 +0000 (10:02 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 13 Feb 2011 10:02:31 +0000 (10:02 +0000)
- Add missing functions.
- Add forwarders to functions that are exported by setupapi.dll.
- Mark deprecated functions.

svn path=/trunk/; revision=50682

reactos/dll/win32/cfgmgr32/cfgmgr32.spec

index f1c54cb..f3aab21 100644 (file)
@@ -1,9 +1,9 @@
 @ stdcall CMP_Init_Detection(long) setupapi.CMP_Init_Detection
 @ stdcall CMP_RegisterNotification(ptr ptr long ptr) setupapi.CMP_RegisterNotification
 @ stdcall CMP_Report_LogOn(long long) setupapi.CMP_Report_LogOn
-@ stub CMP_UnregisterNotification # setupapi.CMP_UnregisterNotification
+@ stdcall CMP_UnregisterNotification(ptr) setupapi.CMP_UnregisterNotification
 @ stdcall CMP_WaitNoPendingInstallEvents(long) setupapi.CMP_WaitNoPendingInstallEvents
-@ stub CMP_WaitServicesAvailable # setupapi.CMP_WaitServicesAvailable
+@ stdcall CMP_WaitServicesAvailable(ptr) setupapi.CMP_WaitServicesAvailable
 @ stdcall CM_Add_Empty_Log_Conf(ptr ptr long long) setupapi.CM_Add_Empty_Log_Conf
 @ stdcall CM_Add_Empty_Log_Conf_Ex(ptr ptr long long ptr) setupapi.CM_Add_Empty_Log_Conf_Ex
 @ stdcall CM_Add_IDA(ptr str long) setupapi.CM_Add_IDA
@@ -11,8 +11,8 @@
 @ stdcall CM_Add_ID_ExA(ptr str long ptr) setupapi.CM_Add_ID_ExA
 @ stdcall CM_Add_ID_ExW(ptr wstr long ptr) setupapi.CM_Add_ID_ExW
 @ stub CM_Add_Range # setupapi.CM_Add_Range
-@ stub CM_Add_Res_Des # setupapi.CM_Add_Res_Des
-@ stub CM_Add_Res_Des_Ex # setupapi.CM_Add_Res_Des_Ex
+@ stdcall CM_Add_Res_Des(ptr ptr long ptr long long) setupapi.CM_Add_Res_Des
+@ stdcall CM_Add_Res_Des_Ex(ptr ptr long ptr long long long) setupapi.CM_Add_Res_Des_Ex
 @ stdcall CM_Connect_MachineA(str ptr) setupapi.CM_Connect_MachineA
 @ stdcall CM_Connect_MachineW(wstr ptr) setupapi.CM_Connect_MachineW
 @ stdcall CM_Create_DevNodeA(ptr str long long) setupapi.CM_Create_DevNodeA
 @ stdcall CM_Free_Log_Conf_Ex(ptr long ptr) setupapi.CM_Free_Log_Conf_Ex
 @ stdcall CM_Free_Log_Conf_Handle(ptr) setupapi.CM_Free_Log_Conf_Handle
 @ stub CM_Free_Range_List # setupapi.CM_Free_Range_List
-@ stub CM_Free_Res_Des # setupapi.CM_Free_Res_Des
-@ stub CM_Free_Res_Des_Ex # setupapi.CM_Free_Res_Des_Ex
-@ stub CM_Free_Res_Des_Handle # setupapi.CM_Free_Res_Des_Handle
+@ stdcall CM_Free_Res_Des(ptr ptr long) setupapi.CM_Free_Res_Des
+@ stdcall CM_Free_Res_Des_Ex(ptr ptr long long) setupapi.CM_Free_Res_Des_Ex
+@ stdcall CM_Free_Res_Des_Handle(ptr) setupapi.CM_Free_Res_Des_Handle
+@ stub CM_Free_Resource_Conflict_Handle # setupapi.CM_Free_Resource_Conflict_Handle
 @ stdcall CM_Get_Child(ptr long long) setupapi.CM_Get_Child
 @ stdcall CM_Get_Child_Ex(ptr long long long) setupapi.CM_Get_Child_Ex
 @ stdcall CM_Get_Class_Key_NameA(ptr str ptr long) setupapi.CM_Get_Class_Key_NameA
@@ -58,6 +59,8 @@
 @ stdcall CM_Get_Class_NameW(ptr wstr ptr long) setupapi.CM_Get_Class_NameW
 @ stdcall CM_Get_Class_Name_ExA(ptr str ptr long long) setupapi.CM_Get_Class_Name_ExA
 @ stdcall CM_Get_Class_Name_ExW(ptr wstr ptr long long) setupapi.CM_Get_Class_Name_ExW
+@ stub CM_Get_Class_Registry_PropertyA # setupapi.CM_Get_Class_Registry_PropertyA
+@ stub CM_Get_Class_Registry_PropertyW # setupapi.CM_Get_Class_Registry_PropertyW
 @ stdcall CM_Get_Depth(ptr long long) setupapi.CM_Get_Depth
 @ stdcall CM_Get_Depth_Ex(ptr long long long) setupapi.CM_Get_Depth_Ex
 @ stdcall CM_Get_DevNode_Registry_PropertyA(long long ptr ptr ptr long) setupapi.CM_Get_DevNode_Registry_PropertyA
 @ stdcall CM_Get_Log_Conf_Priority_Ex(ptr ptr long long) setupapi.CM_Get_Log_Conf_Priority_Ex
 @ stdcall CM_Get_Next_Log_Conf(ptr ptr long) setupapi.CM_Get_Next_Log_Conf
 @ stdcall CM_Get_Next_Log_Conf_Ex(ptr ptr long long) setupapi.CM_Get_Next_Log_Conf_Ex
-@ stub CM_Get_Next_Res_Des # setupapi.CM_Get_Next_Res_Des
-@ stub CM_Get_Next_Res_Des_Ex # setupapi.CM_Get_Next_Res_Des_Ex
+@ stdcall CM_Get_Next_Res_Des(ptr ptr long ptr long) setupapi.CM_Get_Next_Res_Des
+@ stdcall CM_Get_Next_Res_Des_Ex(ptr ptr long ptr long long) setupapi.CM_Get_Next_Res_Des_Ex
 @ stdcall CM_Get_Parent(ptr long long) setupapi.CM_Get_Parent
 @ stdcall CM_Get_Parent_Ex(ptr long long long) setupapi.CM_Get_Parent_Ex
-@ stub CM_Get_Res_Des_Data # setupapi.CM_Get_Res_Des_Data
-@ stub CM_Get_Res_Des_Data_Ex # setupapi.CM_Get_Res_Des_Data_Ex
-@ stub CM_Get_Res_Des_Data_Size # setupapi.CM_Get_Res_Des_Data_Size
-@ stub CM_Get_Res_Des_Data_Size_Ex # setupapi.CM_Get_Res_Des_Data_Size_Ex
+@ stdcall CM_Get_Res_Des_Data(ptr ptr long long) setupapi.CM_Get_Res_Des_Data
+@ stdcall CM_Get_Res_Des_Data_Ex(ptr ptr long long long) setupapi.CM_Get_Res_Des_Data_Ex
+@ stdcall CM_Get_Res_Des_Data_Size(ptr ptr long) setupapi.CM_Get_Res_Des_Data_Size
+@ stdcall CM_Get_Res_Des_Data_Size_Ex(ptr ptr long long) setupapi.CM_Get_Res_Des_Data_Size_Ex
+@ stub CM_Get_Resource_Conflict_Count # setupapi.CM_Get_Resource_Conflict_Count
+@ stub CM_Get_Resource_Conflict_DetailsA # setupapi.CM_Get_Resource_Conflict_DetailsA
+@ stub CM_Get_Resource_Conflict_DetailsW # setupapi.CM_Get_Resource_Conflict_DetailsW
 @ stdcall CM_Get_Sibling(ptr long long) setupapi.CM_Get_Sibling
 @ stdcall CM_Get_Sibling_Ex(ptr long long long) setupapi.CM_Get_Sibling_Ex
 @ stdcall CM_Get_Version() setupapi.CM_Get_Version
 @ stdcall CM_Locate_DevNode_ExA(ptr str long long) setupapi.CM_Locate_DevNode_ExA
 @ stdcall CM_Locate_DevNode_ExW(ptr wstr long long) setupapi.CM_Locate_DevNode_ExW
 @ stub CM_Merge_Range_List # setupapi.CM_Merge_Range_List
-@ stub CM_Modify_Res_Des # setupapi.CM_Modify_Res_Des
-@ stub CM_Modify_Res_Des_Ex # setupapi.CM_Modify_Res_Des_Ex
+@ stdcall CM_Modify_Res_Des(ptr ptr long ptr long long) setupapi.CM_Modify_Res_Des
+@ stdcall CM_Modify_Res_Des_Ex(ptr ptr long ptr long long long) setupapi.CM_Modify_Res_Des_Ex
 @ stdcall CM_Move_DevNode(long long long) setupapi.CM_Move_DevNode
 @ stdcall CM_Move_DevNode_Ex(long long long long) setupapi.CM_Move_DevNode_Ex
 @ stub CM_Next_Range # setupapi.CM_Next_Range
 @ stdcall CM_Open_Class_Key_ExW(ptr wstr long long ptr long long) setupapi.CM_Open_Class_Key_ExW
 @ stdcall CM_Open_DevNode_Key(ptr long long long ptr long) setupapi.CM_Open_DevNode_Key
 @ stdcall CM_Open_DevNode_Key_Ex(ptr long long long ptr long long) setupapi.CM_Open_DevNode_Key_Ex
-@ stub CM_Query_And_Remove_SubTreeA
-@ stub CM_Query_And_Remove_SubTreeW
+@ stub CM_Query_And_Remove_SubTreeA # setupapi.CM_Query_And_Remove_SubTreeA
+@ stub CM_Query_And_Remove_SubTreeW # setupapi.CM_Query_And_Remove_SubTreeW
+@ stub CM_Query_And_Remove_SubTree_ExA # setupapi.CM_Query_And_Remove_SubTree_ExA
+@ stub CM_Query_And_Remove_SubTree_ExW # setupapi.CM_Query_And_Remove_SubTree_ExW
 @ stub CM_Query_Arbitrator_Free_Data # setupapi.CM_Query_Arbitrator_Free_Data
 @ stub CM_Query_Arbitrator_Free_Data_Ex # setupapi.CM_Query_Arbitrator_Free_Data_Ex
 @ stub CM_Query_Arbitrator_Free_Size # setupapi.CM_Query_Arbitrator_Free_Size
 @ stub CM_Query_Arbitrator_Free_Size_Ex # setupapi.CM_Query_Arbitrator_Free_Size_Ex
 @ stub CM_Query_Remove_SubTree # setupapi.CM_Query_Remove_SubTree
 @ stub CM_Query_Remove_SubTree_Ex # setupapi.CM_Query_Remove_SubTree_Ex
+@ stub CM_Query_Resource_Conflict_List # setupapi.CM_Query_Resource_Conflict_List
 @ stdcall CM_Reenumerate_DevNode(long long) setupapi.CM_Reenumerate_DevNode
 @ stdcall CM_Reenumerate_DevNode_Ex(long long long) setuapi.CM_Reenumerate_DevNode_Ex
 @ stub CM_Register_Device_Driver # setupapi.CM_Register_Device_Driver
 @ stub CM_Register_Device_Interface_ExW # setupapi.CM_Register_Device_Interface_ExW
 @ stub CM_Remove_SubTree # setupapi.CM_Remove_SubTree
 @ stub CM_Remove_SubTree_Ex # setupapi.CM_Remove_SubTree_Ex
-@ stub CM_Remove_Unmarked_Children # setupapi.CM_Remove_Unmarked_Children
-@ stub CM_Remove_Unmarked_Children_Ex # setupapi.CM_Remove_Unmarked_Children_Ex
 @ stub CM_Request_Device_EjectA # setupapi.CM_Request_Device_EjectA
 @ stub CM_Request_Device_EjectW # setupapi.CM_Request_Device_EjectW
 @ stdcall CM_Request_Eject_PC() setupapi.CM_Request_Eject_PC
 @ stdcall CM_Request_Eject_PC_Ex(long) setupapi.CM_Request_Eject_PC_Ex
-@ stub CM_Reset_Children_Marks # setupapi.CM_Reset_Children_Marks
-@ stub CM_Reset_Children_Marks_Ex # setupapi.CM_Reset_Children_Marks_Ex
 @ stdcall CM_Run_Detection(long) setupapi.CM_Run_Detection
 @ stdcall CM_Run_Detection_Ex(long long) setupapi.CM_Run_Detection_Ex
+@ stub CM_Set_Class_Registry_PropertyA # setupapi.CM_Set_Class_Registry_PropertyA
+@ stub CM_Set_Class_Registry_PropertyW # setupapi.CM_Set_Class_Registry_PropertyW
 @ stdcall CM_Set_DevNode_Problem(long long long) setupapi.CM_Set_DevNode_Problem
 @ stdcall CM_Set_DevNode_Problem_Ex(long long long long) setupapi.CM_Set_DevNode_Problem_Ex
 @ stdcall CM_Set_DevNode_Registry_PropertyA(long long ptr long long) setupapi.CM_Set_DevNode_Registry_PropertyA
 @ stub CM_Unregister_Device_InterfaceW # setupapi.CM_Unregister_Device_InterfaceW
 @ stub CM_Unregister_Device_Interface_ExA # setupapi.CM_Unregister_Device_Interface_ExA
 @ stub CM_Unregister_Device_Interface_ExW # setupapi.CM_Unregister_Device_Interface_ExW
+
+# Deprecated functions, they are not present in Win2003 SP1
+@ stub CM_Remove_Unmarked_Children # setupapi.CM_Remove_Unmarked_Children
+@ stub CM_Remove_Unmarked_Children_Ex # setupapi.CM_Remove_Unmarked_Children_Ex
+@ stub CM_Reset_Children_Marks # setupapi.CM_Reset_Children_Marks
+@ stub CM_Reset_Children_Marks_Ex # setupapi.CM_Reset_Children_Marks_Ex