DeviceHandle
[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern IntPtr DeviceHandle(
IntPtr DeviceInfoSet,
ref DeviceInterfaceData InterfaceData,
IntPtr DeviceInstancePath,
uint Flags
);
Microsoft documentation: Link
Last updated