SIMCONNECT_DATATYPE

The SIMCONNECT_DATATYPE enumeration type is used with the SimConnect_AddToDataDefinition call to specify the data type that the server should use to return the specified data to the client.

 

Syntax
enum SIMCONNECT_DATATYPE{
    SIMCONNECT_DATATYPE_INVALID,
    SIMCONNECT_DATATYPE_INT32,
    SIMCONNECT_DATATYPE_INT64,
    SIMCONNECT_DATATYPE_FLOAT32,
    SIMCONNECT_DATATYPE_FLOAT64,
    SIMCONNECT_DATATYPE_STRING8,
    SIMCONNECT_DATATYPE_STRING32,
    SIMCONNECT_DATATYPE_STRING64,
    SIMCONNECT_DATATYPE_STRING128,
    SIMCONNECT_DATATYPE_STRING256,
    SIMCONNECT_DATATYPE_STRING260,
    SIMCONNECT_DATATYPE_STRINGV,
    SIMCONNECT_DATATYPE_INITPOSITION,
    SIMCONNECT_DATATYPE_MARKERSTATE,
    SIMCONNECT_DATATYPE_WAYPOINT,
    SIMCONNECT_DATATYPE_LATLONALT,
    SIMCONNECT_DATATYPE_XYZ
    };

 

Members
Member Description
SIMCONNECT_DATATYPE_FLOAT32

Specifies a 32 bit or 64 bit floating point number.

SIMCONNECT_DATATYPE_FLOAT64
SIMCONNECT_DATATYPE_INT32

Specifies a 32 bit unsigned integer value.

SIMCONNECT_DATATYPE_INT64 Specifies a 64 bit signed integer value.
SIMCONNECT_DATATYPE_STRING8 Specifies strings of the given length (8 characters to 260 characters)
SIMCONNECT_DATATYPE_STRING32
SIMCONNECT_DATATYPE_STRING64
SIMCONNECT_DATATYPE_STRING128
SIMCONNECT_DATATYPE_STRING256
SIMCONNECT_DATATYPE_STRING260
SIMCONNECT_DATATYPE_STRINGV Specifies a variable length string.
SIMCONNECT_DATATYPE_INITPOSITION

Specifies the SIMCONNECT_DATA_INITPOSITION structure.

SIMCONNECT_DATATYPE_MARKERSTATE

Specifies the SIMCONNECT_DATA_MARKERSTATE structure.

SIMCONNECT_DATATYPE_WAYPOINT Specifies the SIMCONNECT_DATA_WAYPOINT structure.
SIMCONNECT_DATATYPE_LATLONALT Specifies the SIMCONNECT_DATA_LATLONALT structure.
SIMCONNECT_DATATYPE_XYZ Specifies the SIMCONNECT_DATA_XYZ structure.

 

Remarks

The three structures in the list of data types can only be used as input (using SimConnect_SetDataOnSimObject) and not to receive requested data.

 

See Also