跳至内容

GetDisplayBlanking

导航: ADLX SDK 参考ADLX 接口DisplayIADLXDisplayServices1

语法

ADLX_RESULT    GetDisplayBlanking (IADLXDisplay* pDisplay, IADLXDisplayBlanking** ppDisplayBlanking)

参数

#方向名称类型描述
1.[in]pDisplayIADLXDisplay显示接口的指针。
#方向名称类型描述
---------------
2.[输出]ppDisplayBlankingIADLXDisplayBlanking指向返回接口的指针的地址。如果接口未成功返回,该方法会将解引用的地址 *ppDisplayBlanking 设置为 nullptr。

返回值

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

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

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

备注

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

附加信息

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

要求

头文件include “IDisplays1.h”
最低版本1.1

另请参阅: IADLXDisplay, IADLXDisplayBlanking, Release

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