Skip to content

CreateNewResolution

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayCustomResolution

Syntax

ADLX_RESULT    CreateNewResolution(IADLXDisplayResolution* pResolution)

Parameters

#DirectionNameTypeDescription
1.[out]pResolutionIADLXDisplayResolutionThe pointer to the custom resolution interface.

Return Value

If the custom resolution is successfully created, ADLX_OK is returned.

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

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Applying custom resolution in certain games and applications may provide a better user experience. Consult the display user manual for specifications and compatibility information before use.

Note: Displays running in duplicate or Eyefinity mode do not support custom resolutions.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: IADLXDisplayResolution