SetupDiDestroyDeviceInfoList

[DllImport("setupapi.dll", SetLastError = true)]
public static extern bool SetupDiDestroyDeviceInfoList(
   IntPtr DeviceInfoSet
);

Microsoft documentation: Link

Last updated