H5I_REMOVE_VERIFY first ensures that
id belongs to
id_type. If so, it removes
id from internal storage and returns the pointer to the memory it referred to. This pointer is the same pointer that was placed in storage by H5I_REGISTER. If
id does not belong to
NULL is returned.
id parameter is the ID which is to be removed from internal storage. Note: this function does NOT deallocate the memory that
id refers to. The pointer returned by H5I_REGISTER must be deallocated by the user to avoid memory leaks.
type parameter is the identifier for the ID type which
id is supposed to belong to. This identifier must have been created by a call to H5I_REGISTER_TYPE.