Skip to content

RemoveGPUTuningEventListener

Navigation: ADLX SDK ReferencesADLX InterfacesGPU TuningIADLXGPUTuningChangedHandling

Syntax

ADLX_RESULT    RemoveGPUTuningEventListener (IADLXGPUTuningChangedListener* pGPUTuningChangedListener)

Parameters

#DirectionNameTypeDescription
1.[in]pGPUTuningChangedListenerIADLXGPUTuningChangedListenerThe pointer to the event listener interface to unregister from receiving GPU tuning 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 OnGPUTuningChanged method of the listener when GPU tuning changes. The application can discard the event listener instance.

Requirements

Headerinclude “IGPUTuning.h”
Minimum version1.0

See Also: IADLXGPUTuningChangedListener, OnGPUTuningChanged, ADLX Enums