Change the screen resolution (video mode)
With this function we will be able to change the resolution (video mode) of the screen.
If the driver of your card allows it, the change will be made without having that to restart the computer.
The function returns the result from the call to the function of the API ChangeDisplaySettings that it can be one of these values:
Here there is the example: