XPLMCountFMSEntries XPLM_API int XPLMCountFMSEntries(void); This routine returns the number of entries in the FMS.