DeleteResolution

Deletes a custom resolution from a display.

Syntax

Copied!

ADLX_RESULT     DeleteResolution(IADLXDisplayResolution * pResolution)

Parameters

  1. [out] pResolution IADLXDisplayResolution * The pointer to a variable where the display resolution IADLXDisplayResolution is returned.

Return Value

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

If the custom resolution is not successfully deleted, 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