SimConnect_RequestJetwayData
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
Parameter | Description | Type |
---|---|---|
hSimConnect |
Handle to a SimConnect object. | Integer |
szAirportIcao |
The airport ICAO to check. | Integer |
dwArrayCount |
This is the number of elements in pIndexes . Can be 0. |
Integer |
pIndexes |
An 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 value | Description |
---|---|
S_OK |
The function succeeded. |
E_FAIL |
The function failed. |
SIMCONNECT_EXCEPTION_JETWAY_DATA |
The function has thrown an exception where:
|
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