I have two monitor that are connected to the computer. By using winapi EnumDisplaySettings(), i got the names and ID of the each monitor. The problem is that I can't see who is the primary monitor and who is the secondary monitor. I have tried to use GetMonitorInfo() and some more API functions, but they didn't gave me what I am looking for.
How can i get the name of the primary monitor?