SIMCONNECT_RECV_SYSTEM_STATE

The SIMCONNECT_RECV_SYSTEM_STATE structure is used with the SimConnect_RequestSystemState function to retrieve specific Microsoft Flight Simulator systems states and information.

Syntax
typedef struct SIMCONNECT_RECV_SYSTEM_STATE : public SIMCONNECT_RECV {
    DWORD  dwRequestID;
    DWORD  dwInteger;
    float  fFloat;
    char   szString[MAX_PATH];
    };

 

Members
Member Description
dwRequestID Double word containing the client defined request ID.
dwInteger Double word containing an integer, or boolean, value.
fFloat A float value.
szString Null-terminated string.

 

Remarks

This structure inherits the SIMCONNECT_RECV structure and is returned when the dwID parameter of SIMCONNECT_RECV is set to SIMCONNECT_RECV_ID_SYSTEM_STATE.

 

Typically only one of the received integer, float or string will contain information, which one will depend on the request and can be identified by the request ID. Refer to the descriptions of the SimConnect_SetSystemState (Not Supported) and SimConnect_RequestSystemState functions.

 

See Also