The SIMCONNECT_DATA_FACILITY_AIRPORT structure is used to return information on a single airport in the facilities cache.

 

Syntax
struct SIMCONNECT_DATA_FACILITY_AIRPORT{
    char ident[9];
    char region[3];
    double  Latitude;
    double  Longitude;
    double  Altitude;
    };

 

Members
MemberDescription
identThe ICAO of the facility.
regionThe ICAO of the region.
LatitudeLatitude of the airport facility.
LongitudeLongitude of the airport facility.
AltitudeAltitude of the facility in meters.

 

Remarks

This structure is returned as one element in the SIMCONNECT_RECV_AIRPORT_LIST structure. Note that this structure is inherited by SIMCONNECT_DATA_FACILITY_WAYPOINT, SIMCONNECT_DATA_FACILITY_NDB and SIMCONNECT_DATA_FACILITY_VOR, so the latitude, longitude, and altitude will apply to those facilities in that case.

 

See the remarks for SimConnect_RequestFacilitesList.