XPLMGetWindowGeometryVR
XPLM_API void XPLMGetWindowGeometryVR(
XPLMWindowID inWindowID,
int * outWidthBoxels, /* Can be NULL */
int * outHeightBoxels); /* Can be NULL */
Returns the width and height, in boxels, of a window in VR. Note that you are responsible for ensuring your window is in VR (using XPLMWindowIsInVR()).