shcore Topic
Windows Shell Core APIs
Core shell functions such as DPI scaling.
Functions
-
GetDpiForMonitor(
int hmonitor, int dpiType, Pointer< shcoreUint32> dpiX, Pointer<Uint32> dpiY) → int - Queries the dots per inch (dpi) of a display. [...]
-
GetProcessDpiAwareness(
int hprocess, Pointer< shcoreInt32> value) → int - Retrieves the dots per inch (dpi) awareness of the specified process. [...]
-
SetProcessDpiAwareness(
int value) → int shcore - Sets the process-default DPI awareness level. This is equivalent to calling SetProcessDpiAwarenessContext with the corresponding DPI_AWARENESS_CONTEXT value. [...]