Skip to content

RemoveGPUAppsListEventListener

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPUAppsListChangedHandling

Syntax

ADLX_RESULT    RemoveGPUAppsListEventListener (IADLXGPUAppsListEventListener* pGPUAppsListEventListener)

Parameters

#DirectionNameTypeDescription
1.[in]pGPUAppsListEventListenerIADLXGPUAppsListEventListenerThe pointer to the event listener interface to unregister from receiving list of applications running on a GPU 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 OnGPUAppsListChanged method of the listener when Power Tuning settings change. The application can discard the event listener instance.

Requirements

Headerinclude “IApplications.h”
Minimum version1.4

See Also: IADLXGPUAppsListEventListener, OnGPUAppsListChanged, ADLX Enums