Vanara.PInvoke.CfgMgr32
5.0.5
Prefix Reserved
dotnet add package Vanara.PInvoke.CfgMgr32 --version 5.0.5
NuGet\Install-Package Vanara.PInvoke.CfgMgr32 -Version 5.0.5
<PackageReference Include="Vanara.PInvoke.CfgMgr32" Version="5.0.5" />
<PackageVersion Include="Vanara.PInvoke.CfgMgr32" Version="5.0.5" />
<PackageReference Include="Vanara.PInvoke.CfgMgr32" />
paket add Vanara.PInvoke.CfgMgr32 --version 5.0.5
#r "nuget: Vanara.PInvoke.CfgMgr32, 5.0.5"
#:package Vanara.PInvoke.CfgMgr32@5.0.5
#addin nuget:?package=Vanara.PInvoke.CfgMgr32&version=5.0.5
#tool nuget:?package=Vanara.PInvoke.CfgMgr32&version=5.0.5
![]()
Vanara.PInvoke.CfgMgr32 NuGet Package
PInvoke API (methods, structures and constants) imported from Windows CfgMgr32.dll.
What is Vanara?
Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
Issues?
First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.CfgMgr32
| Functions | Enumerations | Structures |
|---|---|---|
| CM_Add_Empty_Log_Conf<br>CM_Add_Empty_Log_Conf_Ex<br>CM_Add_ID<br>CM_Add_ID_Ex<br>CM_Add_Res_Des<br>CM_Add_Res_Des_Ex<br>CM_Connect_Machine<br>CM_Delete_Class_Key<br>CM_Delete_Device_Interface_Key<br>CM_Delete_Device_Interface_Key_Ex<br>CM_Delete_DevNode_Key<br>CM_Disable_DevNode<br>CM_Disconnect_Machine<br>CM_Enable_DevNode<br>CM_Enumerate_Classes<br>CM_Enumerate_Classes_Ex<br>CM_Enumerate_Enumerators<br>CM_Enumerate_Enumerators_Ex<br>CM_Free_Log_Conf<br>CM_Free_Log_Conf_Ex<br>CM_Free_Log_Conf_Handle<br>CM_Free_Res_Des<br>CM_Free_Res_Des_Ex<br>CM_Free_Res_Des_Handle<br>CM_Free_Resource_Conflict_Handle<br>CM_Get_Child<br>CM_Get_Child_Ex<br>CM_Get_Class_Property_ExW<br>CM_Get_Class_Property_Keys<br>CM_Get_Class_Property_Keys_Ex<br>CM_Get_Class_PropertyW<br>CM_Get_Class_Registry_Property<br>CM_Get_Depth<br>CM_Get_Depth_Ex<br>CM_Get_Device_ID<br>CM_Get_Device_ID_Ex<br>CM_Get_Device_ID_List<br>CM_Get_Device_ID_List_Ex<br>CM_Get_Device_ID_List_Size<br>CM_Get_Device_ID_List_Size_Ex<br>CM_Get_Device_ID_Size<br>CM_Get_Device_ID_Size_Ex<br>CM_Get_Device_Interface_Alias<br>CM_Get_Device_Interface_List<br>CM_Get_Device_Interface_List_Size<br>CM_Get_Device_Interface_Property_ExW<br>CM_Get_Device_Interface_Property_Keys_ExW<br>CM_Get_Device_Interface_Property_KeysW<br>CM_Get_Device_Interface_PropertyW<br>CM_Get_DevNode_Property_ExW<br>CM_Get_DevNode_Property_Keys<br>CM_Get_DevNode_Property_Keys_Ex<br>CM_Get_DevNode_PropertyW<br>CM_Get_DevNode_Registry_Property<br>CM_Get_DevNode_Status<br>CM_Get_DevNode_Status_Ex<br>CM_Get_First_Log_Conf<br>CM_Get_First_Log_Conf_Ex<br>CM_Get_HW_Prof_Flags<br>CM_Get_HW_Prof_Flags_Ex<br>CM_Get_Log_Conf_Priority<br>CM_Get_Log_Conf_Priority_Ex<br>CM_Get_Next_Log_Conf<br>CM_Get_Next_Log_Conf_Ex<br>CM_Get_Next_Res_Des<br>CM_Get_Next_Res_Des_Ex<br>CM_Get_Parent<br>CM_Get_Parent_Ex<br>CM_Get_Res_Des_Data<br>CM_Get_Res_Des_Data_Ex<br>CM_Get_Res_Des_Data_Size<br>CM_Get_Res_Des_Data_Size_Ex<br>CM_Get_Resource_Conflict_Count<br>CM_Get_Resource_Conflict_Details<br>CM_Get_Sibling<br>CM_Get_Sibling_Ex<br>CM_Get_Version<br>CM_Get_Version_Ex<br>CM_Is_Dock_Station_Present<br>CM_Is_Dock_Station_Present_Ex<br>CM_Is_Version_Available<br>CM_Is_Version_Available_Ex<br>CM_Locate_DevNode<br>CM_Locate_DevNode_Ex<br>CM_MapCrToWin32Err<br>CM_Modify_Res_Des<br>CM_Modify_Res_Des_Ex<br>CM_Open_Class_Key<br>CM_Open_Device_Interface_Key<br>CM_Open_Device_Interface_Key_Ex<br>CM_Open_DevNode_Key<br>CM_Query_And_Remove_SubTree<br>CM_Query_And_Remove_SubTree_Ex<br>CM_Query_Resource_Conflict_List<br>CM_Reenumerate_DevNode<br>CM_Reenumerate_DevNode_Ex<br>CM_Register_Notification<br>CM_Request_Device_Eject<br>CM_Request_Device_Eject_Ex<br>CM_Request_Eject_PC<br>CM_Request_Eject_PC_Ex<br>CM_Set_Class_Property_ExW<br>CM_Set_Class_PropertyW<br>CM_Set_Class_Registry_Property<br>CM_Set_Device_Interface_Property_ExW<br>CM_Set_Device_Interface_PropertyW<br>CM_Set_DevNode_Problem<br>CM_Set_DevNode_Problem_Ex<br>CM_Set_DevNode_Property_ExW<br>CM_Set_DevNode_PropertyW<br>CM_Set_DevNode_Registry_Property<br>CM_Setup_DevNode<br>CM_Uninstall_DevNode<br>CM_Unregister_Notification<br>CM_WaitNoPendingInstallEvents<br>SwDeviceClose<br>SwDeviceCreate<br>SwDeviceGetLifetime<br>SwDeviceInterfacePropertySet<br>SwDeviceInterfaceRegister<br>SwDeviceInterfaceSetState<br>SwDevicePropertySet<br>SwDeviceSetLifetime<br>SwMemFree<br> | CM_ADD_ID<br>CM_CLASS_PROPERTY<br>CM_CRP<br>CM_DELETE_CLASS<br>CM_DISABLE<br>CM_ENUMERATE_CLASSES<br>CM_GETIDLIST<br>CM_REGISTRY<br>CONFIGRET<br>LOG_CONF_FLAG<br>PNP_VETO_TYPE<br>PRIORITY<br>RESOURCEID<br>CM_CDFLAGS<br>CM_CDMASK<br>CM_DRP<br>CM_GET_DEVICE_INTERFACE_LIST<br>CM_PROB<br>CSCONFIGFLAG<br>CM_LOCATE_DEVINST<br>CM_LOCATE_DEVNODE<br>CM_NOTIFY_ACTION<br>CM_NOTIFY_FILTER_FLAG<br>CM_NOTIFY_FILTER_TYPE<br>CM_OPEN_CLASS_KEY<br>CM_REENUMERATE<br>CM_REMOVE<br>CM_SETUP_DEVNODE<br>DMA_DES_FLAGS<br>IO_DES_FLAGS<br>IRQD_FLAGS<br>MEM_DES_FLAGS<br>MFCARD_DES_FLAGS<br>PCD_FLAGS<br>REGDISPOSITION<br>SW_DEVICE_CAPABILITIES<br>SW_DEVICE_LIFETIME<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> | BUSNUMBER_DES<br>BUSNUMBER_RANGE<br>BUSNUMBER_RESOURCE<br>CM_NOTIFY_EVENT_DATA<br>CM_NOTIFY_FILTER<br>CONFLICT_DETAILS<br>CS_DES<br>CS_RESOURCE<br>DMA_DES<br>DMA_RANGE<br>DMA_RESOURCE<br>IO_DES<br>IO_RANGE<br>IO_RESOURCE<br>IRQ_DES_32<br>IRQ_DES_64<br>IRQ_RANGE<br>IRQ_RESOURCE_32<br>IRQ_RESOURCE_64<br>MEM_DES<br>MEM_RANGE<br>MEM_RESOURCE<br>MFCARD_DES<br>MFCARD_RESOURCE<br>PCCARD_DES<br>PCCARD_RESOURCE<br>SW_DEVICE_CREATE_INFO<br>CONFLICT_LIST<br>HCMNOTIFICATION<br>HMACHINE<br>LOG_CONF<br>RES_DES<br>HSWDEVICE<br>UNION<br>UNION<br>DEVICEINTERFACE<br>DEVICEHANDLE<br>DEVICEINSTANCE<br><iid>e__FixedBuffer<br><SymbolicLink>e__FixedBuffer<br><Data>e__FixedBuffer<br><InstanceId>e__FixedBuffer<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
.NETFramework 4.8
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.6.3)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Memory (>= 4.6.3)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
.NETStandard 2.1
- Microsoft.Win32.Registry (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Security.AccessControl (>= 6.0.1)
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net10.0-windows7.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net5.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net6.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net7.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net8.0-windows7.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
-
net9.0-windows7.0
- Vanara.Core (>= 5.0.5)
- Vanara.PInvoke.Security (>= 5.0.5)
- Vanara.PInvoke.SetupAPI (>= 5.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Vanara.PInvoke.CfgMgr32:
| Package | Downloads |
|---|---|
|
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Vanara.PInvoke.CfgMgr32:
| Repository | Stars |
|---|---|
|
zhuxb711/RX-Explorer
一款优雅的UWP文件管理器 | An elegant UWP Explorer
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.5 | 146 | 5/16/2026 |
| 5.0.4 | 950 | 4/15/2026 |
| 5.0.3 | 242 | 4/9/2026 |
| 5.0.1 | 433 | 3/11/2026 |
| 5.0.0 | 561 | 1/12/2026 |
| 4.2.1 | 2,492 | 9/9/2025 |
| 4.2.0 | 473 | 8/25/2025 |
| 4.1.6 | 596 | 6/20/2025 |
| 4.1.5 | 314 | 6/20/2025 |
| 4.1.4 | 547 | 6/7/2025 |
| 4.1.3 | 963 | 4/24/2025 |
| 4.1.2 | 472 | 4/16/2025 |
| 4.1.1 | 840 | 3/7/2025 |
| 4.1.0 | 465 | 3/7/2025 |
| 4.0.6 | 417 | 2/24/2025 |
| 4.0.5 | 357 | 2/8/2025 |
| 4.0.4 | 3,797 | 9/13/2024 |
| 4.0.3 | 437 | 8/5/2024 |
| 4.0.2 | 1,817 | 6/24/2024 |
| 4.0.1 | 695 | 4/30/2024 |
Currently implements:
Functions
CM_Add_Empty_Log_Conf CM_Add_Empty_Log_Conf_Ex CM_Add_ID CM_Add_ID_Ex CM_Add_Res_Des CM_Add_Res_Des_Ex CM_Connect_Machine CM_Delete_Class_Key CM_Delete_Device_Interface_Key CM_Delete_Device_Interface_Key_Ex CM_Delete_DevNode_Key CM_Disable_DevNode CM_Disconnect_Machine CM_Enable_DevNode CM_Enumerate_Classes CM_Enumerate_Classes_Ex CM_Enumerate_Enumerators CM_Enumerate_Enumerators_Ex CM_Free_Log_Conf CM_Free_Log_Conf_Ex CM_Free_Log_Conf_Handle CM_Free_Resource_Conflict_Handle CM_Free_Res_Des CM_Free_Res_Des_Ex CM_Free_Res_Des_Handle CM_Get_Child CM_Get_Child_Ex CM_Get_Class_PropertyW CM_Get_Class_Property_ExW CM_Get_Class_Property_Keys CM_Get_Class_Property_Keys_Ex CM_Get_Class_Registry_Property CM_Get_Depth CM_Get_Depth_Ex CM_Get_Device_ID CM_Get_Device_ID_Ex CM_Get_Device_ID_List CM_Get_Device_ID_List_Ex CM_Get_Device_ID_List_Size CM_Get_Device_ID_List_Size_Ex CM_Get_Device_ID_Size CM_Get_Device_ID_Size_Ex CM_Get_Device_Interface_Alias CM_Get_Device_Interface_List CM_Get_Device_Interface_List_Size CM_Get_Device_Interface_PropertyW CM_Get_Device_Interface_Property_ExW CM_Get_Device_Interface_Property_KeysW CM_Get_Device_Interface_Property_Keys_ExW CM_Get_DevNode_PropertyW CM_Get_DevNode_Property_ExW CM_Get_DevNode_Property_Keys CM_Get_DevNode_Property_Keys_Ex CM_Get_DevNode_Registry_Property CM_Get_DevNode_Status CM_Get_DevNode_Status_Ex CM_Get_First_Log_Conf CM_Get_First_Log_Conf_Ex CM_Get_HW_Prof_Flags CM_Get_HW_Prof_Flags_Ex 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 CM_Get_Parent_Ex CM_Get_Resource_Conflict_Count CM_Get_Resource_Conflict_Details 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 CM_Get_Sibling_Ex CM_Get_Version CM_Get_Version_Ex CM_Is_Dock_Station_Present CM_Is_Dock_Station_Present_Ex CM_Is_Version_Available CM_Is_Version_Available_Ex CM_Locate_DevNode CM_Locate_DevNode_Ex CM_MapCrToWin32Err CM_Modify_Res_Des CM_Modify_Res_Des_Ex CM_Open_Class_Key CM_Open_Device_Interface_Key CM_Open_Device_Interface_Key_Ex CM_Open_DevNode_Key CM_Query_And_Remove_SubTree CM_Query_And_Remove_SubTree_Ex CM_Query_Resource_Conflict_List CM_Reenumerate_DevNode CM_Reenumerate_DevNode_Ex CM_Register_Notification CM_Request_Device_Eject CM_Request_Device_Eject_Ex CM_Request_Eject_PC CM_Request_Eject_PC_Ex CM_Setup_DevNode CM_Set_Class_PropertyW CM_Set_Class_Property_ExW CM_Set_Class_Registry_Property CM_Set_Device_Interface_PropertyW CM_Set_Device_Interface_Property_ExW CM_Set_DevNode_Problem CM_Set_DevNode_Problem_Ex CM_Set_DevNode_PropertyW CM_Set_DevNode_Property_ExW CM_Set_DevNode_Registry_Property CM_Uninstall_DevNode CM_Unregister_Notification CM_WaitNoPendingInstallEvents SwDeviceClose SwDeviceCreate SwDeviceGetLifetime SwDeviceInterfacePropertySet SwDeviceInterfaceRegister SwDeviceInterfaceSetState SwDevicePropertySet SwDeviceSetLifetime SwMemFree
Structures
BUSNUMBER_DES BUSNUMBER_RANGE BUSNUMBER_RESOURCE CM_NOTIFY_EVENT_DATA CM_NOTIFY_FILTER CONFLICT_DETAILS CONFLICT_LIST CS_DES CS_RESOURCE DEVICEHANDLE DEVICEINSTANCE DEVICEINTERFACE DMA_DES DMA_RANGE DMA_RESOURCE HCMNOTIFICATION HMACHINE HSWDEVICE IO_DES IO_RANGE IO_RESOURCE IRQ_DES_32 IRQ_DES_64 IRQ_RANGE IRQ_RESOURCE_32 IRQ_RESOURCE_64 LOG_CONF MEM_DES MEM_RANGE MEM_RESOURCE MFCARD_DES MFCARD_RESOURCE PCCARD_DES PCCARD_RESOURCE RES_DES SW_DEVICE_CREATE_INFO UNION UNION