Gets the actual number of horizontal dots per inch (dpi) of the system's screen.
HRESULT value = object.get_deviceXDPI(* p);
There are no standards that apply here.
On most systems, there is no difference between horizontal and vertical DPI.
The IHTMLScreen2::deviceXDPI property was introduced in Microsoft Internet Explorer 6.
For information about how Internet Explorer 6 and later can adjust the scale of the display on screens with higher-than-normal DPI, see Adjusting Scale for Higher DPI Screens.