SetDeGammaRamp

Sets the de-gamma on a display using a ramp file.

Syntax

Copied!

ADLX_RESULT     SetDeGammaRamp (const char* path)

Parameters

  1. [in] pPath const char* The zero-terminated string that specifies the path of the ramp file.

Return Value

If the de-gamma is successfully set, ADLX_OK is returned.

If the de-gamma is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The method sets the custom de-gamma on a display using a ramp file. The following is an example of a ramp file.

Copied!

      [R]            [G]          [B]
[0]    0,             0,           0
[1]   49836,         34885,        0
...
[254] 58260,         58782,        0
[255] 65533,         56634,        0

Requirements

Header

include “IDisplayGamma.h”

Minimum version

1.0