Zend certified PHP/Magento developer

Programmatically how to differentiate between 2 monitors {laptop integrated monitor, and external monitor connected via port} [closed]

I wanted to programmatically differentiate between two monitors using some parameters which says:

  • monitor is ‘integrated monitor’ of the laptop OR,
  • monitor is ‘extended monitor’ and connected via port (e.g. HDMI).

DISPLAYCONFIG_TOPOLOGY_ID specifies the type of display topology, but it does not specify which monitor is connected to which topology (e.g. internal, external clone, external extended, etc.).