Skip to content

GridSize

Navigation: ADLX SDK ReferencesADLX InterfacesDesktopIADLXEyefinityDesktop

Syntax

ADLX_RESULT    GridSize (adlx_uint* rows, adlx_uint* cols)

Parameters

#DirectionNameTypeDescription
1.[out]rowsadlx_uint*The pointer to a variable where the number of rows is returned.
#DirectionNameTypeDescription
---------------
2.[out]colsadlx_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

Headerinclude “IDesktops.h”
Minimum version1.0