added support for HE5_GDinqgrids, HE5_GDattach, HE5_GDdetach functions