Function windows_dpi::get_dpi_for
[−]
[src]
pub unsafe fn get_dpi_for(hwnd: HWND) -> f32
Returns the DPI of the desktop on which a window currently resides.
null may be passed, in which case it will perform the same behavior
as desktop_dpi
.