pub unsafe extern "C" fn XPLMGetWindowGeometry(
inWindowID: XPLMWindowID,
outLeft: *mut c_int,
outTop: *mut c_int,
outRight: *mut c_int,
outBottom: *mut c_int,
)Expand description
XPLMGetWindowGeometry
This routine returns the position and size of a window. The units and coordinate system vary depending on the type of window you have.
If this is a legacy window (one compiled against a pre-XPLM300 version of the SDK, or an XPLM300 window that was not created using XPLMCreateWindowEx()), the units are pixels relative to the main X-Plane display.
If, on the other hand, this is a new X-Plane 11-style window (compiled against the XPLM300 SDK and created using XPLMCreateWindowEx()), the units are global desktop boxels.
Pass NULL to not receive any paramter.