SetupDiEnumDeviceInterfaces

[DllImport("setupapi.dll", SetLastError = true)]
public static extern bool SetupDiEnumDeviceInterfaces(
   IntPtr DeviceInfoSet,
   IntPtr DeviceInfoData,
   ref Guid InterfaceClassGuid,
   uint MemberIndex,
   ref DeviceInterfaceData DeviceInterfaceData
);

Microsoft documentation: Link

Last updated