Funktionreferenz


_WinAPI_GetWindowDisplayAffinity


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

#include <WinAPISysWin.au3>
_WinAPI_GetWindowDisplayAffinity ( $hWnd )

Parameter

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

Rückgabewert

Success: The current window's display affinity setting ($WDA_*).
Failure: Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

Bemerkungen

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

This function requires Windows 7 or later.

Verwandte Funktionen

_WinAPI_SetWindowDisplayAffinity

Siehe auch

Suche nach GetWindowDisplayAffinity in der MSDN Bibliothek.