Click or drag to resize

WindowsUtilities.SetWindowDisplayAffinity Method

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

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

Parameters

handle
Type: System.IntPtr
A handle to the window.
affinity
Type: callback.ShellBoost.Core.Utilities.WDA
The affinity.

Return Value

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