SetWindowDisplayAffinity function (winuser.h) - Win32 apps

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