RemovePowerTuningEventListener
Unregisters an event listener from the power tuning settings event list.
Syntax
ADLX_RESULT RemovePowerTuningEventListener (IADLXPowerTuningChangedListener * pPowerTuningChangedListener)
Parameters
-
[in]
pPowerTuningChangedListener IADLXPowerTuningChangedListener * The pointer to the event listener interface to unregister from receiving power tuning settings 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
Once the event listener is successfully unregistered, ADLX will no longer call the OnPowerTuningChanged listener method when power tuning settings are changed. The application can discard the event listener instance.
Requirements
Header |
include “IPowerTuning.h” |
Minimum version |
1.2 |