CM_Get_Sibling

[DllImport("setupapi.dll", SetLastError = true)]
public static extern int CM_Get_Sibling(
   out uint pdnDevInst,
   uint dnDevInst,
   uint ulFlags
);

Microsoft documentation: Link

Last updated