The SimConnect_RequestJetwayData function is used to request data from one or more jetways.

Syntax
HRESULT SimConnect_RequestJetwayData(
    HANDLE hSimConnect,
    const char* szAirportIcao,
    DWORD dwArrayCount,
    int* pIndexes
    );
Parameters
ParameterDescriptionType
hSimConnectHandle to a SimConnect object.Integer
szAirportIcaoThe airport ICAO to check.Integer
dwArrayCountThis is the number of elements in pIndexes. Can be 0.Integer
pIndexesAn array of parking indices. Can be nullptr.Integer
Return Values

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return valueDescription
S_OKThe function succeeded.
E_FAILThe function failed.
SIMCONNECT_EXCEPTION_JETWAY_DATAThe function has thrown an exception where:dwIndex = 1:ICAO is wrongAirport is not spawneddwIndex = 2:At least one of the given indices is wrongdwIndex = 99:Internal error
Remarks

If the Request works, the client will receive the SIMCONNECT_RECV_JETWAY_DATA structure with an array of SIMCONNECT_JETWAY_DATA structs containing the jetway data.

See Also

0/255