Skip to content

OnGPUConnectChanged

Navigation: ADLX SDK ReferencesADLX InterfacesPower TuningIADLXGPUConnectChangedListener

Syntax

adlx_bool    OnGPUConnectChanged (IADLXGPUConnectChangedEvent* pGPUConnectChangedEvent)

Parameters

#DirectionNameTypeDescription
1.[in]pGPUConnectChangedEventIADLXGPUConnectChangedEventThe pointer to a GPU connect settings change event.

Return Value

If the application requires ADLX to continue notifying the next listener, true must be returned.

If the application requires ADLX to stop notifying the next listener, false must be returned.

Remarks

Once the application registers to the notification with StartPowerOff, ADLX will call this method when AMD GPUConnect state changes. This method should return quickly to not block the execution of ADLX. If the method requires a long processing of the event notification, the application must hold onto a reference to the AMD GPUConnect change event with Acquire and make it available on an asynchronous thread and return immediately. When the asynchronous thread is done processing, it must discard the AMD GPUConnect change event with Release.

Requirements

Headerinclude “IPowerTuning1.h”
Minimum version1.4

See Also: StartPowerOff, IADLXGPUConnectChangedEvent, Acquire, Release