XPLM_MSG_EXITING_VR

#define XPLM_MSG_EXITING_VR  110

Sent to your plugin right before X-Plane leaves virtual reality mode (at which time you may want to clean up windows that are positioned in VR mode). The parameter is unused and should be ignored.