跳至内容

GetPowerTuningServices

导航: ADLX SDK 参考ADLX 接口SystemIADLXSystem1

语法

ADLX_RESULT    GetPowerTuningServices (IADLXPowerTuningServices** ppPowerTuningServices)

参数

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

返回值

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

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

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

备注

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

附加信息

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

要求

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

另请参阅: Release, IADLXPowerTuningServices

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