跳至内容

GetSmartShiftMax

导航: ADLX SDK 参考ADLX 接口功耗调整IADLXPowerTuningServices

语法

ADLX_RESULT    GetSmartShiftMax (IADLXSmartShiftMax** ppSmartShiftMax)

参数

#方向名称类型描述
1.[输出]ppSmartShiftMaxIADLXSmartShiftMax指向返回接口的指针的地址。如果接口未成功返回,则方法将取消引用的地址 *ppSmartShiftMax 设置为 nullptr

返回值

如果接口成功返回,则返回 ADLX_OK

如果接口未能成功返回,则返回一个错误代码。

有关成功码和错误码,请参阅 ADLX_RESULT

备注

当不再需要时,必须使用 Release 释放返回的接口。

附加信息

在 C++ 中,当使用 ADLX 接口作为智能指针时,无需调用 Release,因为智能指针会在其内部实现中调用它。

要求

头文件include “IPowerTuning.h”
最低版本1.2

另请参阅: Release, IADLXSmartShiftMax

© . This site is unofficial and not affiliated with AMD.