IrrGetVideoModeResolution

section index

## NAME

IrrGetVideoModeResolution - Returns the depth of a video mode.

## SYNOPSIS

IrrGetVideoModeResolution(mode.l,*resolution.IDRR_DIM2D)

## INPUTS

mode.l | - | number of the mode. Use IrrGetVideoModeCount() to get the count of available modes.

## FUNCTION

Returns the Resolution of a video mode

## EXAMPLE

       IrrGetVideoModeResolution(mode,@reso.IRR_DIM2D)
       Debug("mode="+Str(mode)+" - Screen-Resolution:"+Str(reso\width)+" x "+Str(reso\height) )

## RESULT

Resolution of a video mode.