GridSize

Gets the number of rows and columns that describes the display composition of an AMD Eyefinity desktop.

Syntax

Copied!

ADLX_RESULT     GridSize (adlx_uint* rows, adlx_uint* cols)

Parameters

  1. [out] rows adlx_uint* The pointer to a variable where the number of rows is returned.

  2. [out] cols adlx_uint* The pointer to a variable where the number of cols is returned.

Return Value

If the number of rows and cols are successfully returned, ADLX_OK is returned.

If the number of rows and cols are not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The grid location of an AMD Eyefinity desktop is identified by a row and a column from zero to the respective value returned from this method minus one.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0