win32api.ChangeDisplaySettings
int = ChangeDisplaySettings(DevMode, Flags
)
Changes video mode for default display
Parameters
DevMode : PyDEVMODE
A PyDEVMODE object as returned from EnumDisplaySettings, or None to reset to
default settings from registryFlags : int
One of the win32con.CDS_* constants, or 0Return Value
Returns DISP_CHANGE_SUCCESSFUL on success, or one of the DISP_CHANGE_* error constants on failure