XPLMAvionicsNeedsDrawing

XPLM_API void       XPLMAvionicsNeedsDrawing(
                         XPLMAvionicsID       inHandle);

Tells X-Plane that your device’s screen needs to be re-drawn. If your device is marked for on-demand drawing, X-Plane will call your screen drawing callback before drawing the next simulator frame. If your device is already drawn every frame, this has no effect.