Size

Gets the size of a desktop.

Syntax

Copied!

ADLX_RESULT     Size (adlx_int* width, adlx_int* height)

Parameters

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

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

Return Value

If the width and height are successfully returned, ADLX_OK is returned.

If the width and height are not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The desktop size represents the pixel resolution of the desktop.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0