Introduction - If you have any usage issues, please Google them yourself
Use two functions, one is the system function EnumDisplayMonitors is a user-defined callback function, for example, MonitorEnumProc process, the program calls EnumDisplayMonitors parameters of MonitorEnumProc as EnumDisplayMonitors system function will automatically call EnumDisplayMonitors, and all current display the parameters passed to this function.