_XPIXELS returns the number of horizontal pixels on the current physical display.

 

See also _YPIXELS.