Add cfgmgr32 dll.

This is a forwarder dll that passes all calls to setupapi.dll.

svn path=/trunk/; revision=16284
This commit is contained in:
Eric Kohl 2005-06-26 12:17:27 +00:00
parent 8f6865c18a
commit 489bda971f
4 changed files with 243 additions and 0 deletions

View file

@ -0,0 +1,208 @@
;
; ReactOS cfgmgr32.dll
;
; Copyright (C) 2005 Eric Kohl
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;
LIBRARY CFGMGR32.DLL
EXPORTS
;CMP_Init_Detection
;CMP_RegisterNotification
;CMP_Report_LogOn
;CMP_UnregisterNotification
;CMP_WaitNoPendingInstallEvents
;CMP_WaitServices
;CM_Add_Empty_Log_Conf
;CM_Add_Empty_Log_Conf_Ex
;CM_Add_IDA
;CM_Add_IDW
;CM_Add_ID_ExA
;CM_Add_ID_ExW
;CM_Add_Range
;CM_Add_Res_Des
;CM_Add_Res_Des_Ex
CM_Connect_MachineA@8=SETUPAPI.CM_Connect_MachineA
CM_Connect_MachineW@8=SETUPAPI.CM_Connect_MachineW
;CM_Create_DevNodeA
;CM_Create_DevNodeW
;CM_Create_DevNode_ExA
;CM_Create_DevNode_ExW
;CM_Create_Range_List
;CM_Delete_Class_Key
;CM_Delete_Class_Key_Ex
;CM_Delete_DevNode_Key
;CM_Delete_DevNode_Key_Ex
;CM_Delete_Range
;CM_Detect_Resource_Conflict
;CM_Detect_Resource_Conflict_Ex
;CM_Disable_DevNode
;CM_Disable_DevNode_Ex
CM_Disconnect_Machine@4=SETUPAPI.CM_Disconnect_Machine
;CM_Dup_Range_List
;CM_Enable_DevNode
;CM_Enable_DevNode_Ex
;CM_Enumerate_Classes
;CM_Enumerate_Classes_Ex
;CM_Enumerate_EnumeratorsA
;CM_Enumerate_EnumeratorsW
;CM_Enumerate_Enumerators_ExA
;CM_Enumerate_Enumerators_ExW
;CM_Find_Range
;CM_First_Range
;CM_Free_Log_Conf
;CM_Free_Log_Conf_Ex
;CM_Free_Log_Conf_Handle
;CM_Free_Range_List
;CM_Free_Res_Des
;CM_Free_Res_Des_Ex
;CM_Free_Res_Des_Handle
CM_Get_Child@12=SETUPAPI.CM_Get_Child
CM_Get_Child_Ex@16=SETUPAPI.CM_Get_ChildEx
;CM_Get_Class_Key_NameA
;CM_Get_Class_Key_NameW
;CM_Get_Class_Key_Name_ExA
;CM_Get_Class_Key_Name_ExW
;CM_Get_Class_NameA
;CM_Get_Class_NameW
;CM_Get_Class_Name_ExA
;CM_Get_Class_Name_ExW
;CM_Get_Depth
;CM_Get_Depth_Ex
;CM_Get_DevNode_Registry_PropertyA
;CM_Get_DevNode_Registry_PropertyW
;CM_Get_DevNode_Registry_Property_ExA
;CM_Get_DevNode_Registry_Property_ExW
;CM_Get_DevNode_Status
;CM_Get_DevNode_Status_Ex
;CM_Get_Device_IDA
;CM_Get_Device_IDW
;CM_Get_Device_ID_ExA
;CM_Get_Device_ID_ExW
CM_Get_Device_ID_ListA@16=SETUPAPI.CM_Get_Device_ID_ListA
CM_Get_Device_ID_ListW@16=SETUPAPI.CM_Get_Device_ID_ListW
CM_Get_Device_ID_List_ExA@20=SETUPAPI.CM_Get_Device_ID_List_ExA
CM_Get_Device_ID_List_ExW@20=SETUPAPI.CM_Get_Device_ID_List_ExW
CM_Get_Device_ID_List_SizeA@12=SETUPAPI.CM_Get_Device_ID_List_SizeA
CM_Get_Device_ID_List_SizeW@12=SETUPAPI.CM_Get_Device_ID_List_SizeW
CM_Get_Device_ID_List_Size_ExA@16=SETUPAPI.CM_Get_Device_ID_List_Size_ExA
CM_Get_Device_ID_List_Size_ExW@16=SETUPAPI.CM_Get_Device_ID_List_Size_ExA
;CM_Get_Device_ID_Size
;CM_Get_Device_ID_Size_Ex
;CM_Get_Device_Interface_AliasA
;CM_Get_Device_Interface_AliasW
;CM_Get_Device_Interface_Alias_ExA
;CM_Get_Device_Interface_Alias_ExW
;CM_Get_Device_Interface_ListA
;CM_Get_Device_Interface_ListW
;CM_Get_Device_Interface_List_ExA
;CM_Get_Device_Interface_List_ExW
;CM_Get_Device_Interface_List_SizeA
;CM_Get_Device_Interface_List_SizeW
;CM_Get_Device_Interface_List_Size_ExA
;CM_Get_Device_Interface_List_Size_ExW
;CM_Get_First_Log_Conf
;CM_Get_First_Log_Conf_Ex
;CM_Get_Global_State
;CM_Get_Global_State_Ex
;CM_Get_HW_Prof_FlagsA
;CM_Get_HW_Prof_FlagsW
;CM_Get_HW_Prof_Flags_ExA
;CM_Get_HW_Prof_Flags_ExW
;CM_Get_Hardware_Profile_InfoA
;CM_Get_Hardware_Profile_InfoW
;CM_Get_Hardware_Profile_Info_ExA
;CM_Get_Hardware_Profile_Info_ExW
;CM_Get_Log_Conf_Priority
;CM_Get_Log_Conf_Priority_Ex
;CM_Get_Next_Log_Conf
;CM_Get_Next_Log_Conf_Ex
;CM_Get_Next_Res_Des
;CM_Get_Next_Res_Des_Ex
CM_Get_Parent@12=SETUPAPI.CM_Get_Parent
CM_Get_Parent_Ex@16=SETUPAPI.CM_Get_Parent_Ex
;CM_Get_Res_Des_Data
;CM_Get_Res_Des_Data_Ex
;CM_Get_Res_Des_Data_Size
;CM_Get_Res_Des_Data_Size_Ex
CM_Get_Sibling@12=SETUPAPI.CM_Get_Sibling
CM_Get_Sibling_Ex@16=SETUPAPI.CM_Get_Sibling_Ex
CM_Get_Version@0=SETUPAPI.CM_Get_Version
CM_Get_Version_Ex@4=SETUPAPI.CM_Get_Version_Ex
;CM_Intersect_Range_List
;CM_Invert_Range_List
;CM_Is_Dock_Station_Present
CM_Locate_DevNodeA@12=SETUPAPI.CM_Locate_DevNodeA
CM_Locate_DevNodeW@12=SETUPAPI.CM_Locate_DevNodeW
CM_Locate_DevNode_ExA@16=SETUPAPI.CM_Locate_DevNode_ExA
CM_Locate_DevNode_ExW@16=SETUPAPI.CM_Locate_DevNode_ExW
;CM_Merge_Range_List
;CM_Modify_Res_Des
;CM_Modify_Res_Des_Ex
;CM_Move_DevNode
;CM_Move_DevNode_Ex
;CM_Next_Range
CM_Open_Class_KeyA@24=SETUPAPI.CM_Open_Class_KeyA
CM_Open_Class_KeyW@24=SETUPAPI.CM_Open_Class_KeyW
CM_Open_Class_Key_ExA@28=SETUPAPI.CM_Open_Class_Key_ExA
CM_Open_Class_Key_ExW@28=SETUPAPI.CM_Open_Class_Key_ExW
;CM_Open_DevNode_Key
;CM_Open_DevNode_Key_Ex
;CM_Query_Arbitrator_Free_Data
;CM_Query_Arbitrator_Free_Data_Ex
;CM_Query_Arbitrator_Free_Size
;CM_Query_Arbitrator_Free_Size_Ex
;CM_Query_Remove_SubTree
;CM_Query_Remove_SubTree_Ex
;CM_Reenumerate_DevNode
;CM_Reenumerate_DevNode_Ex
;CM_Register_Device_Driver
;CM_Register_Device_Driver_Ex
;CM_Register_Device_InterfaceA
;CM_Register_Device_InterfaceW
;CM_Register_Device_Interface_ExA
;CM_Register_Device_Interface_ExW
;CM_Remove_SubTree
;CM_Remove_SubTree_Ex
;CM_Remove_Unmarked_Children
;CM_Remove_Unmarked_Children_Ex
;CM_Request_Device_EjectA
;CM_Request_Device_EjectW
;CM_Request_Eject_PC
;CM_Reset_Children_Marks
;CM_Reset_Children_Marks_Ex
;CM_Run_Detection
;CM_Run_Detection_Ex
;CM_Set_DevNode_Problem
;CM_Set_DevNode_Problem_Ex
;CM_Set_DevNode_Registry_PropertyA
;CM_Set_DevNode_Registry_PropertyW
;CM_Set_DevNode_Registry_Property_ExA
;CM_Set_DevNode_Registry_Property_ExW
;CM_Set_HW_Prof
;CM_Set_HW_Prof_Ex
;CM_Set_HW_Prof_FlagsA
;CM_Set_HW_Prof_FlagsW
;CM_Set_HW_Prof_Flags_ExA
;CM_Set_HW_Prof_Flags_ExW
;CM_Setup_DevNode
;CM_Setup_DevNode_Ex
;CM_Test_Range_Available
;CM_Uninstall_DevNode
;CM_Uninstall_DevNode_Ex
;CM_Unregister_Device_InterfaceA
;CM_Unregister_Device_InterfaceW
;CM_Unregister_Device_Interface_ExA
;CM_Unregister_Device_Interface_ExW

View file

@ -0,0 +1,25 @@
/*
* ReactOS cfgmgr32.dll
*
* Copyright (C) 2005 Eric Kohl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Configuration Manager DLL\0"
#define REACTOS_STR_INTERNAL_NAME "cfgmgr32\0"
#define REACTOS_STR_ORIGINAL_FILENAME "cfgmgr32.dll\0"
#include <reactos/version.rc>

View file

@ -0,0 +1,7 @@
<module name="cfgmgr32" type="win32dll" baseaddress="${BASEADDRESS_CFGMGR32}" entrypoint="0" installbase="system32" installname="cfgmgr32.dll">
<linkerflag>-nostartfiles</linkerflag>
<linkerflag>-nostdlib</linkerflag>
<linkerflag>-lgcc</linkerflag>
<importlibrary definition="cfgmgr32.def" />
<file>cfgmgr32.rc</file>
</module>

View file

@ -19,6 +19,9 @@
<directory name="cards">
<xi:include href="cards/cards.xml" />
</directory>
<directory name="cfgmgr32">
<xi:include href="cfgmgr32/cfgmgr32.xml" />
</directory>
<directory name="comctl32">
<xi:include href="comctl32/comctl32.xml" />
</directory>