This routine only works with ENVI Classic display groups and cannot be used with the ENVI display or in code that starts the application with the ENVI function.
This function returns the DIMS ROI pointer value used in DIMS. Since ROI pointer values are likely to change as ROIs are created, updated or removed, you should always use the ROI_ID argument to get the current ROI pointer value.
Result = ENVI_GET_ROI_DIMS_PTR(ROI_ID)
This is a single ID returned from the function ENVI_GET_ROI_IDS.