DarkBASIC Professional Help File

DX11 SCAN FOR DISPLAY MODES

Rescans the system for available display modes.
Display modes are checked automatically as part of the startup procedure and it is quite unlikely that the available ones will change
during the time your program is running, but it can theoretically happen if plug-and-play monitors are plugged in / turned on or
you make changes to your graphics card, so this function is here to cover all bases and let you force a rescan if you deem it necessary.
The number of found display modes will be returned by DX11 GET DISPLAY MODE COUNT after calling this function.
You can also manually call this function if you want to list available display modes prior to calling DX11 INIT, in which case you must
call this function before using any other display mode data retrieving functions.

Syntax

    DX11 SCAN FOR DISPLAY MODES

Parameters

    This function does not take any parameters.

Returns

This function does not return a value.

See also

DISPLAY Functions Menu
DX11 Function Categories