SetProcessDpiAwarenessContext function Null safety user32

int SetProcessDpiAwarenessContext(
  1. int value

It is recommended that you set the process-default DPI awareness via application manifest. See Setting the default DPI awareness for a process for more information. Setting the process-default DPI awareness via API call can lead to unexpected application behavior. Sets the current process to a specified dots per inch (dpi) awareness context. The DPI awareness contexts are from the DPI_AWARENESS_CONTEXT value.

BOOL SetProcessDpiAwarenessContext(


int SetProcessDpiAwarenessContext(int value) =>