XPLMGetDataRefInfo
XPLM_API void       XPLMGetDataRefInfo(
                         XPLMDataRef          inDataRef,
                         XPLMDataRefInfo_t *  outInfo);
Give a data ref, this routine returns a populated struct containing the available information about the dataref.