CM_Get_Device_ID_List_Size

[DllImport("setupapi.dll", SetLastError = true)]
public static extern int CM_Get_Device_ID_List_Size(
   out int pulLen,
   string pDeviceID,
   uint ulFlags
);

Microsoft documentation: Link

Last updated