Synchronization of monitor numbering in the Windows10 settings and monitor numbering get the code in the code using WinAPI

Is there a possibility of some kind of synchronization, when getting a list of monitors using WinAPI, numbering in the list and numbering in the system settings?

Author: Mitski_fys, 2020-10-13