GetWindowDisplayAffinity function Null safety user32

int GetWindowDisplayAffinity(
  1. int hWnd,
  2. Pointer<Uint32> pdwAffinity
)

Retrieves the current display affinity setting, from any process, for a given window.

BOOL GetWindowDisplayAffinity(
  HWND  hWnd,
  DWORD *pdwAffinity
);

Implementation

int GetWindowDisplayAffinity(int hWnd, Pointer<Uint32> pdwAffinity) =>
    _GetWindowDisplayAffinity(hWnd, pdwAffinity);