No.
The updated version has parameter [int&primaryMonitorIndex].
Also, some software can install virtual monitors. This function gets them too, except when called without the array parameters. Need some logic to remove them. But it's rare, and I cannot test.
The updated version has parameter [int&primaryMonitorIndex].
Also, some software can install virtual monitors. This function gets them too, except when called without the array parameters. Need some logic to remove them. But it's rare, and I cannot test.