DarkBASIC Professional Help File

DX11 GET DISPLAY MODE COUNT

Retrieves the number of unique display modes available as of the last call to DX11 SCAN FOR DISPLAY MODES.
You can use index 0 and up to this number minus one with the DX11 GET DISPLAY MODE WIDTH and DX11 GET DISPLAY MODE HEIGHT functions.

Syntax

    Return Dword = DX11 GET DISPLAY MODE COUNT()

Parameters

    This function does not take any parameters.

Returns

The number of available display modes on the local system.

See also

DISPLAY Functions Menu
DX11 Function Categories