GetDpiFromDpiAwarenessContext function user32

int GetDpiFromDpiAwarenessContext(
  1. int value
)

Retrieves the DPI from a given DPI_AWARENESS_CONTEXT handle. This enables you to determine the DPI of a thread without needed to examine a window created within that thread.

UINT GetDpiFromDpiAwarenessContext(
  DPI_AWARENESS_CONTEXT value);

Implementation

int GetDpiFromDpiAwarenessContext(int value) =>
    _GetDpiFromDpiAwarenessContext(value);