CreateNewResolution

Creates a custom resolution on a display.

Syntax

Copied!

ADLX_RESULT     CreateNewResolution(IADLXDisplayResolution * pResolution)

Parameters

  1. [out] pResolution IADLXDisplayResolution * The 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

Header

include “IDisplaySettings.h”

Minimum version

1.0