1、EnumDisplaySettings
获取当前显示信息
The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function.
2、ChangeDisplaySettings
改变显示设置
The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode.
自己做的 Windows 下设置屏幕旋转角度的小工具
https://download.csdn.net/download/mini92/10313095