AddGPUTuningEventListener
Registers an event listener for notifications when the GPU tuning changes.
Syntax
ADLX_RESULT AddGPUTuningEventListener (IADLXGPUTuningChangedListener * pGPUTuningChangedListener);
Parameters
-
[in]
pGPUTuningChangedListener IADLXGPUTuningChangedListener * The pointer to the event listener interface to register for receiving GPU tuning 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 will call OnGPUTuningChanged method of the listener when GPU tuning changes.
The event listener instance must exist until the application unregisters the event listener with RemoveGPUTuningEventListener .
Requirements
Header |
include “IGPUTuning.h” |
Minimum version |
1.0 |