函数参考


_WinAPI_GetWindowDisplayAffinity

Retrieves the current display affinity setting, from any process, for a given window.

#Include <WinAPIEx.au3>
_WinAPI_GetWindowDisplayAffinity ( $hWnd )

参数

$hWnd Handle to the window for which display affinity setting is retrieved.

返回值

Success The current window's display affinity setting ($WDA_*).
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

This function succeeds only when the window is layered and Desktop Windows Manager (DWM) is composing the desktop.
For more information, see _WinAPI_SetWindowDisplayAffinity().

本函数需要 Windows 7 或以上版本系统.

相关

详情参考

在MSDN中搜索