GetDpiForWindow function Null safety user32

int GetDpiForWindow(
  1. int hwnd
)

Returns the dots per inch (dpi) value for the associated window.

UINT GetDpiForWindow(
  HWND hwnd
);

Implementation

int GetDpiForWindow(int hwnd) => _GetDpiForWindow(hwnd);