This is an example of how to use the SysSetScreenMode function along with the SetScreenModeType structure.