EnableNonClientDpiScaling function Null safety user32

int EnableNonClientDpiScaling(
  1. int hwnd
)

In high-DPI displays, enables automatic display scaling of the non-client area portions of the specified top-level window. Must be called during the initialization of that window.

BOOL EnableNonClientDpiScaling(
  HWND hwnd
);

Implementation

int EnableNonClientDpiScaling(int hwnd) => _EnableNonClientDpiScaling(hwnd);