Windows API 함수 중에 SetWindowDisplayAffinity 함수가 있습니다. SetWindowDisplayAffinity function (winuser.h) - Win32 apps | Microsoft Learn SetWindowDisplayAffinity function (winuser.h) - Win32 apps Stores the display affinity setting in kernel mode on the hWnd associated with the window. learn.microsoft.com Microsoft 개발자 문서를 참고하면, 첫번째 인자는 윈도우 핸들 / 두번째 인자는 옵션 / 결과는 bool 형태로 리턴됩니다.
BOOL SetWindowDisplayAff.....
원문 링크 : Qt 화면 녹화 & 캡쳐 방지