SetWindowDisplayAffinity function user32

int SetWindowDisplayAffinity(
  1. int hWnd,
  2. int dwAffinity
)

Specifies where the content of the window can be displayed.

BOOL SetWindowDisplayAffinity(
  HWND  hWnd,
  DWORD dwAffinity
);

Implementation

int SetWindowDisplayAffinity(int hWnd, int dwAffinity) =>
    _SetWindowDisplayAffinity(hWnd, dwAffinity);