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.).