Click or drag to resize

WindowsUtilitiesSetWindowDisplayAffinity Method

Stores the display affinity setting in kernel mode on the handle associated with the window.

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

Parameters

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

Return Value

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