AddGPUAppsListEventListener
Registers an event listener for notifications when the list of applications running on a GPU changes.
Syntax
ADLX_RESULT AddGPUAppsListEventListener (IADLXGPUAppsListEventListener * pGPUAppsListEventListener)
Parameters
-
[in]
pGPUAppsListEventListener IADLXGPUAppsListEventListener * The pointer to the event listener interface to register for receiving list of applications running on a GPU change notifications.
Return Value
If the event listener is successfully registered, ADLX_OK is returned.
If the event listener is not successfully registered, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Remarks
After the event listener is successfully registered, ADLX calls the OnGPUAppsListChanged method of the listener when power tuning settings change.
The event listener instance must exist until the application unregisters the event listener with RemoveGPUAppsListEventListener .
Requirements
Header |
include “IApplications.h” |
Minimum version |
1.4 |