added support for HE5_GDopen and HE5_GDclose functions