Skip to content

Size

Navigation: ADLX SDK ReferencesADLX InterfacesDesktopIADLXDesktop

Syntax

ADLX_RESULT    Size (adlx_int* width, adlx_int* height)

Parameters

#DirectionNameTypeDescription
1.[out]widthadlx_int*The pointer to a variable where the width is returned.
#DirectionNameTypeDescription
---------------
2.[out]heightadlx_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

Headerinclude “IDesktops.h”
Minimum version1.0