NativeResolution
Gets the native resolution of a display.
Syntax
ADLX_RESULT NativeResolution (adlx_int* maxHResolution, adlx_int* maxVResolution)
Parameters
-
[out]
maxHResolution adlx_int* The pointer to a variable where the horizontal resolution of the display is returned. -
[out]
maxVResolution adlx_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
Header |
include “IDisplays.h” |
Minimum version |
1.0 |