DisplaySize

Gets the size of the display area on an AMD Eyefinity desktop at a given grid location.

Syntax

Copied!

ADLX_RESULT     DisplaySize (adlx_uint row, adlx_uint col, adlx_int* displayWidth, adlx_int* displayHeight)

Parameters

  1. [in] row adlx_uint The row of the AMD Eyefinity grid location for the requested display.

  2. [in] col adlx_uint The column of the AMD Eyefinity grid location for the requested display.

  3. [out] displayWidth adlx_int* The pointer to a variable where the display width is returned.

  4. [out] displayHeight adlx_int* The pointer to a variable where the display height is returned.

Return Value

If the display size is successfully returned, ADLX_OK is returned.

If the display size is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The display size represents the pixel resolution of the dispay area in an AMD Eyefinity desktop.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0