Click or drag to resize

WindowsUtilitiesGetWindowDisplayAffinity Method

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

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool GetWindowDisplayAffinity(
	IntPtr handle,
	out WDA affinity
)

Parameters

handle
Type: SystemIntPtr
A handle to the window.
affinity
Type: ShellBoost.Core.UtilitiesWDA
The display affinity setting.

Return Value

Type: Boolean
true if the call succeeded, false otherwise.
See Also