XPLMDataRefInfo_t
The XPLMDataRefInfo_t structure contains all of the information about a single data ref. The structure can be expanded in future SDK APIs to include more features. Always set the structSize member to the size of your struct in bytes!
typedef struct {
// Used to inform XPLMGetDatarefInfo() of the SDK version you compiled against; should always be set to sizeof(XPLMDataRefInfo_t)
int structSize;
// The full name/path of the data ref
const char * name;
XPLMDataTypeID type;
// TRUE if the data ref permits writing to it. FALSE if it's read-only.
int writable;
// The handle to the plugin that registered this dataref.
XPLMPluginID owner;
} XPLMDataRefInfo_t;