Skip to content

NativeResolution

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplay

Syntax

ADLX_RESULT    NativeResolution (adlx_int* maxHResolution, adlx_int* maxVResolution)

Parameters

#DirectionNameTypeDescription
1.[out]maxHResolutionadlx_int*The pointer to a variable where the horizontal resolution of the display is returned.
#DirectionNameTypeDescription
---------------
2.[out]maxVResolutionadlx_int*The pointer to a variable where the vertical resolution of the display is returned.

Return Value

If the native resolution is successfully returned, ADLX_OK is returned.

If the resolution is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The native resolution of the display is shown in the Windows Advanced display settings as Active signal resolution.

Requirements

Headerinclude “IDisplays.h”
Minimum version1.0