Skip to content

RemoveDisplayGammaEventListener

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayChangedHandling

Syntax

ADLX_RESULT    RemoveDisplayGammaEventListener (IADLXDisplayGammaChangedListener* pDisplayGammaChangedListener)

Parameters

#DirectionNameTypeDescription
1.[in]pDisplayGammaChangedListenerIADLXDisplayGammaChangedListenerThe pointer to the event listener interface to unregister from receiving the display gamma change notifications.

Return Value

If the event listener is successfully unregistered, ADLX_OK is returned.

If the event listener is not successfully unregistered, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

After the event listener is successfully unregistered, ADLX will no longer call OnDisplayGammaChanged method of the listener when the display gamma changes. The application can discard the event listener instance.

Requirements

Headerinclude “IDisplays.h”
Minimum version1.0

See Also: IADLXDisplayGammaChangedListener, OnDisplayGammaChanged