Routines (alphabetical) > Routines: H > HDF Routines > HDF_GR_ENDACCESS

# HDF_GR_ENDACCESS

This procedure terminates access to the raster image identified by the parameter ri_id and disposes of the raster image identifier. This access is initiated by either HDF_GR_SELECT or HDF_GR_CREATE. There must be a call to HDF_GR_ENDACCESS for each call to HDF_GR_SELECT or HDF_GR_CREATE; failing to provide this will result in loss of data.

## Syntax

HDF_GR_ENDACCESS, ri_id

## Arguments

### ri_id

Raster image identifier returned by HDF_GR_CREATE or HDF_GR_SELECT.

## Keywords

None

## Version History

5.2 | Introduced