@node-ctypes/winrt - v0.1.0
    Preparing search index...

    Function enablePerMonitorDpiAwareness

    • Enable Per-Monitor V2 DPI awareness for the current process (SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2)).

      Call this before creating any AppWindow, WindowsXamlManager, or Win32 window so WinUI 3 renders crisp HiDPI visuals instead of bitmap-scaled 96 DPI. Returns true if awareness was updated, false if already set or unavailable.

      Returns boolean